2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for rfc822lib 0.12.
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
='rfc822lib'
730 PACKAGE_TARNAME
='rfc822lib'
731 PACKAGE_VERSION
='0.12'
732 PACKAGE_STRING
='rfc822lib 0.12'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="rfc822.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 rfc822lib 0.12 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/rfc822lib]
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 rfc822lib 0.12:";;
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-static[=PKGS
] build static libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1483 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1484 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1485 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1487 --with-tags[=TAGS
] include additional configurations
[automatic
]
1489 Some influential environment variables
:
1490 CC C compiler
command
1491 CFLAGS C compiler flags
1492 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1493 nonstandard directory
<lib dir
>
1494 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1495 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1496 you have headers
in a nonstandard directory
<include dir
>
1498 CXX C
++ compiler
command
1499 CXXFLAGS C
++ compiler flags
1500 CXXCPP C
++ preprocessor
1501 F77 Fortran
77 compiler
command
1502 FFLAGS Fortran
77 compiler flags
1504 Use these variables to override the choices made by
`configure' or to help
1505 it to find libraries and programs with nonstandard names/locations.
1507 Report bugs to <courier-users@lists.sourceforge.net>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" || continue
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1568 rfc822lib configure 0.12
1569 generated by GNU Autoconf 2.61
1571 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1572 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1578 cat >config.log <<_ACEOF
1579 This file contains any messages produced by compilers while
1580 running configure, to aid debugging if configure makes a mistake.
1582 It was created by rfc822lib $as_me 0.12, which was
1583 generated by GNU Autoconf 2.61. Invocation command line was
1595 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1596 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1597 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1598 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1599 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1601 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1602 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1604 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1606 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1608 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1610 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 echo "PATH: $as_dir"
1635 # Keep a trace of the command line.
1636 # Strip out --no-create and --no-recursion so they do not pile up.
1637 # Strip out --silent because we don't want to record it for future runs.
1638 # Also quote any args containing shell meta-characters.
1639 # Make two passes to allow for proper duplicate-argument suppression.
1643 ac_must_keep_next=false
1649 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1650 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1651 | -silent | --silent | --silen | --sile | --sil)
1654 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1657 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1659 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1660 if test $ac_must_keep_next = true; then
1661 ac_must_keep_next=false # Got value, back to normal.
1664 *=* | --config-cache | -C | -disable-* | --disable-* \
1665 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1666 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1667 | -with-* | --with-* | -without-* | --without-* | --x)
1668 case "$ac_configure_args0 " in
1669 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1672 -* ) ac_must_keep_next=true ;;
1675 ac_configure_args="$ac_configure_args '$ac_arg'"
1680 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1681 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1683 # When interrupted or exit'd, cleanup temporary files, and complete
1684 # config.log. We remove comments because anyway the quotes in there
1685 # would cause problems or look ugly.
1686 # WARNING: Use '\'' to represent an apostrophe within the trap.
1687 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1688 trap 'exit_status=$?
1689 # Save into config.log some information that might help in debugging.
1694 ## ---------------- ##
1695 ## Cache variables. ##
1696 ## ---------------- ##
1699 # The following way of writing the cache mishandles newlines in values,
1701 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1702 eval ac_val=\$$ac_var
1706 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1707 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1710 _ | IFS | as_nl) ;; #(
1711 *) $as_unset $ac_var ;;
1716 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1717 *${as_nl}ac_space=\ *)
1719 "s/'\''/'\''\\\\'\'''\''/g;
1720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1731 ## ----------------- ##
1732 ## Output variables. ##
1733 ## ----------------- ##
1736 for ac_var in $ac_subst_vars
1738 eval ac_val=\$$ac_var
1740 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 echo "$ac_var='\''$ac_val'\''"
1746 if test -n "$ac_subst_files"; then
1748 ## ------------------- ##
1749 ## File substitutions. ##
1750 ## ------------------- ##
1753 for ac_var in $ac_subst_files
1755 eval ac_val=\$$ac_var
1757 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1759 echo "$ac_var='\''$ac_val'\''"
1764 if test -s confdefs.h; then
1774 test "$ac_signal" != 0 &&
1775 echo "$as_me: caught signal $ac_signal"
1776 echo "$as_me: exit $exit_status"
1778 rm -f core *.core core.conftest.* &&
1779 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1782 for ac_signal in 1 2 13 15; do
1783 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1787 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1788 rm -f -r conftest* confdefs.h
1790 # Predefined preprocessor variables.
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_NAME "$PACKAGE_NAME"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_STRING "$PACKAGE_STRING"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1817 # Let the site file select an alternate cache file if it wants to.
1818 # Prefer explicitly selected file to automatically selected ones.
1819 if test -n "$CONFIG_SITE"; then
1820 set x "$CONFIG_SITE"
1821 elif test "x$prefix" != xNONE; then
1822 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1824 set x "$ac_default_prefix/share/config.site" \
1825 "$ac_default_prefix/etc/config.site"
1830 if test -r "$ac_site_file"; then
1831 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1832 echo "$as_me: loading site script $ac_site_file" >&6;}
1833 sed 's/^/| /' "$ac_site_file" >&5
1838 if test -r "$cache_file"; then
1839 # Some versions of bash will fail to source /dev/null (special
1840 # files actually), so we avoid doing that.
1841 if test -f "$cache_file"; then
1842 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1843 echo "$as_me: loading cache $cache_file" >&6;}
1845 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1846 *) . "./$cache_file";;
1850 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1851 echo "$as_me: creating cache $cache_file" >&6;}
1855 # Check that the precious variables saved in the cache have kept the same
1857 ac_cache_corrupted=false
1858 for ac_var in $ac_precious_vars; do
1859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1860 eval ac_new_set=\$ac_env_${ac_var}_set
1861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1862 eval ac_new_val=\$ac_env_${ac_var}_value
1863 case $ac_old_set,$ac_new_set in
1865 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1866 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1867 ac_cache_corrupted=: ;;
1869 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1870 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1874 if test "x$ac_old_val" != "x$ac_new_val"; then
1875 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1876 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1877 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1878 echo "$as_me: former value
: $ac_old_val" >&2;}
1879 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1880 echo "$as_me: current value
: $ac_new_val" >&2;}
1881 ac_cache_corrupted=:
1884 # Pass precious variables to config.status.
1885 if test "$ac_new_set" = set; then
1887 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1888 *) ac_arg=$ac_var=$ac_new_val ;;
1890 case " $ac_configure_args " in
1891 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1892 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1896 if $ac_cache_corrupted; then
1897 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1898 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1899 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1900 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1901 { (exit 1); exit 1; }; }
1929 ac_cpp='$CPP $CPPFLAGS'
1930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1936 >confdefs.h # Kill PACKAGE_ macros
1939 am__api_version='1.10'
1942 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1943 if test -f "$ac_dir/install-sh"; then
1945 ac_install_sh="$ac_aux_dir/install-sh -c"
1947 elif test -f "$ac_dir/install.sh"; then
1949 ac_install_sh="$ac_aux_dir/install.sh -c"
1951 elif test -f "$ac_dir/shtool"; then
1953 ac_install_sh="$ac_aux_dir/shtool install -c"
1957 if test -z "$ac_aux_dir"; then
1958 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1959 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1960 { (exit 1); exit 1; }; }
1963 # These three variables are undocumented and unsupported,
1964 # and are intended to be withdrawn in a future Autoconf release.
1965 # They can cause serious problems if a builder's source tree is in a directory
1966 # whose full name contains unusual characters.
1967 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1968 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1969 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1972 # Find a good install program. We prefer a C program (faster),
1973 # so one script is as good as another. But avoid the broken or
1974 # incompatible versions:
1975 # SysV /etc/install, /usr/sbin/install
1976 # SunOS /usr/etc/install
1977 # IRIX /sbin/install
1979 # AmigaOS /C/install, which installs bootblocks on floppy discs
1980 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1981 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1982 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1983 # OS/2's system install, which has a completely different semantic
1984 # ./install, which can be erroneously created by make from ./install.sh.
1985 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1986 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1987 if test -z "$INSTALL"; then
1988 if test "${ac_cv_path_install+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 test -z "$as_dir" && as_dir=.
1996 # Account for people who put trailing slashes in PATH elements.
1998 ./ | .// | /cC/* | \
1999 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2000 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2003 # OSF1 and SCO ODT 3.0 have their own names for install.
2004 # Don't use installbsd from OSF since it installs stuff as root
2006 for ac_prog in ginstall scoinst install; do
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2009 if test $ac_prog = install &&
2010 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2011 # AIX install. It has an incompatible calling convention.
2013 elif test $ac_prog = install &&
2014 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2015 # program-specific install script used by HP pwplus--don't use.
2018 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2031 if test "${ac_cv_path_install+set}" = set; then
2032 INSTALL=$ac_cv_path_install
2034 # As a last resort, use the slow shell script. Don't cache a
2035 # value for INSTALL within a source directory, because that will
2036 # break other packages using the cache if that directory is
2037 # removed, or if the value is a relative name.
2038 INSTALL=$ac_install_sh
2041 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2042 echo "${ECHO_T}$INSTALL" >&6; }
2044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2045 # It thinks the first close brace ends the variable substitution.
2046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2052 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2053 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2056 echo timestamp > conftest.file
2057 # Do `set' in a subshell so we don't clobber the current shell
's
2058 # arguments. Must try -L first in case configure is actually a
2059 # symlink; some systems play weird games with the mod time of symlinks
2060 # (eg FreeBSD returns the mod time of the symlink's containing
2063 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2064 if test "$*" = "X"; then
2066 set X
`ls -t $srcdir/configure conftest.file`
2069 if test "$*" != "X $srcdir/configure conftest.file" \
2070 && test "$*" != "X conftest.file $srcdir/configure"; then
2072 # If neither matched, then we have a broken ls. This can happen
2073 # if, for instance, CONFIG_SHELL is bash and it inherits a
2074 # broken ls alias from the environment. This has actually
2075 # happened. Such a system could not be considered "sane".
2076 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2077 alias in your environment" >&5
2078 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2079 alias in your environment" >&2;}
2080 { (exit 1); exit 1; }; }
2083 test "$2" = conftest.
file
2089 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2090 Check your system clock" >&5
2091 echo "$as_me: error: newly created file is older than distributed files!
2092 Check your system clock" >&2;}
2093 { (exit 1); exit 1; }; }
2095 { echo "$as_me:$LINENO: result: yes" >&5
2096 echo "${ECHO_T}yes" >&6; }
2097 test "$program_prefix" != NONE
&&
2098 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2099 # Use a double $ so make ignores it.
2100 test "$program_suffix" != NONE
&&
2101 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2102 # Double any \ or $. echo might interpret backslashes.
2103 # By default was `s,x,x', remove it if useless.
2104 cat <<\_ACEOF
>conftest.
sed
2105 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2107 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2110 # expand $ac_aux_dir to an absolute path
2111 am_aux_dir
=`cd $ac_aux_dir && pwd`
2113 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2114 # Use eval to expand $SHELL
2115 if eval "$MISSING --run true"; then
2116 am_missing_run
="$MISSING --run "
2119 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2120 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2123 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2124 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2125 if test -z "$MKDIR_P"; then
2126 if test "${ac_cv_path_mkdir+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2133 test -z "$as_dir" && as_dir
=.
2134 for ac_prog
in mkdir gmkdir
; do
2135 for ac_exec_ext
in '' $ac_executable_extensions; do
2136 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2137 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2138 'mkdir (GNU coreutils) '* | \
2139 'mkdir (coreutils) '* | \
2140 'mkdir (fileutils) '4.1*)
2141 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2151 if test "${ac_cv_path_mkdir+set}" = set; then
2152 MKDIR_P
="$ac_cv_path_mkdir -p"
2154 # As a last resort, use the slow shell script. Don't cache a
2155 # value for MKDIR_P within a source directory, because that will
2156 # break other packages using the cache if that directory is
2157 # removed, or if the value is a relative name.
2158 test -d .
/--version && rmdir .
/--version
2159 MKDIR_P
="$ac_install_sh -d"
2162 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2163 echo "${ECHO_T}$MKDIR_P" >&6; }
2167 [\\/$
]* | ?
:[\\/]*) ;;
2168 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2171 for ac_prog
in gawk mawk nawk
awk
2173 # Extract the first word of "$ac_prog", so it can be a program name with args.
2174 set dummy
$ac_prog; ac_word
=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_AWK+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$AWK"; then
2181 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190 ac_cv_prog_AWK
="$ac_prog"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 if test -n "$AWK"; then
2202 { echo "$as_me:$LINENO: result: $AWK" >&5
2203 echo "${ECHO_T}$AWK" >&6; }
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2210 test -n "$AWK" && break
2213 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2214 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2215 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2216 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 cat >conftest.
make <<\_ACEOF
2222 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2227 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2229 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2233 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2234 { echo "$as_me:$LINENO: result: yes" >&5
2235 echo "${ECHO_T}yes" >&6; }
2238 { echo "$as_me:$LINENO: result: no" >&5
2239 echo "${ECHO_T}no" >&6; }
2240 SET_MAKE
="MAKE=${MAKE-make}"
2243 rm -rf .tst
2>/dev
/null
2244 mkdir .tst
2>/dev
/null
2245 if test -d .tst
; then
2250 rmdir .tst
2>/dev
/null
2252 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2253 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2254 # is not polluted with repeated "-I."
2255 am__isrc
=' -I$(srcdir)'
2256 # test to see if srcdir already configured
2257 if test -f $srcdir/config.status
; then
2258 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2259 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2260 { (exit 1); exit 1; }; }
2264 # test whether we have cygpath
2265 if test -z "$CYGPATH_W"; then
2266 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2267 CYGPATH_W
='cygpath -w'
2274 # Define the identity of the package.
2279 # Some tools Automake needs.
2281 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2284 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2287 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2290 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2293 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2295 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2297 # Installed binaries are usually stripped using `strip' when the user
2298 # run `make install-strip'. However `strip' might not be the right
2299 # tool to use in cross-compilation environments, therefore Automake
2300 # will honor the `STRIP' environment variable to overrule this program.
2301 if test "$cross_compiling" != no
; then
2302 if test -n "$ac_tool_prefix"; then
2303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2304 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307 if test "${ac_cv_prog_STRIP+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$STRIP"; then
2311 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 for ac_exec_ext
in '' $ac_executable_extensions; do
2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 STRIP
=$ac_cv_prog_STRIP
2331 if test -n "$STRIP"; then
2332 { echo "$as_me:$LINENO: result: $STRIP" >&5
2333 echo "${ECHO_T}$STRIP" >&6; }
2335 { echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6; }
2341 if test -z "$ac_cv_prog_STRIP"; then
2343 # Extract the first word of "strip", so it can be a program name with args.
2344 set dummy strip
; ac_word
=$2
2345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6
2350 if test -n "$ac_ct_STRIP"; then
2351 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir
=.
2358 for ac_exec_ext
in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_prog_ac_ct_STRIP
="strip"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2371 if test -n "$ac_ct_STRIP"; then
2372 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2373 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2375 { echo "$as_me:$LINENO: result: no" >&5
2376 echo "${ECHO_T}no" >&6; }
2379 if test "x$ac_ct_STRIP" = x
; then
2382 case $cross_compiling:$ac_tool_warned in
2384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2385 whose name does not start with the host triplet. If you think this
2386 configuration is useful to you, please write to autoconf@gnu.org." >&5
2387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2388 whose name does not start with the host triplet. If you think this
2389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2390 ac_tool_warned
=yes ;;
2395 STRIP
="$ac_cv_prog_STRIP"
2399 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2401 # We need awk for the "check" target. The system "awk" is bad on
2403 # Always define AMTAR for backward compatibility.
2405 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2407 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2413 ac_config_headers
="$ac_config_headers config.h"
2417 ac_cpp
='$CPP $CPPFLAGS'
2418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2421 if test -n "$ac_tool_prefix"; then
2422 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2423 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC
="$CC" # Let the user override the test.
2432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir
=.
2437 for ac_exec_ext
in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 if test -n "$CC"; then
2451 { echo "$as_me:$LINENO: result: $CC" >&5
2452 echo "${ECHO_T}$CC" >&6; }
2454 { echo "$as_me:$LINENO: result: no" >&5
2455 echo "${ECHO_T}no" >&6; }
2460 if test -z "$ac_cv_prog_CC"; then
2462 # Extract the first word of "gcc", so it can be a program name with args.
2463 set dummy gcc
; ac_word
=$2
2464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$ac_ct_CC"; then
2470 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479 ac_cv_prog_ac_ct_CC
="gcc"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2490 if test -n "$ac_ct_CC"; then
2491 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2492 echo "${ECHO_T}$ac_ct_CC" >&6; }
2494 { echo "$as_me:$LINENO: result: no" >&5
2495 echo "${ECHO_T}no" >&6; }
2498 if test "x$ac_ct_CC" = x
; then
2501 case $cross_compiling:$ac_tool_warned in
2503 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2504 whose name does not start with the host triplet. If you think this
2505 configuration is useful to you, please write to autoconf@gnu.org." >&5
2506 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2507 whose name does not start with the host triplet. If you think this
2508 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2509 ac_tool_warned
=yes ;;
2517 if test -z "$CC"; then
2518 if test -n "$ac_tool_prefix"; then
2519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2520 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2523 if test "${ac_cv_prog_CC+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$CC"; then
2527 ac_cv_prog_CC
="$CC" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 if test -n "$CC"; then
2548 { echo "$as_me:$LINENO: result: $CC" >&5
2549 echo "${ECHO_T}$CC" >&6; }
2551 { echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6; }
2558 if test -z "$CC"; then
2559 # Extract the first word of "cc", so it can be a program name with args.
2560 set dummy cc
; ac_word
=$2
2561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2563 if test "${ac_cv_prog_CC+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 if test -n "$CC"; then
2567 ac_cv_prog_CC
="$CC" # Let the user override the test.
2570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir
=.
2575 for ac_exec_ext
in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2578 ac_prog_rejected
=yes
2582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 if test $ac_prog_rejected = yes; then
2590 # We found a bogon in the path, so make sure we never use it.
2591 set dummy
$ac_cv_prog_CC
2593 if test $# != 0; then
2594 # We chose a different compiler from the bogus one.
2595 # However, it has the same basename, so the bogon will be chosen
2596 # first if we set CC to just the basename; use the full file name.
2598 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2604 if test -n "$CC"; then
2605 { echo "$as_me:$LINENO: result: $CC" >&5
2606 echo "${ECHO_T}$CC" >&6; }
2608 { echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6; }
2614 if test -z "$CC"; then
2615 if test -n "$ac_tool_prefix"; then
2616 for ac_prog
in cl.exe
2618 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2619 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2622 if test "${ac_cv_prog_CC+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 if test -n "$CC"; then
2626 ac_cv_prog_CC
="$CC" # Let the user override the test.
2628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir
=.
2633 for ac_exec_ext
in '' $ac_executable_extensions; do
2634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 if test -n "$CC"; then
2647 { echo "$as_me:$LINENO: result: $CC" >&5
2648 echo "${ECHO_T}$CC" >&6; }
2650 { echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6; }
2655 test -n "$CC" && break
2658 if test -z "$CC"; then
2660 for ac_prog
in cl.exe
2662 # Extract the first word of "$ac_prog", so it can be a program name with args.
2663 set dummy
$ac_prog; ac_word
=$2
2664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2666 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2669 if test -n "$ac_ct_CC"; then
2670 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_exec_ext
in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 ac_cv_prog_ac_ct_CC
="$ac_prog"
2680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2690 if test -n "$ac_ct_CC"; then
2691 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2692 echo "${ECHO_T}$ac_ct_CC" >&6; }
2694 { echo "$as_me:$LINENO: result: no" >&5
2695 echo "${ECHO_T}no" >&6; }
2699 test -n "$ac_ct_CC" && break
2702 if test "x$ac_ct_CC" = x
; then
2705 case $cross_compiling:$ac_tool_warned in
2707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2708 whose name does not start with the host triplet. If you think this
2709 configuration is useful to you, please write to autoconf@gnu.org." >&5
2710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2711 whose name does not start with the host triplet. If you think this
2712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2713 ac_tool_warned
=yes ;;
2722 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2723 See \`config.log' for more details." >&5
2724 echo "$as_me: error: no acceptable C compiler found in \$PATH
2725 See \`config.log' for more details." >&2;}
2726 { (exit 1); exit 1; }; }
2728 # Provide some information about the compiler.
2729 echo "$as_me:$LINENO: checking for C compiler version" >&5
2730 ac_compiler
=`set X $ac_compile; echo $2`
2731 { (ac_try
="$ac_compiler --version >&5"
2733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compiler --version >&5") 2>&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }
2741 { (ac_try="$ac_compiler -v >&5"
2743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2744 *) ac_try_echo
=$ac_try;;
2746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747 (eval "$ac_compiler -v >&5") 2>&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }
2751 { (ac_try
="$ac_compiler -V >&5"
2753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2757 (eval "$ac_compiler -V >&5") 2>&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }
2762 cat >conftest.$ac_ext <<_ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2777 ac_clean_files_save=$ac_clean_files
2778 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2779 # Try to create an executable without -o first, disregard a.out.
2780 # It will help us diagnose broken compilers, and finding out an intuition
2782 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2783 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2784 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2786 # List of possible output files, starting from the most likely.
2787 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2788 # only as a last resort. b.out is created by i960 compilers.
2789 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2791 # The IRIX 6 linker writes into existing files which may not be
2792 # executable, retaining their permissions. Remove them first so a
2793 # subsequent execution test works.
2795 for ac_file in $ac_files
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2804 if { (ac_try="$ac_link_default"
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810 (eval "$ac_link_default") 2>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; then
2814 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2815 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2816 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2817 # so that the user can short-circuit this test for compilers unknown to
2819 for ac_file
in $ac_files ''
2821 test -f "$ac_file" ||
continue
2823 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2826 # We found the default executable, but exeext='' is most
2830 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2832 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2834 # We set ac_cv_exeext here because the later test for it is not
2835 # safe: cross compilers may not add the suffix if given an `-o'
2836 # argument, so we may need to know it at that point already.
2837 # Even if this section looks crufty: it has the advantage of
2844 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2850 { echo "$as_me:$LINENO: result: $ac_file" >&5
2851 echo "${ECHO_T}$ac_file" >&6; }
2852 if test -z "$ac_file"; then
2853 echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.
$ac_ext >&5
2856 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2857 See \`config.log' for more details." >&5
2858 echo "$as_me: error: C compiler cannot create executables
2859 See \`config.log' for more details." >&2;}
2860 { (exit 77); exit 77; }; }
2863 ac_exeext
=$ac_cv_exeext
2865 # Check that the compiler produces executables we can run. If not, either
2866 # the compiler is broken, or we cross compile.
2867 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2868 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2869 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2870 # If not cross compiling, check that we can run a simple program.
2871 if test "$cross_compiling" != yes; then
2872 if { ac_try
='./$ac_file'
2873 { (case "(($ac_try" in
2874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878 (eval "$ac_try") 2>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2884 if test "$cross_compiling" = maybe; then
2887 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2888 If you meant to cross compile, use \`--host'.
2889 See \`config.log' for more details.
" >&5
2890 echo "$as_me: error
: cannot run C compiled programs.
2891 If you meant to cross compile
, use \
`--host'.
2892 See \`config.log
' for more details." >&2;}
2893 { (exit 1); exit 1; }; }
2897 { echo "$as_me:$LINENO: result: yes" >&5
2898 echo "${ECHO_T}yes" >&6; }
2900 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2901 ac_clean_files=$ac_clean_files_save
2902 # Check that the compiler produces executables we can run. If not, either
2903 # the compiler is broken, or we cross compile.
2904 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2905 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2906 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2907 echo "${ECHO_T}$cross_compiling" >&6; }
2909 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2910 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2911 if { (ac_try="$ac_link"
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917 (eval "$ac_link") 2>&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; then
2921 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2922 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2923 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2925 for ac_file
in conftest.exe conftest conftest.
*; do
2926 test -f "$ac_file" ||
continue
2928 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2929 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2935 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2936 See \`config.log' for more details." >&5
2937 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2938 See \`config.log' for more details." >&2;}
2939 { (exit 1); exit 1; }; }
2942 rm -f conftest
$ac_cv_exeext
2943 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2944 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2946 rm -f conftest.
$ac_ext
2947 EXEEXT
=$ac_cv_exeext
2949 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2950 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2951 if test "${ac_cv_objext+set}" = set; then
2952 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 cat >conftest.
$ac_ext <<_ACEOF
2957 cat confdefs.h
>>conftest.
$ac_ext
2958 cat >>conftest.
$ac_ext <<_ACEOF
2959 /* end confdefs.h. */
2969 rm -f conftest.o conftest.obj
2970 if { (ac_try
="$ac_compile"
2972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2976 (eval "$ac_compile") 2>&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; then
2980 for ac_file in conftest.o conftest.obj conftest.*; do
2981 test -f "$ac_file" || continue;
2983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2984 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2993 See \`config.log
' for more details." >&5
2994 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2995 See \`config.log' for more details.
" >&2;}
2996 { (exit 1); exit 1; }; }
2999 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3001 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3002 echo "${ECHO_T}$ac_cv_objext" >&6; }
3003 OBJEXT=$ac_cv_objext
3005 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3006 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3007 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3008 echo $ECHO_N "(cached
) $ECHO_C" >&6
3010 cat >conftest.$ac_ext <<_ACEOF
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3028 rm -f conftest.$ac_objext
3029 if { (ac_try="$ac_compile"
3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032 *) ac_try_echo=$ac_try;;
3034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3035 (eval "$ac_compile") 2>conftest.er1
3037 grep -v '^ *+' conftest.er1 >conftest.err
3039 cat conftest.err >&5
3040 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3041 (exit $ac_status); } && {
3042 test -z "$ac_c_werror_flag" ||
3043 test ! -s conftest.err
3044 } && test -s conftest.$ac_objext; then
3047 echo "$as_me: failed program was
:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3057 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3058 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3059 GCC=`test $ac_compiler_gnu = yes && echo yes`
3060 ac_test_CFLAGS=${CFLAGS+set}
3061 ac_save_CFLAGS=$CFLAGS
3062 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3063 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3064 if test "${ac_cv_prog_cc_g+set}" = set; then
3065 echo $ECHO_N "(cached
) $ECHO_C" >&6
3067 ac_save_c_werror_flag=$ac_c_werror_flag
3068 ac_c_werror_flag=yes
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3086 rm -f conftest.$ac_objext
3087 if { (ac_try="$ac_compile"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compile") 2>conftest.er1
3095 grep -v '^ *+' conftest.er1 >conftest.err
3097 cat conftest.err >&5
3098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3099 (exit $ac_status); } && {
3100 test -z "$ac_c_werror_flag" ||
3101 test ! -s conftest.err
3102 } && test -s conftest.$ac_objext; then
3105 echo "$as_me: failed program was
:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3124 rm -f conftest.$ac_objext
3125 if { (ac_try="$ac_compile"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_compile") 2>conftest.er1
3133 grep -v '^ *+' conftest.er1 >conftest.err
3135 cat conftest.err >&5
3136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3137 (exit $ac_status); } && {
3138 test -z "$ac_c_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then
3143 echo "$as_me: failed program was
:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_c_werror_flag=$ac_save_c_werror_flag
3148 cat >conftest.$ac_ext <<_ACEOF
3151 cat confdefs.h >>conftest.$ac_ext
3152 cat >>conftest.$ac_ext <<_ACEOF
3153 /* end confdefs.h. */
3163 rm -f conftest.$ac_objext
3164 if { (ac_try="$ac_compile"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^ *+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3182 echo "$as_me: failed program was
:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 ac_c_werror_flag=$ac_save_c_werror_flag
3197 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3198 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3199 if test "$ac_test_CFLAGS" = set; then
3200 CFLAGS=$ac_save_CFLAGS
3201 elif test $ac_cv_prog_cc_g = yes; then
3202 if test "$GCC" = yes; then
3208 if test "$GCC" = yes; then
3214 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3215 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3216 if test "${ac_cv_prog_cc_c89+set}" = set; then
3217 echo $ECHO_N "(cached
) $ECHO_C" >&6
3219 ac_cv_prog_cc_c89=no
3221 cat >conftest.$ac_ext <<_ACEOF
3224 cat confdefs.h >>conftest.$ac_ext
3225 cat >>conftest.$ac_ext <<_ACEOF
3226 /* end confdefs.h. */
3229 #include <sys/types.h>
3230 #include <sys/stat.h>
3231 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3232 struct buf { int x; };
3233 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3234 static char *e (p, i)
3240 static char *f (char * (*g) (char **, int), char **p, ...)
3245 s = g (p, va_arg (v,int));
3250 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3251 function prototypes and stuff, but not '\xHH' hex character constants.
3252 These don't provoke an error unfortunately, instead are silently treated
3253 as 'x'. The following induces an error, until -std is added to get
3254 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3255 array size at least. It's necessary to write '\x00'==0 to get something
3256 that's true only with -std. */
3257 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3259 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3260 inside strings and character constants. */
3262 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3264 int test (int i, double x);
3265 struct s1 {int (*f) (int a);};
3266 struct s2 {int (*f) (double a);};
3267 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3273 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3278 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3279 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3281 CC="$ac_save_CC $ac_arg"
3282 rm -f conftest.$ac_objext
3283 if { (ac_try="$ac_compile"
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3289 (eval "$ac_compile") 2>conftest.er1
3291 grep -v '^ *+' conftest.er1 >conftest.err
3293 cat conftest.err >&5
3294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3295 (exit $ac_status); } && {
3296 test -z "$ac_c_werror_flag" ||
3297 test ! -s conftest.err
3298 } && test -s conftest.$ac_objext; then
3299 ac_cv_prog_cc_c89=$ac_arg
3301 echo "$as_me: failed program was
:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3307 rm -f core conftest.err conftest.$ac_objext
3308 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3310 rm -f conftest.$ac_ext
3315 case "x
$ac_cv_prog_cc_c89" in
3317 { echo "$as_me:$LINENO: result
: none needed
" >&5
3318 echo "${ECHO_T}none needed
" >&6; } ;;
3320 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3321 echo "${ECHO_T}unsupported
" >&6; } ;;
3323 CC="$CC $ac_cv_prog_cc_c89"
3324 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3325 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3330 ac_cpp='$CPP $CPPFLAGS'
3331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334 DEPDIR="${am__leading_dot}deps
"
3336 ac_config_commands="$ac_config_commands depfiles
"
3339 am_make=${MAKE-make}
3340 cat > confinc << 'END'
3345 # If we don't find an include directive, just comment out the code.
3346 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3347 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3351 # First try GNU make style include.
3352 echo "include confinc" > confmf
3353 # We grep out `Entering directory' and `Leaving directory'
3354 # messages which can occur if `w' ends up in MAKEFLAGS.
3355 # In particular we don't look at `^make:' because GNU make might
3356 # be invoked under some other name (usually "gmake"), in which
3357 # case it prints its new name instead of `make'.
3358 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3363 # Now try BSD make style include.
3364 if test "$am__include" = "#"; then
3365 echo '.include "confinc"' > confmf
3366 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3367 am__include
=.include
3374 { echo "$as_me:$LINENO: result: $_am_result" >&5
3375 echo "${ECHO_T}$_am_result" >&6; }
3376 rm -f confinc confmf
3378 # Check whether --enable-dependency-tracking was given.
3379 if test "${enable_dependency_tracking+set}" = set; then
3380 enableval
=$enable_dependency_tracking;
3383 if test "x$enable_dependency_tracking" != xno
; then
3384 am_depcomp
="$ac_aux_dir/depcomp"
3387 if test "x$enable_dependency_tracking" != xno; then
3397 depcc
="$CC" am_compiler_list
=
3399 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3400 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3401 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3405 # We make a subdir and do the tests there. Otherwise we can end up
3406 # making bogus files that we don't know about and never remove. For
3407 # instance it was reported that on HP-UX the gcc test will end up
3408 # making a dummy file named `D' -- because `-MD' means `put the output
3411 # Copy depcomp to subdir because otherwise we won't find it if we're
3412 # using a relative directory.
3413 cp "$am_depcomp" conftest.dir
3415 # We will build objects and dependencies in a subdirectory because
3416 # it helps to detect inapplicable dependency modes. For instance
3417 # both Tru64's cc and ICC support -MD to output dependencies as a
3418 # side effect of compilation, but ICC will put the dependencies in
3419 # the current directory while Tru64 will put them in the object
3423 am_cv_CC_dependencies_compiler_type
=none
3424 if test "$am_compiler_list" = ""; then
3425 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3427 for depmode
in $am_compiler_list; do
3428 # Setup a source with many dependencies, because some compilers
3429 # like to wrap large dependency lists on column 80 (with \), and
3430 # we should not choose a depcomp mode which is confused by this.
3432 # We need to recreate these files for each test, as the compiler may
3433 # overwrite some of them when testing with obscure command lines.
3434 # This happens at least with the AIX C compiler.
3436 for i
in 1 2 3 4 5 6; do
3437 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3438 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3439 # Solaris 8's {/usr,}/bin/sh.
3440 touch sub
/conftst
$i.h
3442 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3446 # after this tag, mechanisms are not by side-effect, so they'll
3447 # only be used when explicitly requested
3448 if test "x$enable_dependency_tracking" = xyes
; then
3456 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3457 # mode. It turns out that the SunPro C++ compiler does not properly
3458 # handle `-M -o', and we need to detect this.
3459 if depmode
=$depmode \
3460 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3461 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3462 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3463 >/dev
/null
2>conftest.err
&&
3464 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3465 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3466 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3467 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3468 # icc doesn't choke on unknown options, it will just issue warnings
3469 # or remarks (even with -Werror). So we grep stderr for any message
3470 # that says an option was ignored or not supported.
3471 # When given -MP, icc 7.0 and 7.1 complain thusly:
3472 # icc: Command line warning: ignoring option '-M'; no argument required
3473 # The diagnosis changed in icc 8.0:
3474 # icc: Command line remark: option '-MP' not supported
3475 if (grep 'ignoring option' conftest.err ||
3476 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3477 am_cv_CC_dependencies_compiler_type
=$depmode
3486 am_cv_CC_dependencies_compiler_type
=none
3490 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3491 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3492 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3495 test "x$enable_dependency_tracking" != xno \
3496 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3498 am__fastdepCC_FALSE
='#'
3500 am__fastdepCC_TRUE
='#'
3501 am__fastdepCC_FALSE
=
3506 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3507 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3508 if test "${ac_cv_search_strerror+set}" = set; then
3509 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 ac_func_search_save_LIBS
=$LIBS
3512 cat >conftest.
$ac_ext <<_ACEOF
3515 cat confdefs.h
>>conftest.
$ac_ext
3516 cat >>conftest.
$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3519 /* Override any GCC internal prototype to avoid an error.
3520 Use char because int might match the return type of a GCC
3521 builtin and then its argument prototype would still apply. */
3534 for ac_lib
in '' cposix
; do
3535 if test -z "$ac_lib"; then
3536 ac_res
="none required"
3539 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3541 rm -f conftest.
$ac_objext conftest
$ac_exeext
3542 if { (ac_try
="$ac_link"
3544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3548 (eval "$ac_link") 2>conftest.er1
3550 grep -v '^ *+' conftest.er1 >conftest.err
3552 cat conftest.err >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); } && {
3555 test -z "$ac_c_werror_flag" ||
3556 test ! -s conftest.err
3557 } && test -s conftest$ac_exeext &&
3558 $as_test_x conftest$ac_exeext; then
3559 ac_cv_search_strerror=$ac_res
3561 echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3569 if test "${ac_cv_search_strerror+set}" = set; then
3573 if test "${ac_cv_search_strerror+set}" = set; then
3576 ac_cv_search_strerror=no
3579 LIBS=$ac_func_search_save_LIBS
3581 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3582 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3583 ac_res=$ac_cv_search_strerror
3584 if test "$ac_res" != no; then
3585 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3595 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3596 # On Suns, sometimes $CPP names a directory.
3597 if test -n "$CPP" && test -d "$CPP"; then
3600 if test -z "$CPP"; then
3601 if test "${ac_cv_prog_CPP+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 # Double quotes because CPP needs to be expanded
3605 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3608 for ac_c_preproc_warn_flag in '' yes
3610 # Use a header file that comes with gcc, so configuring glibc
3611 # with a fresh cross-compiler works.
3612 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3613 # <limits.h> exists even on freestanding compilers.
3614 # On the NeXT, cc -E runs the code through the compiler's parser,
3615 # not just through cpp. "Syntax error" is here to catch this case.
3616 cat >conftest.$ac_ext <<_ACEOF
3619 cat confdefs.h >>conftest.$ac_ext
3620 cat >>conftest.$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3623 # include <limits.h>
3625 # include <assert.h>
3629 if { (ac_try="$ac_cpp conftest.$ac_ext"
3631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3632 *) ac_try_echo
=$ac_try;;
3634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3637 grep -v '^ *+' conftest.er1
>conftest.err
3639 cat conftest.err
>&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); } >/dev
/null
&& {
3642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3643 test ! -s conftest.err
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.
$ac_ext >&5
3650 # Broken: fails on valid input.
3654 rm -f conftest.err conftest.
$ac_ext
3656 # OK, works on sane cases. Now check whether nonexistent headers
3657 # can be detected and how.
3658 cat >conftest.
$ac_ext <<_ACEOF
3661 cat confdefs.h
>>conftest.
$ac_ext
3662 cat >>conftest.
$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3664 #include <ac_nonexistent.h>
3666 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3674 grep -v '^ *+' conftest.er1 >conftest.err
3676 cat conftest.err >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } >/dev/null && {
3679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3680 test ! -s conftest.err
3682 # Broken: success on invalid input.
3685 echo "$as_me: failed program was:" >&5
3686 sed 's/^/| /' conftest.$ac_ext >&5
3688 # Passes both tests.
3693 rm -f conftest.err conftest.$ac_ext
3696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3697 rm -f conftest.err conftest.
$ac_ext
3698 if $ac_preproc_ok; then
3710 { echo "$as_me:$LINENO: result: $CPP" >&5
3711 echo "${ECHO_T}$CPP" >&6; }
3713 for ac_c_preproc_warn_flag
in '' yes
3715 # Use a header file that comes with gcc, so configuring glibc
3716 # with a fresh cross-compiler works.
3717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3718 # <limits.h> exists even on freestanding compilers.
3719 # On the NeXT, cc -E runs the code through the compiler's parser,
3720 # not just through cpp. "Syntax error" is here to catch this case.
3721 cat >conftest.
$ac_ext <<_ACEOF
3724 cat confdefs.h
>>conftest.
$ac_ext
3725 cat >>conftest.
$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3728 # include <limits.h>
3730 # include <assert.h>
3734 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3742 grep -v '^ *+' conftest.er1 >conftest.err
3744 cat conftest.err >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); } >/dev/null && {
3747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3748 test ! -s conftest.err
3752 echo "$as_me: failed program was:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 # Broken: fails on valid input.
3759 rm -f conftest.err conftest.$ac_ext
3761 # OK, works on sane cases. Now check whether nonexistent headers
3762 # can be detected and how.
3763 cat >conftest.$ac_ext <<_ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 #include <ac_nonexistent.h>
3771 if { (ac_try="$ac_cpp conftest.$ac_ext"
3773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3774 *) ac_try_echo
=$ac_try;;
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3779 grep -v '^ *+' conftest.er1
>conftest.err
3781 cat conftest.err
>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } >/dev
/null
&& {
3784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3787 # Broken: success on invalid input.
3790 echo "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.
$ac_ext >&5
3793 # Passes both tests.
3798 rm -f conftest.err conftest.
$ac_ext
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.err conftest.
$ac_ext
3803 if $ac_preproc_ok; then
3806 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3807 See \`config.log' for more details." >&5
3808 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3809 See \`config.log' for more details." >&2;}
3810 { (exit 1); exit 1; }; }
3814 ac_cpp
='$CPP $CPPFLAGS'
3815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3820 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3821 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3822 if test "${ac_cv_path_GREP+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 # Extract the first word of "grep ggrep" to use in msg output
3826 if test -z "$GREP"; then
3827 set dummy
grep ggrep
; ac_prog_name
=$2
3828 if test "${ac_cv_path_GREP+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 ac_path_GREP_found
=false
3832 # Loop through the user's path and test for each of PROGNAME-LIST
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3834 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_prog
in grep ggrep
; do
3839 for ac_exec_ext
in '' $ac_executable_extensions; do
3840 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3841 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3842 # Check for GNU ac_path_GREP and select it if it is found.
3843 # Check for GNU $ac_path_GREP
3844 case `"$ac_path_GREP" --version 2>&1` in
3846 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3849 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3852 cat "conftest.in" "conftest.in" >"conftest.tmp"
3853 mv "conftest.tmp" "conftest.in"
3854 cp "conftest.in" "conftest.nl"
3855 echo 'GREP' >> "conftest.nl"
3856 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3857 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3858 ac_count
=`expr $ac_count + 1`
3859 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3860 # Best one so far, save it but keep looking for a better one
3861 ac_cv_path_GREP
="$ac_path_GREP"
3862 ac_path_GREP_max
=$ac_count
3864 # 10*(2^10) chars as input seems more than enough
3865 test $ac_count -gt 10 && break
3867 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3871 $ac_path_GREP_found && break 3
3881 GREP
="$ac_cv_path_GREP"
3882 if test -z "$GREP"; then
3883 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3884 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3885 { (exit 1); exit 1; }; }
3889 ac_cv_path_GREP
=$GREP
3894 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3895 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3896 GREP
="$ac_cv_path_GREP"
3899 { echo "$as_me:$LINENO: checking for egrep" >&5
3900 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3901 if test "${ac_cv_path_EGREP+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3905 then ac_cv_path_EGREP
="$GREP -E"
3907 # Extract the first word of "egrep" to use in msg output
3908 if test -z "$EGREP"; then
3909 set dummy
egrep; ac_prog_name
=$2
3910 if test "${ac_cv_path_EGREP+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 ac_path_EGREP_found
=false
3914 # Loop through the user's path and test for each of PROGNAME-LIST
3915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3919 test -z "$as_dir" && as_dir
=.
3920 for ac_prog
in egrep; do
3921 for ac_exec_ext
in '' $ac_executable_extensions; do
3922 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3923 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3924 # Check for GNU ac_path_EGREP and select it if it is found.
3925 # Check for GNU $ac_path_EGREP
3926 case `"$ac_path_EGREP" --version 2>&1` in
3928 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3931 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3934 cat "conftest.in" "conftest.in" >"conftest.tmp"
3935 mv "conftest.tmp" "conftest.in"
3936 cp "conftest.in" "conftest.nl"
3937 echo 'EGREP' >> "conftest.nl"
3938 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3939 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3940 ac_count
=`expr $ac_count + 1`
3941 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3942 # Best one so far, save it but keep looking for a better one
3943 ac_cv_path_EGREP
="$ac_path_EGREP"
3944 ac_path_EGREP_max
=$ac_count
3946 # 10*(2^10) chars as input seems more than enough
3947 test $ac_count -gt 10 && break
3949 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3953 $ac_path_EGREP_found && break 3
3963 EGREP
="$ac_cv_path_EGREP"
3964 if test -z "$EGREP"; then
3965 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3966 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3967 { (exit 1); exit 1; }; }
3971 ac_cv_path_EGREP
=$EGREP
3977 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3978 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3979 EGREP
="$ac_cv_path_EGREP"
3983 { echo "$as_me:$LINENO: checking for AIX" >&5
3984 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3985 cat >conftest.
$ac_ext <<_ACEOF
3988 cat confdefs.h
>>conftest.
$ac_ext
3989 cat >>conftest.
$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3997 $EGREP "yes" >/dev
/null
2>&1; then
3998 { echo "$as_me:$LINENO: result: yes" >&5
3999 echo "${ECHO_T}yes" >&6; }
4000 cat >>confdefs.h
<<\_ACEOF
4001 #define _ALL_SOURCE 1
4005 { echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6; }
4011 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4012 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4013 if test "${ac_cv_header_stdc+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 cat >conftest.
$ac_ext <<_ACEOF
4019 cat confdefs.h
>>conftest.
$ac_ext
4020 cat >>conftest.
$ac_ext <<_ACEOF
4021 /* end confdefs.h. */
4035 rm -f conftest.
$ac_objext
4036 if { (ac_try
="$ac_compile"
4038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4042 (eval "$ac_compile") 2>conftest.er1
4044 grep -v '^ *+' conftest.er1 >conftest.err
4046 cat conftest.err >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } && {
4049 test -z "$ac_c_werror_flag" ||
4050 test ! -s conftest.err
4051 } && test -s conftest.$ac_objext; then
4052 ac_cv_header_stdc=yes
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 ac_cv_header_stdc=no
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062 if test $ac_cv_header_stdc = yes; then
4063 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4064 cat >conftest.$ac_ext <<_ACEOF
4067 cat confdefs.h >>conftest.$ac_ext
4068 cat >>conftest.$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4074 $EGREP "memchr" >/dev/null 2>&1; then
4077 ac_cv_header_stdc=no
4083 if test $ac_cv_header_stdc = yes; then
4084 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4085 cat >conftest.$ac_ext <<_ACEOF
4088 cat confdefs.h >>conftest.$ac_ext
4089 cat >>conftest.$ac_ext <<_ACEOF
4090 /* end confdefs.h. */
4094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4095 $EGREP "free" >/dev/null 2>&1; then
4098 ac_cv_header_stdc=no
4104 if test $ac_cv_header_stdc = yes; then
4105 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4106 if test "$cross_compiling" = yes; then
4109 cat >conftest.$ac_ext <<_ACEOF
4112 cat confdefs.h >>conftest.$ac_ext
4113 cat >>conftest.$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4117 #if ((' ' & 0x0FF) == 0x020)
4118 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4119 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4121 # define ISLOWER(c) \
4122 (('a' <= (c) && (c) <= 'i') \
4123 || ('j' <= (c) && (c) <= 'r') \
4124 || ('s' <= (c) && (c) <= 'z'))
4125 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4128 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4133 for (i = 0; i < 256; i++)
4134 if (XOR (islower (i), ISLOWER (i))
4135 || toupper (i) != TOUPPER (i))
4140 rm -f conftest$ac_exeext
4141 if { (ac_try="$ac_link"
4143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4144 *) ac_try_echo
=$ac_try;;
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_link") 2>&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4151 { (case "(($ac_try" in
4152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4156 (eval "$ac_try") 2>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; }; then
4162 echo "$as_me: program exited with status $ac_status" >&5
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4167 ac_cv_header_stdc=no
4169 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4175 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4176 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4177 if test $ac_cv_header_stdc = yes; then
4179 cat >>confdefs.h <<\_ACEOF
4180 #define STDC_HEADERS 1
4185 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4195 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4196 inttypes.h stdint.h unistd.h
4198 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 $ac_includes_default
4212 #include <$ac_header>
4214 rm -f conftest.$ac_objext
4215 if { (ac_try="$ac_compile"
4217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4218 *) ac_try_echo
=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_compile") 2>conftest.er1
4223 grep -v '^ *+' conftest.er1
>conftest.err
4225 cat conftest.err
>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } && {
4228 test -z "$ac_c_werror_flag" ||
4229 test ! -s conftest.err
4230 } && test -s conftest.
$ac_objext; then
4231 eval "$as_ac_Header=yes"
4233 echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.
$ac_ext >&5
4236 eval "$as_ac_Header=no"
4239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4241 ac_res
=`eval echo '${'$as_ac_Header'}'`
4242 { echo "$as_me:$LINENO: result: $ac_res" >&5
4243 echo "${ECHO_T}$ac_res" >&6; }
4244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4245 cat >>confdefs.h
<<_ACEOF
4246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4254 if test "${ac_cv_header_minix_config_h+set}" = set; then
4255 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4256 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4257 if test "${ac_cv_header_minix_config_h+set}" = set; then
4258 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4261 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4263 # Is the header compilable?
4264 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4265 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4266 cat >conftest.
$ac_ext <<_ACEOF
4269 cat confdefs.h
>>conftest.
$ac_ext
4270 cat >>conftest.
$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4272 $ac_includes_default
4273 #include <minix/config.h>
4275 rm -f conftest.
$ac_objext
4276 if { (ac_try
="$ac_compile"
4278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4282 (eval "$ac_compile") 2>conftest.er1
4284 grep -v '^ *+' conftest.er1 >conftest.err
4286 cat conftest.err >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); } && {
4289 test -z "$ac_c_werror_flag" ||
4290 test ! -s conftest.err
4291 } && test -s conftest.$ac_objext; then
4292 ac_header_compiler=yes
4294 echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4297 ac_header_compiler=no
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4302 echo "${ECHO_T}$ac_header_compiler" >&6; }
4304 # Is the header present?
4305 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4306 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4307 cat >conftest.$ac_ext <<_ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4313 #include <minix/config.h>
4315 if { (ac_try="$ac_cpp conftest.$ac_ext"
4317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4318 *) ac_try_echo
=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4323 grep -v '^ *+' conftest.er1
>conftest.err
4325 cat conftest.err
>&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } >/dev
/null
&& {
4328 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4329 test ! -s conftest.err
4331 ac_header_preproc
=yes
4333 echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.
$ac_ext >&5
4336 ac_header_preproc
=no
4339 rm -f conftest.err conftest.
$ac_ext
4340 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4341 echo "${ECHO_T}$ac_header_preproc" >&6; }
4343 # So? What about this header?
4344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4346 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4347 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4348 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4349 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4350 ac_header_preproc
=yes
4353 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4354 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4355 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4356 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4357 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4358 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4359 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4360 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4361 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4362 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4363 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4364 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4366 ## -------------------------------------------------- ##
4367 ## Report this to courier-users@lists.sourceforge.net ##
4368 ## -------------------------------------------------- ##
4370 ) |
sed "s/^/$as_me: WARNING: /" >&2
4373 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4374 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4375 if test "${ac_cv_header_minix_config_h+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4378 ac_cv_header_minix_config_h
=$ac_header_preproc
4380 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4381 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4384 if test $ac_cv_header_minix_config_h = yes; then
4391 if test "$MINIX" = yes; then
4393 cat >>confdefs.h
<<\_ACEOF
4394 #define _POSIX_SOURCE 1
4398 cat >>confdefs.h
<<\_ACEOF
4399 #define _POSIX_1_SOURCE 2
4403 cat >>confdefs.h
<<\_ACEOF
4409 # Check whether --enable-shared was given.
4410 if test "${enable_shared+set}" = set; then
4411 enableval
=$enable_shared; p
=${PACKAGE-default}
4413 yes) enable_shared
=yes ;;
4414 no
) enable_shared
=no
;;
4417 # Look at the argument we got. We use all the common list separators.
4418 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4419 for pkg
in $enableval; do
4421 if test "X$pkg" = "X$p"; then
4433 # Check whether --enable-static was given.
4434 if test "${enable_static+set}" = set; then
4435 enableval
=$enable_static; p
=${PACKAGE-default}
4437 yes) enable_static
=yes ;;
4438 no
) enable_static
=no
;;
4441 # Look at the argument we got. We use all the common list separators.
4442 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4443 for pkg
in $enableval; do
4445 if test "X$pkg" = "X$p"; then
4457 # Check whether --enable-fast-install was given.
4458 if test "${enable_fast_install+set}" = set; then
4459 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4461 yes) enable_fast_install
=yes ;;
4462 no
) enable_fast_install
=no
;;
4464 enable_fast_install
=no
4465 # Look at the argument we got. We use all the common list separators.
4466 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4467 for pkg
in $enableval; do
4469 if test "X$pkg" = "X$p"; then
4470 enable_fast_install
=yes
4477 enable_fast_install
=yes
4481 # Make sure we can run config.sub.
4482 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4483 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4484 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4485 { (exit 1); exit 1; }; }
4487 { echo "$as_me:$LINENO: checking build system type" >&5
4488 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4489 if test "${ac_cv_build+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 ac_build_alias
=$build_alias
4493 test "x$ac_build_alias" = x
&&
4494 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4495 test "x$ac_build_alias" = x
&&
4496 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4497 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4498 { (exit 1); exit 1; }; }
4499 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4500 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4501 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4502 { (exit 1); exit 1; }; }
4505 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4506 echo "${ECHO_T}$ac_cv_build" >&6; }
4507 case $ac_cv_build in
4509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4510 echo "$as_me: error: invalid value of canonical build" >&2;}
4511 { (exit 1); exit 1; }; };;
4514 ac_save_IFS
=$IFS; IFS
='-'
4520 # Remember, the first character of IFS is used to create $*,
4521 # except with old shells:
4524 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4527 { echo "$as_me:$LINENO: checking host system type" >&5
4528 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4529 if test "${ac_cv_host+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 if test "x$host_alias" = x
; then
4533 ac_cv_host
=$ac_cv_build
4535 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4536 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4537 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4538 { (exit 1); exit 1; }; }
4542 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4543 echo "${ECHO_T}$ac_cv_host" >&6; }
4546 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4547 echo "$as_me: error: invalid value of canonical host" >&2;}
4548 { (exit 1); exit 1; }; };;
4551 ac_save_IFS
=$IFS; IFS
='-'
4557 # Remember, the first character of IFS is used to create $*,
4558 # except with old shells:
4561 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4564 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4565 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4566 if test "${lt_cv_path_SED+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 # Loop through the user's path and test for sed and gsed.
4570 # Then use that list of sed's as ones to test for truncation.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for lt_ac_prog
in sed gsed
; do
4577 for ac_exec_ext
in '' $ac_executable_extensions; do
4578 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4579 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4587 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4588 # along with /bin/sed that truncates output.
4589 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4590 test ! -f $lt_ac_sed && continue
4591 cat /dev
/null
> conftest.
in
4593 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4594 # Check for GNU sed and select it if it is found.
4595 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4596 lt_cv_path_SED
=$lt_ac_sed
4600 cat conftest.
in conftest.
in >conftest.tmp
4601 mv conftest.tmp conftest.
in
4602 cp conftest.
in conftest.
nl
4604 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4605 cmp -s conftest.out conftest.
nl ||
break
4606 # 10000 chars as input seems more than enough
4607 test $lt_ac_count -gt 10 && break
4608 lt_ac_count
=`expr $lt_ac_count + 1`
4609 if test $lt_ac_count -gt $lt_ac_max; then
4610 lt_ac_max
=$lt_ac_count
4611 lt_cv_path_SED
=$lt_ac_sed
4620 { echo "$as_me:$LINENO: result: $SED" >&5
4621 echo "${ECHO_T}$SED" >&6; }
4624 # Check whether --with-gnu-ld was given.
4625 if test "${with_gnu_ld+set}" = set; then
4626 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4632 if test "$GCC" = yes; then
4633 # Check if gcc -print-prog-name=ld gives a path.
4634 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4635 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4638 # gcc leaves a trailing carriage return which upsets mingw
4639 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4641 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4644 # Accept absolute paths.
4646 re_direlt
='/[^/][^/]*/\.\./'
4647 # Canonicalize the pathname of ld
4648 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4649 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4650 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4652 test -z "$LD" && LD
="$ac_prog"
4655 # If it fails, then pretend we aren't using GCC.
4659 # If it is relative, then search for the first ld in PATH.
4663 elif test "$with_gnu_ld" = yes; then
4664 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4665 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4667 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4668 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4670 if test "${lt_cv_path_LD+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 if test -z "$LD"; then
4674 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4675 for ac_dir
in $PATH; do
4677 test -z "$ac_dir" && ac_dir
=.
4678 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4679 lt_cv_path_LD
="$ac_dir/$ac_prog"
4680 # Check to see if the program is GNU ld. I'd rather use --version,
4681 # but apparently some variants of GNU ld only accept -v.
4682 # Break only if it was the GNU/non-GNU ld that we prefer.
4683 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4684 *GNU
* |
*'with BFD'*)
4685 test "$with_gnu_ld" != no
&& break
4688 test "$with_gnu_ld" != yes && break
4695 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4700 if test -n "$LD"; then
4701 { echo "$as_me:$LINENO: result: $LD" >&5
4702 echo "${ECHO_T}$LD" >&6; }
4704 { echo "$as_me:$LINENO: result: no" >&5
4705 echo "${ECHO_T}no" >&6; }
4707 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4708 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4709 { (exit 1); exit 1; }; }
4710 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4711 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4712 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4716 case `$LD -v 2>&1 </dev/null` in
4717 *GNU
* |
*'with BFD'*)
4718 lt_cv_prog_gnu_ld
=yes
4721 lt_cv_prog_gnu_ld
=no
4725 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4726 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4727 with_gnu_ld
=$lt_cv_prog_gnu_ld
4730 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4731 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4732 if test "${lt_cv_ld_reload_flag+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4735 lt_cv_ld_reload_flag
='-r'
4737 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4738 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4739 reload_flag
=$lt_cv_ld_reload_flag
4740 case $reload_flag in
4742 *) reload_flag
=" $reload_flag" ;;
4744 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4747 if test "$GCC" = yes; then
4748 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4750 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4755 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4756 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4757 if test "${lt_cv_path_NM+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 if test -n "$NM"; then
4761 # Let the user override the test.
4764 lt_nm_to_check
="${ac_tool_prefix}nm"
4765 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4766 lt_nm_to_check
="$lt_nm_to_check nm"
4768 for lt_tmp_nm
in $lt_nm_to_check; do
4769 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4770 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4772 test -z "$ac_dir" && ac_dir
=.
4773 tmp_nm
="$ac_dir/$lt_tmp_nm"
4774 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4775 # Check to see if the nm accepts a BSD-compat flag.
4776 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4777 # nm: unknown option "B" ignored
4778 # Tru64's nm complains that /dev/null is an invalid object file
4779 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4780 */dev
/null
* |
*'Invalid file or object type'*)
4781 lt_cv_path_NM
="$tmp_nm -B"
4785 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4787 lt_cv_path_NM
="$tmp_nm -p"
4791 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4792 continue # so that we can try to find one that supports BSD flags
4801 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4804 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4805 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4808 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4809 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4811 if test "$LN_S" = "ln -s"; then
4812 { echo "$as_me:$LINENO: result: yes" >&5
4813 echo "${ECHO_T}yes" >&6; }
4815 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4816 echo "${ECHO_T}no, using $LN_S" >&6; }
4819 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4820 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4821 if test "${lt_cv_deplibs_check_method+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4825 lt_cv_file_magic_test_file
=
4826 lt_cv_deplibs_check_method
='unknown'
4827 # Need to set the preceding variable on all platforms that support
4828 # interlibrary dependencies.
4829 # 'none' -- dependencies not supported.
4830 # `unknown' -- same as none, but documents that we really don't know.
4831 # 'pass_all' -- all dependencies passed with no checks.
4832 # 'test_compile' -- check by making test program.
4833 # 'file_magic [[regex]]' -- check by looking for files in library path
4834 # which responds to the $file_magic_cmd with a given extended regex.
4835 # If you have `file' or equivalent on your system and you're not sure
4836 # whether `pass_all' will *always* work, you probably want this one.
4840 lt_cv_deplibs_check_method
=pass_all
4844 lt_cv_deplibs_check_method
=pass_all
4848 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4849 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4850 lt_cv_file_magic_test_file
=/shlib
/libc.so
4854 # func_win32_libid is a shell function defined in ltmain.sh
4855 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4856 lt_cv_file_magic_cmd
='func_win32_libid'
4860 # Base MSYS/MinGW do not provide the 'file' command needed by
4861 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4862 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4863 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4866 darwin
* | rhapsody
*)
4867 lt_cv_deplibs_check_method
=pass_all
4870 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4871 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4874 # Not sure whether the presence of OpenBSD here was a mistake.
4875 # Let's accept both of them until this is cleared up.
4876 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4877 lt_cv_file_magic_cmd
=/usr
/bin
/file
4878 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4882 lt_cv_deplibs_check_method
=pass_all
4887 lt_cv_deplibs_check_method
=pass_all
4890 hpux10.20
* | hpux11
*)
4891 lt_cv_file_magic_cmd
=/usr
/bin
/file
4894 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4895 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4898 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]'
4899 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4902 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4903 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4909 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4910 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4913 irix5
* | irix6
* | nonstopux
*)
4915 *-32|
*"-32 ") libmagic
=32-bit;;
4916 *-n32|
*"-n32 ") libmagic
=N32
;;
4917 *-64|
*"-64 ") libmagic
=64-bit;;
4918 *) libmagic
=never-match
;;
4920 lt_cv_deplibs_check_method
=pass_all
4923 # This must be Linux ELF.
4925 lt_cv_deplibs_check_method
=pass_all
4929 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4930 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4932 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4937 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4938 lt_cv_file_magic_cmd
=/usr
/bin
/file
4939 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4943 lt_cv_deplibs_check_method
=unknown
4947 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4948 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4950 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4954 osf3
* | osf4
* | osf5
*)
4955 lt_cv_deplibs_check_method
=pass_all
4959 lt_cv_deplibs_check_method
=pass_all
4963 case $host_vendor in
4965 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]'
4966 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4969 lt_cv_deplibs_check_method
=pass_all
4972 lt_cv_file_magic_cmd
='/bin/file'
4973 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4976 lt_cv_file_magic_cmd
='/bin/file'
4977 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4978 lt_cv_file_magic_test_file
=/lib
/libc.so
4981 lt_cv_deplibs_check_method
=pass_all
4984 lt_cv_deplibs_check_method
=pass_all
4989 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4990 lt_cv_deplibs_check_method
=pass_all
4995 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4996 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4997 file_magic_cmd
=$lt_cv_file_magic_cmd
4998 deplibs_check_method
=$lt_cv_deplibs_check_method
4999 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5004 # If no C compiler was specified, use CC.
5007 # If no C compiler flags were specified, use CFLAGS.
5008 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5010 # Allow CC to be a program name with arguments.
5013 # Check whether --enable-libtool-lock was given.
5014 if test "${enable_libtool_lock+set}" = set; then
5015 enableval
=$enable_libtool_lock;
5018 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5020 # Some flags need to be propagated to the compiler or linker for good
5024 # Find out which ABI we are using.
5025 echo 'int i;' > conftest.
$ac_ext
5026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5027 (eval $ac_compile) 2>&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; then
5031 case `/usr/bin/file conftest.$ac_objext` in
5043 # Find out which ABI we are using.
5044 echo '#line 5044 "configure"' > conftest.
$ac_ext
5045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5046 (eval $ac_compile) 2>&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); }; then
5050 if test "$lt_cv_prog_gnu_ld" = yes; then
5051 case `/usr/bin/file conftest.$ac_objext` in
5053 LD
="${LD-ld} -melf32bsmip"
5056 LD
="${LD-ld} -melf32bmipn32"
5059 LD
="${LD-ld} -melf64bmip"
5063 case `/usr/bin/file conftest.$ac_objext` in
5079 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5080 # Find out which ABI we are using.
5081 echo 'int i;' > conftest.
$ac_ext
5082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5083 (eval $ac_compile) 2>&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; then
5087 case `/usr/bin/file conftest.o` in
5091 LD
="${LD-ld} -m elf_i386"
5093 ppc64-
*linux
*|powerpc64-
*linux
*)
5094 LD
="${LD-ld} -m elf32ppclinux"
5097 LD
="${LD-ld} -m elf_s390"
5100 LD
="${LD-ld} -m elf32_sparc"
5107 LD
="${LD-ld} -m elf_x86_64"
5109 ppc
*-*linux
*|powerpc
*-*linux
*)
5110 LD
="${LD-ld} -m elf64ppc"
5113 LD
="${LD-ld} -m elf64_s390"
5116 LD
="${LD-ld} -m elf64_sparc"
5126 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5127 SAVE_CFLAGS
="$CFLAGS"
5128 CFLAGS
="$CFLAGS -belf"
5129 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5130 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5131 if test "${lt_cv_cc_needs_belf+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5135 ac_cpp
='$CPP $CPPFLAGS'
5136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5140 cat >conftest.
$ac_ext <<_ACEOF
5143 cat confdefs.h
>>conftest.
$ac_ext
5144 cat >>conftest.
$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5155 rm -f conftest.
$ac_objext conftest
$ac_exeext
5156 if { (ac_try
="$ac_link"
5158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5159 *) ac_try_echo=$ac_try;;
5161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5162 (eval "$ac_link") 2>conftest.er1
5164 grep -v '^ *+' conftest.er1 >conftest.err
5166 cat conftest.err >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); } && {
5169 test -z "$ac_c_werror_flag" ||
5170 test ! -s conftest.err
5171 } && test -s conftest$ac_exeext &&
5172 $as_test_x conftest$ac_exeext; then
5173 lt_cv_cc_needs_belf=yes
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.$ac_ext >&5
5178 lt_cv_cc_needs_belf=no
5181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5182 conftest$ac_exeext conftest.$ac_ext
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5190 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5191 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5192 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5193 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5194 CFLAGS="$SAVE_CFLAGS"
5198 # Find out which ABI we are using.
5199 echo 'int i;' > conftest.$ac_ext
5200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5201 (eval $ac_compile) 2>&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; then
5205 case `/usr
/bin
/file conftest.o
` in
5207 case $lt_cv_prog_gnu_ld in
5208 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5209 *) LD="${LD-ld} -64" ;;
5220 need_locks="$enable_libtool_lock"
5224 for ac_header in dlfcn.h
5226 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5228 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 ac_res=`eval echo '${'$as_ac_Header'}'`
5234 { echo "$as_me:$LINENO: result: $ac_res" >&5
5235 echo "${ECHO_T}$ac_res" >&6; }
5237 # Is the header compilable?
5238 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5240 cat >conftest.$ac_ext <<_ACEOF
5243 cat confdefs.h >>conftest.$ac_ext
5244 cat >>conftest.$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5246 $ac_includes_default
5247 #include <$ac_header>
5249 rm -f conftest.$ac_objext
5250 if { (ac_try="$ac_compile"
5252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5253 *) ac_try_echo
=$ac_try;;
5255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5256 (eval "$ac_compile") 2>conftest.er1
5258 grep -v '^ *+' conftest.er1
>conftest.err
5260 cat conftest.err
>&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); } && {
5263 test -z "$ac_c_werror_flag" ||
5264 test ! -s conftest.err
5265 } && test -s conftest.
$ac_objext; then
5266 ac_header_compiler
=yes
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.
$ac_ext >&5
5271 ac_header_compiler
=no
5274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5276 echo "${ECHO_T}$ac_header_compiler" >&6; }
5278 # Is the header present?
5279 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5281 cat >conftest.
$ac_ext <<_ACEOF
5284 cat confdefs.h
>>conftest.
$ac_ext
5285 cat >>conftest.
$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5287 #include <$ac_header>
5289 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5297 grep -v '^ *+' conftest.er1 >conftest.err
5299 cat conftest.err >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); } >/dev/null && {
5302 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5303 test ! -s conftest.err
5305 ac_header_preproc=yes
5307 echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.$ac_ext >&5
5310 ac_header_preproc=no
5313 rm -f conftest.err conftest.$ac_ext
5314 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5315 echo "${ECHO_T}$ac_header_preproc" >&6; }
5317 # So? What about this header?
5318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5324 ac_header_preproc=yes
5327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5340 ## -------------------------------------------------- ##
5341 ## Report this to courier-users@lists.sourceforge.net ##
5342 ## -------------------------------------------------- ##
5344 ) | sed "s/^/$as_me: WARNING: /" >&2
5347 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 eval "$as_ac_Header=\$ac_header_preproc"
5354 ac_res=`eval echo '${'$as_ac_Header'}'`
5355 { echo "$as_me:$LINENO: result: $ac_res" >&5
5356 echo "${ECHO_T}$ac_res" >&6; }
5359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5360 cat >>confdefs.h <<_ACEOF
5361 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5369 ac_cpp='$CXXCPP $CPPFLAGS'
5370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5373 if test -z "$CXX"; then
5374 if test -n "$CCC"; then
5377 if test -n "$ac_tool_prefix"; then
5378 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5384 if test "${ac_cv_prog_CXX+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 if test -n "$CXX"; then
5388 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir=.
5395 for ac_exec_ext in '' $ac_executable_extensions; do
5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5397 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 if test -n "$CXX"; then
5409 { echo "$as_me:$LINENO: result: $CXX" >&5
5410 echo "${ECHO_T}$CXX" >&6; }
5412 { echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6; }
5417 test -n "$CXX" && break
5420 if test -z "$CXX"; then
5422 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy $ac_prog; ac_word=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$ac_ct_CXX"; then
5432 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_ac_ct_CXX="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5452 if test -n "$ac_ct_CXX"; then
5453 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5454 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$ac_ct_CXX" && break
5464 if test "x$ac_ct_CXX" = x; then
5467 case $cross_compiling:$ac_tool_warned in
5469 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5470 whose name does not start with the host triplet. If you think this
5471 configuration is useful to you, please write to autoconf@gnu.org." >&5
5472 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5475 ac_tool_warned=yes ;;
5483 # Provide some information about the compiler.
5484 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5485 ac_compiler=`set X
$ac_compile; echo $2`
5486 { (ac_try="$ac_compiler --version >&5"
5488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5489 *) ac_try_echo
=$ac_try;;
5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5492 (eval "$ac_compiler --version >&5") 2>&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }
5496 { (ac_try
="$ac_compiler -v >&5"
5498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_compiler -v >&5") 2>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }
5506 { (ac_try="$ac_compiler -V >&5"
5508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5509 *) ac_try_echo
=$ac_try;;
5511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5512 (eval "$ac_compiler -V >&5") 2>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }
5517 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5518 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5519 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 cat >conftest.
$ac_ext <<_ACEOF
5525 cat confdefs.h
>>conftest.
$ac_ext
5526 cat >>conftest.
$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5540 rm -f conftest.
$ac_objext
5541 if { (ac_try
="$ac_compile"
5543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5544 *) ac_try_echo=$ac_try;;
5546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5547 (eval "$ac_compile") 2>conftest.er1
5549 grep -v '^ *+' conftest.er1 >conftest.err
5551 cat conftest.err >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } && {
5554 test -z "$ac_cxx_werror_flag" ||
5555 test ! -s conftest.err
5556 } && test -s conftest.$ac_objext; then
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.$ac_ext >&5
5565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5566 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5569 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5570 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5571 GXX=`test $ac_compiler_gnu = yes && echo yes`
5572 ac_test_CXXFLAGS=${CXXFLAGS+set}
5573 ac_save_CXXFLAGS=$CXXFLAGS
5574 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5575 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5576 if test "${ac_cv_prog_cxx_g+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5580 ac_cxx_werror_flag=yes
5583 cat >conftest.$ac_ext <<_ACEOF
5586 cat confdefs.h >>conftest.$ac_ext
5587 cat >>conftest.$ac_ext <<_ACEOF
5588 /* end confdefs.h. */
5598 rm -f conftest.$ac_objext
5599 if { (ac_try="$ac_compile"
5601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5602 *) ac_try_echo
=$ac_try;;
5604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5605 (eval "$ac_compile") 2>conftest.er1
5607 grep -v '^ *+' conftest.er1
>conftest.err
5609 cat conftest.err
>&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); } && {
5612 test -z "$ac_cxx_werror_flag" ||
5613 test ! -s conftest.err
5614 } && test -s conftest.
$ac_objext; then
5615 ac_cv_prog_cxx_g
=yes
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.
$ac_ext >&5
5621 cat >conftest.
$ac_ext <<_ACEOF
5624 cat confdefs.h
>>conftest.
$ac_ext
5625 cat >>conftest.
$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5636 rm -f conftest.
$ac_objext
5637 if { (ac_try
="$ac_compile"
5639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5640 *) ac_try_echo=$ac_try;;
5642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5643 (eval "$ac_compile") 2>conftest.er1
5645 grep -v '^ *+' conftest.er1 >conftest.err
5647 cat conftest.err >&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } && {
5650 test -z "$ac_cxx_werror_flag" ||
5651 test ! -s conftest.err
5652 } && test -s conftest.$ac_objext; then
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5658 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5660 cat >conftest.$ac_ext <<_ACEOF
5663 cat confdefs.h >>conftest.$ac_ext
5664 cat >>conftest.$ac_ext <<_ACEOF
5665 /* end confdefs.h. */
5675 rm -f conftest.$ac_objext
5676 if { (ac_try="$ac_compile"
5678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5679 *) ac_try_echo
=$ac_try;;
5681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5682 (eval "$ac_compile") 2>conftest.er1
5684 grep -v '^ *+' conftest.er1
>conftest.err
5686 cat conftest.err
>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } && {
5689 test -z "$ac_cxx_werror_flag" ||
5690 test ! -s conftest.err
5691 } && test -s conftest.
$ac_objext; then
5692 ac_cv_prog_cxx_g
=yes
5694 echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.
$ac_ext >&5
5700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5707 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5709 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5710 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5711 if test "$ac_test_CXXFLAGS" = set; then
5712 CXXFLAGS
=$ac_save_CXXFLAGS
5713 elif test $ac_cv_prog_cxx_g = yes; then
5714 if test "$GXX" = yes; then
5720 if test "$GXX" = yes; then
5727 ac_cpp
='$CXXCPP $CPPFLAGS'
5728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5732 depcc
="$CXX" am_compiler_list
=
5734 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5735 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5736 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5740 # We make a subdir and do the tests there. Otherwise we can end up
5741 # making bogus files that we don't know about and never remove. For
5742 # instance it was reported that on HP-UX the gcc test will end up
5743 # making a dummy file named `D' -- because `-MD' means `put the output
5746 # Copy depcomp to subdir because otherwise we won't find it if we're
5747 # using a relative directory.
5748 cp "$am_depcomp" conftest.dir
5750 # We will build objects and dependencies in a subdirectory because
5751 # it helps to detect inapplicable dependency modes. For instance
5752 # both Tru64's cc and ICC support -MD to output dependencies as a
5753 # side effect of compilation, but ICC will put the dependencies in
5754 # the current directory while Tru64 will put them in the object
5758 am_cv_CXX_dependencies_compiler_type
=none
5759 if test "$am_compiler_list" = ""; then
5760 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5762 for depmode
in $am_compiler_list; do
5763 # Setup a source with many dependencies, because some compilers
5764 # like to wrap large dependency lists on column 80 (with \), and
5765 # we should not choose a depcomp mode which is confused by this.
5767 # We need to recreate these files for each test, as the compiler may
5768 # overwrite some of them when testing with obscure command lines.
5769 # This happens at least with the AIX C compiler.
5771 for i
in 1 2 3 4 5 6; do
5772 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5773 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5774 # Solaris 8's {/usr,}/bin/sh.
5775 touch sub
/conftst
$i.h
5777 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5781 # after this tag, mechanisms are not by side-effect, so they'll
5782 # only be used when explicitly requested
5783 if test "x$enable_dependency_tracking" = xyes
; then
5791 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5792 # mode. It turns out that the SunPro C++ compiler does not properly
5793 # handle `-M -o', and we need to detect this.
5794 if depmode
=$depmode \
5795 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5796 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5797 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5798 >/dev
/null
2>conftest.err
&&
5799 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5800 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5801 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5802 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5803 # icc doesn't choke on unknown options, it will just issue warnings
5804 # or remarks (even with -Werror). So we grep stderr for any message
5805 # that says an option was ignored or not supported.
5806 # When given -MP, icc 7.0 and 7.1 complain thusly:
5807 # icc: Command line warning: ignoring option '-M'; no argument required
5808 # The diagnosis changed in icc 8.0:
5809 # icc: Command line remark: option '-MP' not supported
5810 if (grep 'ignoring option' conftest.err ||
5811 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5812 am_cv_CXX_dependencies_compiler_type
=$depmode
5821 am_cv_CXX_dependencies_compiler_type
=none
5825 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5826 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5827 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5830 test "x$enable_dependency_tracking" != xno \
5831 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5832 am__fastdepCXX_TRUE
=
5833 am__fastdepCXX_FALSE
='#'
5835 am__fastdepCXX_TRUE
='#'
5836 am__fastdepCXX_FALSE
=
5842 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5843 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5844 (test "X$CXX" != "Xg++"))) ; then
5846 ac_cpp
='$CXXCPP $CPPFLAGS'
5847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5850 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5851 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5852 if test -z "$CXXCPP"; then
5853 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5854 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 # Double quotes because CXXCPP needs to be expanded
5857 for CXXCPP
in "$CXX -E" "/lib/cpp"
5860 for ac_cxx_preproc_warn_flag
in '' yes
5862 # Use a header file that comes with gcc, so configuring glibc
5863 # with a fresh cross-compiler works.
5864 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5865 # <limits.h> exists even on freestanding compilers.
5866 # On the NeXT, cc -E runs the code through the compiler's parser,
5867 # not just through cpp. "Syntax error" is here to catch this case.
5868 cat >conftest.
$ac_ext <<_ACEOF
5871 cat confdefs.h
>>conftest.
$ac_ext
5872 cat >>conftest.
$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5875 # include <limits.h>
5877 # include <assert.h>
5881 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5884 *) ac_try_echo=$ac_try;;
5886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5889 grep -v '^ *+' conftest.er1 >conftest.err
5891 cat conftest.err >&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } >/dev/null && {
5894 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5895 test ! -s conftest.err
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.$ac_ext >&5
5902 # Broken: fails on valid input.
5906 rm -f conftest.err conftest.$ac_ext
5908 # OK, works on sane cases. Now check whether nonexistent headers
5909 # can be detected and how.
5910 cat >conftest.$ac_ext <<_ACEOF
5913 cat confdefs.h >>conftest.$ac_ext
5914 cat >>conftest.$ac_ext <<_ACEOF
5915 /* end confdefs.h. */
5916 #include <ac_nonexistent.h>
5918 if { (ac_try="$ac_cpp conftest.$ac_ext"
5920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5921 *) ac_try_echo
=$ac_try;;
5923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5926 grep -v '^ *+' conftest.er1
>conftest.err
5928 cat conftest.err
>&5
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); } >/dev
/null
&& {
5931 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5932 test ! -s conftest.err
5934 # Broken: success on invalid input.
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.
$ac_ext >&5
5940 # Passes both tests.
5945 rm -f conftest.err conftest.
$ac_ext
5948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5949 rm -f conftest.err conftest.
$ac_ext
5950 if $ac_preproc_ok; then
5955 ac_cv_prog_CXXCPP
=$CXXCPP
5958 CXXCPP
=$ac_cv_prog_CXXCPP
5960 ac_cv_prog_CXXCPP
=$CXXCPP
5962 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5963 echo "${ECHO_T}$CXXCPP" >&6; }
5965 for ac_cxx_preproc_warn_flag
in '' yes
5967 # Use a header file that comes with gcc, so configuring glibc
5968 # with a fresh cross-compiler works.
5969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5970 # <limits.h> exists even on freestanding compilers.
5971 # On the NeXT, cc -E runs the code through the compiler's parser,
5972 # not just through cpp. "Syntax error" is here to catch this case.
5973 cat >conftest.
$ac_ext <<_ACEOF
5976 cat confdefs.h
>>conftest.
$ac_ext
5977 cat >>conftest.
$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5980 # include <limits.h>
5982 # include <assert.h>
5986 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5989 *) ac_try_echo=$ac_try;;
5991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5994 grep -v '^ *+' conftest.er1 >conftest.err
5996 cat conftest.err >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } >/dev/null && {
5999 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6000 test ! -s conftest.err
6004 echo "$as_me: failed program was:" >&5
6005 sed 's/^/| /' conftest.$ac_ext >&5
6007 # Broken: fails on valid input.
6011 rm -f conftest.err conftest.$ac_ext
6013 # OK, works on sane cases. Now check whether nonexistent headers
6014 # can be detected and how.
6015 cat >conftest.$ac_ext <<_ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6021 #include <ac_nonexistent.h>
6023 if { (ac_try="$ac_cpp conftest.$ac_ext"
6025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6026 *) ac_try_echo
=$ac_try;;
6028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6031 grep -v '^ *+' conftest.er1
>conftest.err
6033 cat conftest.err
>&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); } >/dev
/null
&& {
6036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6037 test ! -s conftest.err
6039 # Broken: success on invalid input.
6042 echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.
$ac_ext >&5
6045 # Passes both tests.
6050 rm -f conftest.err conftest.
$ac_ext
6053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6054 rm -f conftest.err conftest.
$ac_ext
6055 if $ac_preproc_ok; then
6058 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6059 See \`config.log' for more details." >&5
6060 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6061 See \`config.log' for more details." >&2;}
6062 { (exit 1); exit 1; }; }
6066 ac_cpp
='$CXXCPP $CPPFLAGS'
6067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6075 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6076 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6077 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6078 if test -n "$ac_tool_prefix"; then
6079 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
6081 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6082 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6085 if test "${ac_cv_prog_F77+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 if test -n "$F77"; then
6089 ac_cv_prog_F77
="$F77" # Let the user override the test.
6091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir
=.
6096 for ac_exec_ext
in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 if test -n "$F77"; then
6110 { echo "$as_me:$LINENO: result: $F77" >&5
6111 echo "${ECHO_T}$F77" >&6; }
6113 { echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6; }
6118 test -n "$F77" && break
6121 if test -z "$F77"; then
6123 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
6125 # Extract the first word of "$ac_prog", so it can be a program name with args.
6126 set dummy
$ac_prog; ac_word
=$2
6127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6129 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 if test -n "$ac_ct_F77"; then
6133 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6139 test -z "$as_dir" && as_dir
=.
6140 for ac_exec_ext
in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_ac_ct_F77
="$ac_prog"
6143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6153 if test -n "$ac_ct_F77"; then
6154 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6155 echo "${ECHO_T}$ac_ct_F77" >&6; }
6157 { echo "$as_me:$LINENO: result: no" >&5
6158 echo "${ECHO_T}no" >&6; }
6162 test -n "$ac_ct_F77" && break
6165 if test "x$ac_ct_F77" = x
; then
6168 case $cross_compiling:$ac_tool_warned in
6170 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6171 whose name does not start with the host triplet. If you think this
6172 configuration is useful to you, please write to autoconf@gnu.org." >&5
6173 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6174 whose name does not start with the host triplet. If you think this
6175 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6176 ac_tool_warned
=yes ;;
6183 # Provide some information about the compiler.
6184 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6185 ac_compiler
=`set X $ac_compile; echo $2`
6186 { (ac_try
="$ac_compiler --version >&5"
6188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6189 *) ac_try_echo=$ac_try;;
6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6192 (eval "$ac_compiler --version >&5") 2>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }
6196 { (ac_try="$ac_compiler -v >&5"
6198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6199 *) ac_try_echo
=$ac_try;;
6201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6202 (eval "$ac_compiler -v >&5") 2>&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }
6206 { (ac_try
="$ac_compiler -V >&5"
6208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6209 *) ac_try_echo=$ac_try;;
6211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6212 (eval "$ac_compiler -V >&5") 2>&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }
6218 # If we don't use `.F
' as extension, the preprocessor is not run on the
6219 # input file. (Note that this only needs to work for GNU compilers.)
6222 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6223 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6224 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6225 echo $ECHO_N "(cached) $ECHO_C" >&6
6227 cat >conftest.$ac_ext <<_ACEOF
6235 rm -f conftest.$ac_objext
6236 if { (ac_try="$ac_compile"
6238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6239 *) ac_try_echo=$ac_try;;
6241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6242 (eval "$ac_compile") 2>conftest.er1
6244 grep -v '^
*+' conftest.er1 >conftest.err
6246 cat conftest.err >&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); } && {
6249 test -z "$ac_f77_werror_flag" ||
6250 test ! -s conftest.err
6251 } && test -s conftest.$ac_objext; then
6254 echo "$as_me: failed program was:" >&5
6255 sed 's
/^
/|
/' conftest.$ac_ext >&5
6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6261 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6264 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6265 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6267 ac_test_FFLAGS=${FFLAGS+set}
6268 ac_save_FFLAGS=$FFLAGS
6270 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6271 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6272 if test "${ac_cv_prog_f77_g+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 cat >conftest.$ac_ext <<_ACEOF
6281 rm -f conftest.$ac_objext
6282 if { (ac_try="$ac_compile"
6284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6285 *) ac_try_echo=$ac_try;;
6287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6288 (eval "$ac_compile") 2>conftest.er1
6290 grep -v '^
*+' conftest.er1 >conftest.err
6292 cat conftest.err >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } && {
6295 test -z "$ac_f77_werror_flag" ||
6296 test ! -s conftest.err
6297 } && test -s conftest.$ac_objext; then
6298 ac_cv_prog_f77_g=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's
/^
/|
/' conftest.$ac_ext >&5
6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6309 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6310 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6311 if test "$ac_test_FFLAGS" = set; then
6312 FFLAGS=$ac_save_FFLAGS
6313 elif test $ac_cv_prog_f77_g = yes; then
6314 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6320 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6327 G77=`test $ac_compiler_gnu = yes && echo yes`
6329 ac_cpp='$CPP $CPPFLAGS'
6330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6331 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6336 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6338 # find the maximum length of command line arguments
6339 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6340 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6341 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6349 # On DJGPP, this test can blow up pretty badly due to problems in libc
6350 # (any single argument exceeding 2000 bytes causes a buffer overrun
6351 # during glob expansion). Even if it were fixed, the result of this
6352 # check would be larger than it should be.
6353 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6357 # Under GNU Hurd, this test is not required because there is
6358 # no limit to the length of command line arguments.
6359 # Libtool will interpret -1 as no limit whatsoever
6360 lt_cv_sys_max_cmd_len
=-1;
6364 # On Win9x/ME, this test blows up -- it succeeds, but takes
6365 # about 5 minutes as the teststring grows exponentially.
6366 # Worse, since 9x/ME are not pre-emptively multitasking,
6367 # you end up with a "frozen" computer, even though with patience
6368 # the test eventually succeeds (with a max line length of 256k).
6369 # Instead, let's just punt: use the minimum linelength reported by
6370 # all of the supported platforms: 8192 (on NT/2K/XP).
6371 lt_cv_sys_max_cmd_len
=8192;
6375 # On AmigaOS with pdksh, this test takes hours, literally.
6376 # So we just punt and use a minimum line length of 8192.
6377 lt_cv_sys_max_cmd_len
=8192;
6380 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6381 # This has been around since 386BSD, at least. Likely further.
6382 if test -x /sbin
/sysctl
; then
6383 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6384 elif test -x /usr
/sbin
/sysctl
; then
6385 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6387 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6389 # And add a safety zone
6390 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6391 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6395 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6396 lt_cv_sys_max_cmd_len
=196608
6400 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6401 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6402 # nice to cause kernel panics so lets avoid the loop below.
6403 # First set a reasonable default.
6404 lt_cv_sys_max_cmd_len
=16384
6406 if test -x /sbin
/sysconfig
; then
6407 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6408 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6413 lt_cv_sys_max_cmd_len
=102400
6415 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6416 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6417 if test -n "$kargmax"; then
6418 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6420 lt_cv_sys_max_cmd_len
=32768
6424 # If test is not a shell built-in, we'll probably end up computing a
6425 # maximum length that is only half of the actual maximum length, but
6427 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6428 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6429 = "XX$teststring") >/dev
/null
2>&1 &&
6430 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6431 lt_cv_sys_max_cmd_len
=$new_result &&
6432 test $i != 17 # 1/2 MB should be enough
6435 teststring
=$teststring$teststring
6438 # Add a significant safety factor because C++ compilers can tack on massive
6439 # amounts of additional arguments before passing them to the linker.
6440 # It appears as though 1/2 is a usable value.
6441 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6447 if test -n $lt_cv_sys_max_cmd_len ; then
6448 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6449 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6451 { echo "$as_me:$LINENO: result: none" >&5
6452 echo "${ECHO_T}none" >&6; }
6458 # Check for command to grab the raw symbol name followed by C symbol from nm.
6459 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6460 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6461 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 # These are sane defaults that work on at least a few old systems.
6466 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6468 # Character class describing NM global symbol codes.
6469 symcode
='[BCDEGRST]'
6471 # Regexp to match symbols that can be accessed directly from C.
6472 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6474 # Transform an extracted symbol line into a proper C declaration
6475 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6477 # Transform an extracted symbol line into symbol name and symbol address
6478 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'"
6480 # Define system-specific variables.
6485 cygwin
* | mingw
* | pw32
*)
6486 symcode
='[ABCDGISTW]'
6488 hpux
*) # Its linker distinguishes data from code symbols
6489 if test "$host_cpu" = ia64
; then
6490 symcode
='[ABCDEGRST]'
6492 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6493 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'"
6496 if test "$host_cpu" = ia64
; then
6497 symcode
='[ABCDGIRSTW]'
6498 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6499 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'"
6503 symcode
='[BCDEGRST]'
6506 symcode
='[BCDEGQRST]'
6517 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6525 # Handle CRLF in mingw tool chain
6529 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6533 # If we're using GNU nm, then use its standard symbol codes.
6534 case `$NM -V 2>&1` in
6535 *GNU
* |
*'with BFD'*)
6536 symcode
='[ABCDGIRSTW]' ;;
6539 # Try without a prefix undercore, then with it.
6540 for ac_symprfx
in "" "_"; do
6542 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6543 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6545 # Write the raw and C identifiers.
6546 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6548 # Check to see that the pipe works correctly.
6552 cat > conftest.
$ac_ext <<EOF
6557 void nm_test_func(){}
6561 int main(){nm_test_var='a';nm_test_func();return(0);}
6564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6565 (eval $ac_compile) 2>&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; then
6569 # Now try to grab the symbols.
6571 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6572 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); } && test -s "$nlist"; then
6576 # Try sorting and uniquifying the output.
6577 if sort "$nlist" |
uniq > "$nlist"T
; then
6578 mv -f "$nlist"T
"$nlist"
6583 # Make sure that we snagged all the symbols we need.
6584 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6585 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6586 cat <<EOF > conftest.$ac_ext
6592 # Now generate the symbol file.
6593 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6595 cat <<EOF >> conftest.$ac_ext
6596 #if defined (__STDC__) && __STDC__
6597 # define lt_ptr_t void *
6599 # define lt_ptr_t char *
6603 /* The mapping between symbol names and symbols. */
6608 lt_preloaded_symbols[] =
6611 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6612 cat <<\EOF
>> conftest.
$ac_ext
6620 # Now try linking the two files.
6621 mv conftest.
$ac_objext conftstm.
$ac_objext
6622 lt_save_LIBS
="$LIBS"
6623 lt_save_CFLAGS
="$CFLAGS"
6624 LIBS
="conftstm.$ac_objext"
6625 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6627 (eval $ac_link) 2>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6633 LIBS
="$lt_save_LIBS"
6634 CFLAGS
="$lt_save_CFLAGS"
6636 echo "cannot find nm_test_func in $nlist" >&5
6639 echo "cannot find nm_test_var in $nlist" >&5
6642 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6645 echo "$progname: failed program was:" >&5
6646 cat conftest.
$ac_ext >&5
6648 rm -f conftest
* conftst
*
6650 # Do not use the global_symbol_pipe unless it works.
6651 if test "$pipe_works" = yes; then
6654 lt_cv_sys_global_symbol_pipe
=
6660 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6661 lt_cv_sys_global_symbol_to_cdecl
=
6663 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6664 { echo "$as_me:$LINENO: result: failed" >&5
6665 echo "${ECHO_T}failed" >&6; }
6667 { echo "$as_me:$LINENO: result: ok" >&5
6668 echo "${ECHO_T}ok" >&6; }
6671 { echo "$as_me:$LINENO: checking for objdir" >&5
6672 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6673 if test "${lt_cv_objdir+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 rm -f .libs
2>/dev
/null
6677 mkdir .libs
2>/dev
/null
6678 if test -d .libs
; then
6681 # MS-DOS does not allow filenames that begin with a dot.
6684 rmdir .libs
2>/dev
/null
6686 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6687 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6688 objdir
=$lt_cv_objdir
6696 # AIX sometimes has problems with the GCC collect2 program. For some
6697 # reason, if we set the COLLECT_NAMES environment variable, the problems
6698 # vanish in a puff of smoke.
6699 if test "X${COLLECT_NAMES+set}" != Xset
; then
6701 export COLLECT_NAMES
6706 # Sed substitution that helps us do robust quoting. It backslashifies
6707 # metacharacters that are still active within double-quoted strings.
6708 Xsed
='sed -e 1s/^X//'
6709 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6711 # Same as above, but do not quote variable references.
6712 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6714 # Sed substitution to delay expansion of an escaped shell variable in a
6715 # double_quote_subst'ed string.
6716 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6718 # Sed substitution to avoid accidental globbing in evaled expressions
6719 no_glob_subst
='s/\*/\\\*/g'
6725 default_ofile
=libtool
6726 can_build_shared
=yes
6728 # All known linkers require a `.a' archive for static linking (except MSVC,
6729 # which needs '.lib').
6731 ltmain
="$ac_aux_dir/ltmain.sh"
6732 ofile
="$default_ofile"
6733 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6735 if test -n "$ac_tool_prefix"; then
6736 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6737 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6740 if test "${ac_cv_prog_AR+set}" = set; then
6741 echo $ECHO_N "(cached) $ECHO_C" >&6
6743 if test -n "$AR"; then
6744 ac_cv_prog_AR
="$AR" # Let the user override the test.
6746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir
=.
6751 for ac_exec_ext
in '' $ac_executable_extensions; do
6752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 if test -n "$AR"; then
6765 { echo "$as_me:$LINENO: result: $AR" >&5
6766 echo "${ECHO_T}$AR" >&6; }
6768 { echo "$as_me:$LINENO: result: no" >&5
6769 echo "${ECHO_T}no" >&6; }
6774 if test -z "$ac_cv_prog_AR"; then
6776 # Extract the first word of "ar", so it can be a program name with args.
6777 set dummy
ar; ac_word
=$2
6778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6780 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 if test -n "$ac_ct_AR"; then
6784 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir
=.
6791 for ac_exec_ext
in '' $ac_executable_extensions; do
6792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793 ac_cv_prog_ac_ct_AR
="ar"
6794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6803 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6804 if test -n "$ac_ct_AR"; then
6805 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6806 echo "${ECHO_T}$ac_ct_AR" >&6; }
6808 { echo "$as_me:$LINENO: result: no" >&5
6809 echo "${ECHO_T}no" >&6; }
6812 if test "x$ac_ct_AR" = x
; then
6815 case $cross_compiling:$ac_tool_warned in
6817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6818 whose name does not start with the host triplet. If you think this
6819 configuration is useful to you, please write to autoconf@gnu.org." >&5
6820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6821 whose name does not start with the host triplet. If you think this
6822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6823 ac_tool_warned
=yes ;;
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6833 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6836 if test "${ac_cv_prog_RANLIB+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 if test -n "$RANLIB"; then
6840 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir
=.
6847 for ac_exec_ext
in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 RANLIB
=$ac_cv_prog_RANLIB
6860 if test -n "$RANLIB"; then
6861 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6862 echo "${ECHO_T}$RANLIB" >&6; }
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6870 if test -z "$ac_cv_prog_RANLIB"; then
6871 ac_ct_RANLIB
=$RANLIB
6872 # Extract the first word of "ranlib", so it can be a program name with args.
6873 set dummy ranlib
; ac_word
=$2
6874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6876 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 if test -n "$ac_ct_RANLIB"; then
6880 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir
=.
6887 for ac_exec_ext
in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6900 if test -n "$ac_ct_RANLIB"; then
6901 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6902 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6904 { echo "$as_me:$LINENO: result: no" >&5
6905 echo "${ECHO_T}no" >&6; }
6908 if test "x$ac_ct_RANLIB" = x
; then
6911 case $cross_compiling:$ac_tool_warned in
6913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6914 whose name does not start with the host triplet. If you think this
6915 configuration is useful to you, please write to autoconf@gnu.org." >&5
6916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6917 whose name does not start with the host triplet. If you think this
6918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6919 ac_tool_warned
=yes ;;
6921 RANLIB
=$ac_ct_RANLIB
6924 RANLIB
="$ac_cv_prog_RANLIB"
6927 if test -n "$ac_tool_prefix"; then
6928 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6929 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6932 if test "${ac_cv_prog_STRIP+set}" = set; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 if test -n "$STRIP"; then
6936 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir
=.
6943 for ac_exec_ext
in '' $ac_executable_extensions; do
6944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6945 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 STRIP
=$ac_cv_prog_STRIP
6956 if test -n "$STRIP"; then
6957 { echo "$as_me:$LINENO: result: $STRIP" >&5
6958 echo "${ECHO_T}$STRIP" >&6; }
6960 { echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6; }
6966 if test -z "$ac_cv_prog_STRIP"; then
6968 # Extract the first word of "strip", so it can be a program name with args.
6969 set dummy strip
; ac_word
=$2
6970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6972 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 if test -n "$ac_ct_STRIP"; then
6976 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir
=.
6983 for ac_exec_ext
in '' $ac_executable_extensions; do
6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985 ac_cv_prog_ac_ct_STRIP
="strip"
6986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6996 if test -n "$ac_ct_STRIP"; then
6997 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6998 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7000 { echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6; }
7004 if test "x$ac_ct_STRIP" = x
; then
7007 case $cross_compiling:$ac_tool_warned in
7009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7010 whose name does not start with the host triplet. If you think this
7011 configuration is useful to you, please write to autoconf@gnu.org." >&5
7012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7013 whose name does not start with the host triplet. If you think this
7014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7015 ac_tool_warned
=yes ;;
7020 STRIP
="$ac_cv_prog_STRIP"
7025 old_CFLAGS
="$CFLAGS"
7027 # Set sane defaults for various variables
7028 test -z "$AR" && AR
=ar
7029 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7030 test -z "$AS" && AS
=as
7031 test -z "$CC" && CC
=cc
7032 test -z "$LTCC" && LTCC
=$CC
7033 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7034 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7035 test -z "$LD" && LD
=ld
7036 test -z "$LN_S" && LN_S
="ln -s"
7037 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7038 test -z "$NM" && NM
=nm
7039 test -z "$SED" && SED
=sed
7040 test -z "$OBJDUMP" && OBJDUMP
=objdump
7041 test -z "$RANLIB" && RANLIB
=:
7042 test -z "$STRIP" && STRIP
=:
7043 test -z "$ac_objext" && ac_objext
=o
7045 # Determine commands to create old-style static archives.
7046 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7047 old_postinstall_cmds
='chmod 644 $oldlib'
7048 old_postuninstall_cmds
=
7050 if test -n "$RANLIB"; then
7053 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7056 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7059 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7062 for cc_temp
in $compiler""; do
7064 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7065 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7070 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7073 # Only perform the check for file, if the check method requires it
7074 case $deplibs_check_method in
7076 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7077 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7078 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7079 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7087 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7088 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7089 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7090 for ac_dir
in $ac_dummy; do
7092 test -z "$ac_dir" && ac_dir
=.
7093 if test -f $ac_dir/${ac_tool_prefix}file; then
7094 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7095 if test -n "$file_magic_test_file"; then
7096 case $deplibs_check_method in
7098 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7099 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7100 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7101 $EGREP "$file_magic_regex" > /dev
/null
; then
7106 *** Warning: the command libtool uses to detect shared libraries,
7107 *** $file_magic_cmd, produces output that libtool cannot recognize.
7108 *** The result is that libtool may fail to recognize shared libraries
7109 *** as such. This will affect the creation of libtool libraries that
7110 *** depend on shared libraries, but programs linked with such libtool
7111 *** libraries will work regardless of this problem. Nevertheless, you
7112 *** may want to report the problem to your system manager and/or to
7113 *** bug-libtool@gnu.org
7123 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7128 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7129 if test -n "$MAGIC_CMD"; then
7130 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7131 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7133 { echo "$as_me:$LINENO: result: no" >&5
7134 echo "${ECHO_T}no" >&6; }
7137 if test -z "$lt_cv_path_MAGIC_CMD"; then
7138 if test -n "$ac_tool_prefix"; then
7139 { echo "$as_me:$LINENO: checking for file" >&5
7140 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7141 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6
7146 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7149 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7150 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7151 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7152 for ac_dir
in $ac_dummy; do
7154 test -z "$ac_dir" && ac_dir
=.
7155 if test -f $ac_dir/file; then
7156 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7157 if test -n "$file_magic_test_file"; then
7158 case $deplibs_check_method in
7160 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7161 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7162 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7163 $EGREP "$file_magic_regex" > /dev
/null
; then
7168 *** Warning: the command libtool uses to detect shared libraries,
7169 *** $file_magic_cmd, produces output that libtool cannot recognize.
7170 *** The result is that libtool may fail to recognize shared libraries
7171 *** as such. This will affect the creation of libtool libraries that
7172 *** depend on shared libraries, but programs linked with such libtool
7173 *** libraries will work regardless of this problem. Nevertheless, you
7174 *** may want to report the problem to your system manager and/or to
7175 *** bug-libtool@gnu.org
7185 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7190 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7191 if test -n "$MAGIC_CMD"; then
7192 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7193 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7211 # Check whether --enable-libtool-lock was given.
7212 if test "${enable_libtool_lock+set}" = set; then
7213 enableval
=$enable_libtool_lock;
7216 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7219 # Check whether --with-pic was given.
7220 if test "${with_pic+set}" = set; then
7221 withval
=$with_pic; pic_mode
="$withval"
7226 test -z "$pic_mode" && pic_mode
=default
7228 # Use C for the default configuration in the libtool script
7232 ac_cpp
='$CPP $CPPFLAGS'
7233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7238 # Source file extension for C test sources.
7241 # Object file extension for compiled C test sources.
7245 # Code to be used in simple compile tests
7246 lt_simple_compile_test_code
="int some_variable = 0;\n"
7248 # Code to be used in simple link tests
7249 lt_simple_link_test_code
='int main(){return(0);}\n'
7252 # If no C compiler was specified, use CC.
7255 # If no C compiler flags were specified, use CFLAGS.
7256 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7258 # Allow CC to be a program name with arguments.
7262 # save warnings/boilerplate of simple test code
7263 ac_outfile
=conftest.
$ac_objext
7264 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7265 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7266 _lt_compiler_boilerplate
=`cat conftest.err`
7269 ac_outfile
=conftest.
$ac_objext
7270 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7271 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7272 _lt_linker_boilerplate
=`cat conftest.err`
7277 lt_prog_compiler_no_builtin_flag
=
7279 if test "$GCC" = yes; then
7280 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7283 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7284 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7285 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 lt_cv_prog_compiler_rtti_exceptions
=no
7289 ac_outfile
=conftest.
$ac_objext
7290 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7291 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7292 # Insert the option either (1) after the last *FLAGS variable, or
7293 # (2) before a word containing "conftest.", or (3) at the end.
7294 # Note that $ac_compile itself does not contain backslashes and begins
7295 # with a dollar sign (not a hyphen), so the echo should work correctly.
7296 # The option is referenced via a variable to avoid confusing sed.
7297 lt_compile
=`echo "$ac_compile" | $SED \
7298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7300 -e 's:$: $lt_compiler_flag:'`
7301 (eval echo "\"\$as_me:7301: $lt_compile\"" >&5)
7302 (eval "$lt_compile" 2>conftest.err
)
7304 cat conftest.err
>&5
7305 echo "$as_me:7305: \$? = $ac_status" >&5
7306 if (exit $ac_status) && test -s "$ac_outfile"; then
7307 # The compiler can only warn and ignore the option if not recognized
7308 # So say no if there are warnings other than the usual output.
7309 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7310 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7311 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7312 lt_cv_prog_compiler_rtti_exceptions
=yes
7318 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7319 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7321 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7322 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7329 lt_prog_compiler_wl
=
7330 lt_prog_compiler_pic
=
7331 lt_prog_compiler_static
=
7333 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7334 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7336 if test "$GCC" = yes; then
7337 lt_prog_compiler_wl
='-Wl,'
7338 lt_prog_compiler_static
='-static'
7342 # All AIX code is PIC.
7343 if test "$host_cpu" = ia64
; then
7344 # AIX 5 now supports IA64 processor
7345 lt_prog_compiler_static
='-Bstatic'
7350 # FIXME: we need at least 68020 code to build shared libraries, but
7351 # adding the `-m68020' flag to GCC prevents building anything better,
7353 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7356 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7357 # PIC is the default for these OSes.
7360 mingw
* | pw32
* | os2
*)
7361 # This hack is so that the source file can tell whether it is being
7362 # built for inclusion in a dll (and should export symbols for example).
7363 lt_prog_compiler_pic
='-DDLL_EXPORT'
7366 darwin
* | rhapsody
*)
7367 # PIC is the default on this platform
7368 # Common symbols not allowed in MH_DYLIB files
7369 lt_prog_compiler_pic
='-fno-common'
7373 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7374 # Instead, we relocate shared libraries at runtime.
7378 # Just because we use GCC doesn't mean we suddenly get shared libraries
7379 # on systems that don't support them.
7380 lt_prog_compiler_can_build_shared
=no
7385 if test -d /usr
/nec
; then
7386 lt_prog_compiler_pic
=-Kconform_pic
7391 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7398 lt_prog_compiler_pic
='-fPIC'
7404 lt_prog_compiler_pic
='-fPIC'
7408 # PORTME Check for flag to pass linker flags through the system compiler.
7411 lt_prog_compiler_wl
='-Wl,'
7412 if test "$host_cpu" = ia64
; then
7413 # AIX 5 now supports IA64 processor
7414 lt_prog_compiler_static
='-Bstatic'
7416 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7420 # PIC is the default on this platform
7421 # Common symbols not allowed in MH_DYLIB files
7422 case $cc_basename in
7424 lt_prog_compiler_pic
='-qnocommon'
7425 lt_prog_compiler_wl
='-Wl,'
7430 mingw
* | pw32
* | os2
*)
7431 # This hack is so that the source file can tell whether it is being
7432 # built for inclusion in a dll (and should export symbols for example).
7433 lt_prog_compiler_pic
='-DDLL_EXPORT'
7436 hpux9
* | hpux10
* | hpux11
*)
7437 lt_prog_compiler_wl
='-Wl,'
7438 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7445 lt_prog_compiler_pic
='+Z'
7448 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7449 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7452 irix5
* | irix6
* | nonstopux
*)
7453 lt_prog_compiler_wl
='-Wl,'
7454 # PIC (with -KPIC) is the default.
7455 lt_prog_compiler_static
='-non_shared'
7459 lt_prog_compiler_pic
='-KPIC'
7460 lt_prog_compiler_static
='-Bstatic'
7464 case $cc_basename in
7466 lt_prog_compiler_wl
='-Wl,'
7467 lt_prog_compiler_pic
='-KPIC'
7468 lt_prog_compiler_static
='-static'
7470 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7471 # Portland Group compilers (*not* the Pentium gcc compiler,
7472 # which looks to be a dead project)
7473 lt_prog_compiler_wl
='-Wl,'
7474 lt_prog_compiler_pic
='-fpic'
7475 lt_prog_compiler_static
='-Bstatic'
7478 lt_prog_compiler_wl
='-Wl,'
7479 # All Alpha code is PIC.
7480 lt_prog_compiler_static
='-non_shared'
7485 osf3
* | osf4
* | osf5
*)
7486 lt_prog_compiler_wl
='-Wl,'
7487 # All OSF/1 code is PIC.
7488 lt_prog_compiler_static
='-non_shared'
7492 lt_prog_compiler_pic
='-KPIC'
7493 lt_prog_compiler_static
='-Bstatic'
7494 case $cc_basename in
7496 lt_prog_compiler_wl
='-Qoption ld ';;
7498 lt_prog_compiler_wl
='-Wl,';;
7503 lt_prog_compiler_wl
='-Qoption ld '
7504 lt_prog_compiler_pic
='-PIC'
7505 lt_prog_compiler_static
='-Bstatic'
7508 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7509 lt_prog_compiler_wl
='-Wl,'
7510 lt_prog_compiler_pic
='-KPIC'
7511 lt_prog_compiler_static
='-Bstatic'
7515 if test -d /usr
/nec
;then
7516 lt_prog_compiler_pic
='-Kconform_pic'
7517 lt_prog_compiler_static
='-Bstatic'
7521 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7522 lt_prog_compiler_wl
='-Wl,'
7523 lt_prog_compiler_pic
='-KPIC'
7524 lt_prog_compiler_static
='-Bstatic'
7528 lt_prog_compiler_wl
='-Wl,'
7529 lt_prog_compiler_can_build_shared
=no
7533 lt_prog_compiler_pic
='-pic'
7534 lt_prog_compiler_static
='-Bstatic'
7538 lt_prog_compiler_can_build_shared
=no
7543 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7544 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7547 # Check to make sure the PIC flag actually works.
7549 if test -n "$lt_prog_compiler_pic"; then
7551 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7552 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7553 if test "${lt_prog_compiler_pic_works+set}" = set; then
7554 echo $ECHO_N "(cached) $ECHO_C" >&6
7556 lt_prog_compiler_pic_works
=no
7557 ac_outfile
=conftest.
$ac_objext
7558 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7559 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7560 # Insert the option either (1) after the last *FLAGS variable, or
7561 # (2) before a word containing "conftest.", or (3) at the end.
7562 # Note that $ac_compile itself does not contain backslashes and begins
7563 # with a dollar sign (not a hyphen), so the echo should work correctly.
7564 # The option is referenced via a variable to avoid confusing sed.
7565 lt_compile
=`echo "$ac_compile" | $SED \
7566 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7567 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7568 -e 's:$: $lt_compiler_flag:'`
7569 (eval echo "\"\$as_me:7569: $lt_compile\"" >&5)
7570 (eval "$lt_compile" 2>conftest.err
)
7572 cat conftest.err
>&5
7573 echo "$as_me:7573: \$? = $ac_status" >&5
7574 if (exit $ac_status) && test -s "$ac_outfile"; then
7575 # The compiler can only warn and ignore the option if not recognized
7576 # So say no if there are warnings other than the usual output.
7577 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7578 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7579 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7580 lt_prog_compiler_pic_works
=yes
7586 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7587 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7589 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7590 case $lt_prog_compiler_pic in
7592 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7595 lt_prog_compiler_pic
=
7596 lt_prog_compiler_can_build_shared
=no
7601 # For platforms which do not support PIC, -DPIC is meaningless:
7603 lt_prog_compiler_pic
=
7606 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7611 # Check to make sure the static flag actually works.
7613 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7614 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7615 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7616 if test "${lt_prog_compiler_static_works+set}" = set; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 lt_prog_compiler_static_works
=no
7620 save_LDFLAGS
="$LDFLAGS"
7621 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7622 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7623 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7624 # The linker can only warn and ignore the option if not recognized
7625 # So say no if there are warnings
7626 if test -s conftest.err
; then
7627 # Append any errors to the config.log.
7628 cat conftest.err
1>&5
7629 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7630 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7631 if diff conftest.exp conftest.er2
>/dev
/null
; then
7632 lt_prog_compiler_static_works
=yes
7635 lt_prog_compiler_static_works
=yes
7639 LDFLAGS
="$save_LDFLAGS"
7642 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7643 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7645 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7648 lt_prog_compiler_static
=
7652 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7653 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7654 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7657 lt_cv_prog_compiler_c_o
=no
7658 $rm -r conftest
2>/dev
/null
7662 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7664 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7665 # Insert the option either (1) after the last *FLAGS variable, or
7666 # (2) before a word containing "conftest.", or (3) at the end.
7667 # Note that $ac_compile itself does not contain backslashes and begins
7668 # with a dollar sign (not a hyphen), so the echo should work correctly.
7669 lt_compile
=`echo "$ac_compile" | $SED \
7670 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7672 -e 's:$: $lt_compiler_flag:'`
7673 (eval echo "\"\$as_me:7673: $lt_compile\"" >&5)
7674 (eval "$lt_compile" 2>out
/conftest.err
)
7676 cat out
/conftest.err
>&5
7677 echo "$as_me:7677: \$? = $ac_status" >&5
7678 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7680 # The compiler can only warn and ignore the option if not recognized
7681 # So say no if there are warnings
7682 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7683 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7684 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7685 lt_cv_prog_compiler_c_o
=yes
7690 # SGI C++ compiler will create directory out/ii_files/ for
7691 # template instantiation
7692 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7693 $rm out
/* && rmdir out
7699 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7700 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7703 hard_links
="nottested"
7704 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7705 # do not overwrite the value of need_locks provided by the user
7706 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7707 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7710 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7712 ln conftest.a conftest.b
2>&5 || hard_links
=no
7713 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7714 { echo "$as_me:$LINENO: result: $hard_links" >&5
7715 echo "${ECHO_T}$hard_links" >&6; }
7716 if test "$hard_links" = no
; then
7717 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7718 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7725 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7726 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7729 allow_undefined_flag
=
7730 enable_shared_with_static_runtimes
=no
7732 archive_expsym_cmds
=
7733 old_archive_From_new_cmds
=
7734 old_archive_from_expsyms_cmds
=
7735 export_dynamic_flag_spec
=
7736 whole_archive_flag_spec
=
7737 thread_safe_flag_spec
=
7738 hardcode_libdir_flag_spec
=
7739 hardcode_libdir_flag_spec_ld
=
7740 hardcode_libdir_separator
=
7743 hardcode_shlibpath_var
=unsupported
7744 link_all_deplibs
=unknown
7745 hardcode_automatic
=no
7748 always_export_symbols
=no
7749 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7750 # include_expsyms should be a list of space-separated symbols to be *always*
7751 # included in the symbol list
7753 # exclude_expsyms can be an extended regexp of symbols to exclude
7754 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7755 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7756 # as well as any symbol that contains `d'.
7757 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7758 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7759 # platforms (ab)use it in PIC code, but their linkers get confused if
7760 # the symbol is explicitly referenced. Since portable code cannot
7761 # rely on this symbol name, it's probably fine to never include it in
7762 # preloaded symbol tables.
7763 extract_expsyms_cmds
=
7764 # Just being paranoid about ensuring that cc_basename is set.
7765 for cc_temp
in $compiler""; do
7767 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7768 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7773 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7776 cygwin
* | mingw
* | pw32
*)
7777 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7778 # When not using gcc, we currently assume that we are using
7779 # Microsoft Visual C++.
7780 if test "$GCC" != yes; then
7785 # we just hope/assume this is gcc and not c89 (= MSVC++)
7794 if test "$with_gnu_ld" = yes; then
7795 # If archive_cmds runs LD, not CC, wlarc should be empty
7798 # Set some defaults for GNU ld with shared library support. These
7799 # are reset later if shared libraries are not supported. Putting them
7800 # here allows them to be overridden if necessary.
7801 runpath_var
=LD_RUN_PATH
7802 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7803 export_dynamic_flag_spec
='${wl}--export-dynamic'
7804 # ancient GNU ld didn't support --whole-archive et. al.
7805 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7806 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7808 whole_archive_flag_spec
=
7810 supports_anon_versioning
=no
7811 case `$LD -v 2>/dev/null` in
7812 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7813 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7814 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7815 *\
2.11.
*) ;; # other 2.11 versions
7816 *) supports_anon_versioning
=yes ;;
7819 # See if GNU ld supports shared libraries.
7821 aix3
* | aix4
* | aix5
*)
7822 # On AIX/PPC, the GNU linker is very broken
7823 if test "$host_cpu" != ia64
; then
7827 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7828 *** to be unable to reliably create shared libraries on AIX.
7829 *** Therefore, libtool is disabling shared libraries support. If you
7830 *** really care for shared libraries, you may want to modify your PATH
7831 *** so that a non-GNU linker is found, and then restart.
7838 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)'
7839 hardcode_libdir_flag_spec
='-L$libdir'
7840 hardcode_minus_L
=yes
7842 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7843 # that the semantics of dynamic libraries on AmigaOS, at least up
7844 # to version 4, is to share data among multiple programs linked
7845 # with the same dynamic library. Since this doesn't match the
7846 # behavior of shared libraries on other platforms, we can't use
7852 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7853 allow_undefined_flag
=unsupported
7854 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7855 # support --undefined. This deserves some investigation. FIXME
7856 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7862 cygwin
* | mingw
* | pw32
*)
7863 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7864 # as there is no search path for DLLs.
7865 hardcode_libdir_flag_spec
='-L$libdir'
7866 allow_undefined_flag
=unsupported
7867 always_export_symbols
=no
7868 enable_shared_with_static_runtimes
=yes
7869 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7871 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7872 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7873 # If the export-symbols file already is a .def file (1st line
7874 # is EXPORTS), use it as is; otherwise, prepend...
7875 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7876 cp $export_symbols $output_objdir/$soname.def;
7878 echo EXPORTS > $output_objdir/$soname.def;
7879 cat $export_symbols >> $output_objdir/$soname.def;
7881 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7889 hardcode_shlibpath_var
=no
7890 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7891 export_dynamic_flag_spec
='${wl}-E'
7892 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7893 # Instead, shared libraries are loaded at an image base (0x10000000 by
7894 # default) and relocated if they conflict, which is a slow very memory
7895 # consuming and fragmenting process. To avoid this, we pick a random,
7896 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7897 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7898 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7899 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'
7903 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7905 case $cc_basename,$host_cpu in
7906 pgcc
*) # Portland Group C compiler
7907 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'
7908 tmp_addflag
=' $pic_flag'
7910 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7911 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'
7912 tmp_addflag
=' $pic_flag -Mnomain' ;;
7913 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7914 tmp_addflag
=' -i_dynamic' ;;
7915 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7916 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7917 ifc
* | ifort
*) # Intel Fortran compiler
7918 tmp_addflag
=' -nofor_main' ;;
7920 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7922 if test $supports_anon_versioning = yes; then
7923 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7924 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7925 $echo "local: *; };" >> $output_objdir/$libname.ver~
7926 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7934 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7935 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7938 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7939 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7944 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7948 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7949 *** create shared libraries on Solaris systems. Therefore, libtool
7950 *** is disabling shared libraries support. We urge you to upgrade GNU
7951 *** binutils to release 2.9.1 or newer. Another option is to modify
7952 *** your PATH or compiler configuration so that the native linker is
7953 *** used, and then restart.
7956 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7957 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7958 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7964 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7965 case `$LD -v 2>&1` in
7966 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7970 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7971 *** reliably create shared libraries on SCO systems. Therefore, libtool
7972 *** is disabling shared libraries support. We urge you to upgrade GNU
7973 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7974 *** your PATH or compiler configuration so that the native linker is
7975 *** used, and then restart.
7980 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7981 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7982 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7983 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7992 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7995 hardcode_shlibpath_var
=no
7999 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8000 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8001 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8008 if test "$ld_shlibs" = no
; then
8010 hardcode_libdir_flag_spec
=
8011 export_dynamic_flag_spec
=
8012 whole_archive_flag_spec
=
8015 # PORTME fill in a description of your system's linker (not GNU ld)
8018 allow_undefined_flag
=unsupported
8019 always_export_symbols
=yes
8020 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'
8021 # Note: this linker hardcodes the directories in LIBPATH if there
8022 # are no directories specified by -L.
8023 hardcode_minus_L
=yes
8024 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8025 # Neither direct hardcoding nor static linking is supported with a
8027 hardcode_direct
=unsupported
8032 if test "$host_cpu" = ia64
; then
8033 # On IA64, the linker does run time linking by default, so we don't
8034 # have to do anything special.
8035 aix_use_runtimelinking
=no
8036 exp_sym_flag
='-Bexport'
8039 # If we're using GNU nm, then we don't want the "-C" option.
8040 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8041 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8042 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'
8044 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'
8046 aix_use_runtimelinking
=no
8048 # Test if we are trying to use run time linking or normal
8049 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8050 # need to do runtime linking.
8051 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8052 for ld_flag
in $LDFLAGS; do
8053 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8054 aix_use_runtimelinking
=yes
8061 exp_sym_flag
='-bexport'
8062 no_entry_flag
='-bnoentry'
8065 # When large executables or shared objects are built, AIX ld can
8066 # have problems creating the table of contents. If linking a library
8067 # or program results in "error TOC overflow" add -mminimal-toc to
8068 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8069 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8073 hardcode_libdir_separator
=':'
8074 link_all_deplibs
=yes
8076 if test "$GCC" = yes; then
8077 case $host_os in aix4.
[012]|aix4.
[012].
*)
8078 # We only want to do this on AIX 4.2 and lower, the check
8079 # below for broken collect2 doesn't work under 4.3+
8080 collect2name
=`${CC} -print-prog-name=collect2`
8081 if test -f "$collect2name" && \
8082 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8084 # We have reworked collect2
8087 # We have old collect2
8088 hardcode_direct
=unsupported
8089 # It fails to find uninstalled libraries when the uninstalled
8090 # path is not listed in the libpath. Setting hardcode_minus_L
8091 # to unsupported forces relinking
8092 hardcode_minus_L
=yes
8093 hardcode_libdir_flag_spec
='-L$libdir'
8094 hardcode_libdir_separator
=
8098 shared_flag
='-shared'
8099 if test "$aix_use_runtimelinking" = yes; then
8100 shared_flag
="$shared_flag "'${wl}-G'
8104 if test "$host_cpu" = ia64
; then
8105 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8106 # chokes on -Wl,-G. The following line is correct:
8109 if test "$aix_use_runtimelinking" = yes; then
8110 shared_flag
='${wl}-G'
8112 shared_flag
='${wl}-bM:SRE'
8117 # It seems that -bexpall does not export symbols beginning with
8118 # underscore (_), so it is better to generate a list of symbols to export.
8119 always_export_symbols
=yes
8120 if test "$aix_use_runtimelinking" = yes; then
8121 # Warning - without using the other runtime loading flags (-brtl),
8122 # -berok will link without error, but may produce a broken library.
8123 allow_undefined_flag
='-berok'
8124 # Determine the default libpath from the value encoded in an empty executable.
8125 cat >conftest.
$ac_ext <<_ACEOF
8128 cat confdefs.h
>>conftest.
$ac_ext
8129 cat >>conftest.
$ac_ext <<_ACEOF
8130 /* end confdefs.h. */
8140 rm -f conftest.
$ac_objext conftest
$ac_exeext
8141 if { (ac_try
="$ac_link"
8143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8144 *) ac_try_echo=$ac_try;;
8146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8147 (eval "$ac_link") 2>conftest.er1
8149 grep -v '^ *+' conftest.er1 >conftest.err
8151 cat conftest.err >&5
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); } && {
8154 test -z "$ac_c_werror_flag" ||
8155 test ! -s conftest.err
8156 } && test -s conftest$ac_exeext &&
8157 $as_test_x conftest$ac_exeext; then
8159 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8161 # Check for a 64-bit object if we didn't find anything.
8162 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8165 echo "$as_me: failed program was:" >&5
8166 sed 's/^/| /' conftest.$ac_ext >&5
8171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8172 conftest$ac_exeext conftest.$ac_ext
8173 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8175 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8176 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"
8178 if test "$host_cpu" = ia64; then
8179 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8180 allow_undefined_flag="-z nodefs"
8181 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"
8183 # Determine the default libpath from the value encoded in an empty executable.
8184 cat >conftest.$ac_ext <<_ACEOF
8187 cat confdefs.h >>conftest.$ac_ext
8188 cat >>conftest.$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8199 rm -f conftest.$ac_objext conftest$ac_exeext
8200 if { (ac_try="$ac_link"
8202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8203 *) ac_try_echo
=$ac_try;;
8205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8206 (eval "$ac_link") 2>conftest.er1
8208 grep -v '^ *+' conftest.er1
>conftest.err
8210 cat conftest.err
>&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } && {
8213 test -z "$ac_c_werror_flag" ||
8214 test ! -s conftest.err
8215 } && test -s conftest
$ac_exeext &&
8216 $as_test_x conftest
$ac_exeext; then
8218 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8220 # Check for a 64-bit object if we didn't find anything.
8221 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8224 echo "$as_me: failed program was:" >&5
8225 sed 's/^/| /' conftest.
$ac_ext >&5
8230 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8231 conftest
$ac_exeext conftest.
$ac_ext
8232 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8234 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8235 # Warning - without using the other run time loading flags,
8236 # -berok will link without error, but may produce a broken library.
8237 no_undefined_flag
=' ${wl}-bernotok'
8238 allow_undefined_flag
=' ${wl}-berok'
8239 # Exported symbols can be pulled into shared objects from archives
8240 whole_archive_flag_spec
='$convenience'
8241 archive_cmds_need_lc
=yes
8242 # This is similar to how AIX traditionally builds its shared libraries.
8243 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'
8249 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)'
8250 hardcode_libdir_flag_spec
='-L$libdir'
8251 hardcode_minus_L
=yes
8252 # see comment about different semantics on the GNU ld section
8257 export_dynamic_flag_spec
=-rdynamic
8260 cygwin
* | mingw
* | pw32
*)
8261 # When not using gcc, we currently assume that we are using
8262 # Microsoft Visual C++.
8263 # hardcode_libdir_flag_spec is actually meaningless, as there is
8264 # no search path for DLLs.
8265 hardcode_libdir_flag_spec
=' '
8266 allow_undefined_flag
=unsupported
8267 # Tell ltmain to make .lib files, not .a files.
8269 # Tell ltmain to make .dll files, not .so files.
8271 # FIXME: Setting linknames here is a bad hack.
8272 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8273 # The linker will automatically build a .lib file if we build a DLL.
8274 old_archive_From_new_cmds
='true'
8275 # FIXME: Should let the user specify the lib program.
8276 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8277 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8278 enable_shared_with_static_runtimes
=yes
8281 darwin
* | rhapsody
*)
8283 rhapsody
* | darwin1.
[012])
8284 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8287 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8288 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8290 case ${MACOSX_DEPLOYMENT_TARGET} in
8292 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8295 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8301 archive_cmds_need_lc
=no
8303 hardcode_automatic
=yes
8304 hardcode_shlibpath_var
=unsupported
8305 whole_archive_flag_spec
=''
8306 link_all_deplibs
=yes
8307 if test "$GCC" = yes ; then
8308 output_verbose_link_cmd
='echo'
8309 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8310 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8311 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8312 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}'
8313 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}'
8315 case $cc_basename in
8317 output_verbose_link_cmd
='echo'
8318 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8319 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8320 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8321 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8322 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}'
8332 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8333 hardcode_libdir_flag_spec
='-L$libdir'
8334 hardcode_shlibpath_var
=no
8341 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8342 # support. Future versions do this automatically, but an explicit c++rt0.o
8343 # does not break anything, and helps significantly (at the cost of a little
8346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8347 hardcode_libdir_flag_spec
='-R$libdir'
8349 hardcode_shlibpath_var
=no
8352 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8354 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8356 hardcode_minus_L
=yes
8357 hardcode_shlibpath_var
=no
8360 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8361 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8362 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8363 hardcode_libdir_flag_spec
='-R$libdir'
8365 hardcode_shlibpath_var
=no
8369 if test "$GCC" = yes; then
8370 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'
8372 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'
8374 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8375 hardcode_libdir_separator
=:
8378 # hardcode_minus_L: Not really in the search PATH,
8379 # but as the default location of the library.
8380 hardcode_minus_L
=yes
8381 export_dynamic_flag_spec
='${wl}-E'
8385 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8386 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8388 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8390 if test "$with_gnu_ld" = no
; then
8391 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8392 hardcode_libdir_separator
=:
8395 export_dynamic_flag_spec
='${wl}-E'
8397 # hardcode_minus_L: Not really in the search PATH,
8398 # but as the default location of the library.
8399 hardcode_minus_L
=yes
8404 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8407 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8410 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8413 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8419 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8422 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8425 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8429 if test "$with_gnu_ld" = no
; then
8430 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8431 hardcode_libdir_separator
=:
8435 hardcode_libdir_flag_spec_ld
='+b $libdir'
8437 hardcode_shlibpath_var
=no
8441 export_dynamic_flag_spec
='${wl}-E'
8443 # hardcode_minus_L: Not really in the search PATH,
8444 # but as the default location of the library.
8445 hardcode_minus_L
=yes
8451 irix5
* | irix6
* | nonstopux
*)
8452 if test "$GCC" = yes; then
8453 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'
8455 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'
8456 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8458 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8459 hardcode_libdir_separator
=:
8460 link_all_deplibs
=yes
8464 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8465 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8467 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8469 hardcode_libdir_flag_spec
='-R$libdir'
8471 hardcode_shlibpath_var
=no
8475 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8477 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8478 hardcode_libdir_separator
=:
8479 hardcode_shlibpath_var
=no
8484 hardcode_shlibpath_var
=no
8485 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8486 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8487 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8488 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8489 export_dynamic_flag_spec
='${wl}-E'
8492 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8493 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8494 hardcode_libdir_flag_spec
='-R$libdir'
8497 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8498 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8505 hardcode_libdir_flag_spec
='-L$libdir'
8506 hardcode_minus_L
=yes
8507 allow_undefined_flag
=unsupported
8508 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'
8509 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8513 if test "$GCC" = yes; then
8514 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8515 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'
8517 allow_undefined_flag
=' -expect_unresolved \*'
8518 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'
8520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8521 hardcode_libdir_separator
=:
8524 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8525 if test "$GCC" = yes; then
8526 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8527 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'
8528 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8530 allow_undefined_flag
=' -expect_unresolved \*'
8531 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'
8532 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8533 $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'
8535 # Both c and cxx compiler support -rpath directly
8536 hardcode_libdir_flag_spec
='-rpath $libdir'
8538 hardcode_libdir_separator
=:
8542 no_undefined_flag
=' -z text'
8543 if test "$GCC" = yes; then
8545 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8546 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8547 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8550 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8551 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8552 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8554 hardcode_libdir_flag_spec
='-R$libdir'
8555 hardcode_shlibpath_var
=no
8557 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8559 # The compiler driver will combine linker options so we
8560 # cannot just pass the convience library names through
8561 # without $wl, iff we do not link with $LD.
8562 # Luckily, gcc supports the same syntax we need for Sun Studio.
8563 # Supported since Solaris 2.6 (maybe 2.5.1?)
8566 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8568 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8571 link_all_deplibs
=yes
8575 if test "x$host_vendor" = xsequent
; then
8576 # Use $CC to link under sequent, because it throws in some extra .o
8577 # files that make .init and .fini sections work.
8578 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8580 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8582 hardcode_libdir_flag_spec
='-L$libdir'
8584 hardcode_minus_L
=yes
8585 hardcode_shlibpath_var
=no
8589 case $host_vendor in
8591 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8592 hardcode_direct
=yes # is this really true???
8595 ## LD is ld it makes a PLAMLIB
8596 ## CC just makes a GrossModule.
8597 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8598 reload_cmds
='$CC -r -o $output$reload_objs'
8602 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8603 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8606 runpath_var
='LD_RUN_PATH'
8607 hardcode_shlibpath_var
=no
8611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8612 hardcode_shlibpath_var
=no
8613 export_dynamic_flag_spec
='-Bexport'
8617 if test -d /usr
/nec
; then
8618 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8619 hardcode_shlibpath_var
=no
8620 runpath_var
=LD_RUN_PATH
8621 hardcode_runpath_var
=yes
8626 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8627 no_undefined_flag
='${wl}-z,text'
8628 archive_cmds_need_lc
=no
8629 hardcode_shlibpath_var
=no
8630 runpath_var
='LD_RUN_PATH'
8632 if test "$GCC" = yes; then
8633 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8634 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8636 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8637 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8641 sysv5
* | sco3.2v5
* | sco5v6
*)
8642 # Note: We can NOT use -z defs as we might desire, because we do not
8643 # link with -lc, and that would cause any symbols used from libc to
8644 # always be unresolved, which means just about no library would
8645 # ever link correctly. If we're not using GNU ld we use -z text
8646 # though, which does catch some bad symbols but isn't as heavy-handed
8648 no_undefined_flag
='${wl}-z,text'
8649 allow_undefined_flag
='${wl}-z,nodefs'
8650 archive_cmds_need_lc
=no
8651 hardcode_shlibpath_var
=no
8652 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8653 hardcode_libdir_separator
=':'
8654 link_all_deplibs
=yes
8655 export_dynamic_flag_spec
='${wl}-Bexport'
8656 runpath_var
='LD_RUN_PATH'
8658 if test "$GCC" = yes; then
8659 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8660 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8662 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8663 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8668 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8669 hardcode_libdir_flag_spec
='-L$libdir'
8670 hardcode_shlibpath_var
=no
8679 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8680 echo "${ECHO_T}$ld_shlibs" >&6; }
8681 test "$ld_shlibs" = no
&& can_build_shared
=no
8684 # Do we need to explicitly link libc?
8686 case "x$archive_cmds_need_lc" in
8688 # Assume -lc should be added
8689 archive_cmds_need_lc
=yes
8691 if test "$enable_shared" = yes && test "$GCC" = yes; then
8692 case $archive_cmds in
8694 # FIXME: we may have to deal with multi-command sequences.
8697 # Test whether the compiler implicitly links with -lc since on some
8698 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8699 # to ld, don't add -lc before -lgcc.
8700 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8701 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8703 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8706 (eval $ac_compile) 2>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } 2>conftest.err
; then
8712 libobjs
=conftest.
$ac_objext
8714 wl
=$lt_prog_compiler_wl
8715 pic_flag
=$lt_prog_compiler_pic
8721 lt_save_allow_undefined_flag
=$allow_undefined_flag
8722 allow_undefined_flag
=
8723 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8724 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }
8729 archive_cmds_need_lc
=no
8731 archive_cmds_need_lc
=yes
8733 allow_undefined_flag
=$lt_save_allow_undefined_flag
8735 cat conftest.err
1>&5
8738 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8739 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8746 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8747 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8749 libname_spec
='lib$name'
8757 shlibpath_overrides_runpath
=unknown
8759 dynamic_linker
="$host_os ld.so"
8760 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8761 if test "$GCC" = yes; then
8762 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8763 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8764 # if the path contains ";" then we assume it to be the separator
8765 # otherwise default to the standard path separator (i.e. ":") - it is
8766 # assumed that no part of a normal pathname contains ";" but that should
8767 # okay in the real world where ";" in dirpaths is itself problematic.
8768 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8770 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8773 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8775 need_lib_prefix
=unknown
8776 hardcode_into_libs
=no
8778 # when you set need_version to no, make sure it does not cause -set_version
8779 # flags to be left without arguments
8780 need_version
=unknown
8785 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8786 shlibpath_var
=LIBPATH
8788 # AIX 3 has no versioning support, so we append a major version to the name.
8789 soname_spec
='${libname}${release}${shared_ext}$major'
8796 hardcode_into_libs
=yes
8797 if test "$host_cpu" = ia64
; then
8798 # AIX 5 supports IA64
8799 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8800 shlibpath_var
=LD_LIBRARY_PATH
8802 # With GCC up to 2.95.x, collect2 would create an import file
8803 # for dependence libraries. The import file would start with
8804 # the line `#! .'. This would cause the generated library to
8805 # depend on `.', always an invalid library. This was fixed in
8806 # development snapshots of GCC prior to 3.0.
8808 aix4 | aix4.
[01] | aix4.
[01].
*)
8809 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8811 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8818 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8819 # soname into executable. Probably we can add versioning support to
8820 # collect2, so additional links can be useful in future.
8821 if test "$aix_use_runtimelinking" = yes; then
8822 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8823 # instead of lib<name>.a to let people know that these are not
8824 # typical AIX shared libraries.
8825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8827 # We preserve .a as extension for shared libraries through AIX4.2
8828 # and later when we are not doing run time linking.
8829 library_names_spec
='${libname}${release}.a $libname.a'
8830 soname_spec
='${libname}${release}${shared_ext}$major'
8832 shlibpath_var
=LIBPATH
8837 library_names_spec
='$libname.ixlibrary $libname.a'
8838 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8839 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'
8843 library_names_spec
='${libname}${shared_ext}'
8844 dynamic_linker
="$host_os ld.so"
8845 shlibpath_var
=LIBRARY_PATH
8851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8852 soname_spec
='${libname}${release}${shared_ext}$major'
8853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8854 shlibpath_var
=LD_LIBRARY_PATH
8855 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8856 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8857 # the default ld.so.conf also contains /usr/contrib/lib and
8858 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8859 # libtool to hard-code these into programs
8862 cygwin
* | mingw
* | pw32
*)
8863 version_type
=windows
8868 case $GCC,$host_os in
8869 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8870 library_names_spec
='$libname.dll.a'
8871 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8872 postinstall_cmds
='base_file=`basename \${file}`~
8873 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8874 dldir=$destdir/`dirname \$dlpath`~
8875 test -d \$dldir || mkdir -p \$dldir~
8876 $install_prog $dir/$dlname \$dldir/$dlname~
8877 chmod a+x \$dldir/$dlname'
8878 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8879 dlpath=$dir/\$dldll~
8881 shlibpath_overrides_runpath
=yes
8885 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8886 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8887 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8890 # MinGW DLLs use traditional 'lib' prefix
8891 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8892 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8893 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8894 # It is most probably a Windows format PATH printed by
8895 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8896 # path with ; separators, and with drive letters. We can handle the
8897 # drive letters (cygwin fileutils understands them), so leave them,
8898 # especially as we might pass files found there to a mingw objdump,
8899 # which wouldn't understand a cygwinified path. Ahh.
8900 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8902 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8906 # pw32 DLLs use 'pw' prefix rather than 'lib'
8907 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8913 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8916 dynamic_linker
='Win32 ld.exe'
8917 # FIXME: first we should search . and the directory the executable is in
8921 darwin
* | rhapsody
*)
8922 dynamic_linker
="$host_os dyld"
8926 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8927 soname_spec
='${libname}${release}${major}$shared_ext'
8928 shlibpath_overrides_runpath
=yes
8929 shlibpath_var
=DYLD_LIBRARY_PATH
8930 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8931 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8932 if test "$GCC" = yes; then
8933 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8935 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8937 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8945 soname_spec
='${libname}${release}${shared_ext}$major'
8946 shlibpath_var
=LD_LIBRARY_PATH
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8958 soname_spec
='${libname}${release}${shared_ext}$major'
8959 shlibpath_var
=LD_LIBRARY_PATH
8960 shlibpath_overrides_runpath
=no
8961 hardcode_into_libs
=yes
8962 dynamic_linker
='GNU ld.so'
8965 freebsd
* | dragonfly
*)
8966 # DragonFly does not have aout. When/if they implement a new
8967 # versioning mechanism, adjust this.
8968 if test -x /usr
/bin
/objformat
; then
8969 objformat
=`/usr/bin/objformat`
8972 freebsd
[123]*) objformat
=aout
;;
8976 version_type
=freebsd-
$objformat
8977 case $version_type in
8979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8984 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8988 shlibpath_var
=LD_LIBRARY_PATH
8991 shlibpath_overrides_runpath
=yes
8993 freebsd3.
[01]* | freebsdelf3.
[01]*)
8994 shlibpath_overrides_runpath
=yes
8995 hardcode_into_libs
=yes
8997 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8998 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8999 shlibpath_overrides_runpath
=no
9000 hardcode_into_libs
=yes
9002 freebsd
*) # from 4.6 on
9003 shlibpath_overrides_runpath
=yes
9004 hardcode_into_libs
=yes
9013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9014 soname_spec
='${libname}${release}${shared_ext}$major'
9015 shlibpath_var
=LD_LIBRARY_PATH
9016 hardcode_into_libs
=yes
9019 hpux9
* | hpux10
* | hpux11
*)
9020 # Give a soname corresponding to the major version so that dld.sl refuses to
9021 # link against other versions.
9028 hardcode_into_libs
=yes
9029 dynamic_linker
="$host_os dld.so"
9030 shlibpath_var
=LD_LIBRARY_PATH
9031 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9033 soname_spec
='${libname}${release}${shared_ext}$major'
9034 if test "X$HPUX_IA64_MODE" = X32
; then
9035 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9037 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9039 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9043 hardcode_into_libs
=yes
9044 dynamic_linker
="$host_os dld.sl"
9045 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9046 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9048 soname_spec
='${libname}${release}${shared_ext}$major'
9049 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9050 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9054 dynamic_linker
="$host_os dld.sl"
9055 shlibpath_var
=SHLIB_PATH
9056 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9058 soname_spec
='${libname}${release}${shared_ext}$major'
9061 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9062 postinstall_cmds
='chmod 555 $lib'
9069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9070 soname_spec
='${libname}${release}${shared_ext}$major'
9071 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9072 shlibpath_var
=LD_LIBRARY_PATH
9073 shlibpath_overrides_runpath
=no
9074 hardcode_into_libs
=yes
9077 irix5
* | irix6
* | nonstopux
*)
9079 nonstopux
*) version_type
=nonstopux
;;
9081 if test "$lt_cv_prog_gnu_ld" = yes; then
9089 soname_spec
='${libname}${release}${shared_ext}$major'
9090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9092 irix5
* | nonstopux
*)
9096 case $LD in # libtool.m4 will add one of these switches to LD
9097 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9098 libsuff
= shlibsuff
= libmagic
=32-bit;;
9099 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9100 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9101 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9102 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9103 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9107 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9108 shlibpath_overrides_runpath
=no
9109 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9110 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9111 hardcode_into_libs
=yes
9114 # No shared lib support for Linux oldld, aout, or coff.
9115 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9119 # This must be Linux ELF.
9124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9125 soname_spec
='${libname}${release}${shared_ext}$major'
9126 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9127 shlibpath_var
=LD_LIBRARY_PATH
9128 shlibpath_overrides_runpath
=no
9129 # This implies no fast_install, which is unacceptable.
9130 # Some rework will be needed to allow for fast_install
9131 # before this can be enabled.
9132 hardcode_into_libs
=yes
9134 # find out which ABI we are using
9137 x86_64
*|s390x
*|powerpc64
*)
9138 echo '#line 9138 "configure"' > conftest.
$ac_ext
9139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9140 (eval $ac_compile) 2>&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }; then
9144 case `/usr/bin/file conftest.$ac_objext` in
9147 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9155 # Append ld.so.conf contents to the search path
9156 if test -f /etc
/ld.so.conf
; then
9157 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9158 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9161 # We used to test for /lib/ld.so.1 and disable shared libraries on
9162 # powerpc, because MkLinux only supported shared libraries with the
9163 # GNU dynamic linker. Since this was broken with cross compilers,
9164 # most powerpc-linux boxes support dynamic linking these days and
9165 # people can always --disable-shared, the test was removed, and we
9166 # assume the GNU/Linux dynamic linker is in use.
9167 dynamic_linker
='GNU/Linux ld.so'
9174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9175 soname_spec
='${libname}${release}${shared_ext}$major'
9176 shlibpath_var
=LD_LIBRARY_PATH
9177 shlibpath_overrides_runpath
=no
9178 hardcode_into_libs
=yes
9179 dynamic_linker
='GNU ld.so'
9186 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9188 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9189 dynamic_linker
='NetBSD (a.out) ld.so'
9191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9192 soname_spec
='${libname}${release}${shared_ext}$major'
9193 dynamic_linker
='NetBSD ld.elf_so'
9195 shlibpath_var
=LD_LIBRARY_PATH
9196 shlibpath_overrides_runpath
=yes
9197 hardcode_into_libs
=yes
9202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9203 shlibpath_var
=LD_LIBRARY_PATH
9204 shlibpath_overrides_runpath
=yes
9211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9212 soname_spec
='${libname}${release}${shared_ext}$major'
9213 shlibpath_var
=LD_LIBRARY_PATH
9214 shlibpath_overrides_runpath
=yes
9219 sys_lib_dlsearch_path_spec
="/usr/lib"
9221 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9223 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9224 *) need_version
=no
;;
9226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9227 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9228 shlibpath_var
=LD_LIBRARY_PATH
9229 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9231 openbsd2.
[89] | openbsd2.
[89].
*)
9232 shlibpath_overrides_runpath
=no
9235 shlibpath_overrides_runpath
=yes
9239 shlibpath_overrides_runpath
=yes
9244 libname_spec
='$name'
9247 library_names_spec
='$libname${shared_ext} $libname.a'
9248 dynamic_linker
='OS/2 ld.exe'
9249 shlibpath_var
=LIBPATH
9252 osf3
* | osf4
* | osf5
*)
9256 soname_spec
='${libname}${release}${shared_ext}$major'
9257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258 shlibpath_var
=LD_LIBRARY_PATH
9259 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9260 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9268 soname_spec
='${libname}${release}${shared_ext}$major'
9269 shlibpath_var
=LD_LIBRARY_PATH
9270 shlibpath_overrides_runpath
=yes
9271 hardcode_into_libs
=yes
9272 # ldd complains unless libraries are executable
9273 postinstall_cmds
='chmod +x $lib'
9278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9279 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9280 shlibpath_var
=LD_LIBRARY_PATH
9281 shlibpath_overrides_runpath
=yes
9282 if test "$with_gnu_ld" = yes; then
9290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9291 soname_spec
='${libname}${release}${shared_ext}$major'
9292 shlibpath_var
=LD_LIBRARY_PATH
9293 case $host_vendor in
9295 shlibpath_overrides_runpath
=no
9297 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9298 runpath_var
=LD_RUN_PATH
9306 shlibpath_overrides_runpath
=no
9307 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9313 if test -d /usr
/nec
;then
9315 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9316 soname_spec
='$libname${shared_ext}.$major'
9317 shlibpath_var
=LD_LIBRARY_PATH
9321 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9322 version_type
=freebsd-elf
9325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9326 soname_spec
='${libname}${release}${shared_ext}$major'
9327 shlibpath_var
=LD_LIBRARY_PATH
9328 hardcode_into_libs
=yes
9329 if test "$with_gnu_ld" = yes; then
9330 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9331 shlibpath_overrides_runpath
=no
9333 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9334 shlibpath_overrides_runpath
=yes
9337 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9341 sys_lib_dlsearch_path_spec
='/usr/lib'
9346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9347 soname_spec
='${libname}${release}${shared_ext}$major'
9348 shlibpath_var
=LD_LIBRARY_PATH
9355 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9356 echo "${ECHO_T}$dynamic_linker" >&6; }
9357 test "$dynamic_linker" = no
&& can_build_shared
=no
9359 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9360 if test "$GCC" = yes; then
9361 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9364 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9365 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9367 if test -n "$hardcode_libdir_flag_spec" || \
9368 test -n "$runpath_var" || \
9369 test "X$hardcode_automatic" = "Xyes" ; then
9371 # We can hardcode non-existant directories.
9372 if test "$hardcode_direct" != no
&&
9373 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9374 # have to relink, otherwise we might link with an installed library
9375 # when we should be linking with a yet-to-be-installed one
9376 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9377 test "$hardcode_minus_L" != no
; then
9378 # Linking always hardcodes the temporary library directory.
9379 hardcode_action
=relink
9381 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9382 hardcode_action
=immediate
9385 # We cannot hardcode anything, or else we can only hardcode existing
9387 hardcode_action
=unsupported
9389 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9390 echo "${ECHO_T}$hardcode_action" >&6; }
9392 if test "$hardcode_action" = relink
; then
9393 # Fast installation is not supported
9394 enable_fast_install
=no
9395 elif test "$shlibpath_overrides_runpath" = yes ||
9396 test "$enable_shared" = no
; then
9397 # Fast installation is not necessary
9398 enable_fast_install
=needless
9403 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9404 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9405 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9406 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9407 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9408 { echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6; }
9411 # FIXME - insert some real tests, host_os isn't really good enough
9414 if test -n "$STRIP" ; then
9415 striplib
="$STRIP -x"
9416 { echo "$as_me:$LINENO: result: yes" >&5
9417 echo "${ECHO_T}yes" >&6; }
9419 { echo "$as_me:$LINENO: result: no" >&5
9420 echo "${ECHO_T}no" >&6; }
9424 { echo "$as_me:$LINENO: result: no" >&5
9425 echo "${ECHO_T}no" >&6; }
9430 if test "x$enable_dlopen" != xyes
; then
9431 enable_dlopen
=unknown
9432 enable_dlopen_self
=unknown
9433 enable_dlopen_self_static
=unknown
9440 lt_cv_dlopen
="load_add_on"
9442 lt_cv_dlopen_self
=yes
9446 lt_cv_dlopen
="LoadLibrary"
9451 lt_cv_dlopen
="dlopen"
9456 # if libdl is installed we need to link against it
9457 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9458 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9459 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9460 echo $ECHO_N "(cached) $ECHO_C" >&6
9462 ac_check_lib_save_LIBS
=$LIBS
9464 cat >conftest.
$ac_ext <<_ACEOF
9467 cat confdefs.h
>>conftest.
$ac_ext
9468 cat >>conftest.
$ac_ext <<_ACEOF
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9486 rm -f conftest.
$ac_objext conftest
$ac_exeext
9487 if { (ac_try
="$ac_link"
9489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9490 *) ac_try_echo=$ac_try;;
9492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9493 (eval "$ac_link") 2>conftest.er1
9495 grep -v '^ *+' conftest.er1 >conftest.err
9497 cat conftest.err >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); } && {
9500 test -z "$ac_c_werror_flag" ||
9501 test ! -s conftest.err
9502 } && test -s conftest$ac_exeext &&
9503 $as_test_x conftest$ac_exeext; then
9504 ac_cv_lib_dl_dlopen=yes
9506 echo "$as_me: failed program was:" >&5
9507 sed 's/^/| /' conftest.$ac_ext >&5
9509 ac_cv_lib_dl_dlopen=no
9512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9513 conftest$ac_exeext conftest.$ac_ext
9514 LIBS=$ac_check_lib_save_LIBS
9516 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9517 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9518 if test $ac_cv_lib_dl_dlopen = yes; then
9519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9524 lt_cv_dlopen_self=yes
9531 { echo "$as_me:$LINENO: checking for shl_load" >&5
9532 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9533 if test "${ac_cv_func_shl_load+set}" = set; then
9534 echo $ECHO_N "(cached) $ECHO_C" >&6
9536 cat >conftest.$ac_ext <<_ACEOF
9539 cat confdefs.h >>conftest.$ac_ext
9540 cat >>conftest.$ac_ext <<_ACEOF
9541 /* end confdefs.h. */
9542 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9544 #define shl_load innocuous_shl_load
9546 /* System header to define __stub macros and hopefully few prototypes,
9547 which can conflict with char shl_load (); below.
9548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9549 <limits.h> exists even on freestanding compilers. */
9552 # include <limits.h>
9554 # include <assert.h>
9559 /* Override any GCC internal prototype to avoid an error.
9560 Use char because int might match the return type of a GCC
9561 builtin and then its argument prototype would still apply. */
9566 /* The GNU C library defines this for functions which it implements
9567 to always fail with ENOSYS. Some functions are actually named
9568 something starting with __ and the normal name is an alias. */
9569 #if defined __stub_shl_load || defined __stub___shl_load
9581 rm -f conftest.$ac_objext conftest$ac_exeext
9582 if { (ac_try="$ac_link"
9584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9585 *) ac_try_echo
=$ac_try;;
9587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9588 (eval "$ac_link") 2>conftest.er1
9590 grep -v '^ *+' conftest.er1
>conftest.err
9592 cat conftest.err
>&5
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); } && {
9595 test -z "$ac_c_werror_flag" ||
9596 test ! -s conftest.err
9597 } && test -s conftest
$ac_exeext &&
9598 $as_test_x conftest
$ac_exeext; then
9599 ac_cv_func_shl_load
=yes
9601 echo "$as_me: failed program was:" >&5
9602 sed 's/^/| /' conftest.
$ac_ext >&5
9604 ac_cv_func_shl_load
=no
9607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9608 conftest
$ac_exeext conftest.
$ac_ext
9610 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9611 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9612 if test $ac_cv_func_shl_load = yes; then
9613 lt_cv_dlopen
="shl_load"
9615 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9616 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9617 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9618 echo $ECHO_N "(cached) $ECHO_C" >&6
9620 ac_check_lib_save_LIBS
=$LIBS
9622 cat >conftest.
$ac_ext <<_ACEOF
9625 cat confdefs.h
>>conftest.
$ac_ext
9626 cat >>conftest.
$ac_ext <<_ACEOF
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9644 rm -f conftest.
$ac_objext conftest
$ac_exeext
9645 if { (ac_try
="$ac_link"
9647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9648 *) ac_try_echo=$ac_try;;
9650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9651 (eval "$ac_link") 2>conftest.er1
9653 grep -v '^ *+' conftest.er1 >conftest.err
9655 cat conftest.err >&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); } && {
9658 test -z "$ac_c_werror_flag" ||
9659 test ! -s conftest.err
9660 } && test -s conftest$ac_exeext &&
9661 $as_test_x conftest$ac_exeext; then
9662 ac_cv_lib_dld_shl_load=yes
9664 echo "$as_me: failed program was:" >&5
9665 sed 's/^/| /' conftest.$ac_ext >&5
9667 ac_cv_lib_dld_shl_load=no
9670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LIBS=$ac_check_lib_save_LIBS
9674 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9675 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9676 if test $ac_cv_lib_dld_shl_load = yes; then
9677 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9679 { echo "$as_me:$LINENO: checking for dlopen" >&5
9680 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9681 if test "${ac_cv_func_dlopen+set}" = set; then
9682 echo $ECHO_N "(cached) $ECHO_C" >&6
9684 cat >conftest.$ac_ext <<_ACEOF
9687 cat confdefs.h >>conftest.$ac_ext
9688 cat >>conftest.$ac_ext <<_ACEOF
9689 /* end confdefs.h. */
9690 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9692 #define dlopen innocuous_dlopen
9694 /* System header to define __stub macros and hopefully few prototypes,
9695 which can conflict with char dlopen (); below.
9696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9697 <limits.h> exists even on freestanding compilers. */
9700 # include <limits.h>
9702 # include <assert.h>
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9714 /* The GNU C library defines this for functions which it implements
9715 to always fail with ENOSYS. Some functions are actually named
9716 something starting with __ and the normal name is an alias. */
9717 #if defined __stub_dlopen || defined __stub___dlopen
9729 rm -f conftest.$ac_objext conftest$ac_exeext
9730 if { (ac_try="$ac_link"
9732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9733 *) ac_try_echo
=$ac_try;;
9735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9736 (eval "$ac_link") 2>conftest.er1
9738 grep -v '^ *+' conftest.er1
>conftest.err
9740 cat conftest.err
>&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } && {
9743 test -z "$ac_c_werror_flag" ||
9744 test ! -s conftest.err
9745 } && test -s conftest
$ac_exeext &&
9746 $as_test_x conftest
$ac_exeext; then
9747 ac_cv_func_dlopen
=yes
9749 echo "$as_me: failed program was:" >&5
9750 sed 's/^/| /' conftest.
$ac_ext >&5
9752 ac_cv_func_dlopen
=no
9755 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9756 conftest
$ac_exeext conftest.
$ac_ext
9758 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9759 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9760 if test $ac_cv_func_dlopen = yes; then
9761 lt_cv_dlopen
="dlopen"
9763 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9764 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9765 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 ac_check_lib_save_LIBS
=$LIBS
9770 cat >conftest.
$ac_ext <<_ACEOF
9773 cat confdefs.h
>>conftest.
$ac_ext
9774 cat >>conftest.
$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9792 rm -f conftest.
$ac_objext conftest
$ac_exeext
9793 if { (ac_try
="$ac_link"
9795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_link") 2>conftest.er1
9801 grep -v '^ *+' conftest.er1 >conftest.err
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest$ac_exeext &&
9809 $as_test_x conftest$ac_exeext; then
9810 ac_cv_lib_dl_dlopen=yes
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9815 ac_cv_lib_dl_dlopen=no
9818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_lib_save_LIBS
9822 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9823 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9824 if test $ac_cv_lib_dl_dlopen = yes; then
9825 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9827 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9828 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9829 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9832 ac_check_lib_save_LIBS=$LIBS
9834 cat >conftest.$ac_ext <<_ACEOF
9837 cat confdefs.h >>conftest.$ac_ext
9838 cat >>conftest.$ac_ext <<_ACEOF
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9856 rm -f conftest.$ac_objext conftest$ac_exeext
9857 if { (ac_try="$ac_link"
9859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9860 *) ac_try_echo
=$ac_try;;
9862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_link") 2>conftest.er1
9865 grep -v '^ *+' conftest.er1
>conftest.err
9867 cat conftest.err
>&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } && {
9870 test -z "$ac_c_werror_flag" ||
9871 test ! -s conftest.err
9872 } && test -s conftest
$ac_exeext &&
9873 $as_test_x conftest
$ac_exeext; then
9874 ac_cv_lib_svld_dlopen
=yes
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.
$ac_ext >&5
9879 ac_cv_lib_svld_dlopen
=no
9882 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9883 conftest
$ac_exeext conftest.
$ac_ext
9884 LIBS
=$ac_check_lib_save_LIBS
9886 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9887 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9888 if test $ac_cv_lib_svld_dlopen = yes; then
9889 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9891 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9892 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9893 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 ac_check_lib_save_LIBS
=$LIBS
9898 cat >conftest.
$ac_ext <<_ACEOF
9901 cat confdefs.h
>>conftest.
$ac_ext
9902 cat >>conftest.
$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9905 /* Override any GCC internal prototype to avoid an error.
9906 Use char because int might match the return type of a GCC
9907 builtin and then its argument prototype would still apply. */
9920 rm -f conftest.
$ac_objext conftest
$ac_exeext
9921 if { (ac_try
="$ac_link"
9923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9924 *) ac_try_echo=$ac_try;;
9926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9927 (eval "$ac_link") 2>conftest.er1
9929 grep -v '^ *+' conftest.er1 >conftest.err
9931 cat conftest.err >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } && {
9934 test -z "$ac_c_werror_flag" ||
9935 test ! -s conftest.err
9936 } && test -s conftest$ac_exeext &&
9937 $as_test_x conftest$ac_exeext; then
9938 ac_cv_lib_dld_dld_link=yes
9940 echo "$as_me: failed program was:" >&5
9941 sed 's/^/| /' conftest.$ac_ext >&5
9943 ac_cv_lib_dld_dld_link=no
9946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9947 conftest$ac_exeext conftest.$ac_ext
9948 LIBS=$ac_check_lib_save_LIBS
9950 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9951 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9952 if test $ac_cv_lib_dld_dld_link = yes; then
9953 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9974 if test "x$lt_cv_dlopen" != xno; then
9980 case $lt_cv_dlopen in
9982 save_CPPFLAGS="$CPPFLAGS"
9983 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9985 save_LDFLAGS="$LDFLAGS"
9986 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9989 LIBS="$lt_cv_dlopen_libs $LIBS"
9991 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9992 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9993 if test "${lt_cv_dlopen_self+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 if test "$cross_compiling" = yes; then :
9997 lt_cv_dlopen_self=cross
9999 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10000 lt_status=$lt_dlunknown
10001 cat > conftest.$ac_ext <<EOF
10002 #line 10002 "configure"
10003 #include "confdefs.h"
10012 # define LT_DLGLOBAL RTLD_GLOBAL
10015 # define LT_DLGLOBAL DL_GLOBAL
10017 # define LT_DLGLOBAL 0
10021 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10022 find out it does not work in some platform. */
10023 #ifndef LT_DLLAZY_OR_NOW
10025 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10028 # define LT_DLLAZY_OR_NOW DL_LAZY
10031 # define LT_DLLAZY_OR_NOW RTLD_NOW
10034 # define LT_DLLAZY_OR_NOW DL_NOW
10036 # define LT_DLLAZY_OR_NOW 0
10044 extern "C" void exit (int);
10047 void fnord() { int i=42;}
10050 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10051 int status = $lt_dlunknown;
10055 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10056 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10057 /* dlclose (self); */
10065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10066 (eval $ac_link) 2>&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10070 (./conftest; exit; ) >&5 2>/dev/null
10072 case x$lt_status in
10073 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10074 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10075 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10078 # compilation failed
10079 lt_cv_dlopen_self=no
10086 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10087 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10089 if test "x$lt_cv_dlopen_self" = xyes; then
10090 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10091 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10092 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10093 if test "${lt_cv_dlopen_self_static+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10096 if test "$cross_compiling" = yes; then :
10097 lt_cv_dlopen_self_static=cross
10099 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10100 lt_status=$lt_dlunknown
10101 cat > conftest.$ac_ext <<EOF
10102 #line 10102 "configure"
10103 #include "confdefs.h"
10112 # define LT_DLGLOBAL RTLD_GLOBAL
10115 # define LT_DLGLOBAL DL_GLOBAL
10117 # define LT_DLGLOBAL 0
10121 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10122 find out it does not work in some platform. */
10123 #ifndef LT_DLLAZY_OR_NOW
10125 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10128 # define LT_DLLAZY_OR_NOW DL_LAZY
10131 # define LT_DLLAZY_OR_NOW RTLD_NOW
10134 # define LT_DLLAZY_OR_NOW DL_NOW
10136 # define LT_DLLAZY_OR_NOW 0
10144 extern "C" void exit (int);
10147 void fnord() { int i=42;}
10150 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10151 int status = $lt_dlunknown;
10155 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10156 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10157 /* dlclose (self); */
10165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10166 (eval $ac_link) 2>&5
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10170 (./conftest; exit; ) >&5 2>/dev/null
10172 case x$lt_status in
10173 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10174 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10175 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10178 # compilation failed
10179 lt_cv_dlopen_self_static=no
10186 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10187 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10190 CPPFLAGS="$save_CPPFLAGS"
10191 LDFLAGS="$save_LDFLAGS"
10196 case $lt_cv_dlopen_self in
10197 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10198 *) enable_dlopen_self=unknown ;;
10201 case $lt_cv_dlopen_self_static in
10202 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10203 *) enable_dlopen_self_static=unknown ;;
10208 # Report which library types will actually be built
10209 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10210 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10211 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10212 echo "${ECHO_T}$can_build_shared" >&6; }
10214 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10215 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10216 test "$can_build_shared" = "no" && enable_shared=no
10218 # On AIX, shared libraries and static libraries use the same namespace, and
10219 # are all built from PIC.
10222 test "$enable_shared" = yes && enable_static=no
10223 if test -n "$RANLIB"; then
10224 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10225 postinstall_cmds='$RANLIB $lib'
10230 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10231 test "$enable_shared" = yes && enable_static=no
10235 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10236 echo "${ECHO_T}$enable_shared" >&6; }
10238 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10239 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10240 # Make sure either enable_shared or enable_static is yes.
10241 test "$enable_shared" = yes || enable_static=yes
10242 { echo "$as_me:$LINENO: result: $enable_static" >&5
10243 echo "${ECHO_T}$enable_static" >&6; }
10245 # The else clause should only fire when bootstrapping the
10246 # libtool distribution, otherwise you forgot to ship ltmain.sh
10247 # with your package, and you will get complaints that there are
10248 # no rules to generate ltmain.sh.
10249 if test -f "$ltmain"; then
10250 # See if we are running on zsh, and set the options which allow our commands through
10251 # without removal of \ escapes.
10252 if test -n "${ZSH_VERSION+set}" ; then
10253 setopt NO_GLOB_SUBST
10255 # Now quote all the things that may contain metacharacters while being
10256 # careful not to overquote the AC_SUBSTed values. We take copies of the
10257 # variables and quote the copies for generation of the libtool script.
10258 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10260 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10261 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10262 deplibs_check_method reload_flag reload_cmds need_locks \
10263 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10264 lt_cv_sys_global_symbol_to_c_name_address \
10265 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10266 old_postinstall_cmds old_postuninstall_cmds \
10270 lt_prog_compiler_wl \
10271 lt_prog_compiler_pic \
10272 lt_prog_compiler_static \
10273 lt_prog_compiler_no_builtin_flag \
10274 export_dynamic_flag_spec \
10275 thread_safe_flag_spec \
10276 whole_archive_flag_spec \
10277 enable_shared_with_static_runtimes \
10279 old_archive_from_new_cmds \
10284 compiler_lib_search_path \
10286 archive_expsym_cmds \
10288 postuninstall_cmds \
10289 old_archive_from_expsyms_cmds \
10290 allow_undefined_flag \
10291 no_undefined_flag \
10292 export_symbols_cmds \
10293 hardcode_libdir_flag_spec \
10294 hardcode_libdir_flag_spec_ld \
10295 hardcode_libdir_separator \
10296 hardcode_automatic \
10298 module_expsym_cmds \
10299 lt_cv_prog_compiler_c_o \
10301 include_expsyms; do
10304 old_archive_cmds | \
10305 old_archive_from_new_cmds | \
10307 archive_expsym_cmds | \
10309 module_expsym_cmds | \
10310 old_archive_from_expsyms_cmds | \
10311 export_symbols_cmds | \
10312 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10313 postinstall_cmds | postuninstall_cmds | \
10314 old_postinstall_cmds | old_postuninstall_cmds | \
10315 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10316 # Double-quote double-evaled strings.
10317 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10320 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10326 *'\$0 --fallback-echo"')
10327 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10331 cfgfile="${ofile}T"
10332 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10334 { echo "$as_me:$LINENO: creating $ofile" >&5
10335 echo "$as_me: creating $ofile" >&6;}
10337 cat <<__EOF__ >> "$cfgfile"
10340 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10341 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10342 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10344 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10345 # Free Software Foundation, Inc.
10347 # This file is part of GNU Libtool:
10348 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10350 # This program is free software; you can redistribute it and/or modify
10351 # it under the terms of the GNU General Public License as published by
10352 # the Free Software Foundation; either version 2 of the License, or
10353 # (at your option) any later version.
10355 # This program is distributed in the hope that it will be useful, but
10356 # WITHOUT ANY WARRANTY; without even the implied warranty of
10357 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10358 # General Public License for more details.
10360 # You should have received a copy of the GNU General Public License
10361 # along with this program; if not, write to the Free Software
10362 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10364 # As a special exception to the GNU General Public License, if you
10365 # distribute this file as part of a program that contains a
10366 # configuration script generated by Autoconf, you may include it under
10367 # the same distribution terms that you use for the rest of that program.
10369 # A sed program that does not truncate output.
10372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10373 Xsed="$SED -e 1s/^X//"
10375 # The HP-UX ksh and POSIX shell print the target directory to stdout
10376 # if CDPATH is set.
10377 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10379 # The names of the tagged configurations supported by this script.
10382 # ### BEGIN LIBTOOL CONFIG
10384 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10386 # Shell to use when invoking shell scripts.
10389 # Whether or not to build shared libraries.
10390 build_libtool_libs=$enable_shared
10392 # Whether or not to build static libraries.
10393 build_old_libs=$enable_static
10395 # Whether or not to add -lc for building shared libraries.
10396 build_libtool_need_lc=$archive_cmds_need_lc
10398 # Whether or not to disallow shared libs when runtime libs are static
10399 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10401 # Whether or not to optimize for fast installation.
10402 fast_install=$enable_fast_install
10405 host_alias=$host_alias
10409 # The build system.
10410 build_alias=$build_alias
10414 # An echo program that does not interpret backslashes.
10419 AR_FLAGS=$lt_AR_FLAGS
10424 # LTCC compiler flags.
10425 LTCFLAGS=$lt_LTCFLAGS
10427 # A language-specific compiler.
10430 # Is the compiler the GNU C compiler?
10436 # The linker used to build libraries.
10439 # Whether we need hard or soft links.
10442 # A BSD-compatible nm program.
10445 # A symbol stripping program
10448 # Used to examine libraries when file_magic_cmd begins "file"
10449 MAGIC_CMD=$MAGIC_CMD
10451 # Used on cygwin: DLL creation program.
10454 # Used on cygwin: object dumper.
10457 # Used on cygwin: assembler.
10460 # The name of the directory that contains temporary libtool files.
10463 # How to create reloadable object files.
10464 reload_flag=$lt_reload_flag
10465 reload_cmds=$lt_reload_cmds
10467 # How to pass a linker flag through the compiler.
10468 wl=$lt_lt_prog_compiler_wl
10470 # Object file suffix (normally "o").
10471 objext="$ac_objext"
10473 # Old archive suffix (normally "a").
10476 # Shared library suffix (normally ".so").
10477 shrext_cmds='$shrext_cmds'
10479 # Executable file suffix (normally "").
10482 # Additional compiler flags for building library objects.
10483 pic_flag=$lt_lt_prog_compiler_pic
10486 # What is the maximum length of a command?
10487 max_cmd_len=$lt_cv_sys_max_cmd_len
10489 # Does compiler simultaneously support -c and -o options?
10490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10492 # Must we lock files when doing compilation?
10493 need_locks=$lt_need_locks
10495 # Do we need the lib prefix for modules?
10496 need_lib_prefix=$need_lib_prefix
10498 # Do we need a version for libraries?
10499 need_version=$need_version
10501 # Whether dlopen is supported.
10502 dlopen_support=$enable_dlopen
10504 # Whether dlopen of programs is supported.
10505 dlopen_self=$enable_dlopen_self
10507 # Whether dlopen of statically linked programs is supported.
10508 dlopen_self_static=$enable_dlopen_self_static
10510 # Compiler flag to prevent dynamic linking.
10511 link_static_flag=$lt_lt_prog_compiler_static
10513 # Compiler flag to turn off builtin functions.
10514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10516 # Compiler flag to allow reflexive dlopens.
10517 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10519 # Compiler flag to generate shared objects directly from archives.
10520 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10522 # Compiler flag to generate thread-safe objects.
10523 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10525 # Library versioning type.
10526 version_type=$version_type
10528 # Format of library name prefix.
10529 libname_spec=$lt_libname_spec
10531 # List of archive names. First name is the real one, the rest are links.
10532 # The last name is the one that the linker finds with -lNAME.
10533 library_names_spec=$lt_library_names_spec
10535 # The coded name of the library, if different from the real name.
10536 soname_spec=$lt_soname_spec
10538 # Commands used to build and install an old-style archive.
10540 old_archive_cmds=$lt_old_archive_cmds
10541 old_postinstall_cmds=$lt_old_postinstall_cmds
10542 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10544 # Create an old-style archive from a shared archive.
10545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10547 # Create a temporary old-style archive to link instead of a shared archive.
10548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10550 # Commands used to build and install a shared archive.
10551 archive_cmds=$lt_archive_cmds
10552 archive_expsym_cmds=$lt_archive_expsym_cmds
10553 postinstall_cmds=$lt_postinstall_cmds
10554 postuninstall_cmds=$lt_postuninstall_cmds
10556 # Commands used to build a loadable module (assumed same as above if empty)
10557 module_cmds=$lt_module_cmds
10558 module_expsym_cmds=$lt_module_expsym_cmds
10560 # Commands to strip libraries.
10561 old_striplib=$lt_old_striplib
10562 striplib=$lt_striplib
10564 # Dependencies to place before the objects being linked to create a
10566 predep_objects=$lt_predep_objects
10568 # Dependencies to place after the objects being linked to create a
10570 postdep_objects=$lt_postdep_objects
10572 # Dependencies to place before the objects being linked to create a
10574 predeps=$lt_predeps
10576 # Dependencies to place after the objects being linked to create a
10578 postdeps=$lt_postdeps
10580 # The library search path used internally by the compiler when linking
10581 # a shared library.
10582 compiler_lib_search_path=$lt_compiler_lib_search_path
10584 # Method to check whether dependent libraries are shared objects.
10585 deplibs_check_method=$lt_deplibs_check_method
10587 # Command to use when deplibs_check_method == file_magic.
10588 file_magic_cmd=$lt_file_magic_cmd
10590 # Flag that allows shared libraries with undefined symbols to be built.
10591 allow_undefined_flag=$lt_allow_undefined_flag
10593 # Flag that forces no undefined symbols.
10594 no_undefined_flag=$lt_no_undefined_flag
10596 # Commands used to finish a libtool library installation in a directory.
10597 finish_cmds=$lt_finish_cmds
10599 # Same as above, but a single script fragment to be evaled but not shown.
10600 finish_eval=$lt_finish_eval
10602 # Take the output of nm and produce a listing of raw symbols and C names.
10603 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10605 # Transform the output of nm in a proper C declaration
10606 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10608 # Transform the output of nm in a C name address pair
10609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10611 # This is the shared library runtime path variable.
10612 runpath_var=$runpath_var
10614 # This is the shared library path variable.
10615 shlibpath_var=$shlibpath_var
10617 # Is shlibpath searched before the hard-coded library search path?
10618 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10620 # How to hardcode a shared library path into an executable.
10621 hardcode_action=$hardcode_action
10623 # Whether we should hardcode library paths into libraries.
10624 hardcode_into_libs=$hardcode_into_libs
10626 # Flag to hardcode \$libdir into a binary during linking.
10627 # This must work even if \$libdir does not exist.
10628 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10630 # If ld is used when linking, flag to hardcode \$libdir into
10631 # a binary during linking. This must work even if \$libdir does
10633 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10635 # Whether we need a single -rpath flag with a separated argument.
10636 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10638 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10639 # resulting binary.
10640 hardcode_direct=$hardcode_direct
10642 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10643 # resulting binary.
10644 hardcode_minus_L=$hardcode_minus_L
10646 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10647 # the resulting binary.
10648 hardcode_shlibpath_var=$hardcode_shlibpath_var
10650 # Set to yes if building a shared library automatically hardcodes DIR into the library
10651 # and all subsequent libraries and executables linked against it.
10652 hardcode_automatic=$hardcode_automatic
10654 # Variables whose values should be saved in libtool wrapper scripts and
10655 # restored at relink time.
10656 variables_saved_for_relink="$variables_saved_for_relink"
10658 # Whether libtool must link a program against all its dependency libraries.
10659 link_all_deplibs=$link_all_deplibs
10661 # Compile-time system search path for libraries
10662 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10664 # Run-time system search path for libraries
10665 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10667 # Fix the shell variable \$srcfile for the compiler.
10668 fix_srcfile_path="$fix_srcfile_path"
10670 # Set to yes if exported symbols are required.
10671 always_export_symbols=$always_export_symbols
10673 # The commands to list exported symbols.
10674 export_symbols_cmds=$lt_export_symbols_cmds
10676 # The commands to extract the exported symbol list from a shared archive.
10677 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10679 # Symbols that should not be listed in the preloaded symbols.
10680 exclude_expsyms=$lt_exclude_expsyms
10682 # Symbols that must always be exported.
10683 include_expsyms=$lt_include_expsyms
10685 # ### END LIBTOOL CONFIG
10692 cat <<\EOF >> "$cfgfile"
10694 # AIX sometimes has problems with the GCC collect2 program. For some
10695 # reason, if we set the COLLECT_NAMES environment variable, the problems
10696 # vanish in a puff of smoke.
10697 if test "X${COLLECT_NAMES+set}" != Xset; then
10699 export COLLECT_NAMES
10705 # We use sed instead of cat because bash on DJGPP gets confused if
10706 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10707 # text mode, it properly converts lines to CR/LF. This bash problem
10708 # is reportedly fixed, but why not run on old versions too?
10709 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10711 mv -f "$cfgfile" "$ofile" || \
10712 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10716 # If there is no Makefile yet, we rely on a make rule to execute
10717 # `config.status
--recheck' to rerun these tests and create the
10718 # libtool script then.
10719 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10720 if test -f "$ltmain_in"; then
10721 test -f Makefile && make "$ltmain"
10727 ac_cpp='$CPP $CPPFLAGS'
10728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10729 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10735 # Check whether --with-tags was given.
10736 if test "${with_tags+set}" = set; then
10737 withval=$with_tags; tagnames="$withval"
10741 if test -f "$ltmain" && test -n "$tagnames"; then
10742 if test ! -f "${ofile}"; then
10743 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10744 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10747 if test -z "$LTCC"; then
10748 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10749 if test -z "$LTCC"; then
10750 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10751 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10753 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10754 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10757 if test -z "$LTCFLAGS"; then
10758 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10761 # Extract list of available tagged configurations in $ofile.
10762 # Note that this assumes the entire list is on one line.
10763 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10765 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10766 for tagname in $tagnames; do
10768 # Check whether tagname contains only valid characters
10769 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10771 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10772 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10773 { (exit 1); exit 1; }; }
10777 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10779 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10780 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10781 { (exit 1); exit 1; }; }
10784 # Update the list of available tags.
10785 if test -n "$tagname"; then
10786 echo appending configuration tag \"$tagname\" to $ofile
10790 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10791 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10792 (test "X$CXX" != "Xg++"))) ; then
10794 ac_cpp='$CXXCPP $CPPFLAGS'
10795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10802 archive_cmds_need_lc_CXX=no
10803 allow_undefined_flag_CXX=
10804 always_export_symbols_CXX=no
10805 archive_expsym_cmds_CXX=
10806 export_dynamic_flag_spec_CXX=
10807 hardcode_direct_CXX=no
10808 hardcode_libdir_flag_spec_CXX=
10809 hardcode_libdir_flag_spec_ld_CXX=
10810 hardcode_libdir_separator_CXX=
10811 hardcode_minus_L_CXX=no
10812 hardcode_shlibpath_var_CXX=unsupported
10813 hardcode_automatic_CXX=no
10815 module_expsym_cmds_CXX=
10816 link_all_deplibs_CXX=unknown
10817 old_archive_cmds_CXX=$old_archive_cmds
10818 no_undefined_flag_CXX=
10819 whole_archive_flag_spec_CXX=
10820 enable_shared_with_static_runtimes_CXX=no
10822 # Dependencies to place before and after the object being linked:
10823 predep_objects_CXX=
10824 postdep_objects_CXX=
10827 compiler_lib_search_path_CXX=
10829 # Source file extension for C++ test sources.
10832 # Object file extension for compiled C++ test sources.
10836 # Code to be used in simple compile tests
10837 lt_simple_compile_test_code="int some_variable = 0;\n"
10839 # Code to be used in simple link tests
10840 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10842 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10844 # If no C compiler was specified, use CC.
10847 # If no C compiler flags were specified, use CFLAGS.
10848 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10850 # Allow CC to be a program name with arguments.
10854 # save warnings/boilerplate of simple test code
10855 ac_outfile=conftest.$ac_objext
10856 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10857 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10858 _lt_compiler_boilerplate=`cat conftest.err
`
10861 ac_outfile=conftest.$ac_objext
10862 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10863 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10864 _lt_linker_boilerplate=`cat conftest.err
`
10868 # Allow CC to be a program name with arguments.
10873 lt_save_with_gnu_ld=$with_gnu_ld
10874 lt_save_path_LD=$lt_cv_path_LD
10875 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10876 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10878 $as_unset lt_cv_prog_gnu_ld
10880 if test -n "${lt_cv_path_LDCXX+set}"; then
10881 lt_cv_path_LD=$lt_cv_path_LDCXX
10883 $as_unset lt_cv_path_LD
10885 test -z "${LDCXX+set}" || LD=$LDCXX
10889 for cc_temp in $compiler""; do
10891 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10892 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10897 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10900 # We don't want -fno-exception wen compiling C++ code, so set the
10901 # no_builtin_flag separately
10902 if test "$GXX" = yes; then
10903 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10905 lt_prog_compiler_no_builtin_flag_CXX=
10908 if test "$GXX" = yes; then
10909 # Set up default GNU C++ configuration
10912 # Check whether --with-gnu-ld was given.
10913 if test "${with_gnu_ld+set}" = set; then
10914 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10920 if test "$GCC" = yes; then
10921 # Check if gcc -print-prog-name=ld gives a path.
10922 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10923 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10926 # gcc leaves a trailing carriage return which upsets mingw
10927 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10929 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10932 # Accept absolute paths.
10934 re_direlt='/[^/][^/]*/\.\./'
10935 # Canonicalize the pathname of ld
10936 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10937 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10938 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10940 test -z "$LD" && LD="$ac_prog"
10943 # If it fails, then pretend we aren't using GCC.
10947 # If it is relative, then search for the first ld in PATH.
10948 with_gnu_ld=unknown
10951 elif test "$with_gnu_ld" = yes; then
10952 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10953 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10955 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10956 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10958 if test "${lt_cv_path_LD+set}" = set; then
10959 echo $ECHO_N "(cached) $ECHO_C" >&6
10961 if test -z "$LD"; then
10962 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10963 for ac_dir in $PATH; do
10965 test -z "$ac_dir" && ac_dir=.
10966 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10967 lt_cv_path_LD="$ac_dir/$ac_prog"
10968 # Check to see if the program is GNU ld. I'd rather use --version,
10969 # but apparently some variants of GNU ld only accept -v.
10970 # Break only if it was the GNU/non-GNU ld that we prefer.
10971 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10972 *GNU* | *'with BFD'*)
10973 test "$with_gnu_ld" != no && break
10976 test "$with_gnu_ld" != yes && break
10983 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10987 LD="$lt_cv_path_LD"
10988 if test -n "$LD"; then
10989 { echo "$as_me:$LINENO: result: $LD" >&5
10990 echo "${ECHO_T}$LD" >&6; }
10992 { echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6; }
10995 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10996 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10997 { (exit 1); exit 1; }; }
10998 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10999 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11000 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11004 case `$LD -v 2>&1 </dev
/null
` in
11005 *GNU* | *'with BFD'*)
11006 lt_cv_prog_gnu_ld=yes
11009 lt_cv_prog_gnu_ld=no
11013 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11014 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11015 with_gnu_ld=$lt_cv_prog_gnu_ld
11019 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11020 # archiving commands below assume that GNU ld is being used.
11021 if test "$with_gnu_ld" = yes; then
11022 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11023 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'
11025 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11026 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11028 # If archive_cmds runs LD, not CC, wlarc should be empty
11029 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11030 # investigate it a little bit more. (MM)
11033 # ancient GNU ld didn't support --whole-archive et. al.
11034 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11035 grep 'no-whole-archive' > /dev/null; then
11036 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11038 whole_archive_flag_spec_CXX=
11044 # A generic and very simple default shared library creation
11045 # command for GNU C++ for the case where it uses the native
11046 # linker, instead of GNU ld. If possible, this setting should
11047 # overridden to take advantage of the native linker features on
11048 # the platform it is being used on.
11049 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11052 # Commands to make compiler produce verbose output that lists
11053 # what "hidden" libraries, object files and flags are used when
11054 # linking a shared library.
11055 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11063 # PORTME: fill in a description of your system's C++ link characteristics
11064 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11065 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11069 # FIXME: insert proper C++ library support
11073 if test "$host_cpu" = ia64; then
11074 # On IA64, the linker does run time linking by default, so we don't
11075 # have to do anything special.
11076 aix_use_runtimelinking=no
11077 exp_sym_flag='-Bexport'
11080 aix_use_runtimelinking=no
11082 # Test if we are trying to use run time linking or normal
11083 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11084 # need to do runtime linking.
11085 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11086 for ld_flag in $LDFLAGS; do
11089 aix_use_runtimelinking=yes
11097 exp_sym_flag='-bexport'
11098 no_entry_flag='-bnoentry'
11101 # When large executables or shared objects are built, AIX ld can
11102 # have problems creating the table of contents. If linking a library
11103 # or program results in "error TOC overflow" add -mminimal-toc to
11104 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11105 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11107 archive_cmds_CXX=''
11108 hardcode_direct_CXX=yes
11109 hardcode_libdir_separator_CXX=':'
11110 link_all_deplibs_CXX=yes
11112 if test "$GXX" = yes; then
11113 case $host_os in aix4.[012]|aix4.[012].*)
11114 # We only want to do this on AIX 4.2 and lower, the check
11115 # below for broken collect2 doesn't work under 4.3+
11116 collect2name=`${CC} -print-prog-name=collect2
`
11117 if test -f "$collect2name" && \
11118 strings "$collect2name" | grep resolve_lib_name >/dev/null
11120 # We have reworked collect2
11121 hardcode_direct_CXX=yes
11123 # We have old collect2
11124 hardcode_direct_CXX=unsupported
11125 # It fails to find uninstalled libraries when the uninstalled
11126 # path is not listed in the libpath. Setting hardcode_minus_L
11127 # to unsupported forces relinking
11128 hardcode_minus_L_CXX=yes
11129 hardcode_libdir_flag_spec_CXX='-L$libdir'
11130 hardcode_libdir_separator_CXX=
11134 shared_flag='-shared'
11135 if test "$aix_use_runtimelinking" = yes; then
11136 shared_flag="$shared_flag "'${wl}-G'
11140 if test "$host_cpu" = ia64; then
11141 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11142 # chokes on -Wl,-G. The following line is correct:
11145 if test "$aix_use_runtimelinking" = yes; then
11146 shared_flag='${wl}-G'
11148 shared_flag='${wl}-bM:SRE'
11153 # It seems that -bexpall does not export symbols beginning with
11154 # underscore (_), so it is better to generate a list of symbols to export.
11155 always_export_symbols_CXX=yes
11156 if test "$aix_use_runtimelinking" = yes; then
11157 # Warning - without using the other runtime loading flags (-brtl),
11158 # -berok will link without error, but may produce a broken library.
11159 allow_undefined_flag_CXX='-berok'
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 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11197 # Check for a 64-bit object if we didn't find anything.
11198 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11201 echo "$as_me: failed program was:" >&5
11202 sed 's/^/| /' conftest.
$ac_ext >&5
11207 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11208 conftest
$ac_exeext conftest.
$ac_ext
11209 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11211 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11213 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"
11215 if test "$host_cpu" = ia64
; then
11216 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11217 allow_undefined_flag_CXX
="-z nodefs"
11218 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"
11220 # Determine the default libpath from the value encoded in an empty executable.
11221 cat >conftest.
$ac_ext <<_ACEOF
11224 cat confdefs.h
>>conftest.
$ac_ext
11225 cat >>conftest.
$ac_ext <<_ACEOF
11226 /* end confdefs.h. */
11236 rm -f conftest.
$ac_objext conftest
$ac_exeext
11237 if { (ac_try
="$ac_link"
11238 case "(($ac_try" in
11239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11240 *) ac_try_echo=$ac_try;;
11242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11243 (eval "$ac_link") 2>conftest.er1
11245 grep -v '^ *+' conftest.er1 >conftest.err
11247 cat conftest.err >&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } && {
11250 test -z "$ac_cxx_werror_flag" ||
11251 test ! -s conftest.err
11252 } && test -s conftest$ac_exeext &&
11253 $as_test_x conftest$ac_exeext; then
11255 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11257 # Check for a 64-bit object if we didn't find anything.
11258 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11261 echo "$as_me: failed program was:" >&5
11262 sed 's/^/| /' conftest.$ac_ext >&5
11267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11268 conftest$ac_exeext conftest.$ac_ext
11269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11271 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11272 # Warning - without using the other run time loading flags,
11273 # -berok will link without error, but may produce a broken library.
11274 no_undefined_flag_CXX=' ${wl}-bernotok'
11275 allow_undefined_flag_CXX=' ${wl}-berok'
11276 # Exported symbols can be pulled into shared objects from archives
11277 whole_archive_flag_spec_CXX='$convenience'
11278 archive_cmds_need_lc_CXX=yes
11279 # This is similar to how AIX traditionally builds its shared libraries.
11280 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'
11286 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11287 allow_undefined_flag_CXX=unsupported
11288 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11289 # support --undefined. This deserves some investigation. FIXME
11290 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11297 case $cc_basename in
11299 # FIXME: insert proper C++ library support
11305 cygwin* | mingw* | pw32*)
11306 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11307 # as there is no search path for DLLs.
11308 hardcode_libdir_flag_spec_CXX='-L$libdir'
11309 allow_undefined_flag_CXX=unsupported
11310 always_export_symbols_CXX=no
11311 enable_shared_with_static_runtimes_CXX=yes
11313 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11314 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'
11315 # If the export-symbols file already is a .def file (1st line
11316 # is EXPORTS), use it as is; otherwise, prepend...
11317 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11318 cp $export_symbols $output_objdir/$soname.def;
11320 echo EXPORTS > $output_objdir/$soname.def;
11321 cat $export_symbols >> $output_objdir/$soname.def;
11323 $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'
11328 darwin* | rhapsody*)
11330 rhapsody* | darwin1.[012])
11331 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11334 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11335 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11337 case ${MACOSX_DEPLOYMENT_TARGET} in
11339 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11342 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11348 archive_cmds_need_lc_CXX=no
11349 hardcode_direct_CXX=no
11350 hardcode_automatic_CXX=yes
11351 hardcode_shlibpath_var_CXX=unsupported
11352 whole_archive_flag_spec_CXX=''
11353 link_all_deplibs_CXX=yes
11355 if test "$GXX" = yes ; then
11356 lt_int_apple_cc_single_mod=no
11357 output_verbose_link_cmd='echo'
11358 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11359 lt_int_apple_cc_single_mod=yes
11361 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11362 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11364 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'
11366 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11367 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11368 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11369 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}'
11371 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}'
11373 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}'
11375 case $cc_basename in
11377 output_verbose_link_cmd='echo'
11378 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11379 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11380 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11381 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11382 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}'
11392 case $cc_basename in
11394 # FIXME: insert proper C++ library support
11398 # Green Hills C++ Compiler
11399 # FIXME: insert proper C++ library support
11403 # FIXME: insert proper C++ library support
11409 # C++ shared libraries reported to be fairly broken before switch to ELF
11413 archive_cmds_need_lc_CXX=no
11415 freebsd* | kfreebsd*-gnu | dragonfly*)
11416 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11423 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11424 hardcode_libdir_separator_CXX=:
11425 export_dynamic_flag_spec_CXX='${wl}-E'
11426 hardcode_direct_CXX=yes
11427 hardcode_minus_L_CXX=yes # Not in the search PATH,
11428 # but as the default
11429 # location of the library.
11431 case $cc_basename in
11433 # FIXME: insert proper C++ library support
11437 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'
11438 # Commands to make compiler produce verbose output that lists
11439 # what "hidden" libraries, object files and flags are used when
11440 # linking a shared library.
11442 # There doesn't appear to be a way to prevent this compiler from
11443 # explicitly linking system object files so we need to strip them
11444 # from the output so that they don't get included in the library
11446 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11449 if test "$GXX" = yes; then
11450 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'
11452 # FIXME: insert proper C++ library support
11459 if test $with_gnu_ld = no; then
11460 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11461 hardcode_libdir_separator_CXX=:
11465 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11468 export_dynamic_flag_spec_CXX='${wl}-E'
11474 hardcode_direct_CXX=no
11475 hardcode_shlibpath_var_CXX=no
11478 hardcode_direct_CXX=yes
11479 hardcode_minus_L_CXX=yes # Not in the search PATH,
11480 # but as the default
11481 # location of the library.
11485 case $cc_basename in
11487 # FIXME: insert proper C++ library support
11493 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11496 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11499 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11502 # Commands to make compiler produce verbose output that lists
11503 # what "hidden" libraries, object files and flags are used when
11504 # linking a shared library.
11506 # There doesn't appear to be a way to prevent this compiler from
11507 # explicitly linking system object files so we need to strip them
11508 # from the output so that they don't get included in the library
11510 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'
11513 if test "$GXX" = yes; then
11514 if test $with_gnu_ld = no; then
11517 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11520 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11523 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'
11528 # FIXME: insert proper C++ library support
11535 hardcode_direct_CXX=no
11536 hardcode_shlibpath_var_CXX=no
11537 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11538 export_dynamic_flag_spec_CXX='${wl}-E'
11539 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11540 # Instead, shared libraries are loaded at an image base (0x10000000 by
11541 # default) and relocated if they conflict, which is a slow very memory
11542 # consuming and fragmenting process. To avoid this, we pick a random,
11543 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11544 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11545 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'
11546 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'
11549 case $cc_basename in
11552 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'
11554 # Archives containing C++ object files must be created using
11555 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11556 # necessary to make sure instantiated templates are included
11558 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11561 if test "$GXX" = yes; then
11562 if test "$with_gnu_ld" = no; then
11563 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'
11565 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'
11568 link_all_deplibs_CXX=yes
11571 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11572 hardcode_libdir_separator_CXX=:
11575 case $cc_basename in
11577 # Kuck and Associates, Inc. (KAI) C++ Compiler
11579 # KCC will only create a shared library if the output file
11580 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11581 # to its proper name (with version) after linking.
11582 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'
11583 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'
11584 # Commands to make compiler produce verbose output that lists
11585 # what "hidden" libraries, object files and flags are used when
11586 # linking a shared library.
11588 # There doesn't appear to be a way to prevent this compiler from
11589 # explicitly linking system object files so we need to strip them
11590 # from the output so that they don't get included in the library
11592 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'
11594 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11595 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11597 # Archives containing C++ object files must be created using
11598 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11599 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11604 # version 8.0 and above of icpc choke on multiply defined symbols
11605 # if we add $predep_objects and $postdep_objects, however 7.1 and
11606 # earlier do not add the objects themselves.
11607 case `$CC -V 2>&1` in
11609 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11610 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'
11612 *) # Version 8.0 or newer
11615 ia64
*) tmp_idyn
=' -i_dynamic';;
11617 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11618 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'
11621 archive_cmds_need_lc_CXX
=no
11622 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11623 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11624 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11627 # Portland Group C++ compiler
11628 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11629 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'
11631 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11632 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11633 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'
11637 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11638 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'
11640 runpath_var
=LD_RUN_PATH
11641 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11642 hardcode_libdir_separator_CXX
=:
11644 # Commands to make compiler produce verbose output that lists
11645 # what "hidden" libraries, object files and flags are used when
11646 # linking a shared library.
11648 # There doesn't appear to be a way to prevent this compiler from
11649 # explicitly linking system object files so we need to strip them
11650 # from the output so that they don't get included in the library
11652 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'
11657 # FIXME: insert proper C++ library support
11661 # FIXME: insert proper C++ library support
11665 case $cc_basename in
11667 # FIXME: insert proper C++ library support
11671 # FIXME: insert proper C++ library support
11677 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11678 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11680 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11681 hardcode_direct_CXX
=yes
11682 hardcode_shlibpath_var_CXX
=no
11684 # Workaround some broken pre-1.5 toolchains
11685 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11688 # C++ shared libraries are fairly broken
11692 hardcode_direct_CXX
=yes
11693 hardcode_shlibpath_var_CXX
=no
11694 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11695 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11696 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11697 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11698 export_dynamic_flag_spec_CXX
='${wl}-E'
11699 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11701 output_verbose_link_cmd
='echo'
11704 case $cc_basename in
11706 # Kuck and Associates, Inc. (KAI) C++ Compiler
11708 # KCC will only create a shared library if the output file
11709 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11710 # to its proper name (with version) after linking.
11711 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'
11713 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11714 hardcode_libdir_separator_CXX
=:
11716 # Archives containing C++ object files must be created using
11717 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11718 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11722 # Rational C++ 2.4.1
11723 # FIXME: insert proper C++ library support
11727 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11728 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'
11730 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11731 hardcode_libdir_separator_CXX
=:
11733 # Commands to make compiler produce verbose output that lists
11734 # what "hidden" libraries, object files and flags are used when
11735 # linking a shared library.
11737 # There doesn't appear to be a way to prevent this compiler from
11738 # explicitly linking system object files so we need to strip them
11739 # from the output so that they don't get included in the library
11741 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'
11744 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11745 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11746 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'
11748 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11749 hardcode_libdir_separator_CXX
=:
11751 # Commands to make compiler produce verbose output that lists
11752 # what "hidden" libraries, object files and flags are used when
11753 # linking a shared library.
11754 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11757 # FIXME: insert proper C++ library support
11764 case $cc_basename in
11766 # Kuck and Associates, Inc. (KAI) C++ Compiler
11768 # KCC will only create a shared library if the output file
11769 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11770 # to its proper name (with version) after linking.
11771 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'
11773 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11774 hardcode_libdir_separator_CXX
=:
11776 # Archives containing C++ object files must be created using
11777 # the KAI C++ compiler.
11778 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11781 # Rational C++ 2.4.1
11782 # FIXME: insert proper C++ library support
11786 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11787 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'
11788 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11789 echo "-hidden">> $lib.exp~
11790 $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~
11793 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11794 hardcode_libdir_separator_CXX
=:
11796 # Commands to make compiler produce verbose output that lists
11797 # what "hidden" libraries, object files and flags are used when
11798 # linking a shared library.
11800 # There doesn't appear to be a way to prevent this compiler from
11801 # explicitly linking system object files so we need to strip them
11802 # from the output so that they don't get included in the library
11804 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'
11807 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11808 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11809 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'
11811 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11812 hardcode_libdir_separator_CXX
=:
11814 # Commands to make compiler produce verbose output that lists
11815 # what "hidden" libraries, object files and flags are used when
11816 # linking a shared library.
11817 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11820 # FIXME: insert proper C++ library support
11827 # FIXME: insert proper C++ library support
11831 case $cc_basename in
11834 # FIXME: insert proper C++ library support
11839 # FIXME: insert proper C++ library support
11843 # FIXME: insert proper C++ library support
11849 case $cc_basename in
11851 # Sun C++ 4.2, 5.x and Centerline C++
11852 archive_cmds_need_lc_CXX
=yes
11853 no_undefined_flag_CXX
=' -zdefs'
11854 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11855 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11856 $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'
11858 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11859 hardcode_shlibpath_var_CXX
=no
11861 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11863 # The C++ compiler is used as linker so we must use $wl
11864 # flag to pass the commands to the underlying system
11865 # linker. We must also pass each convience library through
11866 # to the system linker between allextract/defaultextract.
11867 # The C++ compiler will combine linker options so we
11868 # cannot just pass the convience library names through
11870 # Supported since Solaris 2.6 (maybe 2.5.1?)
11871 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11874 link_all_deplibs_CXX
=yes
11876 output_verbose_link_cmd
='echo'
11878 # Archives containing C++ object files must be created using
11879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11880 # necessary to make sure instantiated templates are included
11882 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11885 # Green Hills C++ Compiler
11886 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11888 # The C++ compiler must be used to create the archive.
11889 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11892 # GNU C++ compiler with Solaris linker
11893 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11894 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11895 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11896 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11897 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11898 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11900 # Commands to make compiler produce verbose output that lists
11901 # what "hidden" libraries, object files and flags are used when
11902 # linking a shared library.
11903 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11905 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11907 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11908 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11909 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11911 # Commands to make compiler produce verbose output that lists
11912 # what "hidden" libraries, object files and flags are used when
11913 # linking a shared library.
11914 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11917 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11922 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11923 no_undefined_flag_CXX
='${wl}-z,text'
11924 archive_cmds_need_lc_CXX
=no
11925 hardcode_shlibpath_var_CXX
=no
11926 runpath_var
='LD_RUN_PATH'
11928 case $cc_basename in
11930 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11931 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11934 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11935 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11939 sysv5
* | sco3.2v5
* | sco5v6
*)
11940 # Note: We can NOT use -z defs as we might desire, because we do not
11941 # link with -lc, and that would cause any symbols used from libc to
11942 # always be unresolved, which means just about no library would
11943 # ever link correctly. If we're not using GNU ld we use -z text
11944 # though, which does catch some bad symbols but isn't as heavy-handed
11946 # For security reasons, it is highly recommended that you always
11947 # use absolute paths for naming shared libraries, and exclude the
11948 # DT_RUNPATH tag from executables and libraries. But doing so
11949 # requires that you compile everything twice, which is a pain.
11950 # So that behaviour is only enabled if SCOABSPATH is set to a
11951 # non-empty value in the environment. Most likely only useful for
11952 # creating official distributions of packages.
11953 # This is a hack until libtool officially supports absolute path
11954 # names for shared libraries.
11955 no_undefined_flag_CXX
='${wl}-z,text'
11956 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11957 archive_cmds_need_lc_CXX
=no
11958 hardcode_shlibpath_var_CXX
=no
11959 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11960 hardcode_libdir_separator_CXX
=':'
11961 link_all_deplibs_CXX
=yes
11962 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11963 runpath_var
='LD_RUN_PATH'
11965 case $cc_basename in
11967 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11968 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11971 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11972 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11977 case $cc_basename in
11979 # NonStop-UX NCC 3.20
11980 # FIXME: insert proper C++ library support
11984 # FIXME: insert proper C++ library support
11990 # FIXME: insert proper C++ library support
11994 # FIXME: insert proper C++ library support
11998 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11999 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12000 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12006 cat > conftest.
$ac_ext <<EOF
12010 Foo (void) { a = 0; }
12016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12017 (eval $ac_compile) 2>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; then
12021 # Parse the compiler output and extract the necessary
12022 # objects, libraries and library flags.
12024 # Sentinel used to keep track of whether or not we are before
12025 # the conftest object file.
12026 pre_test_object_deps_done
=no
12028 # The `*' in the case matches for architectures that use `case' in
12029 # $output_verbose_cmd can trigger glob expansion during the loop
12030 # eval without this substitution.
12031 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12033 for p
in `eval $output_verbose_link_cmd`; do
12037 # Some compilers place space between "-{L,R}" and the path.
12038 # Remove the space.
12039 if test $p = "-L" \
12040 ||
test $p = "-R"; then
12047 if test "$pre_test_object_deps_done" = no
; then
12050 # Internal compiler library paths should come after those
12051 # provided the user. The postdeps already come after the
12052 # user supplied libs so there is no need to process them.
12053 if test -z "$compiler_lib_search_path_CXX"; then
12054 compiler_lib_search_path_CXX
="${prev}${p}"
12056 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12059 # The "-l" case would never come before the object being
12060 # linked, so don't bother handling this case.
12063 if test -z "$postdeps_CXX"; then
12064 postdeps_CXX
="${prev}${p}"
12066 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12072 # This assumes that the test object file only shows up
12073 # once in the compiler output.
12074 if test "$p" = "conftest.$objext"; then
12075 pre_test_object_deps_done
=yes
12079 if test "$pre_test_object_deps_done" = no
; then
12080 if test -z "$predep_objects_CXX"; then
12081 predep_objects_CXX
="$p"
12083 predep_objects_CXX
="$predep_objects_CXX $p"
12086 if test -z "$postdep_objects_CXX"; then
12087 postdep_objects_CXX
="$p"
12089 postdep_objects_CXX
="$postdep_objects_CXX $p"
12094 *) ;; # Ignore the rest.
12102 echo "libtool.m4: error: problem compiling CXX test program"
12105 $rm -f confest.
$objext
12107 # PORTME: override above test on systems where it is broken
12110 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12111 # hack all around it, let's just trust "g++" to DTRT.
12112 predep_objects_CXX
=
12113 postdep_objects_CXX
=
12118 case $cc_basename in
12120 # Adding this requires a known-good setup of shared libraries for
12121 # Sun compiler versions before 5.6, else PIC objects from an old
12122 # archive will be linked into the output, leading to subtle bugs.
12123 postdeps_CXX
='-lCstd -lCrun'
12130 case " $postdeps_CXX " in
12131 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12134 lt_prog_compiler_wl_CXX
=
12135 lt_prog_compiler_pic_CXX
=
12136 lt_prog_compiler_static_CXX
=
12138 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12139 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12141 # C++ specific cases for pic, static, wl, etc.
12142 if test "$GXX" = yes; then
12143 lt_prog_compiler_wl_CXX
='-Wl,'
12144 lt_prog_compiler_static_CXX
='-static'
12148 # All AIX code is PIC.
12149 if test "$host_cpu" = ia64
; then
12150 # AIX 5 now supports IA64 processor
12151 lt_prog_compiler_static_CXX
='-Bstatic'
12155 # FIXME: we need at least 68020 code to build shared libraries, but
12156 # adding the `-m68020' flag to GCC prevents building anything better,
12158 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12160 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12161 # PIC is the default for these OSes.
12163 mingw
* | os2
* | pw32
*)
12164 # This hack is so that the source file can tell whether it is being
12165 # built for inclusion in a dll (and should export symbols for example).
12166 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12168 darwin
* | rhapsody
*)
12169 # PIC is the default on this platform
12170 # Common symbols not allowed in MH_DYLIB files
12171 lt_prog_compiler_pic_CXX
='-fno-common'
12174 # DJGPP does not support shared libraries at all
12175 lt_prog_compiler_pic_CXX
=
12178 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12179 # Instead, we relocate shared libraries at runtime.
12182 if test -d /usr
/nec
; then
12183 lt_prog_compiler_pic_CXX
=-Kconform_pic
12187 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12188 # not for PA HP-UX.
12193 lt_prog_compiler_pic_CXX
='-fPIC'
12198 lt_prog_compiler_pic_CXX
='-fPIC'
12204 # All AIX code is PIC.
12205 if test "$host_cpu" = ia64
; then
12206 # AIX 5 now supports IA64 processor
12207 lt_prog_compiler_static_CXX
='-Bstatic'
12209 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12213 case $cc_basename in
12215 # Green Hills C++ Compiler
12216 # _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"
12221 # PIC is the default on this platform
12222 # Common symbols not allowed in MH_DYLIB files
12223 case $cc_basename in
12225 lt_prog_compiler_pic_CXX
='-qnocommon'
12226 lt_prog_compiler_wl_CXX
='-Wl,'
12231 case $cc_basename in
12233 lt_prog_compiler_pic_CXX
='-KPIC'
12236 # Green Hills C++ Compiler
12237 lt_prog_compiler_pic_CXX
='-pic'
12243 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12244 # FreeBSD uses GNU C++
12246 hpux9
* | hpux10
* | hpux11
*)
12247 case $cc_basename in
12249 lt_prog_compiler_wl_CXX
='-Wl,'
12250 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12251 if test "$host_cpu" != ia64
; then
12252 lt_prog_compiler_pic_CXX
='+Z'
12256 lt_prog_compiler_wl_CXX
='-Wl,'
12257 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12263 lt_prog_compiler_pic_CXX
='+Z'
12272 # This is c89, which is MS Visual C++ (no shared libs)
12273 # Anyone wants to do a port?
12275 irix5
* | irix6
* | nonstopux
*)
12276 case $cc_basename in
12278 lt_prog_compiler_wl_CXX
='-Wl,'
12279 lt_prog_compiler_static_CXX
='-non_shared'
12280 # CC pic flag -KPIC is the default.
12287 case $cc_basename in
12290 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12291 lt_prog_compiler_pic_CXX
='-fPIC'
12295 lt_prog_compiler_wl_CXX
='-Wl,'
12296 lt_prog_compiler_pic_CXX
='-KPIC'
12297 lt_prog_compiler_static_CXX
='-static'
12300 # Portland Group C++ compiler.
12301 lt_prog_compiler_wl_CXX
='-Wl,'
12302 lt_prog_compiler_pic_CXX
='-fpic'
12303 lt_prog_compiler_static_CXX
='-Bstatic'
12307 # Make sure the PIC flag is empty. It appears that all Alpha
12308 # Linux and Compaq Tru64 Unix objects are PIC.
12309 lt_prog_compiler_pic_CXX
=
12310 lt_prog_compiler_static_CXX
='-non_shared'
12321 case $cc_basename in
12323 lt_prog_compiler_pic_CXX
='-W c,exportall'
12331 osf3
* | osf4
* | osf5
*)
12332 case $cc_basename in
12334 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12337 # Rational C++ 2.4.1
12338 lt_prog_compiler_pic_CXX
='-pic'
12341 # Digital/Compaq C++
12342 lt_prog_compiler_wl_CXX
='-Wl,'
12343 # Make sure the PIC flag is empty. It appears that all Alpha
12344 # Linux and Compaq Tru64 Unix objects are PIC.
12345 lt_prog_compiler_pic_CXX
=
12346 lt_prog_compiler_static_CXX
='-non_shared'
12355 case $cc_basename in
12357 # Sun C++ 4.2, 5.x and Centerline C++
12358 lt_prog_compiler_pic_CXX
='-KPIC'
12359 lt_prog_compiler_static_CXX
='-Bstatic'
12360 lt_prog_compiler_wl_CXX
='-Qoption ld '
12363 # Green Hills C++ Compiler
12364 lt_prog_compiler_pic_CXX
='-PIC'
12371 case $cc_basename in
12374 lt_prog_compiler_pic_CXX
='-pic'
12375 lt_prog_compiler_static_CXX
='-Bstatic'
12379 lt_prog_compiler_pic_CXX
='-pic'
12386 case $cc_basename in
12388 # NonStop-UX NCC 3.20
12389 lt_prog_compiler_pic_CXX
='-KPIC'
12395 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12396 case $cc_basename in
12398 lt_prog_compiler_wl_CXX
='-Wl,'
12399 lt_prog_compiler_pic_CXX
='-KPIC'
12400 lt_prog_compiler_static_CXX
='-Bstatic'
12407 lt_prog_compiler_can_build_shared_CXX
=no
12412 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12413 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12416 # Check to make sure the PIC flag actually works.
12418 if test -n "$lt_prog_compiler_pic_CXX"; then
12420 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12421 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12422 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12423 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 lt_prog_compiler_pic_works_CXX
=no
12426 ac_outfile
=conftest.
$ac_objext
12427 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12428 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12429 # Insert the option either (1) after the last *FLAGS variable, or
12430 # (2) before a word containing "conftest.", or (3) at the end.
12431 # Note that $ac_compile itself does not contain backslashes and begins
12432 # with a dollar sign (not a hyphen), so the echo should work correctly.
12433 # The option is referenced via a variable to avoid confusing sed.
12434 lt_compile
=`echo "$ac_compile" | $SED \
12435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12437 -e 's:$: $lt_compiler_flag:'`
12438 (eval echo "\"\$as_me:12438: $lt_compile\"" >&5)
12439 (eval "$lt_compile" 2>conftest.err
)
12441 cat conftest.err
>&5
12442 echo "$as_me:12442: \$? = $ac_status" >&5
12443 if (exit $ac_status) && test -s "$ac_outfile"; then
12444 # The compiler can only warn and ignore the option if not recognized
12445 # So say no if there are warnings other than the usual output.
12446 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12447 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12448 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12449 lt_prog_compiler_pic_works_CXX
=yes
12455 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12456 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12458 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12459 case $lt_prog_compiler_pic_CXX in
12461 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12464 lt_prog_compiler_pic_CXX
=
12465 lt_prog_compiler_can_build_shared_CXX
=no
12470 # For platforms which do not support PIC, -DPIC is meaningless:
12472 lt_prog_compiler_pic_CXX
=
12475 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12480 # Check to make sure the static flag actually works.
12482 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12483 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12484 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12485 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12486 echo $ECHO_N "(cached) $ECHO_C" >&6
12488 lt_prog_compiler_static_works_CXX
=no
12489 save_LDFLAGS
="$LDFLAGS"
12490 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12491 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12492 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12493 # The linker can only warn and ignore the option if not recognized
12494 # So say no if there are warnings
12495 if test -s conftest.err
; then
12496 # Append any errors to the config.log.
12497 cat conftest.err
1>&5
12498 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12499 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12500 if diff conftest.exp conftest.er2
>/dev
/null
; then
12501 lt_prog_compiler_static_works_CXX
=yes
12504 lt_prog_compiler_static_works_CXX
=yes
12508 LDFLAGS
="$save_LDFLAGS"
12511 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12512 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12514 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12517 lt_prog_compiler_static_CXX
=
12521 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12522 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12523 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 lt_cv_prog_compiler_c_o_CXX
=no
12527 $rm -r conftest
2>/dev
/null
12531 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12533 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12534 # Insert the option either (1) after the last *FLAGS variable, or
12535 # (2) before a word containing "conftest.", or (3) at the end.
12536 # Note that $ac_compile itself does not contain backslashes and begins
12537 # with a dollar sign (not a hyphen), so the echo should work correctly.
12538 lt_compile
=`echo "$ac_compile" | $SED \
12539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12541 -e 's:$: $lt_compiler_flag:'`
12542 (eval echo "\"\$as_me:12542: $lt_compile\"" >&5)
12543 (eval "$lt_compile" 2>out
/conftest.err
)
12545 cat out
/conftest.err
>&5
12546 echo "$as_me:12546: \$? = $ac_status" >&5
12547 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12549 # The compiler can only warn and ignore the option if not recognized
12550 # So say no if there are warnings
12551 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12552 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12553 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12554 lt_cv_prog_compiler_c_o_CXX
=yes
12559 # SGI C++ compiler will create directory out/ii_files/ for
12560 # template instantiation
12561 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12562 $rm out
/* && rmdir out
12568 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12569 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12572 hard_links
="nottested"
12573 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12574 # do not overwrite the value of need_locks provided by the user
12575 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12576 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12579 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12581 ln conftest.a conftest.b
2>&5 || hard_links
=no
12582 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12583 { echo "$as_me:$LINENO: result: $hard_links" >&5
12584 echo "${ECHO_T}$hard_links" >&6; }
12585 if test "$hard_links" = no
; then
12586 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12587 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12594 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12595 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12597 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12600 # If we're using GNU nm, then we don't want the "-C" option.
12601 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12602 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12603 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'
12605 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'
12609 export_symbols_cmds_CXX
="$ltdll_cmds"
12612 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'
12615 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12619 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12620 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12621 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12624 # Do we need to explicitly link libc?
12626 case "x$archive_cmds_need_lc_CXX" in
12628 # Assume -lc should be added
12629 archive_cmds_need_lc_CXX
=yes
12631 if test "$enable_shared" = yes && test "$GCC" = yes; then
12632 case $archive_cmds_CXX in
12634 # FIXME: we may have to deal with multi-command sequences.
12637 # Test whether the compiler implicitly links with -lc since on some
12638 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12639 # to ld, don't add -lc before -lgcc.
12640 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12641 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12643 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12646 (eval $ac_compile) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } 2>conftest.err
; then
12652 libobjs
=conftest.
$ac_objext
12654 wl
=$lt_prog_compiler_wl_CXX
12655 pic_flag
=$lt_prog_compiler_pic_CXX
12661 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12662 allow_undefined_flag_CXX
=
12663 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12664 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); }
12669 archive_cmds_need_lc_CXX
=no
12671 archive_cmds_need_lc_CXX
=yes
12673 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12675 cat conftest.err
1>&5
12678 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12679 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12686 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12687 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12688 library_names_spec
=
12689 libname_spec
='lib$name'
12693 postuninstall_cmds
=
12697 shlibpath_overrides_runpath
=unknown
12699 dynamic_linker
="$host_os ld.so"
12700 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12701 if test "$GCC" = yes; then
12702 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12703 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12704 # if the path contains ";" then we assume it to be the separator
12705 # otherwise default to the standard path separator (i.e. ":") - it is
12706 # assumed that no part of a normal pathname contains ";" but that should
12707 # okay in the real world where ";" in dirpaths is itself problematic.
12708 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12710 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12713 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12715 need_lib_prefix
=unknown
12716 hardcode_into_libs
=no
12718 # when you set need_version to no, make sure it does not cause -set_version
12719 # flags to be left without arguments
12720 need_version
=unknown
12725 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12726 shlibpath_var
=LIBPATH
12728 # AIX 3 has no versioning support, so we append a major version to the name.
12729 soname_spec
='${libname}${release}${shared_ext}$major'
12736 hardcode_into_libs
=yes
12737 if test "$host_cpu" = ia64
; then
12738 # AIX 5 supports IA64
12739 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12740 shlibpath_var
=LD_LIBRARY_PATH
12742 # With GCC up to 2.95.x, collect2 would create an import file
12743 # for dependence libraries. The import file would start with
12744 # the line `#! .'. This would cause the generated library to
12745 # depend on `.', always an invalid library. This was fixed in
12746 # development snapshots of GCC prior to 3.0.
12748 aix4 | aix4.
[01] | aix4.
[01].
*)
12749 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12751 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12754 can_build_shared
=no
12758 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12759 # soname into executable. Probably we can add versioning support to
12760 # collect2, so additional links can be useful in future.
12761 if test "$aix_use_runtimelinking" = yes; then
12762 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12763 # instead of lib<name>.a to let people know that these are not
12764 # typical AIX shared libraries.
12765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12767 # We preserve .a as extension for shared libraries through AIX4.2
12768 # and later when we are not doing run time linking.
12769 library_names_spec
='${libname}${release}.a $libname.a'
12770 soname_spec
='${libname}${release}${shared_ext}$major'
12772 shlibpath_var
=LIBPATH
12777 library_names_spec
='$libname.ixlibrary $libname.a'
12778 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12779 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'
12783 library_names_spec
='${libname}${shared_ext}'
12784 dynamic_linker
="$host_os ld.so"
12785 shlibpath_var
=LIBRARY_PATH
12791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12792 soname_spec
='${libname}${release}${shared_ext}$major'
12793 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12794 shlibpath_var
=LD_LIBRARY_PATH
12795 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12796 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12797 # the default ld.so.conf also contains /usr/contrib/lib and
12798 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12799 # libtool to hard-code these into programs
12802 cygwin
* | mingw
* | pw32
*)
12803 version_type
=windows
12808 case $GCC,$host_os in
12809 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12810 library_names_spec
='$libname.dll.a'
12811 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12812 postinstall_cmds
='base_file=`basename \${file}`~
12813 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12814 dldir=$destdir/`dirname \$dlpath`~
12815 test -d \$dldir || mkdir -p \$dldir~
12816 $install_prog $dir/$dlname \$dldir/$dlname~
12817 chmod a+x \$dldir/$dlname'
12818 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12819 dlpath=$dir/\$dldll~
12821 shlibpath_overrides_runpath
=yes
12825 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12826 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12827 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12830 # MinGW DLLs use traditional 'lib' prefix
12831 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12832 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12833 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12834 # It is most probably a Windows format PATH printed by
12835 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12836 # path with ; separators, and with drive letters. We can handle the
12837 # drive letters (cygwin fileutils understands them), so leave them,
12838 # especially as we might pass files found there to a mingw objdump,
12839 # which wouldn't understand a cygwinified path. Ahh.
12840 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12842 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12846 # pw32 DLLs use 'pw' prefix rather than 'lib'
12847 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12853 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12856 dynamic_linker
='Win32 ld.exe'
12857 # FIXME: first we should search . and the directory the executable is in
12861 darwin
* | rhapsody
*)
12862 dynamic_linker
="$host_os dyld"
12863 version_type
=darwin
12866 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12867 soname_spec
='${libname}${release}${major}$shared_ext'
12868 shlibpath_overrides_runpath
=yes
12869 shlibpath_var
=DYLD_LIBRARY_PATH
12870 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12871 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12872 if test "$GCC" = yes; then
12873 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12875 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12877 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12885 soname_spec
='${libname}${release}${shared_ext}$major'
12886 shlibpath_var
=LD_LIBRARY_PATH
12897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12898 soname_spec
='${libname}${release}${shared_ext}$major'
12899 shlibpath_var
=LD_LIBRARY_PATH
12900 shlibpath_overrides_runpath
=no
12901 hardcode_into_libs
=yes
12902 dynamic_linker
='GNU ld.so'
12905 freebsd
* | dragonfly
*)
12906 # DragonFly does not have aout. When/if they implement a new
12907 # versioning mechanism, adjust this.
12908 if test -x /usr
/bin
/objformat
; then
12909 objformat
=`/usr/bin/objformat`
12912 freebsd
[123]*) objformat
=aout
;;
12913 *) objformat
=elf
;;
12916 version_type
=freebsd-
$objformat
12917 case $version_type in
12919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12924 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12928 shlibpath_var
=LD_LIBRARY_PATH
12931 shlibpath_overrides_runpath
=yes
12933 freebsd3.
[01]* | freebsdelf3.
[01]*)
12934 shlibpath_overrides_runpath
=yes
12935 hardcode_into_libs
=yes
12937 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12938 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12939 shlibpath_overrides_runpath
=no
12940 hardcode_into_libs
=yes
12942 freebsd
*) # from 4.6 on
12943 shlibpath_overrides_runpath
=yes
12944 hardcode_into_libs
=yes
12953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12954 soname_spec
='${libname}${release}${shared_ext}$major'
12955 shlibpath_var
=LD_LIBRARY_PATH
12956 hardcode_into_libs
=yes
12959 hpux9
* | hpux10
* | hpux11
*)
12960 # Give a soname corresponding to the major version so that dld.sl refuses to
12961 # link against other versions.
12968 hardcode_into_libs
=yes
12969 dynamic_linker
="$host_os dld.so"
12970 shlibpath_var
=LD_LIBRARY_PATH
12971 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12973 soname_spec
='${libname}${release}${shared_ext}$major'
12974 if test "X$HPUX_IA64_MODE" = X32
; then
12975 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12977 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12979 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12983 hardcode_into_libs
=yes
12984 dynamic_linker
="$host_os dld.sl"
12985 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12986 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12988 soname_spec
='${libname}${release}${shared_ext}$major'
12989 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12990 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12994 dynamic_linker
="$host_os dld.sl"
12995 shlibpath_var
=SHLIB_PATH
12996 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12998 soname_spec
='${libname}${release}${shared_ext}$major'
13001 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13002 postinstall_cmds
='chmod 555 $lib'
13009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13010 soname_spec
='${libname}${release}${shared_ext}$major'
13011 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13012 shlibpath_var
=LD_LIBRARY_PATH
13013 shlibpath_overrides_runpath
=no
13014 hardcode_into_libs
=yes
13017 irix5
* | irix6
* | nonstopux
*)
13019 nonstopux
*) version_type
=nonstopux
;;
13021 if test "$lt_cv_prog_gnu_ld" = yes; then
13029 soname_spec
='${libname}${release}${shared_ext}$major'
13030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13032 irix5
* | nonstopux
*)
13033 libsuff
= shlibsuff
=
13036 case $LD in # libtool.m4 will add one of these switches to LD
13037 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13038 libsuff
= shlibsuff
= libmagic
=32-bit;;
13039 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13040 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13041 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13042 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13043 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13047 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13048 shlibpath_overrides_runpath
=no
13049 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13050 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13051 hardcode_into_libs
=yes
13054 # No shared lib support for Linux oldld, aout, or coff.
13055 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13059 # This must be Linux ELF.
13064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13065 soname_spec
='${libname}${release}${shared_ext}$major'
13066 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13067 shlibpath_var
=LD_LIBRARY_PATH
13068 shlibpath_overrides_runpath
=no
13069 # This implies no fast_install, which is unacceptable.
13070 # Some rework will be needed to allow for fast_install
13071 # before this can be enabled.
13072 hardcode_into_libs
=yes
13074 # find out which ABI we are using
13076 case "$host_cpu" in
13077 x86_64
*|s390x
*|powerpc64
*)
13078 echo '#line 13078 "configure"' > conftest.
$ac_ext
13079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13080 (eval $ac_compile) 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; then
13084 case `/usr/bin/file conftest.$ac_objext` in
13087 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13095 # Append ld.so.conf contents to the search path
13096 if test -f /etc
/ld.so.conf
; then
13097 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13098 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13101 # We used to test for /lib/ld.so.1 and disable shared libraries on
13102 # powerpc, because MkLinux only supported shared libraries with the
13103 # GNU dynamic linker. Since this was broken with cross compilers,
13104 # most powerpc-linux boxes support dynamic linking these days and
13105 # people can always --disable-shared, the test was removed, and we
13106 # assume the GNU/Linux dynamic linker is in use.
13107 dynamic_linker
='GNU/Linux ld.so'
13114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13115 soname_spec
='${libname}${release}${shared_ext}$major'
13116 shlibpath_var
=LD_LIBRARY_PATH
13117 shlibpath_overrides_runpath
=no
13118 hardcode_into_libs
=yes
13119 dynamic_linker
='GNU ld.so'
13126 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13129 dynamic_linker
='NetBSD (a.out) ld.so'
13131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13132 soname_spec
='${libname}${release}${shared_ext}$major'
13133 dynamic_linker
='NetBSD ld.elf_so'
13135 shlibpath_var
=LD_LIBRARY_PATH
13136 shlibpath_overrides_runpath
=yes
13137 hardcode_into_libs
=yes
13142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13143 shlibpath_var
=LD_LIBRARY_PATH
13144 shlibpath_overrides_runpath
=yes
13151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13152 soname_spec
='${libname}${release}${shared_ext}$major'
13153 shlibpath_var
=LD_LIBRARY_PATH
13154 shlibpath_overrides_runpath
=yes
13159 sys_lib_dlsearch_path_spec
="/usr/lib"
13161 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13163 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13164 *) need_version
=no
;;
13166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13167 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13168 shlibpath_var
=LD_LIBRARY_PATH
13169 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13171 openbsd2.
[89] | openbsd2.
[89].
*)
13172 shlibpath_overrides_runpath
=no
13175 shlibpath_overrides_runpath
=yes
13179 shlibpath_overrides_runpath
=yes
13184 libname_spec
='$name'
13187 library_names_spec
='$libname${shared_ext} $libname.a'
13188 dynamic_linker
='OS/2 ld.exe'
13189 shlibpath_var
=LIBPATH
13192 osf3
* | osf4
* | osf5
*)
13196 soname_spec
='${libname}${release}${shared_ext}$major'
13197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13198 shlibpath_var
=LD_LIBRARY_PATH
13199 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13200 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13208 soname_spec
='${libname}${release}${shared_ext}$major'
13209 shlibpath_var
=LD_LIBRARY_PATH
13210 shlibpath_overrides_runpath
=yes
13211 hardcode_into_libs
=yes
13212 # ldd complains unless libraries are executable
13213 postinstall_cmds
='chmod +x $lib'
13218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13219 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13220 shlibpath_var
=LD_LIBRARY_PATH
13221 shlibpath_overrides_runpath
=yes
13222 if test "$with_gnu_ld" = yes; then
13230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13231 soname_spec
='${libname}${release}${shared_ext}$major'
13232 shlibpath_var
=LD_LIBRARY_PATH
13233 case $host_vendor in
13235 shlibpath_overrides_runpath
=no
13237 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13238 runpath_var
=LD_RUN_PATH
13246 shlibpath_overrides_runpath
=no
13247 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13253 if test -d /usr
/nec
;then
13255 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13256 soname_spec
='$libname${shared_ext}.$major'
13257 shlibpath_var
=LD_LIBRARY_PATH
13261 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13262 version_type
=freebsd-elf
13265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13266 soname_spec
='${libname}${release}${shared_ext}$major'
13267 shlibpath_var
=LD_LIBRARY_PATH
13268 hardcode_into_libs
=yes
13269 if test "$with_gnu_ld" = yes; then
13270 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13271 shlibpath_overrides_runpath
=no
13273 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13274 shlibpath_overrides_runpath
=yes
13277 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13281 sys_lib_dlsearch_path_spec
='/usr/lib'
13286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13287 soname_spec
='${libname}${release}${shared_ext}$major'
13288 shlibpath_var
=LD_LIBRARY_PATH
13295 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13296 echo "${ECHO_T}$dynamic_linker" >&6; }
13297 test "$dynamic_linker" = no
&& can_build_shared
=no
13299 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13300 if test "$GCC" = yes; then
13301 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13304 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13305 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13306 hardcode_action_CXX
=
13307 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13308 test -n "$runpath_var_CXX" || \
13309 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13311 # We can hardcode non-existant directories.
13312 if test "$hardcode_direct_CXX" != no
&&
13313 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13314 # have to relink, otherwise we might link with an installed library
13315 # when we should be linking with a yet-to-be-installed one
13316 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13317 test "$hardcode_minus_L_CXX" != no
; then
13318 # Linking always hardcodes the temporary library directory.
13319 hardcode_action_CXX
=relink
13321 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13322 hardcode_action_CXX
=immediate
13325 # We cannot hardcode anything, or else we can only hardcode existing
13327 hardcode_action_CXX
=unsupported
13329 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13330 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13332 if test "$hardcode_action_CXX" = relink
; then
13333 # Fast installation is not supported
13334 enable_fast_install
=no
13335 elif test "$shlibpath_overrides_runpath" = yes ||
13336 test "$enable_shared" = no
; then
13337 # Fast installation is not necessary
13338 enable_fast_install
=needless
13342 # The else clause should only fire when bootstrapping the
13343 # libtool distribution, otherwise you forgot to ship ltmain.sh
13344 # with your package, and you will get complaints that there are
13345 # no rules to generate ltmain.sh.
13346 if test -f "$ltmain"; then
13347 # See if we are running on zsh, and set the options which allow our commands through
13348 # without removal of \ escapes.
13349 if test -n "${ZSH_VERSION+set}" ; then
13350 setopt NO_GLOB_SUBST
13352 # Now quote all the things that may contain metacharacters while being
13353 # careful not to overquote the AC_SUBSTed values. We take copies of the
13354 # variables and quote the copies for generation of the libtool script.
13355 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13357 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13358 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13359 deplibs_check_method reload_flag reload_cmds need_locks \
13360 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13361 lt_cv_sys_global_symbol_to_c_name_address \
13362 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13363 old_postinstall_cmds old_postuninstall_cmds \
13367 lt_prog_compiler_wl_CXX \
13368 lt_prog_compiler_pic_CXX \
13369 lt_prog_compiler_static_CXX \
13370 lt_prog_compiler_no_builtin_flag_CXX \
13371 export_dynamic_flag_spec_CXX \
13372 thread_safe_flag_spec_CXX \
13373 whole_archive_flag_spec_CXX \
13374 enable_shared_with_static_runtimes_CXX \
13375 old_archive_cmds_CXX \
13376 old_archive_from_new_cmds_CXX \
13377 predep_objects_CXX \
13378 postdep_objects_CXX \
13381 compiler_lib_search_path_CXX \
13383 archive_expsym_cmds_CXX \
13384 postinstall_cmds_CXX \
13385 postuninstall_cmds_CXX \
13386 old_archive_from_expsyms_cmds_CXX \
13387 allow_undefined_flag_CXX \
13388 no_undefined_flag_CXX \
13389 export_symbols_cmds_CXX \
13390 hardcode_libdir_flag_spec_CXX \
13391 hardcode_libdir_flag_spec_ld_CXX \
13392 hardcode_libdir_separator_CXX \
13393 hardcode_automatic_CXX \
13395 module_expsym_cmds_CXX \
13396 lt_cv_prog_compiler_c_o_CXX \
13397 exclude_expsyms_CXX \
13398 include_expsyms_CXX
; do
13401 old_archive_cmds_CXX | \
13402 old_archive_from_new_cmds_CXX | \
13403 archive_cmds_CXX | \
13404 archive_expsym_cmds_CXX | \
13405 module_cmds_CXX | \
13406 module_expsym_cmds_CXX | \
13407 old_archive_from_expsyms_cmds_CXX | \
13408 export_symbols_cmds_CXX | \
13409 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13410 postinstall_cmds | postuninstall_cmds | \
13411 old_postinstall_cmds | old_postuninstall_cmds | \
13412 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13413 # Double-quote double-evaled strings.
13414 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13417 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13423 *'\$0 --fallback-echo"')
13424 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13430 cat <<__EOF__ >> "$cfgfile"
13431 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13433 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13435 # Shell to use when invoking shell scripts.
13438 # Whether or not to build shared libraries.
13439 build_libtool_libs=$enable_shared
13441 # Whether or not to build static libraries.
13442 build_old_libs=$enable_static
13444 # Whether or not to add -lc for building shared libraries.
13445 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13447 # Whether or not to disallow shared libs when runtime libs are static
13448 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13450 # Whether or not to optimize for fast installation.
13451 fast_install=$enable_fast_install
13454 host_alias=$host_alias
13458 # The build system.
13459 build_alias=$build_alias
13463 # An echo program that does not interpret backslashes.
13468 AR_FLAGS=$lt_AR_FLAGS
13473 # LTCC compiler flags.
13474 LTCFLAGS=$lt_LTCFLAGS
13476 # A language-specific compiler.
13477 CC=$lt_compiler_CXX
13479 # Is the compiler the GNU C compiler?
13485 # The linker used to build libraries.
13488 # Whether we need hard or soft links.
13491 # A BSD-compatible nm program.
13494 # A symbol stripping program
13497 # Used to examine libraries when file_magic_cmd begins "file"
13498 MAGIC_CMD=$MAGIC_CMD
13500 # Used on cygwin: DLL creation program.
13503 # Used on cygwin: object dumper.
13506 # Used on cygwin: assembler.
13509 # The name of the directory that contains temporary libtool files.
13512 # How to create reloadable object files.
13513 reload_flag=$lt_reload_flag
13514 reload_cmds=$lt_reload_cmds
13516 # How to pass a linker flag through the compiler.
13517 wl=$lt_lt_prog_compiler_wl_CXX
13519 # Object file suffix (normally "o").
13520 objext="$ac_objext"
13522 # Old archive suffix (normally "a").
13525 # Shared library suffix (normally ".so").
13526 shrext_cmds='$shrext_cmds'
13528 # Executable file suffix (normally "").
13531 # Additional compiler flags for building library objects.
13532 pic_flag=$lt_lt_prog_compiler_pic_CXX
13535 # What is the maximum length of a command?
13536 max_cmd_len=$lt_cv_sys_max_cmd_len
13538 # Does compiler simultaneously support -c and -o options?
13539 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13541 # Must we lock files when doing compilation?
13542 need_locks=$lt_need_locks
13544 # Do we need the lib prefix for modules?
13545 need_lib_prefix=$need_lib_prefix
13547 # Do we need a version for libraries?
13548 need_version=$need_version
13550 # Whether dlopen is supported.
13551 dlopen_support=$enable_dlopen
13553 # Whether dlopen of programs is supported.
13554 dlopen_self=$enable_dlopen_self
13556 # Whether dlopen of statically linked programs is supported.
13557 dlopen_self_static=$enable_dlopen_self_static
13559 # Compiler flag to prevent dynamic linking.
13560 link_static_flag=$lt_lt_prog_compiler_static_CXX
13562 # Compiler flag to turn off builtin functions.
13563 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13565 # Compiler flag to allow reflexive dlopens.
13566 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13568 # Compiler flag to generate shared objects directly from archives.
13569 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13571 # Compiler flag to generate thread-safe objects.
13572 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13574 # Library versioning type.
13575 version_type=$version_type
13577 # Format of library name prefix.
13578 libname_spec=$lt_libname_spec
13580 # List of archive names. First name is the real one, the rest are links.
13581 # The last name is the one that the linker finds with -lNAME.
13582 library_names_spec=$lt_library_names_spec
13584 # The coded name of the library, if different from the real name.
13585 soname_spec=$lt_soname_spec
13587 # Commands used to build and install an old-style archive.
13589 old_archive_cmds=$lt_old_archive_cmds_CXX
13590 old_postinstall_cmds=$lt_old_postinstall_cmds
13591 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13593 # Create an old-style archive from a shared archive.
13594 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13596 # Create a temporary old-style archive to link instead of a shared archive.
13597 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13599 # Commands used to build and install a shared archive.
13600 archive_cmds=$lt_archive_cmds_CXX
13601 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13602 postinstall_cmds=$lt_postinstall_cmds
13603 postuninstall_cmds=$lt_postuninstall_cmds
13605 # Commands used to build a loadable module (assumed same as above if empty)
13606 module_cmds=$lt_module_cmds_CXX
13607 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13609 # Commands to strip libraries.
13610 old_striplib=$lt_old_striplib
13611 striplib=$lt_striplib
13613 # Dependencies to place before the objects being linked to create a
13615 predep_objects=$lt_predep_objects_CXX
13617 # Dependencies to place after the objects being linked to create a
13619 postdep_objects=$lt_postdep_objects_CXX
13621 # Dependencies to place before the objects being linked to create a
13623 predeps=$lt_predeps_CXX
13625 # Dependencies to place after the objects being linked to create a
13627 postdeps=$lt_postdeps_CXX
13629 # The library search path used internally by the compiler when linking
13630 # a shared library.
13631 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13633 # Method to check whether dependent libraries are shared objects.
13634 deplibs_check_method=$lt_deplibs_check_method
13636 # Command to use when deplibs_check_method == file_magic.
13637 file_magic_cmd=$lt_file_magic_cmd
13639 # Flag that allows shared libraries with undefined symbols to be built.
13640 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13642 # Flag that forces no undefined symbols.
13643 no_undefined_flag=$lt_no_undefined_flag_CXX
13645 # Commands used to finish a libtool library installation in a directory.
13646 finish_cmds=$lt_finish_cmds
13648 # Same as above, but a single script fragment to be evaled but not shown.
13649 finish_eval=$lt_finish_eval
13651 # Take the output of nm and produce a listing of raw symbols and C names.
13652 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13654 # Transform the output of nm in a proper C declaration
13655 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13657 # Transform the output of nm in a C name address pair
13658 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13660 # This is the shared library runtime path variable.
13661 runpath_var=$runpath_var
13663 # This is the shared library path variable.
13664 shlibpath_var=$shlibpath_var
13666 # Is shlibpath searched before the hard-coded library search path?
13667 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13669 # How to hardcode a shared library path into an executable.
13670 hardcode_action=$hardcode_action_CXX
13672 # Whether we should hardcode library paths into libraries.
13673 hardcode_into_libs=$hardcode_into_libs
13675 # Flag to hardcode \$libdir into a binary during linking.
13676 # This must work even if \$libdir does not exist.
13677 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13679 # If ld is used when linking, flag to hardcode \$libdir into
13680 # a binary during linking. This must work even if \$libdir does
13682 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13684 # Whether we need a single -rpath flag with a separated argument.
13685 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13687 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13688 # resulting binary.
13689 hardcode_direct=$hardcode_direct_CXX
13691 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13692 # resulting binary.
13693 hardcode_minus_L=$hardcode_minus_L_CXX
13695 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13696 # the resulting binary.
13697 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13699 # Set to yes if building a shared library automatically hardcodes DIR into the library
13700 # and all subsequent libraries and executables linked against it.
13701 hardcode_automatic=$hardcode_automatic_CXX
13703 # Variables whose values should be saved in libtool wrapper scripts and
13704 # restored at relink time.
13705 variables_saved_for_relink="$variables_saved_for_relink"
13707 # Whether libtool must link a program against all its dependency libraries.
13708 link_all_deplibs=$link_all_deplibs_CXX
13710 # Compile-time system search path for libraries
13711 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13713 # Run-time system search path for libraries
13714 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13716 # Fix the shell variable \$srcfile for the compiler.
13717 fix_srcfile_path="$fix_srcfile_path_CXX"
13719 # Set to yes if exported symbols are required.
13720 always_export_symbols=$always_export_symbols_CXX
13722 # The commands to list exported symbols.
13723 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13725 # The commands to extract the exported symbol list from a shared archive.
13726 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13728 # Symbols that should not be listed in the preloaded symbols.
13729 exclude_expsyms=$lt_exclude_expsyms_CXX
13731 # Symbols that must always be exported.
13732 include_expsyms=$lt_include_expsyms_CXX
13734 # ### END LIBTOOL TAG CONFIG: $tagname
13740 # If there is no Makefile yet, we rely on a make rule to execute
13741 # `config.status --recheck' to rerun these tests and create the
13742 # libtool script then.
13743 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13744 if test -f "$ltmain_in"; then
13745 test -f Makefile
&& make "$ltmain"
13751 ac_cpp
='$CPP $CPPFLAGS'
13752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13760 with_gnu_ldcxx
=$with_gnu_ld
13761 with_gnu_ld
=$lt_save_with_gnu_ld
13762 lt_cv_path_LDCXX
=$lt_cv_path_LD
13763 lt_cv_path_LD
=$lt_save_path_LD
13764 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13765 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13773 if test -n "$F77" && test "X$F77" != "Xno"; then
13776 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13777 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13781 archive_cmds_need_lc_F77
=no
13782 allow_undefined_flag_F77
=
13783 always_export_symbols_F77
=no
13784 archive_expsym_cmds_F77
=
13785 export_dynamic_flag_spec_F77
=
13786 hardcode_direct_F77
=no
13787 hardcode_libdir_flag_spec_F77
=
13788 hardcode_libdir_flag_spec_ld_F77
=
13789 hardcode_libdir_separator_F77
=
13790 hardcode_minus_L_F77
=no
13791 hardcode_automatic_F77
=no
13793 module_expsym_cmds_F77
=
13794 link_all_deplibs_F77
=unknown
13795 old_archive_cmds_F77
=$old_archive_cmds
13796 no_undefined_flag_F77
=
13797 whole_archive_flag_spec_F77
=
13798 enable_shared_with_static_runtimes_F77
=no
13800 # Source file extension for f77 test sources.
13803 # Object file extension for compiled f77 test sources.
13807 # Code to be used in simple compile tests
13808 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13810 # Code to be used in simple link tests
13811 lt_simple_link_test_code
=" program t\n end\n"
13813 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13815 # If no C compiler was specified, use CC.
13818 # If no C compiler flags were specified, use CFLAGS.
13819 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13821 # Allow CC to be a program name with arguments.
13825 # save warnings/boilerplate of simple test code
13826 ac_outfile
=conftest.
$ac_objext
13827 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13828 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13829 _lt_compiler_boilerplate
=`cat conftest.err`
13832 ac_outfile
=conftest.
$ac_objext
13833 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13834 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13835 _lt_linker_boilerplate
=`cat conftest.err`
13839 # Allow CC to be a program name with arguments.
13844 for cc_temp
in $compiler""; do
13846 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13847 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13852 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13855 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13856 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13857 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13858 echo "${ECHO_T}$can_build_shared" >&6; }
13860 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13861 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13862 test "$can_build_shared" = "no" && enable_shared
=no
13864 # On AIX, shared libraries and static libraries use the same namespace, and
13865 # are all built from PIC.
13868 test "$enable_shared" = yes && enable_static
=no
13869 if test -n "$RANLIB"; then
13870 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13871 postinstall_cmds
='$RANLIB $lib'
13875 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13876 test "$enable_shared" = yes && enable_static
=no
13880 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13881 echo "${ECHO_T}$enable_shared" >&6; }
13883 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13884 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13885 # Make sure either enable_shared or enable_static is yes.
13886 test "$enable_shared" = yes || enable_static
=yes
13887 { echo "$as_me:$LINENO: result: $enable_static" >&5
13888 echo "${ECHO_T}$enable_static" >&6; }
13893 lt_prog_compiler_wl_F77
=
13894 lt_prog_compiler_pic_F77
=
13895 lt_prog_compiler_static_F77
=
13897 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13898 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13900 if test "$GCC" = yes; then
13901 lt_prog_compiler_wl_F77
='-Wl,'
13902 lt_prog_compiler_static_F77
='-static'
13906 # All AIX code is PIC.
13907 if test "$host_cpu" = ia64
; then
13908 # AIX 5 now supports IA64 processor
13909 lt_prog_compiler_static_F77
='-Bstatic'
13914 # FIXME: we need at least 68020 code to build shared libraries, but
13915 # adding the `-m68020' flag to GCC prevents building anything better,
13917 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13920 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13921 # PIC is the default for these OSes.
13924 mingw
* | pw32
* | os2
*)
13925 # This hack is so that the source file can tell whether it is being
13926 # built for inclusion in a dll (and should export symbols for example).
13927 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13930 darwin
* | rhapsody
*)
13931 # PIC is the default on this platform
13932 # Common symbols not allowed in MH_DYLIB files
13933 lt_prog_compiler_pic_F77
='-fno-common'
13937 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13938 # Instead, we relocate shared libraries at runtime.
13942 # Just because we use GCC doesn't mean we suddenly get shared libraries
13943 # on systems that don't support them.
13944 lt_prog_compiler_can_build_shared_F77
=no
13949 if test -d /usr
/nec
; then
13950 lt_prog_compiler_pic_F77
=-Kconform_pic
13955 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13956 # not for PA HP-UX.
13962 lt_prog_compiler_pic_F77
='-fPIC'
13968 lt_prog_compiler_pic_F77
='-fPIC'
13972 # PORTME Check for flag to pass linker flags through the system compiler.
13975 lt_prog_compiler_wl_F77
='-Wl,'
13976 if test "$host_cpu" = ia64
; then
13977 # AIX 5 now supports IA64 processor
13978 lt_prog_compiler_static_F77
='-Bstatic'
13980 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13984 # PIC is the default on this platform
13985 # Common symbols not allowed in MH_DYLIB files
13986 case $cc_basename in
13988 lt_prog_compiler_pic_F77
='-qnocommon'
13989 lt_prog_compiler_wl_F77
='-Wl,'
13994 mingw
* | pw32
* | os2
*)
13995 # This hack is so that the source file can tell whether it is being
13996 # built for inclusion in a dll (and should export symbols for example).
13997 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14000 hpux9
* | hpux10
* | hpux11
*)
14001 lt_prog_compiler_wl_F77
='-Wl,'
14002 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14003 # not for PA HP-UX.
14009 lt_prog_compiler_pic_F77
='+Z'
14012 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14013 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14016 irix5
* | irix6
* | nonstopux
*)
14017 lt_prog_compiler_wl_F77
='-Wl,'
14018 # PIC (with -KPIC) is the default.
14019 lt_prog_compiler_static_F77
='-non_shared'
14023 lt_prog_compiler_pic_F77
='-KPIC'
14024 lt_prog_compiler_static_F77
='-Bstatic'
14028 case $cc_basename in
14030 lt_prog_compiler_wl_F77
='-Wl,'
14031 lt_prog_compiler_pic_F77
='-KPIC'
14032 lt_prog_compiler_static_F77
='-static'
14034 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14035 # Portland Group compilers (*not* the Pentium gcc compiler,
14036 # which looks to be a dead project)
14037 lt_prog_compiler_wl_F77
='-Wl,'
14038 lt_prog_compiler_pic_F77
='-fpic'
14039 lt_prog_compiler_static_F77
='-Bstatic'
14042 lt_prog_compiler_wl_F77
='-Wl,'
14043 # All Alpha code is PIC.
14044 lt_prog_compiler_static_F77
='-non_shared'
14049 osf3
* | osf4
* | osf5
*)
14050 lt_prog_compiler_wl_F77
='-Wl,'
14051 # All OSF/1 code is PIC.
14052 lt_prog_compiler_static_F77
='-non_shared'
14056 lt_prog_compiler_pic_F77
='-KPIC'
14057 lt_prog_compiler_static_F77
='-Bstatic'
14058 case $cc_basename in
14059 f77
* | f90
* | f95
*)
14060 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14062 lt_prog_compiler_wl_F77
='-Wl,';;
14067 lt_prog_compiler_wl_F77
='-Qoption ld '
14068 lt_prog_compiler_pic_F77
='-PIC'
14069 lt_prog_compiler_static_F77
='-Bstatic'
14072 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14073 lt_prog_compiler_wl_F77
='-Wl,'
14074 lt_prog_compiler_pic_F77
='-KPIC'
14075 lt_prog_compiler_static_F77
='-Bstatic'
14079 if test -d /usr
/nec
;then
14080 lt_prog_compiler_pic_F77
='-Kconform_pic'
14081 lt_prog_compiler_static_F77
='-Bstatic'
14085 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14086 lt_prog_compiler_wl_F77
='-Wl,'
14087 lt_prog_compiler_pic_F77
='-KPIC'
14088 lt_prog_compiler_static_F77
='-Bstatic'
14092 lt_prog_compiler_wl_F77
='-Wl,'
14093 lt_prog_compiler_can_build_shared_F77
=no
14097 lt_prog_compiler_pic_F77
='-pic'
14098 lt_prog_compiler_static_F77
='-Bstatic'
14102 lt_prog_compiler_can_build_shared_F77
=no
14107 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14108 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14111 # Check to make sure the PIC flag actually works.
14113 if test -n "$lt_prog_compiler_pic_F77"; then
14115 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14116 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14117 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 lt_prog_compiler_pic_works_F77
=no
14121 ac_outfile
=conftest.
$ac_objext
14122 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14123 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14124 # Insert the option either (1) after the last *FLAGS variable, or
14125 # (2) before a word containing "conftest.", or (3) at the end.
14126 # Note that $ac_compile itself does not contain backslashes and begins
14127 # with a dollar sign (not a hyphen), so the echo should work correctly.
14128 # The option is referenced via a variable to avoid confusing sed.
14129 lt_compile
=`echo "$ac_compile" | $SED \
14130 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14131 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14132 -e 's:$: $lt_compiler_flag:'`
14133 (eval echo "\"\$as_me:14133: $lt_compile\"" >&5)
14134 (eval "$lt_compile" 2>conftest.err
)
14136 cat conftest.err
>&5
14137 echo "$as_me:14137: \$? = $ac_status" >&5
14138 if (exit $ac_status) && test -s "$ac_outfile"; then
14139 # The compiler can only warn and ignore the option if not recognized
14140 # So say no if there are warnings other than the usual output.
14141 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14142 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14143 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14144 lt_prog_compiler_pic_works_F77
=yes
14150 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14151 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14153 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14154 case $lt_prog_compiler_pic_F77 in
14156 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14159 lt_prog_compiler_pic_F77
=
14160 lt_prog_compiler_can_build_shared_F77
=no
14165 # For platforms which do not support PIC, -DPIC is meaningless:
14167 lt_prog_compiler_pic_F77
=
14170 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14175 # Check to make sure the static flag actually works.
14177 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14178 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14179 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14180 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 lt_prog_compiler_static_works_F77
=no
14184 save_LDFLAGS
="$LDFLAGS"
14185 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14186 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14187 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14188 # The linker can only warn and ignore the option if not recognized
14189 # So say no if there are warnings
14190 if test -s conftest.err
; then
14191 # Append any errors to the config.log.
14192 cat conftest.err
1>&5
14193 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14194 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14195 if diff conftest.exp conftest.er2
>/dev
/null
; then
14196 lt_prog_compiler_static_works_F77
=yes
14199 lt_prog_compiler_static_works_F77
=yes
14203 LDFLAGS
="$save_LDFLAGS"
14206 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14207 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14209 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14212 lt_prog_compiler_static_F77
=
14216 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14217 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14218 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 lt_cv_prog_compiler_c_o_F77
=no
14222 $rm -r conftest
2>/dev
/null
14226 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14228 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14229 # Insert the option either (1) after the last *FLAGS variable, or
14230 # (2) before a word containing "conftest.", or (3) at the end.
14231 # Note that $ac_compile itself does not contain backslashes and begins
14232 # with a dollar sign (not a hyphen), so the echo should work correctly.
14233 lt_compile
=`echo "$ac_compile" | $SED \
14234 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14235 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14236 -e 's:$: $lt_compiler_flag:'`
14237 (eval echo "\"\$as_me:14237: $lt_compile\"" >&5)
14238 (eval "$lt_compile" 2>out
/conftest.err
)
14240 cat out
/conftest.err
>&5
14241 echo "$as_me:14241: \$? = $ac_status" >&5
14242 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14244 # The compiler can only warn and ignore the option if not recognized
14245 # So say no if there are warnings
14246 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14247 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14248 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14249 lt_cv_prog_compiler_c_o_F77
=yes
14254 # SGI C++ compiler will create directory out/ii_files/ for
14255 # template instantiation
14256 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14257 $rm out
/* && rmdir out
14263 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14264 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14267 hard_links
="nottested"
14268 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14269 # do not overwrite the value of need_locks provided by the user
14270 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14271 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14274 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14276 ln conftest.a conftest.b
2>&5 || hard_links
=no
14277 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14278 { echo "$as_me:$LINENO: result: $hard_links" >&5
14279 echo "${ECHO_T}$hard_links" >&6; }
14280 if test "$hard_links" = no
; then
14281 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14282 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14289 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14290 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14293 allow_undefined_flag_F77
=
14294 enable_shared_with_static_runtimes_F77
=no
14296 archive_expsym_cmds_F77
=
14297 old_archive_From_new_cmds_F77
=
14298 old_archive_from_expsyms_cmds_F77
=
14299 export_dynamic_flag_spec_F77
=
14300 whole_archive_flag_spec_F77
=
14301 thread_safe_flag_spec_F77
=
14302 hardcode_libdir_flag_spec_F77
=
14303 hardcode_libdir_flag_spec_ld_F77
=
14304 hardcode_libdir_separator_F77
=
14305 hardcode_direct_F77
=no
14306 hardcode_minus_L_F77
=no
14307 hardcode_shlibpath_var_F77
=unsupported
14308 link_all_deplibs_F77
=unknown
14309 hardcode_automatic_F77
=no
14311 module_expsym_cmds_F77
=
14312 always_export_symbols_F77
=no
14313 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14314 # include_expsyms should be a list of space-separated symbols to be *always*
14315 # included in the symbol list
14316 include_expsyms_F77
=
14317 # exclude_expsyms can be an extended regexp of symbols to exclude
14318 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14319 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14320 # as well as any symbol that contains `d'.
14321 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14322 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14323 # platforms (ab)use it in PIC code, but their linkers get confused if
14324 # the symbol is explicitly referenced. Since portable code cannot
14325 # rely on this symbol name, it's probably fine to never include it in
14326 # preloaded symbol tables.
14327 extract_expsyms_cmds
=
14328 # Just being paranoid about ensuring that cc_basename is set.
14329 for cc_temp
in $compiler""; do
14331 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14332 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14337 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14340 cygwin
* | mingw
* | pw32
*)
14341 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14342 # When not using gcc, we currently assume that we are using
14343 # Microsoft Visual C++.
14344 if test "$GCC" != yes; then
14349 # we just hope/assume this is gcc and not c89 (= MSVC++)
14358 if test "$with_gnu_ld" = yes; then
14359 # If archive_cmds runs LD, not CC, wlarc should be empty
14362 # Set some defaults for GNU ld with shared library support. These
14363 # are reset later if shared libraries are not supported. Putting them
14364 # here allows them to be overridden if necessary.
14365 runpath_var
=LD_RUN_PATH
14366 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14367 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14368 # ancient GNU ld didn't support --whole-archive et. al.
14369 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14370 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14372 whole_archive_flag_spec_F77
=
14374 supports_anon_versioning
=no
14375 case `$LD -v 2>/dev/null` in
14376 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14377 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14378 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14379 *\
2.11.
*) ;; # other 2.11 versions
14380 *) supports_anon_versioning
=yes ;;
14383 # See if GNU ld supports shared libraries.
14385 aix3
* | aix4
* | aix5
*)
14386 # On AIX/PPC, the GNU linker is very broken
14387 if test "$host_cpu" != ia64
; then
14391 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14392 *** to be unable to reliably create shared libraries on AIX.
14393 *** Therefore, libtool is disabling shared libraries support. If you
14394 *** really care for shared libraries, you may want to modify your PATH
14395 *** so that a non-GNU linker is found, and then restart.
14402 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)'
14403 hardcode_libdir_flag_spec_F77
='-L$libdir'
14404 hardcode_minus_L_F77
=yes
14406 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14407 # that the semantics of dynamic libraries on AmigaOS, at least up
14408 # to version 4, is to share data among multiple programs linked
14409 # with the same dynamic library. Since this doesn't match the
14410 # behavior of shared libraries on other platforms, we can't use
14416 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14417 allow_undefined_flag_F77
=unsupported
14418 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14419 # support --undefined. This deserves some investigation. FIXME
14420 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14426 cygwin
* | mingw
* | pw32
*)
14427 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14428 # as there is no search path for DLLs.
14429 hardcode_libdir_flag_spec_F77
='-L$libdir'
14430 allow_undefined_flag_F77
=unsupported
14431 always_export_symbols_F77
=no
14432 enable_shared_with_static_runtimes_F77
=yes
14433 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14435 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14436 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14437 # If the export-symbols file already is a .def file (1st line
14438 # is EXPORTS), use it as is; otherwise, prepend...
14439 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14440 cp $export_symbols $output_objdir/$soname.def;
14442 echo EXPORTS > $output_objdir/$soname.def;
14443 cat $export_symbols >> $output_objdir/$soname.def;
14445 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14452 hardcode_direct_F77
=no
14453 hardcode_shlibpath_var_F77
=no
14454 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14455 export_dynamic_flag_spec_F77
='${wl}-E'
14456 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14457 # Instead, shared libraries are loaded at an image base (0x10000000 by
14458 # default) and relocated if they conflict, which is a slow very memory
14459 # consuming and fragmenting process. To avoid this, we pick a random,
14460 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14461 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14462 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'
14463 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'
14467 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14469 case $cc_basename,$host_cpu in
14470 pgcc
*) # Portland Group C compiler
14471 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'
14472 tmp_addflag
=' $pic_flag'
14474 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14475 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'
14476 tmp_addflag
=' $pic_flag -Mnomain' ;;
14477 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14478 tmp_addflag
=' -i_dynamic' ;;
14479 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14480 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14481 ifc
* | ifort
*) # Intel Fortran compiler
14482 tmp_addflag
=' -nofor_main' ;;
14484 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14486 if test $supports_anon_versioning = yes; then
14487 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14488 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14489 $echo "local: *; };" >> $output_objdir/$libname.ver~
14490 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14498 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14499 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14502 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14503 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14508 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14512 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14513 *** create shared libraries on Solaris systems. Therefore, libtool
14514 *** is disabling shared libraries support. We urge you to upgrade GNU
14515 *** binutils to release 2.9.1 or newer. Another option is to modify
14516 *** your PATH or compiler configuration so that the native linker is
14517 *** used, and then restart.
14520 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14521 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14522 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14528 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14529 case `$LD -v 2>&1` in
14530 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14534 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14535 *** reliably create shared libraries on SCO systems. Therefore, libtool
14536 *** is disabling shared libraries support. We urge you to upgrade GNU
14537 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14538 *** your PATH or compiler configuration so that the native linker is
14539 *** used, and then restart.
14544 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14545 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14546 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14547 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14556 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14558 hardcode_direct_F77
=yes
14559 hardcode_shlibpath_var_F77
=no
14563 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14564 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14572 if test "$ld_shlibs_F77" = no
; then
14574 hardcode_libdir_flag_spec_F77
=
14575 export_dynamic_flag_spec_F77
=
14576 whole_archive_flag_spec_F77
=
14579 # PORTME fill in a description of your system's linker (not GNU ld)
14582 allow_undefined_flag_F77
=unsupported
14583 always_export_symbols_F77
=yes
14584 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'
14585 # Note: this linker hardcodes the directories in LIBPATH if there
14586 # are no directories specified by -L.
14587 hardcode_minus_L_F77
=yes
14588 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14589 # Neither direct hardcoding nor static linking is supported with a
14591 hardcode_direct_F77
=unsupported
14596 if test "$host_cpu" = ia64
; then
14597 # On IA64, the linker does run time linking by default, so we don't
14598 # have to do anything special.
14599 aix_use_runtimelinking
=no
14600 exp_sym_flag
='-Bexport'
14603 # If we're using GNU nm, then we don't want the "-C" option.
14604 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14605 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14606 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'
14608 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'
14610 aix_use_runtimelinking
=no
14612 # Test if we are trying to use run time linking or normal
14613 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14614 # need to do runtime linking.
14615 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14616 for ld_flag
in $LDFLAGS; do
14617 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14618 aix_use_runtimelinking
=yes
14625 exp_sym_flag
='-bexport'
14626 no_entry_flag
='-bnoentry'
14629 # When large executables or shared objects are built, AIX ld can
14630 # have problems creating the table of contents. If linking a library
14631 # or program results in "error TOC overflow" add -mminimal-toc to
14632 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14633 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14635 archive_cmds_F77
=''
14636 hardcode_direct_F77
=yes
14637 hardcode_libdir_separator_F77
=':'
14638 link_all_deplibs_F77
=yes
14640 if test "$GCC" = yes; then
14641 case $host_os in aix4.
[012]|aix4.
[012].
*)
14642 # We only want to do this on AIX 4.2 and lower, the check
14643 # below for broken collect2 doesn't work under 4.3+
14644 collect2name
=`${CC} -print-prog-name=collect2`
14645 if test -f "$collect2name" && \
14646 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14648 # We have reworked collect2
14649 hardcode_direct_F77
=yes
14651 # We have old collect2
14652 hardcode_direct_F77
=unsupported
14653 # It fails to find uninstalled libraries when the uninstalled
14654 # path is not listed in the libpath. Setting hardcode_minus_L
14655 # to unsupported forces relinking
14656 hardcode_minus_L_F77
=yes
14657 hardcode_libdir_flag_spec_F77
='-L$libdir'
14658 hardcode_libdir_separator_F77
=
14662 shared_flag
='-shared'
14663 if test "$aix_use_runtimelinking" = yes; then
14664 shared_flag
="$shared_flag "'${wl}-G'
14668 if test "$host_cpu" = ia64
; then
14669 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14670 # chokes on -Wl,-G. The following line is correct:
14673 if test "$aix_use_runtimelinking" = yes; then
14674 shared_flag
='${wl}-G'
14676 shared_flag
='${wl}-bM:SRE'
14681 # It seems that -bexpall does not export symbols beginning with
14682 # underscore (_), so it is better to generate a list of symbols to export.
14683 always_export_symbols_F77
=yes
14684 if test "$aix_use_runtimelinking" = yes; then
14685 # Warning - without using the other runtime loading flags (-brtl),
14686 # -berok will link without error, but may produce a broken library.
14687 allow_undefined_flag_F77
='-berok'
14688 # Determine the default libpath from the value encoded in an empty executable.
14689 cat >conftest.
$ac_ext <<_ACEOF
14694 rm -f conftest.
$ac_objext conftest
$ac_exeext
14695 if { (ac_try
="$ac_link"
14696 case "(($ac_try" in
14697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_link") 2>conftest.er1
14703 grep -v '^ *+' conftest.er1 >conftest.err
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_f77_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest$ac_exeext &&
14711 $as_test_x conftest$ac_exeext; then
14713 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14715 # Check for a 64-bit object if we didn't find anything.
14716 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14719 echo "$as_me: failed program was:" >&5
14720 sed 's/^/| /' conftest.$ac_ext >&5
14725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14726 conftest$ac_exeext conftest.$ac_ext
14727 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14729 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14730 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"
14732 if test "$host_cpu" = ia64; then
14733 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14734 allow_undefined_flag_F77="-z nodefs"
14735 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"
14737 # Determine the default libpath from the value encoded in an empty executable.
14738 cat >conftest.$ac_ext <<_ACEOF
14743 rm -f conftest.$ac_objext conftest$ac_exeext
14744 if { (ac_try="$ac_link"
14745 case "(($ac_try" in
14746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14747 *) ac_try_echo
=$ac_try;;
14749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14750 (eval "$ac_link") 2>conftest.er1
14752 grep -v '^ *+' conftest.er1
>conftest.err
14754 cat conftest.err
>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } && {
14757 test -z "$ac_f77_werror_flag" ||
14758 test ! -s conftest.err
14759 } && test -s conftest
$ac_exeext &&
14760 $as_test_x conftest
$ac_exeext; then
14762 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14764 # Check for a 64-bit object if we didn't find anything.
14765 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.
$ac_ext >&5
14774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14775 conftest
$ac_exeext conftest.
$ac_ext
14776 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14778 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14779 # Warning - without using the other run time loading flags,
14780 # -berok will link without error, but may produce a broken library.
14781 no_undefined_flag_F77
=' ${wl}-bernotok'
14782 allow_undefined_flag_F77
=' ${wl}-berok'
14783 # Exported symbols can be pulled into shared objects from archives
14784 whole_archive_flag_spec_F77
='$convenience'
14785 archive_cmds_need_lc_F77
=yes
14786 # This is similar to how AIX traditionally builds its shared libraries.
14787 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'
14793 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)'
14794 hardcode_libdir_flag_spec_F77
='-L$libdir'
14795 hardcode_minus_L_F77
=yes
14796 # see comment about different semantics on the GNU ld section
14801 export_dynamic_flag_spec_F77
=-rdynamic
14804 cygwin
* | mingw
* | pw32
*)
14805 # When not using gcc, we currently assume that we are using
14806 # Microsoft Visual C++.
14807 # hardcode_libdir_flag_spec is actually meaningless, as there is
14808 # no search path for DLLs.
14809 hardcode_libdir_flag_spec_F77
=' '
14810 allow_undefined_flag_F77
=unsupported
14811 # Tell ltmain to make .lib files, not .a files.
14813 # Tell ltmain to make .dll files, not .so files.
14815 # FIXME: Setting linknames here is a bad hack.
14816 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14817 # The linker will automatically build a .lib file if we build a DLL.
14818 old_archive_From_new_cmds_F77
='true'
14819 # FIXME: Should let the user specify the lib program.
14820 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14821 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14822 enable_shared_with_static_runtimes_F77
=yes
14825 darwin
* | rhapsody
*)
14827 rhapsody
* | darwin1.
[012])
14828 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14831 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14832 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14834 case ${MACOSX_DEPLOYMENT_TARGET} in
14836 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14839 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14845 archive_cmds_need_lc_F77
=no
14846 hardcode_direct_F77
=no
14847 hardcode_automatic_F77
=yes
14848 hardcode_shlibpath_var_F77
=unsupported
14849 whole_archive_flag_spec_F77
=''
14850 link_all_deplibs_F77
=yes
14851 if test "$GCC" = yes ; then
14852 output_verbose_link_cmd
='echo'
14853 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14854 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14855 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14856 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}'
14857 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}'
14859 case $cc_basename in
14861 output_verbose_link_cmd
='echo'
14862 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14863 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14864 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14865 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14866 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}'
14876 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14877 hardcode_libdir_flag_spec_F77
='-L$libdir'
14878 hardcode_shlibpath_var_F77
=no
14885 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14886 # support. Future versions do this automatically, but an explicit c++rt0.o
14887 # does not break anything, and helps significantly (at the cost of a little
14890 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14891 hardcode_libdir_flag_spec_F77
='-R$libdir'
14892 hardcode_direct_F77
=yes
14893 hardcode_shlibpath_var_F77
=no
14896 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14898 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14899 hardcode_direct_F77
=yes
14900 hardcode_minus_L_F77
=yes
14901 hardcode_shlibpath_var_F77
=no
14904 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14905 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14906 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14907 hardcode_libdir_flag_spec_F77
='-R$libdir'
14908 hardcode_direct_F77
=yes
14909 hardcode_shlibpath_var_F77
=no
14913 if test "$GCC" = yes; then
14914 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'
14916 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'
14918 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14919 hardcode_libdir_separator_F77
=:
14920 hardcode_direct_F77
=yes
14922 # hardcode_minus_L: Not really in the search PATH,
14923 # but as the default location of the library.
14924 hardcode_minus_L_F77
=yes
14925 export_dynamic_flag_spec_F77
='${wl}-E'
14929 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14930 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14932 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14934 if test "$with_gnu_ld" = no
; then
14935 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14936 hardcode_libdir_separator_F77
=:
14938 hardcode_direct_F77
=yes
14939 export_dynamic_flag_spec_F77
='${wl}-E'
14941 # hardcode_minus_L: Not really in the search PATH,
14942 # but as the default location of the library.
14943 hardcode_minus_L_F77
=yes
14948 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14951 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14954 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14957 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14963 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14966 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14969 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14973 if test "$with_gnu_ld" = no
; then
14974 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14975 hardcode_libdir_separator_F77
=:
14979 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14980 hardcode_direct_F77
=no
14981 hardcode_shlibpath_var_F77
=no
14984 hardcode_direct_F77
=yes
14985 export_dynamic_flag_spec_F77
='${wl}-E'
14987 # hardcode_minus_L: Not really in the search PATH,
14988 # but as the default location of the library.
14989 hardcode_minus_L_F77
=yes
14995 irix5
* | irix6
* | nonstopux
*)
14996 if test "$GCC" = yes; then
14997 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'
14999 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'
15000 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15002 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15003 hardcode_libdir_separator_F77
=:
15004 link_all_deplibs_F77
=yes
15008 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15009 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15011 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15013 hardcode_libdir_flag_spec_F77
='-R$libdir'
15014 hardcode_direct_F77
=yes
15015 hardcode_shlibpath_var_F77
=no
15019 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15020 hardcode_direct_F77
=yes
15021 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15022 hardcode_libdir_separator_F77
=:
15023 hardcode_shlibpath_var_F77
=no
15027 hardcode_direct_F77
=yes
15028 hardcode_shlibpath_var_F77
=no
15029 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15030 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15031 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15032 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15033 export_dynamic_flag_spec_F77
='${wl}-E'
15036 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15037 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15038 hardcode_libdir_flag_spec_F77
='-R$libdir'
15041 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15042 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15049 hardcode_libdir_flag_spec_F77
='-L$libdir'
15050 hardcode_minus_L_F77
=yes
15051 allow_undefined_flag_F77
=unsupported
15052 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'
15053 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15057 if test "$GCC" = yes; then
15058 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15059 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'
15061 allow_undefined_flag_F77
=' -expect_unresolved \*'
15062 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'
15064 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15065 hardcode_libdir_separator_F77
=:
15068 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15069 if test "$GCC" = yes; then
15070 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15071 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'
15072 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15074 allow_undefined_flag_F77
=' -expect_unresolved \*'
15075 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'
15076 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~
15077 $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'
15079 # Both c and cxx compiler support -rpath directly
15080 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15082 hardcode_libdir_separator_F77
=:
15086 no_undefined_flag_F77
=' -z text'
15087 if test "$GCC" = yes; then
15089 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15090 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15091 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15094 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15095 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15096 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15098 hardcode_libdir_flag_spec_F77
='-R$libdir'
15099 hardcode_shlibpath_var_F77
=no
15101 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15103 # The compiler driver will combine linker options so we
15104 # cannot just pass the convience library names through
15105 # without $wl, iff we do not link with $LD.
15106 # Luckily, gcc supports the same syntax we need for Sun Studio.
15107 # Supported since Solaris 2.6 (maybe 2.5.1?)
15110 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15112 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15115 link_all_deplibs_F77
=yes
15119 if test "x$host_vendor" = xsequent
; then
15120 # Use $CC to link under sequent, because it throws in some extra .o
15121 # files that make .init and .fini sections work.
15122 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15124 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15126 hardcode_libdir_flag_spec_F77
='-L$libdir'
15127 hardcode_direct_F77
=yes
15128 hardcode_minus_L_F77
=yes
15129 hardcode_shlibpath_var_F77
=no
15133 case $host_vendor in
15135 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15136 hardcode_direct_F77
=yes # is this really true???
15139 ## LD is ld it makes a PLAMLIB
15140 ## CC just makes a GrossModule.
15141 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15142 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15143 hardcode_direct_F77
=no
15146 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15147 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15150 runpath_var
='LD_RUN_PATH'
15151 hardcode_shlibpath_var_F77
=no
15155 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15156 hardcode_shlibpath_var_F77
=no
15157 export_dynamic_flag_spec_F77
='-Bexport'
15161 if test -d /usr
/nec
; then
15162 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15163 hardcode_shlibpath_var_F77
=no
15164 runpath_var
=LD_RUN_PATH
15165 hardcode_runpath_var
=yes
15170 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15171 no_undefined_flag_F77
='${wl}-z,text'
15172 archive_cmds_need_lc_F77
=no
15173 hardcode_shlibpath_var_F77
=no
15174 runpath_var
='LD_RUN_PATH'
15176 if test "$GCC" = yes; then
15177 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15178 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15180 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15181 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15185 sysv5
* | sco3.2v5
* | sco5v6
*)
15186 # Note: We can NOT use -z defs as we might desire, because we do not
15187 # link with -lc, and that would cause any symbols used from libc to
15188 # always be unresolved, which means just about no library would
15189 # ever link correctly. If we're not using GNU ld we use -z text
15190 # though, which does catch some bad symbols but isn't as heavy-handed
15192 no_undefined_flag_F77
='${wl}-z,text'
15193 allow_undefined_flag_F77
='${wl}-z,nodefs'
15194 archive_cmds_need_lc_F77
=no
15195 hardcode_shlibpath_var_F77
=no
15196 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15197 hardcode_libdir_separator_F77
=':'
15198 link_all_deplibs_F77
=yes
15199 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15200 runpath_var
='LD_RUN_PATH'
15202 if test "$GCC" = yes; then
15203 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15204 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15206 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15207 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15212 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15213 hardcode_libdir_flag_spec_F77
='-L$libdir'
15214 hardcode_shlibpath_var_F77
=no
15223 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15224 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15225 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15228 # Do we need to explicitly link libc?
15230 case "x$archive_cmds_need_lc_F77" in
15232 # Assume -lc should be added
15233 archive_cmds_need_lc_F77
=yes
15235 if test "$enable_shared" = yes && test "$GCC" = yes; then
15236 case $archive_cmds_F77 in
15238 # FIXME: we may have to deal with multi-command sequences.
15241 # Test whether the compiler implicitly links with -lc since on some
15242 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15243 # to ld, don't add -lc before -lgcc.
15244 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15245 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15247 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15250 (eval $ac_compile) 2>&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } 2>conftest.err
; then
15256 libobjs
=conftest.
$ac_objext
15258 wl
=$lt_prog_compiler_wl_F77
15259 pic_flag
=$lt_prog_compiler_pic_F77
15265 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15266 allow_undefined_flag_F77
=
15267 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15268 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); }
15273 archive_cmds_need_lc_F77
=no
15275 archive_cmds_need_lc_F77
=yes
15277 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15279 cat conftest.err
1>&5
15282 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15283 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15290 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15291 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15292 library_names_spec
=
15293 libname_spec
='lib$name'
15297 postuninstall_cmds
=
15301 shlibpath_overrides_runpath
=unknown
15303 dynamic_linker
="$host_os ld.so"
15304 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15305 if test "$GCC" = yes; then
15306 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15307 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15308 # if the path contains ";" then we assume it to be the separator
15309 # otherwise default to the standard path separator (i.e. ":") - it is
15310 # assumed that no part of a normal pathname contains ";" but that should
15311 # okay in the real world where ";" in dirpaths is itself problematic.
15312 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15314 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15317 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15319 need_lib_prefix
=unknown
15320 hardcode_into_libs
=no
15322 # when you set need_version to no, make sure it does not cause -set_version
15323 # flags to be left without arguments
15324 need_version
=unknown
15329 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15330 shlibpath_var
=LIBPATH
15332 # AIX 3 has no versioning support, so we append a major version to the name.
15333 soname_spec
='${libname}${release}${shared_ext}$major'
15340 hardcode_into_libs
=yes
15341 if test "$host_cpu" = ia64
; then
15342 # AIX 5 supports IA64
15343 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15344 shlibpath_var
=LD_LIBRARY_PATH
15346 # With GCC up to 2.95.x, collect2 would create an import file
15347 # for dependence libraries. The import file would start with
15348 # the line `#! .'. This would cause the generated library to
15349 # depend on `.', always an invalid library. This was fixed in
15350 # development snapshots of GCC prior to 3.0.
15352 aix4 | aix4.
[01] | aix4.
[01].
*)
15353 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15355 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15358 can_build_shared
=no
15362 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15363 # soname into executable. Probably we can add versioning support to
15364 # collect2, so additional links can be useful in future.
15365 if test "$aix_use_runtimelinking" = yes; then
15366 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15367 # instead of lib<name>.a to let people know that these are not
15368 # typical AIX shared libraries.
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15371 # We preserve .a as extension for shared libraries through AIX4.2
15372 # and later when we are not doing run time linking.
15373 library_names_spec
='${libname}${release}.a $libname.a'
15374 soname_spec
='${libname}${release}${shared_ext}$major'
15376 shlibpath_var
=LIBPATH
15381 library_names_spec
='$libname.ixlibrary $libname.a'
15382 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15383 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'
15387 library_names_spec
='${libname}${shared_ext}'
15388 dynamic_linker
="$host_os ld.so"
15389 shlibpath_var
=LIBRARY_PATH
15395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15396 soname_spec
='${libname}${release}${shared_ext}$major'
15397 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15398 shlibpath_var
=LD_LIBRARY_PATH
15399 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15400 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15401 # the default ld.so.conf also contains /usr/contrib/lib and
15402 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15403 # libtool to hard-code these into programs
15406 cygwin
* | mingw
* | pw32
*)
15407 version_type
=windows
15412 case $GCC,$host_os in
15413 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15414 library_names_spec
='$libname.dll.a'
15415 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15416 postinstall_cmds
='base_file=`basename \${file}`~
15417 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15418 dldir=$destdir/`dirname \$dlpath`~
15419 test -d \$dldir || mkdir -p \$dldir~
15420 $install_prog $dir/$dlname \$dldir/$dlname~
15421 chmod a+x \$dldir/$dlname'
15422 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15423 dlpath=$dir/\$dldll~
15425 shlibpath_overrides_runpath
=yes
15429 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15430 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15431 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15434 # MinGW DLLs use traditional 'lib' prefix
15435 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15436 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15437 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15438 # It is most probably a Windows format PATH printed by
15439 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15440 # path with ; separators, and with drive letters. We can handle the
15441 # drive letters (cygwin fileutils understands them), so leave them,
15442 # especially as we might pass files found there to a mingw objdump,
15443 # which wouldn't understand a cygwinified path. Ahh.
15444 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15446 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15450 # pw32 DLLs use 'pw' prefix rather than 'lib'
15451 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15457 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15460 dynamic_linker
='Win32 ld.exe'
15461 # FIXME: first we should search . and the directory the executable is in
15465 darwin
* | rhapsody
*)
15466 dynamic_linker
="$host_os dyld"
15467 version_type
=darwin
15470 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15471 soname_spec
='${libname}${release}${major}$shared_ext'
15472 shlibpath_overrides_runpath
=yes
15473 shlibpath_var
=DYLD_LIBRARY_PATH
15474 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15475 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15476 if test "$GCC" = yes; then
15477 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15479 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15481 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15489 soname_spec
='${libname}${release}${shared_ext}$major'
15490 shlibpath_var
=LD_LIBRARY_PATH
15501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15502 soname_spec
='${libname}${release}${shared_ext}$major'
15503 shlibpath_var
=LD_LIBRARY_PATH
15504 shlibpath_overrides_runpath
=no
15505 hardcode_into_libs
=yes
15506 dynamic_linker
='GNU ld.so'
15509 freebsd
* | dragonfly
*)
15510 # DragonFly does not have aout. When/if they implement a new
15511 # versioning mechanism, adjust this.
15512 if test -x /usr
/bin
/objformat
; then
15513 objformat
=`/usr/bin/objformat`
15516 freebsd
[123]*) objformat
=aout
;;
15517 *) objformat
=elf
;;
15520 version_type
=freebsd-
$objformat
15521 case $version_type in
15523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15528 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15532 shlibpath_var
=LD_LIBRARY_PATH
15535 shlibpath_overrides_runpath
=yes
15537 freebsd3.
[01]* | freebsdelf3.
[01]*)
15538 shlibpath_overrides_runpath
=yes
15539 hardcode_into_libs
=yes
15541 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15542 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15543 shlibpath_overrides_runpath
=no
15544 hardcode_into_libs
=yes
15546 freebsd
*) # from 4.6 on
15547 shlibpath_overrides_runpath
=yes
15548 hardcode_into_libs
=yes
15557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15558 soname_spec
='${libname}${release}${shared_ext}$major'
15559 shlibpath_var
=LD_LIBRARY_PATH
15560 hardcode_into_libs
=yes
15563 hpux9
* | hpux10
* | hpux11
*)
15564 # Give a soname corresponding to the major version so that dld.sl refuses to
15565 # link against other versions.
15572 hardcode_into_libs
=yes
15573 dynamic_linker
="$host_os dld.so"
15574 shlibpath_var
=LD_LIBRARY_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 if test "X$HPUX_IA64_MODE" = X32
; then
15579 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15581 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15583 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15587 hardcode_into_libs
=yes
15588 dynamic_linker
="$host_os dld.sl"
15589 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15590 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15592 soname_spec
='${libname}${release}${shared_ext}$major'
15593 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15594 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15598 dynamic_linker
="$host_os dld.sl"
15599 shlibpath_var
=SHLIB_PATH
15600 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15602 soname_spec
='${libname}${release}${shared_ext}$major'
15605 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15606 postinstall_cmds
='chmod 555 $lib'
15613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15614 soname_spec
='${libname}${release}${shared_ext}$major'
15615 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15616 shlibpath_var
=LD_LIBRARY_PATH
15617 shlibpath_overrides_runpath
=no
15618 hardcode_into_libs
=yes
15621 irix5
* | irix6
* | nonstopux
*)
15623 nonstopux
*) version_type
=nonstopux
;;
15625 if test "$lt_cv_prog_gnu_ld" = yes; then
15633 soname_spec
='${libname}${release}${shared_ext}$major'
15634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15636 irix5
* | nonstopux
*)
15637 libsuff
= shlibsuff
=
15640 case $LD in # libtool.m4 will add one of these switches to LD
15641 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15642 libsuff
= shlibsuff
= libmagic
=32-bit;;
15643 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15644 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15645 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15646 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15647 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15651 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15652 shlibpath_overrides_runpath
=no
15653 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15654 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15655 hardcode_into_libs
=yes
15658 # No shared lib support for Linux oldld, aout, or coff.
15659 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15663 # This must be Linux ELF.
15668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15669 soname_spec
='${libname}${release}${shared_ext}$major'
15670 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15671 shlibpath_var
=LD_LIBRARY_PATH
15672 shlibpath_overrides_runpath
=no
15673 # This implies no fast_install, which is unacceptable.
15674 # Some rework will be needed to allow for fast_install
15675 # before this can be enabled.
15676 hardcode_into_libs
=yes
15678 # find out which ABI we are using
15680 case "$host_cpu" in
15681 x86_64
*|s390x
*|powerpc64
*)
15682 echo '#line 15682 "configure"' > conftest.
$ac_ext
15683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15684 (eval $ac_compile) 2>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; then
15688 case `/usr/bin/file conftest.$ac_objext` in
15691 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15699 # Append ld.so.conf contents to the search path
15700 if test -f /etc
/ld.so.conf
; then
15701 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15702 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15705 # We used to test for /lib/ld.so.1 and disable shared libraries on
15706 # powerpc, because MkLinux only supported shared libraries with the
15707 # GNU dynamic linker. Since this was broken with cross compilers,
15708 # most powerpc-linux boxes support dynamic linking these days and
15709 # people can always --disable-shared, the test was removed, and we
15710 # assume the GNU/Linux dynamic linker is in use.
15711 dynamic_linker
='GNU/Linux ld.so'
15718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15719 soname_spec
='${libname}${release}${shared_ext}$major'
15720 shlibpath_var
=LD_LIBRARY_PATH
15721 shlibpath_overrides_runpath
=no
15722 hardcode_into_libs
=yes
15723 dynamic_linker
='GNU ld.so'
15730 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15732 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15733 dynamic_linker
='NetBSD (a.out) ld.so'
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15736 soname_spec
='${libname}${release}${shared_ext}$major'
15737 dynamic_linker
='NetBSD ld.elf_so'
15739 shlibpath_var
=LD_LIBRARY_PATH
15740 shlibpath_overrides_runpath
=yes
15741 hardcode_into_libs
=yes
15746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15747 shlibpath_var
=LD_LIBRARY_PATH
15748 shlibpath_overrides_runpath
=yes
15755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15756 soname_spec
='${libname}${release}${shared_ext}$major'
15757 shlibpath_var
=LD_LIBRARY_PATH
15758 shlibpath_overrides_runpath
=yes
15763 sys_lib_dlsearch_path_spec
="/usr/lib"
15765 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15767 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15768 *) need_version
=no
;;
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15771 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15772 shlibpath_var
=LD_LIBRARY_PATH
15773 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15775 openbsd2.
[89] | openbsd2.
[89].
*)
15776 shlibpath_overrides_runpath
=no
15779 shlibpath_overrides_runpath
=yes
15783 shlibpath_overrides_runpath
=yes
15788 libname_spec
='$name'
15791 library_names_spec
='$libname${shared_ext} $libname.a'
15792 dynamic_linker
='OS/2 ld.exe'
15793 shlibpath_var
=LIBPATH
15796 osf3
* | osf4
* | osf5
*)
15800 soname_spec
='${libname}${release}${shared_ext}$major'
15801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15802 shlibpath_var
=LD_LIBRARY_PATH
15803 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15804 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15812 soname_spec
='${libname}${release}${shared_ext}$major'
15813 shlibpath_var
=LD_LIBRARY_PATH
15814 shlibpath_overrides_runpath
=yes
15815 hardcode_into_libs
=yes
15816 # ldd complains unless libraries are executable
15817 postinstall_cmds
='chmod +x $lib'
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15823 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15824 shlibpath_var
=LD_LIBRARY_PATH
15825 shlibpath_overrides_runpath
=yes
15826 if test "$with_gnu_ld" = yes; then
15834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15835 soname_spec
='${libname}${release}${shared_ext}$major'
15836 shlibpath_var
=LD_LIBRARY_PATH
15837 case $host_vendor in
15839 shlibpath_overrides_runpath
=no
15841 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15842 runpath_var
=LD_RUN_PATH
15850 shlibpath_overrides_runpath
=no
15851 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15857 if test -d /usr
/nec
;then
15859 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15860 soname_spec
='$libname${shared_ext}.$major'
15861 shlibpath_var
=LD_LIBRARY_PATH
15865 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15866 version_type
=freebsd-elf
15869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15870 soname_spec
='${libname}${release}${shared_ext}$major'
15871 shlibpath_var
=LD_LIBRARY_PATH
15872 hardcode_into_libs
=yes
15873 if test "$with_gnu_ld" = yes; then
15874 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15875 shlibpath_overrides_runpath
=no
15877 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15878 shlibpath_overrides_runpath
=yes
15881 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15885 sys_lib_dlsearch_path_spec
='/usr/lib'
15890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15891 soname_spec
='${libname}${release}${shared_ext}$major'
15892 shlibpath_var
=LD_LIBRARY_PATH
15899 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15900 echo "${ECHO_T}$dynamic_linker" >&6; }
15901 test "$dynamic_linker" = no
&& can_build_shared
=no
15903 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15904 if test "$GCC" = yes; then
15905 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15908 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15909 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15910 hardcode_action_F77
=
15911 if test -n "$hardcode_libdir_flag_spec_F77" || \
15912 test -n "$runpath_var_F77" || \
15913 test "X$hardcode_automatic_F77" = "Xyes" ; then
15915 # We can hardcode non-existant directories.
15916 if test "$hardcode_direct_F77" != no
&&
15917 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15918 # have to relink, otherwise we might link with an installed library
15919 # when we should be linking with a yet-to-be-installed one
15920 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15921 test "$hardcode_minus_L_F77" != no
; then
15922 # Linking always hardcodes the temporary library directory.
15923 hardcode_action_F77
=relink
15925 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15926 hardcode_action_F77
=immediate
15929 # We cannot hardcode anything, or else we can only hardcode existing
15931 hardcode_action_F77
=unsupported
15933 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15934 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15936 if test "$hardcode_action_F77" = relink
; then
15937 # Fast installation is not supported
15938 enable_fast_install
=no
15939 elif test "$shlibpath_overrides_runpath" = yes ||
15940 test "$enable_shared" = no
; then
15941 # Fast installation is not necessary
15942 enable_fast_install
=needless
15946 # The else clause should only fire when bootstrapping the
15947 # libtool distribution, otherwise you forgot to ship ltmain.sh
15948 # with your package, and you will get complaints that there are
15949 # no rules to generate ltmain.sh.
15950 if test -f "$ltmain"; then
15951 # See if we are running on zsh, and set the options which allow our commands through
15952 # without removal of \ escapes.
15953 if test -n "${ZSH_VERSION+set}" ; then
15954 setopt NO_GLOB_SUBST
15956 # Now quote all the things that may contain metacharacters while being
15957 # careful not to overquote the AC_SUBSTed values. We take copies of the
15958 # variables and quote the copies for generation of the libtool script.
15959 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15961 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15962 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15963 deplibs_check_method reload_flag reload_cmds need_locks \
15964 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15965 lt_cv_sys_global_symbol_to_c_name_address \
15966 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15967 old_postinstall_cmds old_postuninstall_cmds \
15971 lt_prog_compiler_wl_F77 \
15972 lt_prog_compiler_pic_F77 \
15973 lt_prog_compiler_static_F77 \
15974 lt_prog_compiler_no_builtin_flag_F77 \
15975 export_dynamic_flag_spec_F77 \
15976 thread_safe_flag_spec_F77 \
15977 whole_archive_flag_spec_F77 \
15978 enable_shared_with_static_runtimes_F77 \
15979 old_archive_cmds_F77 \
15980 old_archive_from_new_cmds_F77 \
15981 predep_objects_F77 \
15982 postdep_objects_F77 \
15985 compiler_lib_search_path_F77 \
15987 archive_expsym_cmds_F77 \
15988 postinstall_cmds_F77 \
15989 postuninstall_cmds_F77 \
15990 old_archive_from_expsyms_cmds_F77 \
15991 allow_undefined_flag_F77 \
15992 no_undefined_flag_F77 \
15993 export_symbols_cmds_F77 \
15994 hardcode_libdir_flag_spec_F77 \
15995 hardcode_libdir_flag_spec_ld_F77 \
15996 hardcode_libdir_separator_F77 \
15997 hardcode_automatic_F77 \
15999 module_expsym_cmds_F77 \
16000 lt_cv_prog_compiler_c_o_F77 \
16001 exclude_expsyms_F77 \
16002 include_expsyms_F77
; do
16005 old_archive_cmds_F77 | \
16006 old_archive_from_new_cmds_F77 | \
16007 archive_cmds_F77 | \
16008 archive_expsym_cmds_F77 | \
16009 module_cmds_F77 | \
16010 module_expsym_cmds_F77 | \
16011 old_archive_from_expsyms_cmds_F77 | \
16012 export_symbols_cmds_F77 | \
16013 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16014 postinstall_cmds | postuninstall_cmds | \
16015 old_postinstall_cmds | old_postuninstall_cmds | \
16016 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16017 # Double-quote double-evaled strings.
16018 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16021 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16027 *'\$0 --fallback-echo"')
16028 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16034 cat <<__EOF__ >> "$cfgfile"
16035 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16037 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16039 # Shell to use when invoking shell scripts.
16042 # Whether or not to build shared libraries.
16043 build_libtool_libs=$enable_shared
16045 # Whether or not to build static libraries.
16046 build_old_libs=$enable_static
16048 # Whether or not to add -lc for building shared libraries.
16049 build_libtool_need_lc=$archive_cmds_need_lc_F77
16051 # Whether or not to disallow shared libs when runtime libs are static
16052 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16054 # Whether or not to optimize for fast installation.
16055 fast_install=$enable_fast_install
16058 host_alias=$host_alias
16062 # The build system.
16063 build_alias=$build_alias
16067 # An echo program that does not interpret backslashes.
16072 AR_FLAGS=$lt_AR_FLAGS
16077 # LTCC compiler flags.
16078 LTCFLAGS=$lt_LTCFLAGS
16080 # A language-specific compiler.
16081 CC=$lt_compiler_F77
16083 # Is the compiler the GNU C compiler?
16089 # The linker used to build libraries.
16092 # Whether we need hard or soft links.
16095 # A BSD-compatible nm program.
16098 # A symbol stripping program
16101 # Used to examine libraries when file_magic_cmd begins "file"
16102 MAGIC_CMD=$MAGIC_CMD
16104 # Used on cygwin: DLL creation program.
16107 # Used on cygwin: object dumper.
16110 # Used on cygwin: assembler.
16113 # The name of the directory that contains temporary libtool files.
16116 # How to create reloadable object files.
16117 reload_flag=$lt_reload_flag
16118 reload_cmds=$lt_reload_cmds
16120 # How to pass a linker flag through the compiler.
16121 wl=$lt_lt_prog_compiler_wl_F77
16123 # Object file suffix (normally "o").
16124 objext="$ac_objext"
16126 # Old archive suffix (normally "a").
16129 # Shared library suffix (normally ".so").
16130 shrext_cmds='$shrext_cmds'
16132 # Executable file suffix (normally "").
16135 # Additional compiler flags for building library objects.
16136 pic_flag=$lt_lt_prog_compiler_pic_F77
16139 # What is the maximum length of a command?
16140 max_cmd_len=$lt_cv_sys_max_cmd_len
16142 # Does compiler simultaneously support -c and -o options?
16143 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16145 # Must we lock files when doing compilation?
16146 need_locks=$lt_need_locks
16148 # Do we need the lib prefix for modules?
16149 need_lib_prefix=$need_lib_prefix
16151 # Do we need a version for libraries?
16152 need_version=$need_version
16154 # Whether dlopen is supported.
16155 dlopen_support=$enable_dlopen
16157 # Whether dlopen of programs is supported.
16158 dlopen_self=$enable_dlopen_self
16160 # Whether dlopen of statically linked programs is supported.
16161 dlopen_self_static=$enable_dlopen_self_static
16163 # Compiler flag to prevent dynamic linking.
16164 link_static_flag=$lt_lt_prog_compiler_static_F77
16166 # Compiler flag to turn off builtin functions.
16167 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16169 # Compiler flag to allow reflexive dlopens.
16170 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16172 # Compiler flag to generate shared objects directly from archives.
16173 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16175 # Compiler flag to generate thread-safe objects.
16176 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16178 # Library versioning type.
16179 version_type=$version_type
16181 # Format of library name prefix.
16182 libname_spec=$lt_libname_spec
16184 # List of archive names. First name is the real one, the rest are links.
16185 # The last name is the one that the linker finds with -lNAME.
16186 library_names_spec=$lt_library_names_spec
16188 # The coded name of the library, if different from the real name.
16189 soname_spec=$lt_soname_spec
16191 # Commands used to build and install an old-style archive.
16193 old_archive_cmds=$lt_old_archive_cmds_F77
16194 old_postinstall_cmds=$lt_old_postinstall_cmds
16195 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16197 # Create an old-style archive from a shared archive.
16198 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16200 # Create a temporary old-style archive to link instead of a shared archive.
16201 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16203 # Commands used to build and install a shared archive.
16204 archive_cmds=$lt_archive_cmds_F77
16205 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16206 postinstall_cmds=$lt_postinstall_cmds
16207 postuninstall_cmds=$lt_postuninstall_cmds
16209 # Commands used to build a loadable module (assumed same as above if empty)
16210 module_cmds=$lt_module_cmds_F77
16211 module_expsym_cmds=$lt_module_expsym_cmds_F77
16213 # Commands to strip libraries.
16214 old_striplib=$lt_old_striplib
16215 striplib=$lt_striplib
16217 # Dependencies to place before the objects being linked to create a
16219 predep_objects=$lt_predep_objects_F77
16221 # Dependencies to place after the objects being linked to create a
16223 postdep_objects=$lt_postdep_objects_F77
16225 # Dependencies to place before the objects being linked to create a
16227 predeps=$lt_predeps_F77
16229 # Dependencies to place after the objects being linked to create a
16231 postdeps=$lt_postdeps_F77
16233 # The library search path used internally by the compiler when linking
16234 # a shared library.
16235 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16237 # Method to check whether dependent libraries are shared objects.
16238 deplibs_check_method=$lt_deplibs_check_method
16240 # Command to use when deplibs_check_method == file_magic.
16241 file_magic_cmd=$lt_file_magic_cmd
16243 # Flag that allows shared libraries with undefined symbols to be built.
16244 allow_undefined_flag=$lt_allow_undefined_flag_F77
16246 # Flag that forces no undefined symbols.
16247 no_undefined_flag=$lt_no_undefined_flag_F77
16249 # Commands used to finish a libtool library installation in a directory.
16250 finish_cmds=$lt_finish_cmds
16252 # Same as above, but a single script fragment to be evaled but not shown.
16253 finish_eval=$lt_finish_eval
16255 # Take the output of nm and produce a listing of raw symbols and C names.
16256 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16258 # Transform the output of nm in a proper C declaration
16259 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16261 # Transform the output of nm in a C name address pair
16262 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16264 # This is the shared library runtime path variable.
16265 runpath_var=$runpath_var
16267 # This is the shared library path variable.
16268 shlibpath_var=$shlibpath_var
16270 # Is shlibpath searched before the hard-coded library search path?
16271 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16273 # How to hardcode a shared library path into an executable.
16274 hardcode_action=$hardcode_action_F77
16276 # Whether we should hardcode library paths into libraries.
16277 hardcode_into_libs=$hardcode_into_libs
16279 # Flag to hardcode \$libdir into a binary during linking.
16280 # This must work even if \$libdir does not exist.
16281 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16283 # If ld is used when linking, flag to hardcode \$libdir into
16284 # a binary during linking. This must work even if \$libdir does
16286 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16288 # Whether we need a single -rpath flag with a separated argument.
16289 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16291 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16292 # resulting binary.
16293 hardcode_direct=$hardcode_direct_F77
16295 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16296 # resulting binary.
16297 hardcode_minus_L=$hardcode_minus_L_F77
16299 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16300 # the resulting binary.
16301 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16303 # Set to yes if building a shared library automatically hardcodes DIR into the library
16304 # and all subsequent libraries and executables linked against it.
16305 hardcode_automatic=$hardcode_automatic_F77
16307 # Variables whose values should be saved in libtool wrapper scripts and
16308 # restored at relink time.
16309 variables_saved_for_relink="$variables_saved_for_relink"
16311 # Whether libtool must link a program against all its dependency libraries.
16312 link_all_deplibs=$link_all_deplibs_F77
16314 # Compile-time system search path for libraries
16315 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16317 # Run-time system search path for libraries
16318 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16320 # Fix the shell variable \$srcfile for the compiler.
16321 fix_srcfile_path="$fix_srcfile_path_F77"
16323 # Set to yes if exported symbols are required.
16324 always_export_symbols=$always_export_symbols_F77
16326 # The commands to list exported symbols.
16327 export_symbols_cmds=$lt_export_symbols_cmds_F77
16329 # The commands to extract the exported symbol list from a shared archive.
16330 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16332 # Symbols that should not be listed in the preloaded symbols.
16333 exclude_expsyms=$lt_exclude_expsyms_F77
16335 # Symbols that must always be exported.
16336 include_expsyms=$lt_include_expsyms_F77
16338 # ### END LIBTOOL TAG CONFIG: $tagname
16344 # If there is no Makefile yet, we rely on a make rule to execute
16345 # `config.status --recheck' to rerun these tests and create the
16346 # libtool script then.
16347 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16348 if test -f "$ltmain_in"; then
16349 test -f Makefile
&& make "$ltmain"
16355 ac_cpp
='$CPP $CPPFLAGS'
16356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16368 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16371 # Source file extension for Java test sources.
16374 # Object file extension for compiled Java test sources.
16378 # Code to be used in simple compile tests
16379 lt_simple_compile_test_code
="class foo {}\n"
16381 # Code to be used in simple link tests
16382 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16384 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16386 # If no C compiler was specified, use CC.
16389 # If no C compiler flags were specified, use CFLAGS.
16390 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16392 # Allow CC to be a program name with arguments.
16396 # save warnings/boilerplate of simple test code
16397 ac_outfile
=conftest.
$ac_objext
16398 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16399 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16400 _lt_compiler_boilerplate
=`cat conftest.err`
16403 ac_outfile
=conftest.
$ac_objext
16404 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16405 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16406 _lt_linker_boilerplate
=`cat conftest.err`
16410 # Allow CC to be a program name with arguments.
16415 for cc_temp
in $compiler""; do
16417 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16418 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16423 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16426 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16427 archive_cmds_need_lc_GCJ
=no
16429 old_archive_cmds_GCJ
=$old_archive_cmds
16432 lt_prog_compiler_no_builtin_flag_GCJ
=
16434 if test "$GCC" = yes; then
16435 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16438 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16439 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16440 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 lt_cv_prog_compiler_rtti_exceptions
=no
16444 ac_outfile
=conftest.
$ac_objext
16445 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16446 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16447 # Insert the option either (1) after the last *FLAGS variable, or
16448 # (2) before a word containing "conftest.", or (3) at the end.
16449 # Note that $ac_compile itself does not contain backslashes and begins
16450 # with a dollar sign (not a hyphen), so the echo should work correctly.
16451 # The option is referenced via a variable to avoid confusing sed.
16452 lt_compile
=`echo "$ac_compile" | $SED \
16453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16455 -e 's:$: $lt_compiler_flag:'`
16456 (eval echo "\"\$as_me:16456: $lt_compile\"" >&5)
16457 (eval "$lt_compile" 2>conftest.err
)
16459 cat conftest.err
>&5
16460 echo "$as_me:16460: \$? = $ac_status" >&5
16461 if (exit $ac_status) && test -s "$ac_outfile"; then
16462 # The compiler can only warn and ignore the option if not recognized
16463 # So say no if there are warnings other than the usual output.
16464 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16466 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16467 lt_cv_prog_compiler_rtti_exceptions
=yes
16473 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16474 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16476 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16477 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16484 lt_prog_compiler_wl_GCJ
=
16485 lt_prog_compiler_pic_GCJ
=
16486 lt_prog_compiler_static_GCJ
=
16488 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16489 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16491 if test "$GCC" = yes; then
16492 lt_prog_compiler_wl_GCJ
='-Wl,'
16493 lt_prog_compiler_static_GCJ
='-static'
16497 # All AIX code is PIC.
16498 if test "$host_cpu" = ia64
; then
16499 # AIX 5 now supports IA64 processor
16500 lt_prog_compiler_static_GCJ
='-Bstatic'
16505 # FIXME: we need at least 68020 code to build shared libraries, but
16506 # adding the `-m68020' flag to GCC prevents building anything better,
16508 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16511 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16512 # PIC is the default for these OSes.
16515 mingw
* | pw32
* | os2
*)
16516 # This hack is so that the source file can tell whether it is being
16517 # built for inclusion in a dll (and should export symbols for example).
16518 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16521 darwin
* | rhapsody
*)
16522 # PIC is the default on this platform
16523 # Common symbols not allowed in MH_DYLIB files
16524 lt_prog_compiler_pic_GCJ
='-fno-common'
16528 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16529 # Instead, we relocate shared libraries at runtime.
16533 # Just because we use GCC doesn't mean we suddenly get shared libraries
16534 # on systems that don't support them.
16535 lt_prog_compiler_can_build_shared_GCJ
=no
16540 if test -d /usr
/nec
; then
16541 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16546 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16547 # not for PA HP-UX.
16553 lt_prog_compiler_pic_GCJ
='-fPIC'
16559 lt_prog_compiler_pic_GCJ
='-fPIC'
16563 # PORTME Check for flag to pass linker flags through the system compiler.
16566 lt_prog_compiler_wl_GCJ
='-Wl,'
16567 if test "$host_cpu" = ia64
; then
16568 # AIX 5 now supports IA64 processor
16569 lt_prog_compiler_static_GCJ
='-Bstatic'
16571 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16575 # PIC is the default on this platform
16576 # Common symbols not allowed in MH_DYLIB files
16577 case $cc_basename in
16579 lt_prog_compiler_pic_GCJ
='-qnocommon'
16580 lt_prog_compiler_wl_GCJ
='-Wl,'
16585 mingw
* | pw32
* | os2
*)
16586 # This hack is so that the source file can tell whether it is being
16587 # built for inclusion in a dll (and should export symbols for example).
16588 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16591 hpux9
* | hpux10
* | hpux11
*)
16592 lt_prog_compiler_wl_GCJ
='-Wl,'
16593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16594 # not for PA HP-UX.
16600 lt_prog_compiler_pic_GCJ
='+Z'
16603 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16604 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16607 irix5
* | irix6
* | nonstopux
*)
16608 lt_prog_compiler_wl_GCJ
='-Wl,'
16609 # PIC (with -KPIC) is the default.
16610 lt_prog_compiler_static_GCJ
='-non_shared'
16614 lt_prog_compiler_pic_GCJ
='-KPIC'
16615 lt_prog_compiler_static_GCJ
='-Bstatic'
16619 case $cc_basename in
16621 lt_prog_compiler_wl_GCJ
='-Wl,'
16622 lt_prog_compiler_pic_GCJ
='-KPIC'
16623 lt_prog_compiler_static_GCJ
='-static'
16625 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16626 # Portland Group compilers (*not* the Pentium gcc compiler,
16627 # which looks to be a dead project)
16628 lt_prog_compiler_wl_GCJ
='-Wl,'
16629 lt_prog_compiler_pic_GCJ
='-fpic'
16630 lt_prog_compiler_static_GCJ
='-Bstatic'
16633 lt_prog_compiler_wl_GCJ
='-Wl,'
16634 # All Alpha code is PIC.
16635 lt_prog_compiler_static_GCJ
='-non_shared'
16640 osf3
* | osf4
* | osf5
*)
16641 lt_prog_compiler_wl_GCJ
='-Wl,'
16642 # All OSF/1 code is PIC.
16643 lt_prog_compiler_static_GCJ
='-non_shared'
16647 lt_prog_compiler_pic_GCJ
='-KPIC'
16648 lt_prog_compiler_static_GCJ
='-Bstatic'
16649 case $cc_basename in
16650 f77
* | f90
* | f95
*)
16651 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16653 lt_prog_compiler_wl_GCJ
='-Wl,';;
16658 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16659 lt_prog_compiler_pic_GCJ
='-PIC'
16660 lt_prog_compiler_static_GCJ
='-Bstatic'
16663 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16664 lt_prog_compiler_wl_GCJ
='-Wl,'
16665 lt_prog_compiler_pic_GCJ
='-KPIC'
16666 lt_prog_compiler_static_GCJ
='-Bstatic'
16670 if test -d /usr
/nec
;then
16671 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16672 lt_prog_compiler_static_GCJ
='-Bstatic'
16676 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16677 lt_prog_compiler_wl_GCJ
='-Wl,'
16678 lt_prog_compiler_pic_GCJ
='-KPIC'
16679 lt_prog_compiler_static_GCJ
='-Bstatic'
16683 lt_prog_compiler_wl_GCJ
='-Wl,'
16684 lt_prog_compiler_can_build_shared_GCJ
=no
16688 lt_prog_compiler_pic_GCJ
='-pic'
16689 lt_prog_compiler_static_GCJ
='-Bstatic'
16693 lt_prog_compiler_can_build_shared_GCJ
=no
16698 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16699 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16702 # Check to make sure the PIC flag actually works.
16704 if test -n "$lt_prog_compiler_pic_GCJ"; then
16706 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16707 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16708 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16711 lt_prog_compiler_pic_works_GCJ
=no
16712 ac_outfile
=conftest.
$ac_objext
16713 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16714 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16715 # Insert the option either (1) after the last *FLAGS variable, or
16716 # (2) before a word containing "conftest.", or (3) at the end.
16717 # Note that $ac_compile itself does not contain backslashes and begins
16718 # with a dollar sign (not a hyphen), so the echo should work correctly.
16719 # The option is referenced via a variable to avoid confusing sed.
16720 lt_compile
=`echo "$ac_compile" | $SED \
16721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16723 -e 's:$: $lt_compiler_flag:'`
16724 (eval echo "\"\$as_me:16724: $lt_compile\"" >&5)
16725 (eval "$lt_compile" 2>conftest.err
)
16727 cat conftest.err
>&5
16728 echo "$as_me:16728: \$? = $ac_status" >&5
16729 if (exit $ac_status) && test -s "$ac_outfile"; then
16730 # The compiler can only warn and ignore the option if not recognized
16731 # So say no if there are warnings other than the usual output.
16732 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16733 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16734 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16735 lt_prog_compiler_pic_works_GCJ
=yes
16741 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16742 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16744 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16745 case $lt_prog_compiler_pic_GCJ in
16747 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16750 lt_prog_compiler_pic_GCJ
=
16751 lt_prog_compiler_can_build_shared_GCJ
=no
16756 # For platforms which do not support PIC, -DPIC is meaningless:
16758 lt_prog_compiler_pic_GCJ
=
16761 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16766 # Check to make sure the static flag actually works.
16768 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16769 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16770 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16771 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16774 lt_prog_compiler_static_works_GCJ
=no
16775 save_LDFLAGS
="$LDFLAGS"
16776 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16777 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16778 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16779 # The linker can only warn and ignore the option if not recognized
16780 # So say no if there are warnings
16781 if test -s conftest.err
; then
16782 # Append any errors to the config.log.
16783 cat conftest.err
1>&5
16784 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16785 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16786 if diff conftest.exp conftest.er2
>/dev
/null
; then
16787 lt_prog_compiler_static_works_GCJ
=yes
16790 lt_prog_compiler_static_works_GCJ
=yes
16794 LDFLAGS
="$save_LDFLAGS"
16797 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16798 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16800 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16803 lt_prog_compiler_static_GCJ
=
16807 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16808 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16809 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 lt_cv_prog_compiler_c_o_GCJ
=no
16813 $rm -r conftest
2>/dev
/null
16817 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16819 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16820 # Insert the option either (1) after the last *FLAGS variable, or
16821 # (2) before a word containing "conftest.", or (3) at the end.
16822 # Note that $ac_compile itself does not contain backslashes and begins
16823 # with a dollar sign (not a hyphen), so the echo should work correctly.
16824 lt_compile
=`echo "$ac_compile" | $SED \
16825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16827 -e 's:$: $lt_compiler_flag:'`
16828 (eval echo "\"\$as_me:16828: $lt_compile\"" >&5)
16829 (eval "$lt_compile" 2>out
/conftest.err
)
16831 cat out
/conftest.err
>&5
16832 echo "$as_me:16832: \$? = $ac_status" >&5
16833 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16835 # The compiler can only warn and ignore the option if not recognized
16836 # So say no if there are warnings
16837 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16838 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16839 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16840 lt_cv_prog_compiler_c_o_GCJ
=yes
16845 # SGI C++ compiler will create directory out/ii_files/ for
16846 # template instantiation
16847 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16848 $rm out
/* && rmdir out
16854 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16855 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16858 hard_links
="nottested"
16859 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16860 # do not overwrite the value of need_locks provided by the user
16861 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16862 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16865 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16867 ln conftest.a conftest.b
2>&5 || hard_links
=no
16868 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16869 { echo "$as_me:$LINENO: result: $hard_links" >&5
16870 echo "${ECHO_T}$hard_links" >&6; }
16871 if test "$hard_links" = no
; then
16872 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16873 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16880 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16881 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16884 allow_undefined_flag_GCJ
=
16885 enable_shared_with_static_runtimes_GCJ
=no
16887 archive_expsym_cmds_GCJ
=
16888 old_archive_From_new_cmds_GCJ
=
16889 old_archive_from_expsyms_cmds_GCJ
=
16890 export_dynamic_flag_spec_GCJ
=
16891 whole_archive_flag_spec_GCJ
=
16892 thread_safe_flag_spec_GCJ
=
16893 hardcode_libdir_flag_spec_GCJ
=
16894 hardcode_libdir_flag_spec_ld_GCJ
=
16895 hardcode_libdir_separator_GCJ
=
16896 hardcode_direct_GCJ
=no
16897 hardcode_minus_L_GCJ
=no
16898 hardcode_shlibpath_var_GCJ
=unsupported
16899 link_all_deplibs_GCJ
=unknown
16900 hardcode_automatic_GCJ
=no
16902 module_expsym_cmds_GCJ
=
16903 always_export_symbols_GCJ
=no
16904 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16905 # include_expsyms should be a list of space-separated symbols to be *always*
16906 # included in the symbol list
16907 include_expsyms_GCJ
=
16908 # exclude_expsyms can be an extended regexp of symbols to exclude
16909 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16910 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16911 # as well as any symbol that contains `d'.
16912 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16913 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16914 # platforms (ab)use it in PIC code, but their linkers get confused if
16915 # the symbol is explicitly referenced. Since portable code cannot
16916 # rely on this symbol name, it's probably fine to never include it in
16917 # preloaded symbol tables.
16918 extract_expsyms_cmds
=
16919 # Just being paranoid about ensuring that cc_basename is set.
16920 for cc_temp
in $compiler""; do
16922 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16923 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16928 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16931 cygwin
* | mingw
* | pw32
*)
16932 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16933 # When not using gcc, we currently assume that we are using
16934 # Microsoft Visual C++.
16935 if test "$GCC" != yes; then
16940 # we just hope/assume this is gcc and not c89 (= MSVC++)
16949 if test "$with_gnu_ld" = yes; then
16950 # If archive_cmds runs LD, not CC, wlarc should be empty
16953 # Set some defaults for GNU ld with shared library support. These
16954 # are reset later if shared libraries are not supported. Putting them
16955 # here allows them to be overridden if necessary.
16956 runpath_var
=LD_RUN_PATH
16957 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16958 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16959 # ancient GNU ld didn't support --whole-archive et. al.
16960 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16961 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16963 whole_archive_flag_spec_GCJ
=
16965 supports_anon_versioning
=no
16966 case `$LD -v 2>/dev/null` in
16967 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16968 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16969 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16970 *\
2.11.
*) ;; # other 2.11 versions
16971 *) supports_anon_versioning
=yes ;;
16974 # See if GNU ld supports shared libraries.
16976 aix3
* | aix4
* | aix5
*)
16977 # On AIX/PPC, the GNU linker is very broken
16978 if test "$host_cpu" != ia64
; then
16982 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16983 *** to be unable to reliably create shared libraries on AIX.
16984 *** Therefore, libtool is disabling shared libraries support. If you
16985 *** really care for shared libraries, you may want to modify your PATH
16986 *** so that a non-GNU linker is found, and then restart.
16993 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)'
16994 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16995 hardcode_minus_L_GCJ
=yes
16997 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16998 # that the semantics of dynamic libraries on AmigaOS, at least up
16999 # to version 4, is to share data among multiple programs linked
17000 # with the same dynamic library. Since this doesn't match the
17001 # behavior of shared libraries on other platforms, we can't use
17007 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17008 allow_undefined_flag_GCJ
=unsupported
17009 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17010 # support --undefined. This deserves some investigation. FIXME
17011 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17017 cygwin
* | mingw
* | pw32
*)
17018 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17019 # as there is no search path for DLLs.
17020 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17021 allow_undefined_flag_GCJ
=unsupported
17022 always_export_symbols_GCJ
=no
17023 enable_shared_with_static_runtimes_GCJ
=yes
17024 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17026 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17027 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17028 # If the export-symbols file already is a .def file (1st line
17029 # is EXPORTS), use it as is; otherwise, prepend...
17030 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17031 cp $export_symbols $output_objdir/$soname.def;
17033 echo EXPORTS > $output_objdir/$soname.def;
17034 cat $export_symbols >> $output_objdir/$soname.def;
17036 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17043 hardcode_direct_GCJ
=no
17044 hardcode_shlibpath_var_GCJ
=no
17045 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17046 export_dynamic_flag_spec_GCJ
='${wl}-E'
17047 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17048 # Instead, shared libraries are loaded at an image base (0x10000000 by
17049 # default) and relocated if they conflict, which is a slow very memory
17050 # consuming and fragmenting process. To avoid this, we pick a random,
17051 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17052 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17053 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'
17054 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'
17058 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17060 case $cc_basename,$host_cpu in
17061 pgcc
*) # Portland Group C compiler
17062 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'
17063 tmp_addflag
=' $pic_flag'
17065 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17066 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'
17067 tmp_addflag
=' $pic_flag -Mnomain' ;;
17068 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17069 tmp_addflag
=' -i_dynamic' ;;
17070 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17071 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17072 ifc
* | ifort
*) # Intel Fortran compiler
17073 tmp_addflag
=' -nofor_main' ;;
17075 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17077 if test $supports_anon_versioning = yes; then
17078 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17079 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17080 $echo "local: *; };" >> $output_objdir/$libname.ver~
17081 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17089 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17090 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17093 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17094 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17099 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17103 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17104 *** create shared libraries on Solaris systems. Therefore, libtool
17105 *** is disabling shared libraries support. We urge you to upgrade GNU
17106 *** binutils to release 2.9.1 or newer. Another option is to modify
17107 *** your PATH or compiler configuration so that the native linker is
17108 *** used, and then restart.
17111 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17112 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17113 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17119 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17120 case `$LD -v 2>&1` in
17121 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17125 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17126 *** reliably create shared libraries on SCO systems. Therefore, libtool
17127 *** is disabling shared libraries support. We urge you to upgrade GNU
17128 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17129 *** your PATH or compiler configuration so that the native linker is
17130 *** used, and then restart.
17135 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17136 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17137 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17138 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17147 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17149 hardcode_direct_GCJ
=yes
17150 hardcode_shlibpath_var_GCJ
=no
17154 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17155 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17156 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17163 if test "$ld_shlibs_GCJ" = no
; then
17165 hardcode_libdir_flag_spec_GCJ
=
17166 export_dynamic_flag_spec_GCJ
=
17167 whole_archive_flag_spec_GCJ
=
17170 # PORTME fill in a description of your system's linker (not GNU ld)
17173 allow_undefined_flag_GCJ
=unsupported
17174 always_export_symbols_GCJ
=yes
17175 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'
17176 # Note: this linker hardcodes the directories in LIBPATH if there
17177 # are no directories specified by -L.
17178 hardcode_minus_L_GCJ
=yes
17179 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17180 # Neither direct hardcoding nor static linking is supported with a
17182 hardcode_direct_GCJ
=unsupported
17187 if test "$host_cpu" = ia64
; then
17188 # On IA64, the linker does run time linking by default, so we don't
17189 # have to do anything special.
17190 aix_use_runtimelinking
=no
17191 exp_sym_flag
='-Bexport'
17194 # If we're using GNU nm, then we don't want the "-C" option.
17195 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17196 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17197 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'
17199 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'
17201 aix_use_runtimelinking
=no
17203 # Test if we are trying to use run time linking or normal
17204 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17205 # need to do runtime linking.
17206 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17207 for ld_flag
in $LDFLAGS; do
17208 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17209 aix_use_runtimelinking
=yes
17216 exp_sym_flag
='-bexport'
17217 no_entry_flag
='-bnoentry'
17220 # When large executables or shared objects are built, AIX ld can
17221 # have problems creating the table of contents. If linking a library
17222 # or program results in "error TOC overflow" add -mminimal-toc to
17223 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17224 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17226 archive_cmds_GCJ
=''
17227 hardcode_direct_GCJ
=yes
17228 hardcode_libdir_separator_GCJ
=':'
17229 link_all_deplibs_GCJ
=yes
17231 if test "$GCC" = yes; then
17232 case $host_os in aix4.
[012]|aix4.
[012].
*)
17233 # We only want to do this on AIX 4.2 and lower, the check
17234 # below for broken collect2 doesn't work under 4.3+
17235 collect2name
=`${CC} -print-prog-name=collect2`
17236 if test -f "$collect2name" && \
17237 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17239 # We have reworked collect2
17240 hardcode_direct_GCJ
=yes
17242 # We have old collect2
17243 hardcode_direct_GCJ
=unsupported
17244 # It fails to find uninstalled libraries when the uninstalled
17245 # path is not listed in the libpath. Setting hardcode_minus_L
17246 # to unsupported forces relinking
17247 hardcode_minus_L_GCJ
=yes
17248 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17249 hardcode_libdir_separator_GCJ
=
17253 shared_flag
='-shared'
17254 if test "$aix_use_runtimelinking" = yes; then
17255 shared_flag
="$shared_flag "'${wl}-G'
17259 if test "$host_cpu" = ia64
; then
17260 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17261 # chokes on -Wl,-G. The following line is correct:
17264 if test "$aix_use_runtimelinking" = yes; then
17265 shared_flag
='${wl}-G'
17267 shared_flag
='${wl}-bM:SRE'
17272 # It seems that -bexpall does not export symbols beginning with
17273 # underscore (_), so it is better to generate a list of symbols to export.
17274 always_export_symbols_GCJ
=yes
17275 if test "$aix_use_runtimelinking" = yes; then
17276 # Warning - without using the other runtime loading flags (-brtl),
17277 # -berok will link without error, but may produce a broken library.
17278 allow_undefined_flag_GCJ
='-berok'
17279 # Determine the default libpath from the value encoded in an empty executable.
17280 cat >conftest.
$ac_ext <<_ACEOF
17283 cat confdefs.h
>>conftest.
$ac_ext
17284 cat >>conftest.
$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17295 rm -f conftest.
$ac_objext conftest
$ac_exeext
17296 if { (ac_try
="$ac_link"
17297 case "(($ac_try" in
17298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_link") 2>conftest.er1
17304 grep -v '^ *+' conftest.er1 >conftest.err
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_c_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest$ac_exeext &&
17312 $as_test_x conftest$ac_exeext; then
17314 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17316 # Check for a 64-bit object if we didn't find anything.
17317 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17327 conftest$ac_exeext conftest.$ac_ext
17328 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17330 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17331 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"
17333 if test "$host_cpu" = ia64; then
17334 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17335 allow_undefined_flag_GCJ="-z nodefs"
17336 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"
17338 # Determine the default libpath from the value encoded in an empty executable.
17339 cat >conftest.$ac_ext <<_ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17354 rm -f conftest.$ac_objext conftest$ac_exeext
17355 if { (ac_try="$ac_link"
17356 case "(($ac_try" in
17357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17358 *) ac_try_echo
=$ac_try;;
17360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17361 (eval "$ac_link") 2>conftest.er1
17363 grep -v '^ *+' conftest.er1
>conftest.err
17365 cat conftest.err
>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && {
17368 test -z "$ac_c_werror_flag" ||
17369 test ! -s conftest.err
17370 } && test -s conftest
$ac_exeext &&
17371 $as_test_x conftest
$ac_exeext; then
17373 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17375 # Check for a 64-bit object if we didn't find anything.
17376 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.
$ac_ext >&5
17385 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17386 conftest
$ac_exeext conftest.
$ac_ext
17387 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17389 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17390 # Warning - without using the other run time loading flags,
17391 # -berok will link without error, but may produce a broken library.
17392 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17393 allow_undefined_flag_GCJ
=' ${wl}-berok'
17394 # Exported symbols can be pulled into shared objects from archives
17395 whole_archive_flag_spec_GCJ
='$convenience'
17396 archive_cmds_need_lc_GCJ
=yes
17397 # This is similar to how AIX traditionally builds its shared libraries.
17398 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'
17404 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)'
17405 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17406 hardcode_minus_L_GCJ
=yes
17407 # see comment about different semantics on the GNU ld section
17412 export_dynamic_flag_spec_GCJ
=-rdynamic
17415 cygwin
* | mingw
* | pw32
*)
17416 # When not using gcc, we currently assume that we are using
17417 # Microsoft Visual C++.
17418 # hardcode_libdir_flag_spec is actually meaningless, as there is
17419 # no search path for DLLs.
17420 hardcode_libdir_flag_spec_GCJ
=' '
17421 allow_undefined_flag_GCJ
=unsupported
17422 # Tell ltmain to make .lib files, not .a files.
17424 # Tell ltmain to make .dll files, not .so files.
17426 # FIXME: Setting linknames here is a bad hack.
17427 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17428 # The linker will automatically build a .lib file if we build a DLL.
17429 old_archive_From_new_cmds_GCJ
='true'
17430 # FIXME: Should let the user specify the lib program.
17431 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17432 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17433 enable_shared_with_static_runtimes_GCJ
=yes
17436 darwin
* | rhapsody
*)
17438 rhapsody
* | darwin1.
[012])
17439 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17442 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17443 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17445 case ${MACOSX_DEPLOYMENT_TARGET} in
17447 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17450 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17456 archive_cmds_need_lc_GCJ
=no
17457 hardcode_direct_GCJ
=no
17458 hardcode_automatic_GCJ
=yes
17459 hardcode_shlibpath_var_GCJ
=unsupported
17460 whole_archive_flag_spec_GCJ
=''
17461 link_all_deplibs_GCJ
=yes
17462 if test "$GCC" = yes ; then
17463 output_verbose_link_cmd
='echo'
17464 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17465 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17466 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17467 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}'
17468 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}'
17470 case $cc_basename in
17472 output_verbose_link_cmd
='echo'
17473 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17474 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17475 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17476 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17477 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}'
17487 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17488 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17489 hardcode_shlibpath_var_GCJ
=no
17496 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17497 # support. Future versions do this automatically, but an explicit c++rt0.o
17498 # does not break anything, and helps significantly (at the cost of a little
17501 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17502 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17503 hardcode_direct_GCJ
=yes
17504 hardcode_shlibpath_var_GCJ
=no
17507 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17509 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17510 hardcode_direct_GCJ
=yes
17511 hardcode_minus_L_GCJ
=yes
17512 hardcode_shlibpath_var_GCJ
=no
17515 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17516 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17517 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17518 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17519 hardcode_direct_GCJ
=yes
17520 hardcode_shlibpath_var_GCJ
=no
17524 if test "$GCC" = yes; then
17525 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'
17527 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'
17529 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17530 hardcode_libdir_separator_GCJ
=:
17531 hardcode_direct_GCJ
=yes
17533 # hardcode_minus_L: Not really in the search PATH,
17534 # but as the default location of the library.
17535 hardcode_minus_L_GCJ
=yes
17536 export_dynamic_flag_spec_GCJ
='${wl}-E'
17540 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17541 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17543 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17545 if test "$with_gnu_ld" = no
; then
17546 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17547 hardcode_libdir_separator_GCJ
=:
17549 hardcode_direct_GCJ
=yes
17550 export_dynamic_flag_spec_GCJ
='${wl}-E'
17552 # hardcode_minus_L: Not really in the search PATH,
17553 # but as the default location of the library.
17554 hardcode_minus_L_GCJ
=yes
17559 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17562 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17565 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17568 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17574 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17577 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17580 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17584 if test "$with_gnu_ld" = no
; then
17585 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17586 hardcode_libdir_separator_GCJ
=:
17590 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17591 hardcode_direct_GCJ
=no
17592 hardcode_shlibpath_var_GCJ
=no
17595 hardcode_direct_GCJ
=yes
17596 export_dynamic_flag_spec_GCJ
='${wl}-E'
17598 # hardcode_minus_L: Not really in the search PATH,
17599 # but as the default location of the library.
17600 hardcode_minus_L_GCJ
=yes
17606 irix5
* | irix6
* | nonstopux
*)
17607 if test "$GCC" = yes; then
17608 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'
17610 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'
17611 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17613 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17614 hardcode_libdir_separator_GCJ
=:
17615 link_all_deplibs_GCJ
=yes
17619 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17620 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17622 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17624 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17625 hardcode_direct_GCJ
=yes
17626 hardcode_shlibpath_var_GCJ
=no
17630 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17631 hardcode_direct_GCJ
=yes
17632 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17633 hardcode_libdir_separator_GCJ
=:
17634 hardcode_shlibpath_var_GCJ
=no
17638 hardcode_direct_GCJ
=yes
17639 hardcode_shlibpath_var_GCJ
=no
17640 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17641 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17642 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17643 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17644 export_dynamic_flag_spec_GCJ
='${wl}-E'
17647 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17648 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17649 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17652 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17653 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17660 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17661 hardcode_minus_L_GCJ
=yes
17662 allow_undefined_flag_GCJ
=unsupported
17663 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'
17664 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17668 if test "$GCC" = yes; then
17669 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17670 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'
17672 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17673 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'
17675 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17676 hardcode_libdir_separator_GCJ
=:
17679 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17680 if test "$GCC" = yes; then
17681 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17682 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'
17683 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17685 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17686 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'
17687 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~
17688 $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'
17690 # Both c and cxx compiler support -rpath directly
17691 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17693 hardcode_libdir_separator_GCJ
=:
17697 no_undefined_flag_GCJ
=' -z text'
17698 if test "$GCC" = yes; then
17700 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17701 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17702 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17705 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17706 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17707 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17709 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17710 hardcode_shlibpath_var_GCJ
=no
17712 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17714 # The compiler driver will combine linker options so we
17715 # cannot just pass the convience library names through
17716 # without $wl, iff we do not link with $LD.
17717 # Luckily, gcc supports the same syntax we need for Sun Studio.
17718 # Supported since Solaris 2.6 (maybe 2.5.1?)
17721 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17723 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17726 link_all_deplibs_GCJ
=yes
17730 if test "x$host_vendor" = xsequent
; then
17731 # Use $CC to link under sequent, because it throws in some extra .o
17732 # files that make .init and .fini sections work.
17733 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17735 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17737 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17738 hardcode_direct_GCJ
=yes
17739 hardcode_minus_L_GCJ
=yes
17740 hardcode_shlibpath_var_GCJ
=no
17744 case $host_vendor in
17746 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17747 hardcode_direct_GCJ
=yes # is this really true???
17750 ## LD is ld it makes a PLAMLIB
17751 ## CC just makes a GrossModule.
17752 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17753 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17754 hardcode_direct_GCJ
=no
17757 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17758 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17761 runpath_var
='LD_RUN_PATH'
17762 hardcode_shlibpath_var_GCJ
=no
17766 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17767 hardcode_shlibpath_var_GCJ
=no
17768 export_dynamic_flag_spec_GCJ
='-Bexport'
17772 if test -d /usr
/nec
; then
17773 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17774 hardcode_shlibpath_var_GCJ
=no
17775 runpath_var
=LD_RUN_PATH
17776 hardcode_runpath_var
=yes
17781 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17782 no_undefined_flag_GCJ
='${wl}-z,text'
17783 archive_cmds_need_lc_GCJ
=no
17784 hardcode_shlibpath_var_GCJ
=no
17785 runpath_var
='LD_RUN_PATH'
17787 if test "$GCC" = yes; then
17788 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17789 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17791 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17792 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17796 sysv5
* | sco3.2v5
* | sco5v6
*)
17797 # Note: We can NOT use -z defs as we might desire, because we do not
17798 # link with -lc, and that would cause any symbols used from libc to
17799 # always be unresolved, which means just about no library would
17800 # ever link correctly. If we're not using GNU ld we use -z text
17801 # though, which does catch some bad symbols but isn't as heavy-handed
17803 no_undefined_flag_GCJ
='${wl}-z,text'
17804 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17805 archive_cmds_need_lc_GCJ
=no
17806 hardcode_shlibpath_var_GCJ
=no
17807 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17808 hardcode_libdir_separator_GCJ
=':'
17809 link_all_deplibs_GCJ
=yes
17810 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17811 runpath_var
='LD_RUN_PATH'
17813 if test "$GCC" = yes; then
17814 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17815 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17817 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17818 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17823 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17824 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17825 hardcode_shlibpath_var_GCJ
=no
17834 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17835 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17836 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17839 # Do we need to explicitly link libc?
17841 case "x$archive_cmds_need_lc_GCJ" in
17843 # Assume -lc should be added
17844 archive_cmds_need_lc_GCJ
=yes
17846 if test "$enable_shared" = yes && test "$GCC" = yes; then
17847 case $archive_cmds_GCJ in
17849 # FIXME: we may have to deal with multi-command sequences.
17852 # Test whether the compiler implicitly links with -lc since on some
17853 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17854 # to ld, don't add -lc before -lgcc.
17855 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17856 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17858 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } 2>conftest.err
; then
17867 libobjs
=conftest.
$ac_objext
17869 wl
=$lt_prog_compiler_wl_GCJ
17870 pic_flag
=$lt_prog_compiler_pic_GCJ
17876 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17877 allow_undefined_flag_GCJ
=
17878 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17879 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); }
17884 archive_cmds_need_lc_GCJ
=no
17886 archive_cmds_need_lc_GCJ
=yes
17888 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17890 cat conftest.err
1>&5
17893 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17894 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17901 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17902 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17903 library_names_spec
=
17904 libname_spec
='lib$name'
17908 postuninstall_cmds
=
17912 shlibpath_overrides_runpath
=unknown
17914 dynamic_linker
="$host_os ld.so"
17915 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17916 if test "$GCC" = yes; then
17917 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17918 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17919 # if the path contains ";" then we assume it to be the separator
17920 # otherwise default to the standard path separator (i.e. ":") - it is
17921 # assumed that no part of a normal pathname contains ";" but that should
17922 # okay in the real world where ";" in dirpaths is itself problematic.
17923 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17925 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17928 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17930 need_lib_prefix
=unknown
17931 hardcode_into_libs
=no
17933 # when you set need_version to no, make sure it does not cause -set_version
17934 # flags to be left without arguments
17935 need_version
=unknown
17940 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17941 shlibpath_var
=LIBPATH
17943 # AIX 3 has no versioning support, so we append a major version to the name.
17944 soname_spec
='${libname}${release}${shared_ext}$major'
17951 hardcode_into_libs
=yes
17952 if test "$host_cpu" = ia64
; then
17953 # AIX 5 supports IA64
17954 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17955 shlibpath_var
=LD_LIBRARY_PATH
17957 # With GCC up to 2.95.x, collect2 would create an import file
17958 # for dependence libraries. The import file would start with
17959 # the line `#! .'. This would cause the generated library to
17960 # depend on `.', always an invalid library. This was fixed in
17961 # development snapshots of GCC prior to 3.0.
17963 aix4 | aix4.
[01] | aix4.
[01].
*)
17964 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17966 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17969 can_build_shared
=no
17973 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17974 # soname into executable. Probably we can add versioning support to
17975 # collect2, so additional links can be useful in future.
17976 if test "$aix_use_runtimelinking" = yes; then
17977 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17978 # instead of lib<name>.a to let people know that these are not
17979 # typical AIX shared libraries.
17980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17982 # We preserve .a as extension for shared libraries through AIX4.2
17983 # and later when we are not doing run time linking.
17984 library_names_spec
='${libname}${release}.a $libname.a'
17985 soname_spec
='${libname}${release}${shared_ext}$major'
17987 shlibpath_var
=LIBPATH
17992 library_names_spec
='$libname.ixlibrary $libname.a'
17993 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17994 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'
17998 library_names_spec
='${libname}${shared_ext}'
17999 dynamic_linker
="$host_os ld.so"
18000 shlibpath_var
=LIBRARY_PATH
18006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18007 soname_spec
='${libname}${release}${shared_ext}$major'
18008 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18009 shlibpath_var
=LD_LIBRARY_PATH
18010 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18011 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18012 # the default ld.so.conf also contains /usr/contrib/lib and
18013 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18014 # libtool to hard-code these into programs
18017 cygwin
* | mingw
* | pw32
*)
18018 version_type
=windows
18023 case $GCC,$host_os in
18024 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18025 library_names_spec
='$libname.dll.a'
18026 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18027 postinstall_cmds
='base_file=`basename \${file}`~
18028 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18029 dldir=$destdir/`dirname \$dlpath`~
18030 test -d \$dldir || mkdir -p \$dldir~
18031 $install_prog $dir/$dlname \$dldir/$dlname~
18032 chmod a+x \$dldir/$dlname'
18033 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18034 dlpath=$dir/\$dldll~
18036 shlibpath_overrides_runpath
=yes
18040 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18041 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18042 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18045 # MinGW DLLs use traditional 'lib' prefix
18046 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18047 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18048 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18049 # It is most probably a Windows format PATH printed by
18050 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18051 # path with ; separators, and with drive letters. We can handle the
18052 # drive letters (cygwin fileutils understands them), so leave them,
18053 # especially as we might pass files found there to a mingw objdump,
18054 # which wouldn't understand a cygwinified path. Ahh.
18055 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18057 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18061 # pw32 DLLs use 'pw' prefix rather than 'lib'
18062 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18068 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18071 dynamic_linker
='Win32 ld.exe'
18072 # FIXME: first we should search . and the directory the executable is in
18076 darwin
* | rhapsody
*)
18077 dynamic_linker
="$host_os dyld"
18078 version_type
=darwin
18081 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18082 soname_spec
='${libname}${release}${major}$shared_ext'
18083 shlibpath_overrides_runpath
=yes
18084 shlibpath_var
=DYLD_LIBRARY_PATH
18085 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18086 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18087 if test "$GCC" = yes; then
18088 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18090 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18092 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18100 soname_spec
='${libname}${release}${shared_ext}$major'
18101 shlibpath_var
=LD_LIBRARY_PATH
18112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18113 soname_spec
='${libname}${release}${shared_ext}$major'
18114 shlibpath_var
=LD_LIBRARY_PATH
18115 shlibpath_overrides_runpath
=no
18116 hardcode_into_libs
=yes
18117 dynamic_linker
='GNU ld.so'
18120 freebsd
* | dragonfly
*)
18121 # DragonFly does not have aout. When/if they implement a new
18122 # versioning mechanism, adjust this.
18123 if test -x /usr
/bin
/objformat
; then
18124 objformat
=`/usr/bin/objformat`
18127 freebsd
[123]*) objformat
=aout
;;
18128 *) objformat
=elf
;;
18131 version_type
=freebsd-
$objformat
18132 case $version_type in
18134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18139 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18143 shlibpath_var
=LD_LIBRARY_PATH
18146 shlibpath_overrides_runpath
=yes
18148 freebsd3.
[01]* | freebsdelf3.
[01]*)
18149 shlibpath_overrides_runpath
=yes
18150 hardcode_into_libs
=yes
18152 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18153 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18154 shlibpath_overrides_runpath
=no
18155 hardcode_into_libs
=yes
18157 freebsd
*) # from 4.6 on
18158 shlibpath_overrides_runpath
=yes
18159 hardcode_into_libs
=yes
18168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18169 soname_spec
='${libname}${release}${shared_ext}$major'
18170 shlibpath_var
=LD_LIBRARY_PATH
18171 hardcode_into_libs
=yes
18174 hpux9
* | hpux10
* | hpux11
*)
18175 # Give a soname corresponding to the major version so that dld.sl refuses to
18176 # link against other versions.
18183 hardcode_into_libs
=yes
18184 dynamic_linker
="$host_os dld.so"
18185 shlibpath_var
=LD_LIBRARY_PATH
18186 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18188 soname_spec
='${libname}${release}${shared_ext}$major'
18189 if test "X$HPUX_IA64_MODE" = X32
; then
18190 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18192 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18194 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18198 hardcode_into_libs
=yes
18199 dynamic_linker
="$host_os dld.sl"
18200 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18201 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18203 soname_spec
='${libname}${release}${shared_ext}$major'
18204 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18205 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18209 dynamic_linker
="$host_os dld.sl"
18210 shlibpath_var
=SHLIB_PATH
18211 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18213 soname_spec
='${libname}${release}${shared_ext}$major'
18216 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18217 postinstall_cmds
='chmod 555 $lib'
18224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18225 soname_spec
='${libname}${release}${shared_ext}$major'
18226 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18227 shlibpath_var
=LD_LIBRARY_PATH
18228 shlibpath_overrides_runpath
=no
18229 hardcode_into_libs
=yes
18232 irix5
* | irix6
* | nonstopux
*)
18234 nonstopux
*) version_type
=nonstopux
;;
18236 if test "$lt_cv_prog_gnu_ld" = yes; then
18244 soname_spec
='${libname}${release}${shared_ext}$major'
18245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18247 irix5
* | nonstopux
*)
18248 libsuff
= shlibsuff
=
18251 case $LD in # libtool.m4 will add one of these switches to LD
18252 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18253 libsuff
= shlibsuff
= libmagic
=32-bit;;
18254 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18255 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18256 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18257 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18258 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18262 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18263 shlibpath_overrides_runpath
=no
18264 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18265 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18266 hardcode_into_libs
=yes
18269 # No shared lib support for Linux oldld, aout, or coff.
18270 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18274 # This must be Linux ELF.
18279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18280 soname_spec
='${libname}${release}${shared_ext}$major'
18281 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18282 shlibpath_var
=LD_LIBRARY_PATH
18283 shlibpath_overrides_runpath
=no
18284 # This implies no fast_install, which is unacceptable.
18285 # Some rework will be needed to allow for fast_install
18286 # before this can be enabled.
18287 hardcode_into_libs
=yes
18289 # find out which ABI we are using
18291 case "$host_cpu" in
18292 x86_64
*|s390x
*|powerpc64
*)
18293 echo '#line 18293 "configure"' > conftest.
$ac_ext
18294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18295 (eval $ac_compile) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; then
18299 case `/usr/bin/file conftest.$ac_objext` in
18302 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18310 # Append ld.so.conf contents to the search path
18311 if test -f /etc
/ld.so.conf
; then
18312 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18313 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18316 # We used to test for /lib/ld.so.1 and disable shared libraries on
18317 # powerpc, because MkLinux only supported shared libraries with the
18318 # GNU dynamic linker. Since this was broken with cross compilers,
18319 # most powerpc-linux boxes support dynamic linking these days and
18320 # people can always --disable-shared, the test was removed, and we
18321 # assume the GNU/Linux dynamic linker is in use.
18322 dynamic_linker
='GNU/Linux ld.so'
18329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18330 soname_spec
='${libname}${release}${shared_ext}$major'
18331 shlibpath_var
=LD_LIBRARY_PATH
18332 shlibpath_overrides_runpath
=no
18333 hardcode_into_libs
=yes
18334 dynamic_linker
='GNU ld.so'
18341 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18343 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18344 dynamic_linker
='NetBSD (a.out) ld.so'
18346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18347 soname_spec
='${libname}${release}${shared_ext}$major'
18348 dynamic_linker
='NetBSD ld.elf_so'
18350 shlibpath_var
=LD_LIBRARY_PATH
18351 shlibpath_overrides_runpath
=yes
18352 hardcode_into_libs
=yes
18357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18358 shlibpath_var
=LD_LIBRARY_PATH
18359 shlibpath_overrides_runpath
=yes
18366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18367 soname_spec
='${libname}${release}${shared_ext}$major'
18368 shlibpath_var
=LD_LIBRARY_PATH
18369 shlibpath_overrides_runpath
=yes
18374 sys_lib_dlsearch_path_spec
="/usr/lib"
18376 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18378 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18379 *) need_version
=no
;;
18381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18382 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18383 shlibpath_var
=LD_LIBRARY_PATH
18384 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18386 openbsd2.
[89] | openbsd2.
[89].
*)
18387 shlibpath_overrides_runpath
=no
18390 shlibpath_overrides_runpath
=yes
18394 shlibpath_overrides_runpath
=yes
18399 libname_spec
='$name'
18402 library_names_spec
='$libname${shared_ext} $libname.a'
18403 dynamic_linker
='OS/2 ld.exe'
18404 shlibpath_var
=LIBPATH
18407 osf3
* | osf4
* | osf5
*)
18411 soname_spec
='${libname}${release}${shared_ext}$major'
18412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18413 shlibpath_var
=LD_LIBRARY_PATH
18414 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18415 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18423 soname_spec
='${libname}${release}${shared_ext}$major'
18424 shlibpath_var
=LD_LIBRARY_PATH
18425 shlibpath_overrides_runpath
=yes
18426 hardcode_into_libs
=yes
18427 # ldd complains unless libraries are executable
18428 postinstall_cmds
='chmod +x $lib'
18433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18434 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18435 shlibpath_var
=LD_LIBRARY_PATH
18436 shlibpath_overrides_runpath
=yes
18437 if test "$with_gnu_ld" = yes; then
18445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18446 soname_spec
='${libname}${release}${shared_ext}$major'
18447 shlibpath_var
=LD_LIBRARY_PATH
18448 case $host_vendor in
18450 shlibpath_overrides_runpath
=no
18452 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18453 runpath_var
=LD_RUN_PATH
18461 shlibpath_overrides_runpath
=no
18462 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18468 if test -d /usr
/nec
;then
18470 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18471 soname_spec
='$libname${shared_ext}.$major'
18472 shlibpath_var
=LD_LIBRARY_PATH
18476 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18477 version_type
=freebsd-elf
18480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18481 soname_spec
='${libname}${release}${shared_ext}$major'
18482 shlibpath_var
=LD_LIBRARY_PATH
18483 hardcode_into_libs
=yes
18484 if test "$with_gnu_ld" = yes; then
18485 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18486 shlibpath_overrides_runpath
=no
18488 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18489 shlibpath_overrides_runpath
=yes
18492 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18496 sys_lib_dlsearch_path_spec
='/usr/lib'
18501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18502 soname_spec
='${libname}${release}${shared_ext}$major'
18503 shlibpath_var
=LD_LIBRARY_PATH
18510 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18511 echo "${ECHO_T}$dynamic_linker" >&6; }
18512 test "$dynamic_linker" = no
&& can_build_shared
=no
18514 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18515 if test "$GCC" = yes; then
18516 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18519 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18520 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18521 hardcode_action_GCJ
=
18522 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18523 test -n "$runpath_var_GCJ" || \
18524 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18526 # We can hardcode non-existant directories.
18527 if test "$hardcode_direct_GCJ" != no
&&
18528 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18529 # have to relink, otherwise we might link with an installed library
18530 # when we should be linking with a yet-to-be-installed one
18531 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18532 test "$hardcode_minus_L_GCJ" != no
; then
18533 # Linking always hardcodes the temporary library directory.
18534 hardcode_action_GCJ
=relink
18536 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18537 hardcode_action_GCJ
=immediate
18540 # We cannot hardcode anything, or else we can only hardcode existing
18542 hardcode_action_GCJ
=unsupported
18544 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18545 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18547 if test "$hardcode_action_GCJ" = relink
; then
18548 # Fast installation is not supported
18549 enable_fast_install
=no
18550 elif test "$shlibpath_overrides_runpath" = yes ||
18551 test "$enable_shared" = no
; then
18552 # Fast installation is not necessary
18553 enable_fast_install
=needless
18557 # The else clause should only fire when bootstrapping the
18558 # libtool distribution, otherwise you forgot to ship ltmain.sh
18559 # with your package, and you will get complaints that there are
18560 # no rules to generate ltmain.sh.
18561 if test -f "$ltmain"; then
18562 # See if we are running on zsh, and set the options which allow our commands through
18563 # without removal of \ escapes.
18564 if test -n "${ZSH_VERSION+set}" ; then
18565 setopt NO_GLOB_SUBST
18567 # Now quote all the things that may contain metacharacters while being
18568 # careful not to overquote the AC_SUBSTed values. We take copies of the
18569 # variables and quote the copies for generation of the libtool script.
18570 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18572 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18573 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18574 deplibs_check_method reload_flag reload_cmds need_locks \
18575 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18576 lt_cv_sys_global_symbol_to_c_name_address \
18577 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18578 old_postinstall_cmds old_postuninstall_cmds \
18582 lt_prog_compiler_wl_GCJ \
18583 lt_prog_compiler_pic_GCJ \
18584 lt_prog_compiler_static_GCJ \
18585 lt_prog_compiler_no_builtin_flag_GCJ \
18586 export_dynamic_flag_spec_GCJ \
18587 thread_safe_flag_spec_GCJ \
18588 whole_archive_flag_spec_GCJ \
18589 enable_shared_with_static_runtimes_GCJ \
18590 old_archive_cmds_GCJ \
18591 old_archive_from_new_cmds_GCJ \
18592 predep_objects_GCJ \
18593 postdep_objects_GCJ \
18596 compiler_lib_search_path_GCJ \
18598 archive_expsym_cmds_GCJ \
18599 postinstall_cmds_GCJ \
18600 postuninstall_cmds_GCJ \
18601 old_archive_from_expsyms_cmds_GCJ \
18602 allow_undefined_flag_GCJ \
18603 no_undefined_flag_GCJ \
18604 export_symbols_cmds_GCJ \
18605 hardcode_libdir_flag_spec_GCJ \
18606 hardcode_libdir_flag_spec_ld_GCJ \
18607 hardcode_libdir_separator_GCJ \
18608 hardcode_automatic_GCJ \
18610 module_expsym_cmds_GCJ \
18611 lt_cv_prog_compiler_c_o_GCJ \
18612 exclude_expsyms_GCJ \
18613 include_expsyms_GCJ
; do
18616 old_archive_cmds_GCJ | \
18617 old_archive_from_new_cmds_GCJ | \
18618 archive_cmds_GCJ | \
18619 archive_expsym_cmds_GCJ | \
18620 module_cmds_GCJ | \
18621 module_expsym_cmds_GCJ | \
18622 old_archive_from_expsyms_cmds_GCJ | \
18623 export_symbols_cmds_GCJ | \
18624 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18625 postinstall_cmds | postuninstall_cmds | \
18626 old_postinstall_cmds | old_postuninstall_cmds | \
18627 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18628 # Double-quote double-evaled strings.
18629 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18632 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18638 *'\$0 --fallback-echo"')
18639 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18645 cat <<__EOF__ >> "$cfgfile"
18646 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18648 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18650 # Shell to use when invoking shell scripts.
18653 # Whether or not to build shared libraries.
18654 build_libtool_libs=$enable_shared
18656 # Whether or not to build static libraries.
18657 build_old_libs=$enable_static
18659 # Whether or not to add -lc for building shared libraries.
18660 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18662 # Whether or not to disallow shared libs when runtime libs are static
18663 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18665 # Whether or not to optimize for fast installation.
18666 fast_install=$enable_fast_install
18669 host_alias=$host_alias
18673 # The build system.
18674 build_alias=$build_alias
18678 # An echo program that does not interpret backslashes.
18683 AR_FLAGS=$lt_AR_FLAGS
18688 # LTCC compiler flags.
18689 LTCFLAGS=$lt_LTCFLAGS
18691 # A language-specific compiler.
18692 CC=$lt_compiler_GCJ
18694 # Is the compiler the GNU C compiler?
18700 # The linker used to build libraries.
18703 # Whether we need hard or soft links.
18706 # A BSD-compatible nm program.
18709 # A symbol stripping program
18712 # Used to examine libraries when file_magic_cmd begins "file"
18713 MAGIC_CMD=$MAGIC_CMD
18715 # Used on cygwin: DLL creation program.
18718 # Used on cygwin: object dumper.
18721 # Used on cygwin: assembler.
18724 # The name of the directory that contains temporary libtool files.
18727 # How to create reloadable object files.
18728 reload_flag=$lt_reload_flag
18729 reload_cmds=$lt_reload_cmds
18731 # How to pass a linker flag through the compiler.
18732 wl=$lt_lt_prog_compiler_wl_GCJ
18734 # Object file suffix (normally "o").
18735 objext="$ac_objext"
18737 # Old archive suffix (normally "a").
18740 # Shared library suffix (normally ".so").
18741 shrext_cmds='$shrext_cmds'
18743 # Executable file suffix (normally "").
18746 # Additional compiler flags for building library objects.
18747 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18750 # What is the maximum length of a command?
18751 max_cmd_len=$lt_cv_sys_max_cmd_len
18753 # Does compiler simultaneously support -c and -o options?
18754 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18756 # Must we lock files when doing compilation?
18757 need_locks=$lt_need_locks
18759 # Do we need the lib prefix for modules?
18760 need_lib_prefix=$need_lib_prefix
18762 # Do we need a version for libraries?
18763 need_version=$need_version
18765 # Whether dlopen is supported.
18766 dlopen_support=$enable_dlopen
18768 # Whether dlopen of programs is supported.
18769 dlopen_self=$enable_dlopen_self
18771 # Whether dlopen of statically linked programs is supported.
18772 dlopen_self_static=$enable_dlopen_self_static
18774 # Compiler flag to prevent dynamic linking.
18775 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18777 # Compiler flag to turn off builtin functions.
18778 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18780 # Compiler flag to allow reflexive dlopens.
18781 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18783 # Compiler flag to generate shared objects directly from archives.
18784 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18786 # Compiler flag to generate thread-safe objects.
18787 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18789 # Library versioning type.
18790 version_type=$version_type
18792 # Format of library name prefix.
18793 libname_spec=$lt_libname_spec
18795 # List of archive names. First name is the real one, the rest are links.
18796 # The last name is the one that the linker finds with -lNAME.
18797 library_names_spec=$lt_library_names_spec
18799 # The coded name of the library, if different from the real name.
18800 soname_spec=$lt_soname_spec
18802 # Commands used to build and install an old-style archive.
18804 old_archive_cmds=$lt_old_archive_cmds_GCJ
18805 old_postinstall_cmds=$lt_old_postinstall_cmds
18806 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18808 # Create an old-style archive from a shared archive.
18809 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18811 # Create a temporary old-style archive to link instead of a shared archive.
18812 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18814 # Commands used to build and install a shared archive.
18815 archive_cmds=$lt_archive_cmds_GCJ
18816 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18817 postinstall_cmds=$lt_postinstall_cmds
18818 postuninstall_cmds=$lt_postuninstall_cmds
18820 # Commands used to build a loadable module (assumed same as above if empty)
18821 module_cmds=$lt_module_cmds_GCJ
18822 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18824 # Commands to strip libraries.
18825 old_striplib=$lt_old_striplib
18826 striplib=$lt_striplib
18828 # Dependencies to place before the objects being linked to create a
18830 predep_objects=$lt_predep_objects_GCJ
18832 # Dependencies to place after the objects being linked to create a
18834 postdep_objects=$lt_postdep_objects_GCJ
18836 # Dependencies to place before the objects being linked to create a
18838 predeps=$lt_predeps_GCJ
18840 # Dependencies to place after the objects being linked to create a
18842 postdeps=$lt_postdeps_GCJ
18844 # The library search path used internally by the compiler when linking
18845 # a shared library.
18846 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18848 # Method to check whether dependent libraries are shared objects.
18849 deplibs_check_method=$lt_deplibs_check_method
18851 # Command to use when deplibs_check_method == file_magic.
18852 file_magic_cmd=$lt_file_magic_cmd
18854 # Flag that allows shared libraries with undefined symbols to be built.
18855 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18857 # Flag that forces no undefined symbols.
18858 no_undefined_flag=$lt_no_undefined_flag_GCJ
18860 # Commands used to finish a libtool library installation in a directory.
18861 finish_cmds=$lt_finish_cmds
18863 # Same as above, but a single script fragment to be evaled but not shown.
18864 finish_eval=$lt_finish_eval
18866 # Take the output of nm and produce a listing of raw symbols and C names.
18867 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18869 # Transform the output of nm in a proper C declaration
18870 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18872 # Transform the output of nm in a C name address pair
18873 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18875 # This is the shared library runtime path variable.
18876 runpath_var=$runpath_var
18878 # This is the shared library path variable.
18879 shlibpath_var=$shlibpath_var
18881 # Is shlibpath searched before the hard-coded library search path?
18882 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18884 # How to hardcode a shared library path into an executable.
18885 hardcode_action=$hardcode_action_GCJ
18887 # Whether we should hardcode library paths into libraries.
18888 hardcode_into_libs=$hardcode_into_libs
18890 # Flag to hardcode \$libdir into a binary during linking.
18891 # This must work even if \$libdir does not exist.
18892 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18894 # If ld is used when linking, flag to hardcode \$libdir into
18895 # a binary during linking. This must work even if \$libdir does
18897 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18899 # Whether we need a single -rpath flag with a separated argument.
18900 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18902 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18903 # resulting binary.
18904 hardcode_direct=$hardcode_direct_GCJ
18906 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18907 # resulting binary.
18908 hardcode_minus_L=$hardcode_minus_L_GCJ
18910 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18911 # the resulting binary.
18912 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18914 # Set to yes if building a shared library automatically hardcodes DIR into the library
18915 # and all subsequent libraries and executables linked against it.
18916 hardcode_automatic=$hardcode_automatic_GCJ
18918 # Variables whose values should be saved in libtool wrapper scripts and
18919 # restored at relink time.
18920 variables_saved_for_relink="$variables_saved_for_relink"
18922 # Whether libtool must link a program against all its dependency libraries.
18923 link_all_deplibs=$link_all_deplibs_GCJ
18925 # Compile-time system search path for libraries
18926 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18928 # Run-time system search path for libraries
18929 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18931 # Fix the shell variable \$srcfile for the compiler.
18932 fix_srcfile_path="$fix_srcfile_path_GCJ"
18934 # Set to yes if exported symbols are required.
18935 always_export_symbols=$always_export_symbols_GCJ
18937 # The commands to list exported symbols.
18938 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18940 # The commands to extract the exported symbol list from a shared archive.
18941 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18943 # Symbols that should not be listed in the preloaded symbols.
18944 exclude_expsyms=$lt_exclude_expsyms_GCJ
18946 # Symbols that must always be exported.
18947 include_expsyms=$lt_include_expsyms_GCJ
18949 # ### END LIBTOOL TAG CONFIG: $tagname
18955 # If there is no Makefile yet, we rely on a make rule to execute
18956 # `config.status --recheck' to rerun these tests and create the
18957 # libtool script then.
18958 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18959 if test -f "$ltmain_in"; then
18960 test -f Makefile
&& make "$ltmain"
18966 ac_cpp
='$CPP $CPPFLAGS'
18967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18981 # Source file extension for RC test sources.
18984 # Object file extension for compiled RC test sources.
18988 # Code to be used in simple compile tests
18989 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18991 # Code to be used in simple link tests
18992 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18994 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18996 # If no C compiler was specified, use CC.
18999 # If no C compiler flags were specified, use CFLAGS.
19000 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19002 # Allow CC to be a program name with arguments.
19006 # save warnings/boilerplate of simple test code
19007 ac_outfile
=conftest.
$ac_objext
19008 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19009 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19010 _lt_compiler_boilerplate
=`cat conftest.err`
19013 ac_outfile
=conftest.
$ac_objext
19014 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19015 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19016 _lt_linker_boilerplate
=`cat conftest.err`
19020 # Allow CC to be a program name with arguments.
19025 for cc_temp
in $compiler""; do
19027 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19028 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19033 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19035 lt_cv_prog_compiler_c_o_RC
=yes
19037 # The else clause should only fire when bootstrapping the
19038 # libtool distribution, otherwise you forgot to ship ltmain.sh
19039 # with your package, and you will get complaints that there are
19040 # no rules to generate ltmain.sh.
19041 if test -f "$ltmain"; then
19042 # See if we are running on zsh, and set the options which allow our commands through
19043 # without removal of \ escapes.
19044 if test -n "${ZSH_VERSION+set}" ; then
19045 setopt NO_GLOB_SUBST
19047 # Now quote all the things that may contain metacharacters while being
19048 # careful not to overquote the AC_SUBSTed values. We take copies of the
19049 # variables and quote the copies for generation of the libtool script.
19050 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19052 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19053 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19054 deplibs_check_method reload_flag reload_cmds need_locks \
19055 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19056 lt_cv_sys_global_symbol_to_c_name_address \
19057 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19058 old_postinstall_cmds old_postuninstall_cmds \
19062 lt_prog_compiler_wl_RC \
19063 lt_prog_compiler_pic_RC \
19064 lt_prog_compiler_static_RC \
19065 lt_prog_compiler_no_builtin_flag_RC \
19066 export_dynamic_flag_spec_RC \
19067 thread_safe_flag_spec_RC \
19068 whole_archive_flag_spec_RC \
19069 enable_shared_with_static_runtimes_RC \
19070 old_archive_cmds_RC \
19071 old_archive_from_new_cmds_RC \
19072 predep_objects_RC \
19073 postdep_objects_RC \
19076 compiler_lib_search_path_RC \
19078 archive_expsym_cmds_RC \
19079 postinstall_cmds_RC \
19080 postuninstall_cmds_RC \
19081 old_archive_from_expsyms_cmds_RC \
19082 allow_undefined_flag_RC \
19083 no_undefined_flag_RC \
19084 export_symbols_cmds_RC \
19085 hardcode_libdir_flag_spec_RC \
19086 hardcode_libdir_flag_spec_ld_RC \
19087 hardcode_libdir_separator_RC \
19088 hardcode_automatic_RC \
19090 module_expsym_cmds_RC \
19091 lt_cv_prog_compiler_c_o_RC \
19092 exclude_expsyms_RC \
19093 include_expsyms_RC
; do
19096 old_archive_cmds_RC | \
19097 old_archive_from_new_cmds_RC | \
19098 archive_cmds_RC | \
19099 archive_expsym_cmds_RC | \
19101 module_expsym_cmds_RC | \
19102 old_archive_from_expsyms_cmds_RC | \
19103 export_symbols_cmds_RC | \
19104 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19105 postinstall_cmds | postuninstall_cmds | \
19106 old_postinstall_cmds | old_postuninstall_cmds | \
19107 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19108 # Double-quote double-evaled strings.
19109 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19112 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19118 *'\$0 --fallback-echo"')
19119 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19125 cat <<__EOF__ >> "$cfgfile"
19126 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19128 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19130 # Shell to use when invoking shell scripts.
19133 # Whether or not to build shared libraries.
19134 build_libtool_libs=$enable_shared
19136 # Whether or not to build static libraries.
19137 build_old_libs=$enable_static
19139 # Whether or not to add -lc for building shared libraries.
19140 build_libtool_need_lc=$archive_cmds_need_lc_RC
19142 # Whether or not to disallow shared libs when runtime libs are static
19143 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19145 # Whether or not to optimize for fast installation.
19146 fast_install=$enable_fast_install
19149 host_alias=$host_alias
19153 # The build system.
19154 build_alias=$build_alias
19158 # An echo program that does not interpret backslashes.
19163 AR_FLAGS=$lt_AR_FLAGS
19168 # LTCC compiler flags.
19169 LTCFLAGS=$lt_LTCFLAGS
19171 # A language-specific compiler.
19174 # Is the compiler the GNU C compiler?
19180 # The linker used to build libraries.
19183 # Whether we need hard or soft links.
19186 # A BSD-compatible nm program.
19189 # A symbol stripping program
19192 # Used to examine libraries when file_magic_cmd begins "file"
19193 MAGIC_CMD=$MAGIC_CMD
19195 # Used on cygwin: DLL creation program.
19198 # Used on cygwin: object dumper.
19201 # Used on cygwin: assembler.
19204 # The name of the directory that contains temporary libtool files.
19207 # How to create reloadable object files.
19208 reload_flag=$lt_reload_flag
19209 reload_cmds=$lt_reload_cmds
19211 # How to pass a linker flag through the compiler.
19212 wl=$lt_lt_prog_compiler_wl_RC
19214 # Object file suffix (normally "o").
19215 objext="$ac_objext"
19217 # Old archive suffix (normally "a").
19220 # Shared library suffix (normally ".so").
19221 shrext_cmds='$shrext_cmds'
19223 # Executable file suffix (normally "").
19226 # Additional compiler flags for building library objects.
19227 pic_flag=$lt_lt_prog_compiler_pic_RC
19230 # What is the maximum length of a command?
19231 max_cmd_len=$lt_cv_sys_max_cmd_len
19233 # Does compiler simultaneously support -c and -o options?
19234 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19236 # Must we lock files when doing compilation?
19237 need_locks=$lt_need_locks
19239 # Do we need the lib prefix for modules?
19240 need_lib_prefix=$need_lib_prefix
19242 # Do we need a version for libraries?
19243 need_version=$need_version
19245 # Whether dlopen is supported.
19246 dlopen_support=$enable_dlopen
19248 # Whether dlopen of programs is supported.
19249 dlopen_self=$enable_dlopen_self
19251 # Whether dlopen of statically linked programs is supported.
19252 dlopen_self_static=$enable_dlopen_self_static
19254 # Compiler flag to prevent dynamic linking.
19255 link_static_flag=$lt_lt_prog_compiler_static_RC
19257 # Compiler flag to turn off builtin functions.
19258 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19260 # Compiler flag to allow reflexive dlopens.
19261 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19263 # Compiler flag to generate shared objects directly from archives.
19264 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19266 # Compiler flag to generate thread-safe objects.
19267 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19269 # Library versioning type.
19270 version_type=$version_type
19272 # Format of library name prefix.
19273 libname_spec=$lt_libname_spec
19275 # List of archive names. First name is the real one, the rest are links.
19276 # The last name is the one that the linker finds with -lNAME.
19277 library_names_spec=$lt_library_names_spec
19279 # The coded name of the library, if different from the real name.
19280 soname_spec=$lt_soname_spec
19282 # Commands used to build and install an old-style archive.
19284 old_archive_cmds=$lt_old_archive_cmds_RC
19285 old_postinstall_cmds=$lt_old_postinstall_cmds
19286 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19288 # Create an old-style archive from a shared archive.
19289 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19291 # Create a temporary old-style archive to link instead of a shared archive.
19292 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19294 # Commands used to build and install a shared archive.
19295 archive_cmds=$lt_archive_cmds_RC
19296 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19297 postinstall_cmds=$lt_postinstall_cmds
19298 postuninstall_cmds=$lt_postuninstall_cmds
19300 # Commands used to build a loadable module (assumed same as above if empty)
19301 module_cmds=$lt_module_cmds_RC
19302 module_expsym_cmds=$lt_module_expsym_cmds_RC
19304 # Commands to strip libraries.
19305 old_striplib=$lt_old_striplib
19306 striplib=$lt_striplib
19308 # Dependencies to place before the objects being linked to create a
19310 predep_objects=$lt_predep_objects_RC
19312 # Dependencies to place after the objects being linked to create a
19314 postdep_objects=$lt_postdep_objects_RC
19316 # Dependencies to place before the objects being linked to create a
19318 predeps=$lt_predeps_RC
19320 # Dependencies to place after the objects being linked to create a
19322 postdeps=$lt_postdeps_RC
19324 # The library search path used internally by the compiler when linking
19325 # a shared library.
19326 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19328 # Method to check whether dependent libraries are shared objects.
19329 deplibs_check_method=$lt_deplibs_check_method
19331 # Command to use when deplibs_check_method == file_magic.
19332 file_magic_cmd=$lt_file_magic_cmd
19334 # Flag that allows shared libraries with undefined symbols to be built.
19335 allow_undefined_flag=$lt_allow_undefined_flag_RC
19337 # Flag that forces no undefined symbols.
19338 no_undefined_flag=$lt_no_undefined_flag_RC
19340 # Commands used to finish a libtool library installation in a directory.
19341 finish_cmds=$lt_finish_cmds
19343 # Same as above, but a single script fragment to be evaled but not shown.
19344 finish_eval=$lt_finish_eval
19346 # Take the output of nm and produce a listing of raw symbols and C names.
19347 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19349 # Transform the output of nm in a proper C declaration
19350 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19352 # Transform the output of nm in a C name address pair
19353 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19355 # This is the shared library runtime path variable.
19356 runpath_var=$runpath_var
19358 # This is the shared library path variable.
19359 shlibpath_var=$shlibpath_var
19361 # Is shlibpath searched before the hard-coded library search path?
19362 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19364 # How to hardcode a shared library path into an executable.
19365 hardcode_action=$hardcode_action_RC
19367 # Whether we should hardcode library paths into libraries.
19368 hardcode_into_libs=$hardcode_into_libs
19370 # Flag to hardcode \$libdir into a binary during linking.
19371 # This must work even if \$libdir does not exist.
19372 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19374 # If ld is used when linking, flag to hardcode \$libdir into
19375 # a binary during linking. This must work even if \$libdir does
19377 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19379 # Whether we need a single -rpath flag with a separated argument.
19380 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19382 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19383 # resulting binary.
19384 hardcode_direct=$hardcode_direct_RC
19386 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19387 # resulting binary.
19388 hardcode_minus_L=$hardcode_minus_L_RC
19390 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19391 # the resulting binary.
19392 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19394 # Set to yes if building a shared library automatically hardcodes DIR into the library
19395 # and all subsequent libraries and executables linked against it.
19396 hardcode_automatic=$hardcode_automatic_RC
19398 # Variables whose values should be saved in libtool wrapper scripts and
19399 # restored at relink time.
19400 variables_saved_for_relink="$variables_saved_for_relink"
19402 # Whether libtool must link a program against all its dependency libraries.
19403 link_all_deplibs=$link_all_deplibs_RC
19405 # Compile-time system search path for libraries
19406 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19408 # Run-time system search path for libraries
19409 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19411 # Fix the shell variable \$srcfile for the compiler.
19412 fix_srcfile_path="$fix_srcfile_path_RC"
19414 # Set to yes if exported symbols are required.
19415 always_export_symbols=$always_export_symbols_RC
19417 # The commands to list exported symbols.
19418 export_symbols_cmds=$lt_export_symbols_cmds_RC
19420 # The commands to extract the exported symbol list from a shared archive.
19421 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19423 # Symbols that should not be listed in the preloaded symbols.
19424 exclude_expsyms=$lt_exclude_expsyms_RC
19426 # Symbols that must always be exported.
19427 include_expsyms=$lt_include_expsyms_RC
19429 # ### END LIBTOOL TAG CONFIG: $tagname
19435 # If there is no Makefile yet, we rely on a make rule to execute
19436 # `config.status --recheck' to rerun these tests and create the
19437 # libtool script then.
19438 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19439 if test -f "$ltmain_in"; then
19440 test -f Makefile
&& make "$ltmain"
19446 ac_cpp
='$CPP $CPPFLAGS'
19447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19456 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19457 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19458 { (exit 1); exit 1; }; }
19462 # Append the new tag name to the list of available tags.
19463 if test -n "$tagname" ; then
19464 available_tags
="$available_tags $tagname"
19470 # Now substitute the updated list of available tags.
19471 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19472 mv "${ofile}T" "$ofile"
19476 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19477 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19478 { (exit 1); exit 1; }; }
19484 # This can be used to rebuild libtool when needed
19485 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19487 # Always use our own libtool.
19488 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19490 # Prevent multiple expansion
19512 if test "$GCC" = yes ; then
19513 CXXFLAGS
="$CXXFLAGS -Wall"
19514 CFLAGS
="$CFLAGS -Wall"
19518 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19519 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19520 if test "${ac_cv_header_stdc+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 #include <stdlib.h>
19530 #include <stdarg.h>
19531 #include <string.h>
19542 rm -f conftest.
$ac_objext
19543 if { (ac_try
="$ac_compile"
19544 case "(($ac_try" in
19545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_compile") 2>conftest.er1
19551 grep -v '^ *+' conftest.er1 >conftest.err
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && {
19556 test -z "$ac_c_werror_flag" ||
19557 test ! -s conftest.err
19558 } && test -s conftest.$ac_objext; then
19559 ac_cv_header_stdc=yes
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19564 ac_cv_header_stdc=no
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 if test $ac_cv_header_stdc = yes; then
19570 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19571 cat >conftest.$ac_ext <<_ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 #include <string.h>
19580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19581 $EGREP "memchr" >/dev/null 2>&1; then
19584 ac_cv_header_stdc=no
19590 if test $ac_cv_header_stdc = yes; then
19591 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19592 cat >conftest.$ac_ext <<_ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19598 #include <stdlib.h>
19601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19602 $EGREP "free" >/dev/null 2>&1; then
19605 ac_cv_header_stdc=no
19611 if test $ac_cv_header_stdc = yes; then
19612 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19613 if test "$cross_compiling" = yes; then
19616 cat >conftest.$ac_ext <<_ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19623 #include <stdlib.h>
19624 #if ((' ' & 0x0FF) == 0x020)
19625 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19626 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19628 # define ISLOWER(c) \
19629 (('a' <= (c) && (c) <= 'i') \
19630 || ('j' <= (c) && (c) <= 'r') \
19631 || ('s' <= (c) && (c) <= 'z'))
19632 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19635 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19640 for (i = 0; i < 256; i++)
19641 if (XOR (islower (i), ISLOWER (i))
19642 || toupper (i) != TOUPPER (i))
19647 rm -f conftest$ac_exeext
19648 if { (ac_try="$ac_link"
19649 case "(($ac_try" in
19650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19651 *) ac_try_echo
=$ac_try;;
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_link") 2>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19658 { (case "(($ac_try" in
19659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_try") 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; }; then
19669 echo "$as_me: program exited with status $ac_status" >&5
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19673 ( exit $ac_status )
19674 ac_cv_header_stdc=no
19676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19682 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19683 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19684 if test $ac_cv_header_stdc = yes; then
19686 cat >>confdefs.h <<\_ACEOF
19687 #define STDC_HEADERS 1
19693 for ac_header in locale.h
19695 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 ac_res=`eval echo '${'$as_ac_Header'}'`
19703 { echo "$as_me:$LINENO: result: $ac_res" >&5
19704 echo "${ECHO_T}$ac_res" >&6; }
19706 # Is the header compilable?
19707 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19709 cat >conftest.$ac_ext <<_ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 $ac_includes_default
19716 #include <$ac_header>
19718 rm -f conftest.$ac_objext
19719 if { (ac_try="$ac_compile"
19720 case "(($ac_try" in
19721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19722 *) ac_try_echo
=$ac_try;;
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_compile") 2>conftest.er1
19727 grep -v '^ *+' conftest.er1
>conftest.err
19729 cat conftest.err
>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } && {
19732 test -z "$ac_c_werror_flag" ||
19733 test ! -s conftest.err
19734 } && test -s conftest.
$ac_objext; then
19735 ac_header_compiler
=yes
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.
$ac_ext >&5
19740 ac_header_compiler
=no
19743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19744 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19745 echo "${ECHO_T}$ac_header_compiler" >&6; }
19747 # Is the header present?
19748 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 #include <$ac_header>
19758 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19759 case "(($ac_try" in
19760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19766 grep -v '^ *+' conftest.er1 >conftest.err
19768 cat conftest.err >&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); } >/dev/null && {
19771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19772 test ! -s conftest.err
19774 ac_header_preproc=yes
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19779 ac_header_preproc=no
19782 rm -f conftest.err conftest.$ac_ext
19783 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19784 echo "${ECHO_T}$ac_header_preproc" >&6; }
19786 # So? What about this header?
19787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19793 ac_header_preproc=yes
19796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19809 ## -------------------------------------------------- ##
19810 ## Report this to courier-users@lists.sourceforge.net ##
19811 ## -------------------------------------------------- ##
19813 ) | sed "s/^/$as_me: WARNING: /" >&2
19816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 eval "$as_ac_Header=\$ac_header_preproc"
19823 ac_res=`eval echo '${'$as_ac_Header'}'`
19824 { echo "$as_me:$LINENO: result: $ac_res" >&5
19825 echo "${ECHO_T}$ac_res" >&6; }
19828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19829 cat >>confdefs.h <<_ACEOF
19830 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19838 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19839 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19840 if test "${ac_cv_c_const+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 cat >conftest.$ac_ext <<_ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19853 /* FIXME: Include the comments suggested by Paul. */
19854 #ifndef __cplusplus
19855 /* Ultrix mips cc rejects this. */
19856 typedef int charset[2];
19858 /* SunOS 4.1.1 cc rejects this. */
19859 char const *const *pcpcc;
19861 /* NEC SVR4.0.2 mips cc rejects this. */
19862 struct point {int x, y;};
19863 static struct point const zero = {0,0};
19864 /* AIX XL C 1.02.0.0 rejects this.
19865 It does not let you subtract one const X* pointer from another in
19866 an arm of an if-expression whose if-part is not a constant
19868 const char *g = "string";
19869 pcpcc = &g + (g ? g-g : 0);
19870 /* HPUX 7.0 cc rejects these. */
19872 ppc = (char**) pcpcc;
19873 pcpcc = (char const *const *) ppc;
19874 { /* SCO 3.2v4 cc rejects this. */
19876 char const *s = 0 ? (char *) 0 : (char const *) 0;
19881 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19882 int x[] = {25, 17};
19883 const int *foo = &x[0];
19886 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19887 typedef const int *iptr;
19891 { /* AIX XL C 1.02.0.0 rejects this saying
19892 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19893 struct s { int j; const int *ap[3]; };
19894 struct s *b; b->j = 5;
19896 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19897 const int foo = 10;
19898 if (!foo) return 0;
19900 return !cs[0] && !zero.x;
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19911 *) ac_try_echo
=$ac_try;;
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19916 grep -v '^ *+' conftest.er1
>conftest.err
19918 cat conftest.err
>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.
$ac_objext; then
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.
$ac_ext >&5
19932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19934 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19935 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19936 if test $ac_cv_c_const = no
; then
19938 cat >>confdefs.h
<<\_ACEOF
19944 { echo "$as_me:$LINENO: checking for size_t" >&5
19945 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19946 if test "${ac_cv_type_size_t+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 cat >conftest.
$ac_ext <<_ACEOF
19952 cat confdefs.h
>>conftest.
$ac_ext
19953 cat >>conftest.
$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 $ac_includes_default
19956 typedef size_t ac__type_new_;
19960 if ((ac__type_new_ *) 0)
19962 if (sizeof (ac__type_new_))
19968 rm -f conftest.
$ac_objext
19969 if { (ac_try
="$ac_compile"
19970 case "(($ac_try" in
19971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19972 *) ac_try_echo=$ac_try;;
19974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19975 (eval "$ac_compile") 2>conftest.er1
19977 grep -v '^ *+' conftest.er1 >conftest.err
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } && {
19982 test -z "$ac_c_werror_flag" ||
19983 test ! -s conftest.err
19984 } && test -s conftest.$ac_objext; then
19985 ac_cv_type_size_t=yes
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.$ac_ext >&5
19990 ac_cv_type_size_t=no
19993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19996 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19997 if test $ac_cv_type_size_t = yes; then
20001 cat >>confdefs.h <<_ACEOF
20002 #define size_t unsigned int
20007 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20008 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
20009 if test "${ac_cv_struct_tm+set}" = set; then
20010 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 cat >conftest.$ac_ext <<_ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20018 #include <sys/types.h>
20025 int *p = &tm.tm_sec;
20031 rm -f conftest.$ac_objext
20032 if { (ac_try="$ac_compile"
20033 case "(($ac_try" in
20034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20035 *) ac_try_echo
=$ac_try;;
20037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20038 (eval "$ac_compile") 2>conftest.er1
20040 grep -v '^ *+' conftest.er1
>conftest.err
20042 cat conftest.err
>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); } && {
20045 test -z "$ac_c_werror_flag" ||
20046 test ! -s conftest.err
20047 } && test -s conftest.
$ac_objext; then
20048 ac_cv_struct_tm
=time.h
20050 echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.
$ac_ext >&5
20053 ac_cv_struct_tm
=sys
/time.h
20056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20058 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20059 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
20060 if test $ac_cv_struct_tm = sys
/time.h
; then
20062 cat >>confdefs.h
<<\_ACEOF
20063 #define TM_IN_SYS_TIME 1
20073 for ac_func
in strcasecmp strncasecmp setlocale
20075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20076 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20078 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 cat >conftest.
$ac_ext <<_ACEOF
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20089 #define $ac_func innocuous_$ac_func
20091 /* System header to define __stub macros and hopefully few prototypes,
20092 which can conflict with char $ac_func (); below.
20093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20094 <limits.h> exists even on freestanding compilers. */
20097 # include <limits.h>
20099 # include <assert.h>
20104 /* Override any GCC internal prototype to avoid an error.
20105 Use char because int might match the return type of a GCC
20106 builtin and then its argument prototype would still apply. */
20111 /* The GNU C library defines this for functions which it implements
20112 to always fail with ENOSYS. Some functions are actually named
20113 something starting with __ and the normal name is an alias. */
20114 #if defined __stub_$ac_func || defined __stub___$ac_func
20121 return $ac_func ();
20126 rm -f conftest.
$ac_objext conftest
$ac_exeext
20127 if { (ac_try
="$ac_link"
20128 case "(($ac_try" in
20129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20130 *) ac_try_echo=$ac_try;;
20132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20133 (eval "$ac_link") 2>conftest.er1
20135 grep -v '^ *+' conftest.er1 >conftest.err
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } && {
20140 test -z "$ac_c_werror_flag" ||
20141 test ! -s conftest.err
20142 } && test -s conftest$ac_exeext &&
20143 $as_test_x conftest$ac_exeext; then
20144 eval "$as_ac_var=yes"
20146 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.$ac_ext >&5
20149 eval "$as_ac_var=no"
20152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20153 conftest$ac_exeext conftest.$ac_ext
20155 ac_res=`eval echo '${'$as_ac_var'}'`
20156 { echo "$as_me:$LINENO: result: $ac_res" >&5
20157 echo "${ECHO_T}$ac_res" >&6; }
20158 if test `eval echo '${'$as_ac_var'}'` = yes; then
20159 cat >>confdefs.h <<_ACEOF
20160 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20167 { echo "$as_me:$LINENO: checking how to calculate alternate timezone" >&5
20168 echo $ECHO_N "checking how to calculate alternate timezone... $ECHO_C" >&6; }
20169 if test "${librfc822_cv_SYS_TIMEZONE+set}" = set; then
20170 echo $ECHO_N "(cached) $ECHO_C" >&6
20172 cat >conftest.$ac_ext <<_ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20196 rm -f conftest.$ac_objext
20197 if { (ac_try="$ac_compile"
20198 case "(($ac_try" in
20199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20200 *) ac_try_echo
=$ac_try;;
20202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20203 (eval "$ac_compile") 2>conftest.er1
20205 grep -v '^ *+' conftest.er1
>conftest.err
20207 cat conftest.err
>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); } && {
20210 test -z "$ac_c_werror_flag" ||
20211 test ! -s conftest.err
20212 } && test -s conftest.
$ac_objext; then
20213 librfc822_cv_SYS_TIMEZONE
=altzone
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 cat >conftest.
$ac_ext <<_ACEOF
20221 cat confdefs.h
>>conftest.
$ac_ext
20222 cat >>conftest.
$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20242 rm -f conftest.
$ac_objext
20243 if { (ac_try
="$ac_compile"
20244 case "(($ac_try" in
20245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20246 *) ac_try_echo=$ac_try;;
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_compile") 2>conftest.er1
20251 grep -v '^ *+' conftest.er1 >conftest.err
20253 cat conftest.err >&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } && {
20256 test -z "$ac_c_werror_flag" ||
20257 test ! -s conftest.err
20258 } && test -s conftest.$ac_objext; then
20259 librfc822_cv_SYS_TIMEZONE=daylight
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20264 cat >conftest.$ac_ext <<_ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20273 extern struct tm dummy;
20281 long n=dummy.tm_gmtoff;
20290 rm -f conftest.$ac_objext
20291 if { (ac_try="$ac_compile"
20292 case "(($ac_try" in
20293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20294 *) ac_try_echo
=$ac_try;;
20296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20297 (eval "$ac_compile") 2>conftest.er1
20299 grep -v '^ *+' conftest.er1
>conftest.err
20301 cat conftest.err
>&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } && {
20304 test -z "$ac_c_werror_flag" ||
20305 test ! -s conftest.err
20306 } && test -s conftest.
$ac_objext; then
20307 librfc822_cv_SYS_TIMEZONE
=tm_gmtoff
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.
$ac_ext >&5
20312 librfc822_cv_SYS_TIMEZONE
=unknown
20316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20327 { echo "$as_me:$LINENO: result: $librfc822_cv_SYS_TIMEZONE" >&5
20328 echo "${ECHO_T}$librfc822_cv_SYS_TIMEZONE" >&6; }
20330 case $librfc822_cv_SYS_TIMEZONE in
20333 cat >>confdefs.h
<<_ACEOF
20334 #define USE_TIME_GMTOFF 1
20340 cat >>confdefs.h
<<_ACEOF
20341 #define USE_TIME_ALTZONE 1
20347 cat >>confdefs.h
<<_ACEOF
20348 #define USE_TIME_DAYLIGHT 1
20353 { echo "$as_me:$LINENO: WARNING: Cannot figure out how to calculate the alternate timezone, will use GMT" >&5
20354 echo "$as_me: WARNING: Cannot figure out how to calculate the alternate timezone, will use GMT" >&2;}
20358 if test -d ..
/unicode
20361 cat >>confdefs.h
<<_ACEOF
20362 #define HAVE_LIBUNICODE 1
20367 if test -d ${srcdir}/..
/docbook
; then
20369 HAVE_SGML_FALSE
='#'
20376 ac_config_files
="$ac_config_files Makefile"
20378 cat >confcache
<<\_ACEOF
20379 # This file is a shell script that caches the results of configure
20380 # tests run on this system so they can be shared between configure
20381 # scripts and configure runs, see configure's option --config-cache.
20382 # It is not useful on other systems. If it contains results you don't
20383 # want to keep, you may remove or edit it.
20385 # config.status only pays attention to the cache file if you give it
20386 # the --recheck option to rerun configure.
20388 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20389 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20390 # following values.
20394 # The following way of writing the cache mishandles newlines in values,
20395 # but we know of no workaround that is simple, portable, and efficient.
20396 # So, we kill variables containing newlines.
20397 # Ultrix sh set writes to stderr and can't be redirected directly,
20398 # and sets the high bit in the cache file unless we assign to the vars.
20400 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20401 eval ac_val
=\$
$ac_var
20405 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20406 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20409 _ | IFS | as_nl
) ;; #(
20410 *) $as_unset $ac_var ;;
20416 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20417 *${as_nl}ac_space
=\
*)
20418 # `set' does not quote correctly, so add quotes (double-quote
20419 # substitution turns \\\\ into \\, and sed turns \\ into \).
20422 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20425 # `set' quotes correctly as required by POSIX, so do not add quotes.
20426 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20437 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20439 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20440 if test -w "$cache_file"; then
20441 test "x$cache_file" != "x/dev/null" &&
20442 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20443 echo "$as_me: updating cache $cache_file" >&6;}
20444 cat confcache
>$cache_file
20446 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20447 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20452 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20453 # Let make expand exec_prefix.
20454 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20456 DEFS
=-DHAVE_CONFIG_H
20460 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20461 # 1. Remove the extension, and $U if already installed.
20462 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20463 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20464 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20465 # will be set to the directory where LIBOBJS objects are built.
20466 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20467 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20469 LIBOBJS
=$ac_libobjs
20471 LTLIBOBJS
=$ac_ltlibobjs
20474 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20475 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20476 Usually this means the macro was only invoked conditionally." >&5
20477 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20478 Usually this means the macro was only invoked conditionally." >&2;}
20479 { (exit 1); exit 1; }; }
20481 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20482 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20483 Usually this means the macro was only invoked conditionally." >&5
20484 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20485 Usually this means the macro was only invoked conditionally." >&2;}
20486 { (exit 1); exit 1; }; }
20488 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20489 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20490 Usually this means the macro was only invoked conditionally." >&5
20491 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20492 Usually this means the macro was only invoked conditionally." >&2;}
20493 { (exit 1); exit 1; }; }
20495 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
20496 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
20497 Usually this means the macro was only invoked conditionally." >&5
20498 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
20499 Usually this means the macro was only invoked conditionally." >&2;}
20500 { (exit 1); exit 1; }; }
20503 : ${CONFIG_STATUS=./config.status}
20504 ac_clean_files_save
=$ac_clean_files
20505 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20506 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20507 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20508 cat >$CONFIG_STATUS <<_ACEOF
20510 # Generated by $as_me.
20511 # Run this file to recreate the current configuration.
20512 # Compiler output produced by configure, useful for debugging
20513 # configure, is in config.log if it exists.
20516 ac_cs_recheck=false
20518 SHELL=\${CONFIG_SHELL-$SHELL}
20521 cat >>$CONFIG_STATUS <<\_ACEOF
20522 ## --------------------- ##
20523 ## M4sh Initialization. ##
20524 ## --------------------- ##
20526 # Be more Bourne compatible
20527 DUALCASE
=1; export DUALCASE
# for MKS sh
20528 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20531 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20532 # is contrary to our usage. Disable this feature.
20533 alias -g '${1+"$@"}'='"$@"'
20534 setopt NO_GLOB_SUBST
20536 case `(set -o) 2>/dev/null` in
20537 *posix
*) set -o posix
;;
20546 # Avoid depending upon Character Ranges.
20547 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20548 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20549 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20550 as_cr_digits
='0123456789'
20551 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20553 # The user is always right.
20554 if test "${PATH_SEPARATOR+set}" != set; then
20555 echo "#! /bin/sh" >conf$$.sh
20556 echo "exit 0" >>conf$$.sh
20558 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20566 # Support unset when possible.
20567 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20575 # We need space, tab and new line, in precisely that order. Quoting is
20576 # there to prevent editors from complaining about space-tab.
20577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20578 # splitting by setting IFS to empty value.)
20583 # Find who we are. Look in the path if we contain no directory separator.
20585 *[\\/]* ) as_myself
=$0 ;;
20586 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20587 for as_dir
in $PATH
20590 test -z "$as_dir" && as_dir
=.
20591 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20597 # We did not find ourselves, most probably we were run as `sh COMMAND'
20598 # in which case we are not to be found in the path.
20599 if test "x$as_myself" = x
; then
20602 if test ! -f "$as_myself"; then
20603 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20604 { (exit 1); exit 1; }
20607 # Work around bugs in pre-3.0 UWIN ksh.
20608 for as_var
in ENV MAIL MAILPATH
20609 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20617 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20618 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20619 LC_TELEPHONE LC_TIME
20621 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20622 eval $as_var=C
; export $as_var
20624 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20628 # Required to use basename.
20629 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20630 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20636 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20637 as_basename
=basename
20643 # Name of the executable.
20644 as_me
=`$as_basename -- "$0" ||
20645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20646 X"$0" : 'X\(//\)$' \| \
20647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20649 sed '/^.*\/\([^/][^/]*\)\/*$/{
20668 as_lineno_1
=$LINENO
20669 as_lineno_2
=$LINENO
20670 test "x$as_lineno_1" != "x$as_lineno_2" &&
20671 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20673 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20674 # uniformly replaced by the line number. The first 'sed' inserts a
20675 # line-number line after each line using $LINENO; the second 'sed'
20676 # does the real work. The second script uses 'N' to pair each
20677 # line-number line with the line containing $LINENO, and appends
20678 # trailing '-' during substitution so that $LINENO is not a special
20679 # case at line end.
20680 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20681 # scripts with optimization help from Paolo Bonzini. Blame Lee
20682 # E. McMahon (1931-1989) for sed's syntax. :-)
20694 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20697 ' >$as_me.lineno
&&
20698 chmod +x
"$as_me.lineno" ||
20699 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20700 { (exit 1); exit 1; }; }
20702 # Don't try to exec as it changes $[0], causing all sort of problems
20703 # (the dirname of $[0] is not the place where we might find the
20704 # original and so on. Autoconf is especially sensitive to this).
20705 .
"./$as_me.lineno"
20706 # Exit status is that of the last command.
20711 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20717 ECHO_C
= ECHO_N
= ECHO_T
=
20718 case `echo -n x` in
20720 case `echo 'x\c'` in
20721 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20728 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20729 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20735 rm -f conf$$ conf$$.exe conf$$.
file
20736 if test -d conf$$.dir
; then
20737 rm -f conf$$.dir
/conf$$.
file
20743 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20745 # ... but there are two gotchas:
20746 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20747 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20748 # In both cases, we have to default to `cp -p'.
20749 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20751 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20756 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20757 rmdir conf$$.dir
2>/dev
/null
20759 if mkdir
-p .
2>/dev
/null
; then
20762 test -d .
/-p && rmdir .
/-p
20766 if test -x / >/dev
/null
2>&1; then
20767 as_test_x
='test -x'
20769 if ls -dL / >/dev
/null
2>&1; then
20776 if test -d "$1"; then
20782 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20783 ???[sx]*):;;*)false;;esac;fi
20787 as_executable_p
=$as_test_x
20789 # Sed expression to map a string onto a valid CPP name.
20790 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20792 # Sed expression to map a string onto a valid variable name.
20793 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20798 # Save the log message, to keep $[0] and so on meaningful, and to
20799 # report actual input values of CONFIG_FILES etc. instead of their
20800 # values after options handling.
20802 This file was extended by rfc822lib $as_me 0.12, which was
20803 generated by GNU Autoconf 2.61. Invocation command line was
20805 CONFIG_FILES = $CONFIG_FILES
20806 CONFIG_HEADERS = $CONFIG_HEADERS
20807 CONFIG_LINKS = $CONFIG_LINKS
20808 CONFIG_COMMANDS = $CONFIG_COMMANDS
20811 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20816 cat >>$CONFIG_STATUS <<_ACEOF
20817 # Files that config.status was made for.
20818 config_files="$ac_config_files"
20819 config_headers="$ac_config_headers"
20820 config_commands="$ac_config_commands"
20824 cat >>$CONFIG_STATUS <<\_ACEOF
20826 \`$as_me' instantiates files from templates according to the
20827 current configuration.
20829 Usage: $0 [OPTIONS] [FILE]...
20831 -h, --help print this help, then exit
20832 -V, --version print version number and configuration settings, then exit
20833 -q, --quiet do not print progress messages
20834 -d, --debug don't remove temporary files
20835 --recheck update $as_me by reconfiguring in the same conditions
20836 --file=FILE[:TEMPLATE]
20837 instantiate the configuration file FILE
20838 --header=FILE[:TEMPLATE]
20839 instantiate the configuration header FILE
20841 Configuration files:
20844 Configuration headers:
20847 Configuration commands:
20850 Report bugs to <bug-autoconf@gnu.org>."
20853 cat >>$CONFIG_STATUS <<_ACEOF
20855 rfc822lib config.status 0.12
20856 configured by $0, generated by GNU Autoconf 2.61,
20857 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20859 Copyright (C) 2006 Free Software Foundation, Inc.
20860 This config.status script is free software; the Free Software Foundation
20861 gives unlimited permission to copy, distribute and modify it."
20869 cat >>$CONFIG_STATUS <<\_ACEOF
20870 # If no file are specified by the user, then we need to provide default
20871 # value. By we need to know if files were specified by the user.
20877 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20878 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20889 # Handling of the options.
20890 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20892 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20893 echo "$ac_cs_version"; exit ;;
20894 --debug |
--debu |
--deb |
--de |
--d |
-d )
20896 --file |
--fil |
--fi |
--f )
20898 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20899 ac_need_defaults
=false
;;
20900 --header |
--heade |
--head |
--hea )
20902 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20903 ac_need_defaults
=false
;;
20905 # Conflict between --help and --header
20906 { echo "$as_me: error: ambiguous option: $1
20907 Try \`$0 --help' for more information." >&2
20908 { (exit 1); exit 1; }; };;
20909 --help |
--hel |
-h )
20910 echo "$ac_cs_usage"; exit ;;
20911 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20912 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20915 # This is an error.
20916 -*) { echo "$as_me: error: unrecognized option: $1
20917 Try \`$0 --help' for more information." >&2
20918 { (exit 1); exit 1; }; } ;;
20920 *) ac_config_targets
="$ac_config_targets $1"
20921 ac_need_defaults
=false
;;
20927 ac_configure_extra_args
=
20929 if $ac_cs_silent; then
20931 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20935 cat >>$CONFIG_STATUS <<_ACEOF
20936 if \$ac_cs_recheck; then
20937 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20938 CONFIG_SHELL=$SHELL
20939 export CONFIG_SHELL
20940 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20944 cat >>$CONFIG_STATUS <<\_ACEOF
20948 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20949 ## Running $as_me. ##
20955 cat >>$CONFIG_STATUS <<_ACEOF
20959 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20963 cat >>$CONFIG_STATUS <<\_ACEOF
20965 # Handling of arguments.
20966 for ac_config_target
in $ac_config_targets
20968 case $ac_config_target in
20969 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20970 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20971 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20973 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20974 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20975 { (exit 1); exit 1; }; };;
20980 # If the user did not use the arguments to specify the items to instantiate,
20981 # then the envvar interface is used. Set only those that are not.
20982 # We use the long form for the default assignment because of an extremely
20983 # bizarre bug on SunOS 4.1.3.
20984 if $ac_need_defaults; then
20985 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20986 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20987 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20990 # Have a temporary directory for convenience. Make it in the build tree
20991 # simply because there is no reason against having it here, and in addition,
20992 # creating and moving files from /tmp can sometimes cause problems.
20993 # Hook for its removal unless debugging.
20994 # Note that there is a small window in which the directory will not be cleaned:
20995 # after its creation but before its name has been assigned to `$tmp'.
20999 trap 'exit_status=$?
21000 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21002 trap '{ (exit 1); exit 1; }' 1 2 13 15
21004 # Create a (secure) tmp directory for tmp files.
21007 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21008 test -n "$tmp" && test -d "$tmp"
21011 tmp
=.
/conf$$
-$RANDOM
21012 (umask 077 && mkdir
"$tmp")
21015 echo "$me: cannot create a temporary directory in ." >&2
21016 { (exit 1); exit 1; }
21020 # Set up the sed scripts for CONFIG_FILES section.
21023 # No need to generate the scripts if there are no CONFIG_FILES.
21024 # This happens for instance when ./config.status config.h
21025 if test -n "$CONFIG_FILES"; then
21032 for ac_last_try
in false false false false false
:; do
21033 cat >conf$
$subs.
sed <<_ACEOF
21034 SHELL!$SHELL$ac_delim
21035 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21036 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21037 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21038 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21039 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21040 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21041 exec_prefix!$exec_prefix$ac_delim
21042 prefix!$prefix$ac_delim
21043 program_transform_name!$program_transform_name$ac_delim
21044 bindir!$bindir$ac_delim
21045 sbindir!$sbindir$ac_delim
21046 libexecdir!$libexecdir$ac_delim
21047 datarootdir!$datarootdir$ac_delim
21048 datadir!$datadir$ac_delim
21049 sysconfdir!$sysconfdir$ac_delim
21050 sharedstatedir!$sharedstatedir$ac_delim
21051 localstatedir!$localstatedir$ac_delim
21052 includedir!$includedir$ac_delim
21053 oldincludedir!$oldincludedir$ac_delim
21054 docdir!$docdir$ac_delim
21055 infodir!$infodir$ac_delim
21056 htmldir!$htmldir$ac_delim
21057 dvidir!$dvidir$ac_delim
21058 pdfdir!$pdfdir$ac_delim
21059 psdir!$psdir$ac_delim
21060 libdir!$libdir$ac_delim
21061 localedir!$localedir$ac_delim
21062 mandir!$mandir$ac_delim
21063 DEFS!$DEFS$ac_delim
21064 ECHO_C!$ECHO_C$ac_delim
21065 ECHO_N!$ECHO_N$ac_delim
21066 ECHO_T!$ECHO_T$ac_delim
21067 LIBS!$LIBS$ac_delim
21068 build_alias!$build_alias$ac_delim
21069 host_alias!$host_alias$ac_delim
21070 target_alias!$target_alias$ac_delim
21071 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21072 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21073 INSTALL_DATA!$INSTALL_DATA$ac_delim
21074 am__isrc!$am__isrc$ac_delim
21075 CYGPATH_W!$CYGPATH_W$ac_delim
21076 PACKAGE!$PACKAGE$ac_delim
21077 VERSION!$VERSION$ac_delim
21078 ACLOCAL!$ACLOCAL$ac_delim
21079 AUTOCONF!$AUTOCONF$ac_delim
21080 AUTOMAKE!$AUTOMAKE$ac_delim
21081 AUTOHEADER!$AUTOHEADER$ac_delim
21082 MAKEINFO!$MAKEINFO$ac_delim
21083 install_sh!$install_sh$ac_delim
21084 STRIP!$STRIP$ac_delim
21085 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21086 mkdir_p!$mkdir_p$ac_delim
21088 SET_MAKE!$SET_MAKE$ac_delim
21089 am__leading_dot!$am__leading_dot$ac_delim
21090 AMTAR!$AMTAR$ac_delim
21091 am__tar!$am__tar$ac_delim
21092 am__untar!$am__untar$ac_delim
21094 CFLAGS!$CFLAGS$ac_delim
21095 LDFLAGS!$LDFLAGS$ac_delim
21096 CPPFLAGS!$CPPFLAGS$ac_delim
21097 ac_ct_CC!$ac_ct_CC$ac_delim
21098 EXEEXT!$EXEEXT$ac_delim
21099 OBJEXT!$OBJEXT$ac_delim
21100 DEPDIR!$DEPDIR$ac_delim
21101 am__include!$am__include$ac_delim
21102 am__quote!$am__quote$ac_delim
21103 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21104 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21105 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21106 CCDEPMODE!$CCDEPMODE$ac_delim
21107 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21108 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21110 GREP!$GREP$ac_delim
21111 EGREP!$EGREP$ac_delim
21112 build!$build$ac_delim
21113 build_cpu!$build_cpu$ac_delim
21114 build_vendor!$build_vendor$ac_delim
21115 build_os!$build_os$ac_delim
21116 host!$host$ac_delim
21117 host_cpu!$host_cpu$ac_delim
21118 host_vendor!$host_vendor$ac_delim
21119 host_os!$host_os$ac_delim
21121 LN_S!$LN_S$ac_delim
21122 ECHO!$ECHO$ac_delim
21124 RANLIB!$RANLIB$ac_delim
21126 CXXFLAGS!$CXXFLAGS$ac_delim
21127 ac_ct_CXX!$ac_ct_CXX$ac_delim
21128 CXXDEPMODE!$CXXDEPMODE$ac_delim
21129 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21130 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21133 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21135 elif $ac_last_try; then
21136 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21137 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21138 { (exit 1); exit 1; }; }
21140 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21144 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21145 if test -n "$ac_eof"; then
21146 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21147 ac_eof
=`expr $ac_eof + 1`
21150 cat >>$CONFIG_STATUS <<_ACEOF
21151 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21155 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21156 s/^/s,@/; s/!/@,|#_!!_#|/
21159 s/'"$ac_delim"'$/,g/; t
21161 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21162 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21163 rm -f conf$
$subs.
sed
21164 cat >>$CONFIG_STATUS <<_ACEOF
21170 for ac_last_try
in false false false false false
:; do
21171 cat >conf$
$subs.
sed <<_ACEOF
21172 CXXCPP!$CXXCPP$ac_delim
21174 FFLAGS!$FFLAGS$ac_delim
21175 ac_ct_F77!$ac_ct_F77$ac_delim
21176 LIBTOOL!$LIBTOOL$ac_delim
21177 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
21178 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
21179 LIBOBJS!$LIBOBJS$ac_delim
21180 LTLIBOBJS!$LTLIBOBJS$ac_delim
21183 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
21185 elif $ac_last_try; then
21186 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21187 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21188 { (exit 1); exit 1; }; }
21190 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21194 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21195 if test -n "$ac_eof"; then
21196 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21197 ac_eof
=`expr $ac_eof + 1`
21200 cat >>$CONFIG_STATUS <<_ACEOF
21201 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21205 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21206 s/^/s,@/; s/!/@,|#_!!_#|/
21209 s/'"$ac_delim"'$/,g/; t
21211 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21212 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21213 rm -f conf$
$subs.
sed
21214 cat >>$CONFIG_STATUS <<_ACEOF
21221 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21222 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21223 # trailing colons and then remove the whole line if VPATH becomes empty
21224 # (actually we leave an empty line to preserve line numbers).
21225 if test "x$srcdir" = x.
; then
21226 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21227 s/:*\$(srcdir):*/:/
21228 s/:*\${srcdir}:*/:/
21230 s/^\([^=]*=[ ]*\):*/\1/
21236 cat >>$CONFIG_STATUS <<\_ACEOF
21237 fi # test -n "$CONFIG_FILES"
21240 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21243 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21245 case $ac_mode$ac_tag in
21247 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21248 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21249 { (exit 1); exit 1; }; };;
21250 :[FH
]-) ac_tag
=-:-;;
21251 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21268 -) ac_f
="$tmp/stdin";;
21269 *) # Look for the file first in the build tree, then in the source tree
21270 # (if the path is not absolute). The absolute path cannot be DOS-style,
21271 # because $ac_f cannot contain `:'.
21275 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21277 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21278 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21279 { (exit 1); exit 1; }; };;
21281 ac_file_inputs
="$ac_file_inputs $ac_f"
21284 # Let's still pretend it is `configure' which instantiates (i.e., don't
21285 # use $as_me), people would be surprised to read:
21286 # /* config.h. Generated by config.status. */
21287 configure_input
="Generated from "`IFS=:
21288 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21289 if test x
"$ac_file" != x-
; then
21290 configure_input
="$ac_file. $configure_input"
21291 { echo "$as_me:$LINENO: creating $ac_file" >&5
21292 echo "$as_me: creating $ac_file" >&6;}
21296 *:-:* |
*:-) cat >"$tmp/stdin";;
21301 ac_dir
=`$as_dirname -- "$ac_file" ||
21302 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21303 X"$ac_file" : 'X\(//\)[^/]' \| \
21304 X"$ac_file" : 'X\(//\)$' \| \
21305 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21311 /^X\(\/\/\)[^/].*/{
21326 -*) as_dir
=.
/$as_dir;;
21328 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21332 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21333 *) as_qdir
=$as_dir;;
21335 as_dirs
="'$as_qdir' $as_dirs"
21336 as_dir
=`$as_dirname -- "$as_dir" ||
21337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21338 X"$as_dir" : 'X\(//\)[^/]' \| \
21339 X"$as_dir" : 'X\(//\)$' \| \
21340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21346 /^X\(\/\/\)[^/].*/{
21359 test -d "$as_dir" && break
21361 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21362 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21363 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21364 { (exit 1); exit 1; }; }; }
21368 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21370 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21371 # A ".." for each directory in $ac_dir_suffix.
21372 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21373 case $ac_top_builddir_sub in
21374 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21375 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21378 ac_abs_top_builddir
=$ac_pwd
21379 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21380 # for backward compatibility:
21381 ac_top_builddir
=$ac_top_build_prefix
21384 .
) # We are building in place.
21386 ac_top_srcdir
=$ac_top_builddir_sub
21387 ac_abs_top_srcdir
=$ac_pwd ;;
21388 [\\/]* | ?
:[\\/]* ) # Absolute name.
21389 ac_srcdir
=$srcdir$ac_dir_suffix;
21390 ac_top_srcdir
=$srcdir
21391 ac_abs_top_srcdir
=$srcdir ;;
21392 *) # Relative name.
21393 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21394 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21395 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21397 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21407 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21408 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21410 ac_MKDIR_P
=$MKDIR_P
21412 [\\/$
]* | ?
:[\\/]* ) ;;
21413 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21417 cat >>$CONFIG_STATUS <<\_ACEOF
21418 # If the template does not know about datarootdir, expand it.
21419 # FIXME: This hack should be removed a few years after 2.60.
21420 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21422 case `sed -n '/datarootdir/ {
21431 ' $ac_file_inputs` in
21432 *datarootdir
*) ac_datarootdir_seen
=yes;;
21433 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21434 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21435 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21437 cat >>$CONFIG_STATUS <<_ACEOF
21438 ac_datarootdir_hack='
21439 s&@datadir@&$datadir&g
21440 s&@docdir@&$docdir&g
21441 s&@infodir@&$infodir&g
21442 s&@localedir@&$localedir&g
21443 s&@mandir@&$mandir&g
21444 s&\\\${datarootdir}&$datarootdir&g' ;;
21448 # Neutralize VPATH when `$srcdir' = `.'.
21449 # Shell code in configure.ac might set extrasub.
21450 # FIXME: do we really want to maintain this feature?
21451 cat >>$CONFIG_STATUS <<_ACEOF
21455 cat >>$CONFIG_STATUS <<\_ACEOF
21457 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21458 s
&@configure_input@
&$configure_input&;t t
21459 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21460 s
&@srcdir@
&$ac_srcdir&;t t
21461 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21462 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21463 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21464 s
&@builddir@
&$ac_builddir&;t t
21465 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21466 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21467 s
&@INSTALL@
&$ac_INSTALL&;t t
21468 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21469 $ac_datarootdir_hack
21470 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21472 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21473 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21474 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21475 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21476 which seems to be undefined. Please make sure it is defined." >&5
21477 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21478 which seems to be undefined. Please make sure it is defined." >&2;}
21482 -) cat "$tmp/out"; rm -f "$tmp/out";;
21483 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21492 # Transform confdefs.h into a sed script `conftest.defines', that
21493 # substitutes the proper values into config.h.in to produce config.h.
21494 rm -f conftest.defines conftest.
tail
21495 # First, append a space to every undef/define line, to ease matching.
21496 echo 's/$/ /' >conftest.defines
21497 # Then, protect against being on the right side of a sed subst, or in
21498 # an unquoted here document, in config.status. If some macros were
21499 # called several times there might be several #defines for the same
21500 # symbol, which is useless. But do not sort them, since the last
21501 # AC_DEFINE must be honored.
21502 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21503 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21504 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21505 # PARAMS is the parameter list in the macro definition--in most cases, it's
21506 # just an empty string.
21507 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21508 ac_dB
='\\)[ (].*,\\1define\\2'
21516 s/^[ ]*#[ ]*define[ ][ ]*//
21521 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21522 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21523 ' >>conftest.defines
21525 # Remove the space that was appended to ease matching.
21526 # Then replace #undef with comments. This is necessary, for
21527 # example, in the case of _POSIX_SOURCE, which is predefined and required
21528 # on some systems where configure will not decide to define it.
21529 # (The regexp can be short, since the line contains either #define or #undef.)
21531 s,^[ #]*u.*,/* & */,' >>conftest.defines
21533 # Break up conftest.defines:
21534 ac_max_sed_lines
=50
21536 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21537 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21538 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21540 ac_in
='$ac_file_inputs'
21541 ac_out
='"$tmp/out1"'
21542 ac_nxt
='"$tmp/out2"'
21546 # Write a here document:
21547 cat >>$CONFIG_STATUS <<_ACEOF
21548 # First, check the format of the line:
21549 cat >"\$tmp/defines.sed" <<\\CEOF
21550 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21551 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21555 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21557 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21558 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21559 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21560 grep . conftest.
tail >/dev
/null ||
break
21561 rm -f conftest.defines
21562 mv conftest.
tail conftest.defines
21564 rm -f conftest.defines conftest.
tail
21566 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21567 cat >>$CONFIG_STATUS <<\_ACEOF
21568 if test x
"$ac_file" != x-
; then
21569 echo "/* $configure_input */" >"$tmp/config.h"
21570 cat "$ac_result" >>"$tmp/config.h"
21571 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21572 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21573 echo "$as_me: $ac_file is unchanged" >&6;}
21576 mv "$tmp/config.h" $ac_file
21579 echo "/* $configure_input */"
21583 # Compute $ac_file's index in $config_headers.
21585 for _am_header
in $config_headers :; do
21586 case $_am_header in
21587 $ac_file |
$ac_file:* )
21590 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21593 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21594 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21595 X$ac_file : 'X\(//\)[^/]' \| \
21596 X$ac_file : 'X\(//\)$' \| \
21597 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21603 /^X\(\/\/\)[^/].*/{
21615 s/.*/./; q'`/stamp-h
$_am_stamp_count
21618 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21619 echo "$as_me: executing $ac_file commands" >&6;}
21624 case $ac_file$ac_mode in
21625 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21626 # Strip MF so we end up with the name of the file.
21627 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21628 # Check whether this is an Automake generated Makefile or not.
21629 # We used to match only the files named `Makefile.in', but
21630 # some people rename them; so instead we look at the file content.
21631 # Grep'ing the first line is not enough: some people post-process
21632 # each Makefile.in and add a new line on top of each file to say so.
21633 # Grep'ing the whole file is not good either: AIX grep has a line
21634 # limit of 2048, but all sed's we know have understand at least 4000.
21635 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
21636 dirpart
=`$as_dirname -- "$mf" ||
21637 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21638 X"$mf" : 'X\(//\)[^/]' \| \
21639 X"$mf" : 'X\(//\)$' \| \
21640 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21646 /^X\(\/\/\)[^/].*/{
21662 # Extract the definition of DEPDIR, am__include, and am__quote
21663 # from the Makefile without running `make'.
21664 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21665 test -z "$DEPDIR" && continue
21666 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21667 test -z "am__include" && continue
21668 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21669 # When using ansi2knr, U may be empty or an underscore; expand it
21670 U
=`sed -n 's/^U = //p' < "$mf"`
21671 # Find all dependency output files, they are included files with
21672 # $(DEPDIR) in their names. We invoke sed twice because it is the
21673 # simplest approach to changing $(DEPDIR) to its actual value in the
21675 for file in `sed -n "
21676 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21677 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21678 # Make sure the directory exists.
21679 test -f "$dirpart/$file" && continue
21680 fdir
=`$as_dirname -- "$file" ||
21681 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21682 X"$file" : 'X\(//\)[^/]' \| \
21683 X"$file" : 'X\(//\)$' \| \
21684 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21690 /^X\(\/\/\)[^/].*/{
21703 { as_dir
=$dirpart/$fdir
21705 -*) as_dir
=.
/$as_dir;;
21707 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21711 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21712 *) as_qdir
=$as_dir;;
21714 as_dirs
="'$as_qdir' $as_dirs"
21715 as_dir
=`$as_dirname -- "$as_dir" ||
21716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21717 X"$as_dir" : 'X\(//\)[^/]' \| \
21718 X"$as_dir" : 'X\(//\)$' \| \
21719 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21725 /^X\(\/\/\)[^/].*/{
21738 test -d "$as_dir" && break
21740 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21741 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21742 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21743 { (exit 1); exit 1; }; }; }
21744 # echo "creating $dirpart/$file"
21745 echo '# dummy' > "$dirpart/$file"
21754 { (exit 0); exit 0; }
21756 chmod +x
$CONFIG_STATUS
21757 ac_clean_files
=$ac_clean_files_save
21760 # configure is writing to config.log, and then calls config.status.
21761 # config.status does its own redirection, appending to config.log.
21762 # Unfortunately, on DOS this fails, as config.log is still kept open
21763 # by configure, so config.status won't be able to write to it; its
21764 # output is simply discarded. So we exec the FD to /dev/null,
21765 # effectively closing config.log, so it can be properly (re)opened and
21766 # appended to by config.status. When coming back to configure, we
21767 # need to make the FD available again.
21768 if test "$no_create" != yes; then
21770 ac_config_status_args
=
21771 test "$silent" = yes &&
21772 ac_config_status_args
="$ac_config_status_args --quiet"
21774 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21776 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21777 # would make configure fail if this is the last instruction.
21778 $ac_cs_success ||
{ (exit 1); exit 1; }