2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for random128 0.10.
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
='random128'
730 PACKAGE_TARNAME
='random128'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='random128 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="random128.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 random128 0.10 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/random128]
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 random128 0.10:";;
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-static[=PKGS
] build static libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1483 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1484 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1485 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1487 --with-tags[=TAGS
] include additional configurations
[automatic
]
1488 --with-random=/dev
/urandom
- location of the system random
file generator
1489 --without-random - there is no system random
file generator
1491 Some influential environment variables
:
1492 CC C compiler
command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1495 nonstandard directory
<lib dir
>
1496 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1497 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1498 you have headers
in a nonstandard directory
<include dir
>
1500 CXX C
++ compiler
command
1501 CXXFLAGS C
++ compiler flags
1502 CXXCPP C
++ preprocessor
1503 F77 Fortran
77 compiler
command
1504 FFLAGS Fortran
77 compiler flags
1506 Use these variables to override the choices made by
`configure' or to help
1507 it to find libraries and programs with nonstandard names/locations.
1509 Report bugs to <courier-users@lists.sourceforge.net>.
1514 if test "$ac_init_help" = "recursive"; then
1515 # If there are subdirs, report their specific --help.
1516 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1517 test -d "$ac_dir" || continue
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1537 .) # We are building in place.
1539 ac_top_srcdir=$ac_top_builddir_sub
1540 ac_abs_top_srcdir=$ac_pwd ;;
1541 [\\/]* | ?:[\\/]* ) # Absolute name.
1542 ac_srcdir=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir=$srcdir
1544 ac_abs_top_srcdir=$srcdir ;;
1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" || { ac_status=$?; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" || { ac_status=$?; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 random128 configure 0.10
1571 generated by GNU Autoconf 2.61
1573 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1574 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1575 This configure script is free software; the Free Software Foundation
1576 gives unlimited permission to copy, distribute and modify it.
1580 cat >config.log <<_ACEOF
1581 This file contains any messages produced by compilers while
1582 running configure, to aid debugging if configure makes a mistake.
1584 It was created by random128 $as_me 0.10, which was
1585 generated by GNU Autoconf 2.61. Invocation command line was
1597 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1598 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1599 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1600 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1601 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1603 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1604 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1606 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1608 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1610 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1611 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1612 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620 test -z "$as_dir" && as_dir=.
1621 echo "PATH: $as_dir"
1637 # Keep a trace of the command line.
1638 # Strip out --no-create and --no-recursion so they do not pile up.
1639 # Strip out --silent because we don't want to record it for future runs.
1640 # Also quote any args containing shell meta-characters.
1641 # Make two passes to allow for proper duplicate-argument suppression.
1645 ac_must_keep_next=false
1651 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1653 | -silent | --silent | --silen | --sile | --sil)
1656 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1659 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1661 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1662 if test $ac_must_keep_next = true; then
1663 ac_must_keep_next=false # Got value, back to normal.
1666 *=* | --config-cache | -C | -disable-* | --disable-* \
1667 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1668 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1669 | -with-* | --with-* | -without-* | --without-* | --x)
1670 case "$ac_configure_args0 " in
1671 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1674 -* ) ac_must_keep_next=true ;;
1677 ac_configure_args="$ac_configure_args '$ac_arg'"
1682 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1683 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1685 # When interrupted or exit'd, cleanup temporary files, and complete
1686 # config.log. We remove comments because anyway the quotes in there
1687 # would cause problems or look ugly.
1688 # WARNING: Use '\'' to represent an apostrophe within the trap.
1689 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1690 trap 'exit_status=$?
1691 # Save into config.log some information that might help in debugging.
1696 ## ---------------- ##
1697 ## Cache variables. ##
1698 ## ---------------- ##
1701 # The following way of writing the cache mishandles newlines in values,
1703 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1704 eval ac_val=\$$ac_var
1708 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1709 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1712 _ | IFS | as_nl) ;; #(
1713 *) $as_unset $ac_var ;;
1718 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1719 *${as_nl}ac_space=\ *)
1721 "s/'\''/'\''\\\\'\'''\''/g;
1722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1733 ## ----------------- ##
1734 ## Output variables. ##
1735 ## ----------------- ##
1738 for ac_var in $ac_subst_vars
1740 eval ac_val=\$$ac_var
1742 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744 echo "$ac_var='\''$ac_val'\''"
1748 if test -n "$ac_subst_files"; then
1750 ## ------------------- ##
1751 ## File substitutions. ##
1752 ## ------------------- ##
1755 for ac_var in $ac_subst_files
1757 eval ac_val=\$$ac_var
1759 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1761 echo "$ac_var='\''$ac_val'\''"
1766 if test -s confdefs.h; then
1776 test "$ac_signal" != 0 &&
1777 echo "$as_me: caught signal $ac_signal"
1778 echo "$as_me: exit $exit_status"
1780 rm -f core *.core core.conftest.* &&
1781 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1784 for ac_signal in 1 2 13 15; do
1785 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1789 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1790 rm -f -r conftest* confdefs.h
1792 # Predefined preprocessor variables.
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_NAME "$PACKAGE_NAME"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_STRING "$PACKAGE_STRING"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1819 # Let the site file select an alternate cache file if it wants to.
1820 # Prefer explicitly selected file to automatically selected ones.
1821 if test -n "$CONFIG_SITE"; then
1822 set x "$CONFIG_SITE"
1823 elif test "x$prefix" != xNONE; then
1824 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1826 set x "$ac_default_prefix/share/config.site" \
1827 "$ac_default_prefix/etc/config.site"
1832 if test -r "$ac_site_file"; then
1833 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1834 echo "$as_me: loading site script $ac_site_file" >&6;}
1835 sed 's/^/| /' "$ac_site_file" >&5
1840 if test -r "$cache_file"; then
1841 # Some versions of bash will fail to source /dev/null (special
1842 # files actually), so we avoid doing that.
1843 if test -f "$cache_file"; then
1844 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1845 echo "$as_me: loading cache $cache_file" >&6;}
1847 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1848 *) . "./$cache_file";;
1852 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1853 echo "$as_me: creating cache $cache_file" >&6;}
1857 # Check that the precious variables saved in the cache have kept the same
1859 ac_cache_corrupted=false
1860 for ac_var in $ac_precious_vars; do
1861 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1862 eval ac_new_set=\$ac_env_${ac_var}_set
1863 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1864 eval ac_new_val=\$ac_env_${ac_var}_value
1865 case $ac_old_set,$ac_new_set in
1867 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1868 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1871 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1872 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1873 ac_cache_corrupted=: ;;
1876 if test "x$ac_old_val" != "x$ac_new_val"; then
1877 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1878 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1879 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1880 echo "$as_me: former value
: $ac_old_val" >&2;}
1881 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1882 echo "$as_me: current value
: $ac_new_val" >&2;}
1883 ac_cache_corrupted=:
1886 # Pass precious variables to config.status.
1887 if test "$ac_new_set" = set; then
1889 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1890 *) ac_arg=$ac_var=$ac_new_val ;;
1892 case " $ac_configure_args " in
1893 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1894 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1898 if $ac_cache_corrupted; then
1899 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1900 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1901 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1902 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1903 { (exit 1); exit 1; }; }
1931 ac_cpp='$CPP $CPPFLAGS'
1932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1938 >confdefs.h # Kill PACKAGE_ macros
1941 am__api_version='1.10'
1944 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1945 if test -f "$ac_dir/install-sh"; then
1947 ac_install_sh="$ac_aux_dir/install-sh -c"
1949 elif test -f "$ac_dir/install.sh"; then
1951 ac_install_sh="$ac_aux_dir/install.sh -c"
1953 elif test -f "$ac_dir/shtool"; then
1955 ac_install_sh="$ac_aux_dir/shtool install -c"
1959 if test -z "$ac_aux_dir"; then
1960 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1961 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1962 { (exit 1); exit 1; }; }
1965 # These three variables are undocumented and unsupported,
1966 # and are intended to be withdrawn in a future Autoconf release.
1967 # They can cause serious problems if a builder's source tree is in a directory
1968 # whose full name contains unusual characters.
1969 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1970 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1971 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1974 # Find a good install program. We prefer a C program (faster),
1975 # so one script is as good as another. But avoid the broken or
1976 # incompatible versions:
1977 # SysV /etc/install, /usr/sbin/install
1978 # SunOS /usr/etc/install
1979 # IRIX /sbin/install
1981 # AmigaOS /C/install, which installs bootblocks on floppy discs
1982 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1983 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1984 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1985 # OS/2's system install, which has a completely different semantic
1986 # ./install, which can be erroneously created by make from ./install.sh.
1987 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1988 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1989 if test -z "$INSTALL"; then
1990 if test "${ac_cv_path_install+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 test -z "$as_dir" && as_dir=.
1998 # Account for people who put trailing slashes in PATH elements.
2000 ./ | .// | /cC/* | \
2001 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2002 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2005 # OSF1 and SCO ODT 3.0 have their own names for install.
2006 # Don't use installbsd from OSF since it installs stuff as root
2008 for ac_prog in ginstall scoinst install; do
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2011 if test $ac_prog = install &&
2012 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2013 # AIX install. It has an incompatible calling convention.
2015 elif test $ac_prog = install &&
2016 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2017 # program-specific install script used by HP pwplus--don't use.
2020 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2033 if test "${ac_cv_path_install+set}" = set; then
2034 INSTALL=$ac_cv_path_install
2036 # As a last resort, use the slow shell script. Don't cache a
2037 # value for INSTALL within a source directory, because that will
2038 # break other packages using the cache if that directory is
2039 # removed, or if the value is a relative name.
2040 INSTALL=$ac_install_sh
2043 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2044 echo "${ECHO_T}$INSTALL" >&6; }
2046 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2047 # It thinks the first close brace ends the variable substitution.
2048 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2050 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2052 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2054 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2055 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2058 echo timestamp > conftest.file
2059 # Do `set' in a subshell so we don't clobber the current shell
's
2060 # arguments. Must try -L first in case configure is actually a
2061 # symlink; some systems play weird games with the mod time of symlinks
2062 # (eg FreeBSD returns the mod time of the symlink's containing
2065 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2066 if test "$*" = "X"; then
2068 set X
`ls -t $srcdir/configure conftest.file`
2071 if test "$*" != "X $srcdir/configure conftest.file" \
2072 && test "$*" != "X conftest.file $srcdir/configure"; then
2074 # If neither matched, then we have a broken ls. This can happen
2075 # if, for instance, CONFIG_SHELL is bash and it inherits a
2076 # broken ls alias from the environment. This has actually
2077 # happened. Such a system could not be considered "sane".
2078 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2079 alias in your environment" >&5
2080 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2081 alias in your environment" >&2;}
2082 { (exit 1); exit 1; }; }
2085 test "$2" = conftest.
file
2091 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2092 Check your system clock" >&5
2093 echo "$as_me: error: newly created file is older than distributed files!
2094 Check your system clock" >&2;}
2095 { (exit 1); exit 1; }; }
2097 { echo "$as_me:$LINENO: result: yes" >&5
2098 echo "${ECHO_T}yes" >&6; }
2099 test "$program_prefix" != NONE
&&
2100 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2101 # Use a double $ so make ignores it.
2102 test "$program_suffix" != NONE
&&
2103 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2104 # Double any \ or $. echo might interpret backslashes.
2105 # By default was `s,x,x', remove it if useless.
2106 cat <<\_ACEOF
>conftest.
sed
2107 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2109 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2112 # expand $ac_aux_dir to an absolute path
2113 am_aux_dir
=`cd $ac_aux_dir && pwd`
2115 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2116 # Use eval to expand $SHELL
2117 if eval "$MISSING --run true"; then
2118 am_missing_run
="$MISSING --run "
2121 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2122 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2125 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2126 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2127 if test -z "$MKDIR_P"; then
2128 if test "${ac_cv_path_mkdir+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2132 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2135 test -z "$as_dir" && as_dir
=.
2136 for ac_prog
in mkdir gmkdir
; do
2137 for ac_exec_ext
in '' $ac_executable_extensions; do
2138 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2139 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2140 'mkdir (GNU coreutils) '* | \
2141 'mkdir (coreutils) '* | \
2142 'mkdir (fileutils) '4.1*)
2143 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2153 if test "${ac_cv_path_mkdir+set}" = set; then
2154 MKDIR_P
="$ac_cv_path_mkdir -p"
2156 # As a last resort, use the slow shell script. Don't cache a
2157 # value for MKDIR_P within a source directory, because that will
2158 # break other packages using the cache if that directory is
2159 # removed, or if the value is a relative name.
2160 test -d .
/--version && rmdir .
/--version
2161 MKDIR_P
="$ac_install_sh -d"
2164 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2165 echo "${ECHO_T}$MKDIR_P" >&6; }
2169 [\\/$
]* | ?
:[\\/]*) ;;
2170 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2173 for ac_prog
in gawk mawk nawk
awk
2175 # Extract the first word of "$ac_prog", so it can be a program name with args.
2176 set dummy
$ac_prog; ac_word
=$2
2177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2179 if test "${ac_cv_prog_AWK+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$AWK"; then
2183 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir
=.
2190 for ac_exec_ext
in '' $ac_executable_extensions; do
2191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192 ac_cv_prog_AWK
="$ac_prog"
2193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$AWK"; then
2204 { echo "$as_me:$LINENO: result: $AWK" >&5
2205 echo "${ECHO_T}$AWK" >&6; }
2207 { echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6; }
2212 test -n "$AWK" && break
2215 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2216 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2217 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2218 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.
make <<\_ACEOF
2224 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2226 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2227 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2229 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2231 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2235 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2236 { echo "$as_me:$LINENO: result: yes" >&5
2237 echo "${ECHO_T}yes" >&6; }
2240 { echo "$as_me:$LINENO: result: no" >&5
2241 echo "${ECHO_T}no" >&6; }
2242 SET_MAKE
="MAKE=${MAKE-make}"
2245 rm -rf .tst
2>/dev
/null
2246 mkdir .tst
2>/dev
/null
2247 if test -d .tst
; then
2252 rmdir .tst
2>/dev
/null
2254 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2255 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2256 # is not polluted with repeated "-I."
2257 am__isrc
=' -I$(srcdir)'
2258 # test to see if srcdir already configured
2259 if test -f $srcdir/config.status
; then
2260 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2261 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2262 { (exit 1); exit 1; }; }
2266 # test whether we have cygpath
2267 if test -z "$CYGPATH_W"; then
2268 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2269 CYGPATH_W
='cygpath -w'
2276 # Define the identity of the package.
2281 # Some tools Automake needs.
2283 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2286 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2289 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2292 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2295 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2297 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2299 # Installed binaries are usually stripped using `strip' when the user
2300 # run `make install-strip'. However `strip' might not be the right
2301 # tool to use in cross-compilation environments, therefore Automake
2302 # will honor the `STRIP' environment variable to overrule this program.
2303 if test "$cross_compiling" != no
; then
2304 if test -n "$ac_tool_prefix"; then
2305 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2306 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_STRIP+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 if test -n "$STRIP"; then
2313 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 STRIP
=$ac_cv_prog_STRIP
2333 if test -n "$STRIP"; then
2334 { echo "$as_me:$LINENO: result: $STRIP" >&5
2335 echo "${ECHO_T}$STRIP" >&6; }
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2343 if test -z "$ac_cv_prog_STRIP"; then
2345 # Extract the first word of "strip", so it can be a program name with args.
2346 set dummy strip
; ac_word
=$2
2347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2349 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$ac_ct_STRIP"; then
2353 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362 ac_cv_prog_ac_ct_STRIP
="strip"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2373 if test -n "$ac_ct_STRIP"; then
2374 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2375 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2377 { echo "$as_me:$LINENO: result: no" >&5
2378 echo "${ECHO_T}no" >&6; }
2381 if test "x$ac_ct_STRIP" = x
; then
2384 case $cross_compiling:$ac_tool_warned in
2386 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2387 whose name does not start with the host triplet. If you think this
2388 configuration is useful to you, please write to autoconf@gnu.org." >&5
2389 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2390 whose name does not start with the host triplet. If you think this
2391 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2392 ac_tool_warned
=yes ;;
2397 STRIP
="$ac_cv_prog_STRIP"
2401 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2403 # We need awk for the "check" target. The system "awk" is bad on
2405 # Always define AMTAR for backward compatibility.
2407 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2409 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2415 LPATH
="$PATH:/usr/local/bin"
2418 ac_config_headers
="$ac_config_headers config.h"
2420 DEPDIR
="${am__leading_dot}deps"
2422 ac_config_commands
="$ac_config_commands depfiles"
2425 am_make
=${MAKE-make}
2426 cat > confinc
<< 'END'
2431 # If we don't find an include directive, just comment out the code.
2432 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2433 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2437 # First try GNU make style include.
2438 echo "include confinc" > confmf
2439 # We grep out `Entering directory' and `Leaving directory'
2440 # messages which can occur if `w' ends up in MAKEFLAGS.
2441 # In particular we don't look at `^make:' because GNU make might
2442 # be invoked under some other name (usually "gmake"), in which
2443 # case it prints its new name instead of `make'.
2444 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2449 # Now try BSD make style include.
2450 if test "$am__include" = "#"; then
2451 echo '.include "confinc"' > confmf
2452 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2453 am__include
=.include
2460 { echo "$as_me:$LINENO: result: $_am_result" >&5
2461 echo "${ECHO_T}$_am_result" >&6; }
2462 rm -f confinc confmf
2464 # Check whether --enable-dependency-tracking was given.
2465 if test "${enable_dependency_tracking+set}" = set; then
2466 enableval
=$enable_dependency_tracking;
2469 if test "x$enable_dependency_tracking" != xno
; then
2470 am_depcomp
="$ac_aux_dir/depcomp"
2473 if test "x$enable_dependency_tracking" != xno; then
2483 ac_cpp
='$CPP $CPPFLAGS'
2484 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2487 if test -n "$ac_tool_prefix"; then
2488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2489 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC
="$CC" # Let the user override the test.
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 if test -n "$CC"; then
2517 { echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6; }
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2526 if test -z "$ac_cv_prog_CC"; then
2528 # Extract the first word of "gcc", so it can be a program name with args.
2529 set dummy gcc
; ac_word
=$2
2530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 if test -n "$ac_ct_CC"; then
2536 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir
=.
2543 for ac_exec_ext
in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545 ac_cv_prog_ac_ct_CC
="gcc"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2556 if test -n "$ac_ct_CC"; then
2557 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2558 echo "${ECHO_T}$ac_ct_CC" >&6; }
2560 { echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6; }
2564 if test "x$ac_ct_CC" = x
; then
2567 case $cross_compiling:$ac_tool_warned in
2569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2570 whose name does not start with the host triplet. If you think this
2571 configuration is useful to you, please write to autoconf@gnu.org." >&5
2572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2573 whose name does not start with the host triplet. If you think this
2574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2575 ac_tool_warned
=yes ;;
2583 if test -z "$CC"; then
2584 if test -n "$ac_tool_prefix"; then
2585 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2586 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2589 if test "${ac_cv_prog_CC+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 if test -n "$CC"; then
2593 ac_cv_prog_CC
="$CC" # Let the user override the test.
2595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir
=.
2600 for ac_exec_ext
in '' $ac_executable_extensions; do
2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 if test -n "$CC"; then
2614 { echo "$as_me:$LINENO: result: $CC" >&5
2615 echo "${ECHO_T}$CC" >&6; }
2617 { echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6; }
2624 if test -z "$CC"; then
2625 # Extract the first word of "cc", so it can be a program name with args.
2626 set dummy cc
; ac_word
=$2
2627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2629 if test "${ac_cv_prog_CC+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC
="$CC" # Let the user override the test.
2636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2640 test -z "$as_dir" && as_dir
=.
2641 for ac_exec_ext
in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2644 ac_prog_rejected
=yes
2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 if test $ac_prog_rejected = yes; then
2656 # We found a bogon in the path, so make sure we never use it.
2657 set dummy
$ac_cv_prog_CC
2659 if test $# != 0; then
2660 # We chose a different compiler from the bogus one.
2661 # However, it has the same basename, so the bogon will be chosen
2662 # first if we set CC to just the basename; use the full file name.
2664 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2670 if test -n "$CC"; then
2671 { echo "$as_me:$LINENO: result: $CC" >&5
2672 echo "${ECHO_T}$CC" >&6; }
2674 { echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6; }
2680 if test -z "$CC"; then
2681 if test -n "$ac_tool_prefix"; then
2682 for ac_prog
in cl.exe
2684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2685 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2688 if test "${ac_cv_prog_CC+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 if test -n "$CC"; then
2692 ac_cv_prog_CC
="$CC" # Let the user override the test.
2694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir
=.
2699 for ac_exec_ext
in '' $ac_executable_extensions; do
2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 if test -n "$CC"; then
2713 { echo "$as_me:$LINENO: result: $CC" >&5
2714 echo "${ECHO_T}$CC" >&6; }
2716 { echo "$as_me:$LINENO: result: no" >&5
2717 echo "${ECHO_T}no" >&6; }
2721 test -n "$CC" && break
2724 if test -z "$CC"; then
2726 for ac_prog
in cl.exe
2728 # Extract the first word of "$ac_prog", so it can be a program name with args.
2729 set dummy
$ac_prog; ac_word
=$2
2730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 if test -n "$ac_ct_CC"; then
2736 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir
=.
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_ac_ct_CC
="$ac_prog"
2746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2756 if test -n "$ac_ct_CC"; then
2757 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2758 echo "${ECHO_T}$ac_ct_CC" >&6; }
2760 { echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6; }
2765 test -n "$ac_ct_CC" && break
2768 if test "x$ac_ct_CC" = x
; then
2771 case $cross_compiling:$ac_tool_warned in
2773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2774 whose name does not start with the host triplet. If you think this
2775 configuration is useful to you, please write to autoconf@gnu.org." >&5
2776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2777 whose name does not start with the host triplet. If you think this
2778 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2779 ac_tool_warned
=yes ;;
2788 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2789 See \`config.log' for more details." >&5
2790 echo "$as_me: error: no acceptable C compiler found in \$PATH
2791 See \`config.log' for more details." >&2;}
2792 { (exit 1); exit 1; }; }
2794 # Provide some information about the compiler.
2795 echo "$as_me:$LINENO: checking for C compiler version" >&5
2796 ac_compiler
=`set X $ac_compile; echo $2`
2797 { (ac_try
="$ac_compiler --version >&5"
2799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2803 (eval "$ac_compiler --version >&5") 2>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }
2807 { (ac_try="$ac_compiler -v >&5"
2809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2810 *) ac_try_echo
=$ac_try;;
2812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_compiler -v >&5") 2>&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }
2817 { (ac_try
="$ac_compiler -V >&5"
2819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compiler -V >&5") 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }
2828 cat >conftest.$ac_ext <<_ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2843 ac_clean_files_save=$ac_clean_files
2844 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2845 # Try to create an executable without -o first, disregard a.out.
2846 # It will help us diagnose broken compilers, and finding out an intuition
2848 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2849 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2850 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2852 # List of possible output files, starting from the most likely.
2853 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2854 # only as a last resort. b.out is created by i960 compilers.
2855 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2857 # The IRIX 6 linker writes into existing files which may not be
2858 # executable, retaining their permissions. Remove them first so a
2859 # subsequent execution test works.
2861 for ac_file in $ac_files
2864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2865 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2870 if { (ac_try="$ac_link_default"
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_link_default") 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; then
2880 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2881 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2882 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2883 # so that the user can short-circuit this test for compilers unknown to
2885 for ac_file
in $ac_files ''
2887 test -f "$ac_file" ||
continue
2889 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2892 # We found the default executable, but exeext='' is most
2896 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2898 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2900 # We set ac_cv_exeext here because the later test for it is not
2901 # safe: cross compilers may not add the suffix if given an `-o'
2902 # argument, so we may need to know it at that point already.
2903 # Even if this section looks crufty: it has the advantage of
2910 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2916 { echo "$as_me:$LINENO: result: $ac_file" >&5
2917 echo "${ECHO_T}$ac_file" >&6; }
2918 if test -z "$ac_file"; then
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.
$ac_ext >&5
2922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2923 See \`config.log' for more details." >&5
2924 echo "$as_me: error: C compiler cannot create executables
2925 See \`config.log' for more details." >&2;}
2926 { (exit 77); exit 77; }; }
2929 ac_exeext
=$ac_cv_exeext
2931 # Check that the compiler produces executables we can run. If not, either
2932 # the compiler is broken, or we cross compile.
2933 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2934 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2935 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2936 # If not cross compiling, check that we can run a simple program.
2937 if test "$cross_compiling" != yes; then
2938 if { ac_try
='./$ac_file'
2939 { (case "(($ac_try" in
2940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944 (eval "$ac_try") 2>&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2950 if test "$cross_compiling" = maybe; then
2953 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2954 If you meant to cross compile, use \`--host'.
2955 See \`config.log' for more details.
" >&5
2956 echo "$as_me: error
: cannot run C compiled programs.
2957 If you meant to cross compile
, use \
`--host'.
2958 See \`config.log
' for more details." >&2;}
2959 { (exit 1); exit 1; }; }
2963 { echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6; }
2966 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2967 ac_clean_files=$ac_clean_files_save
2968 # Check that the compiler produces executables we can run. If not, either
2969 # the compiler is broken, or we cross compile.
2970 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2971 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2972 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2973 echo "${ECHO_T}$cross_compiling" >&6; }
2975 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2976 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2977 if { (ac_try="$ac_link"
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983 (eval "$ac_link") 2>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; then
2987 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2988 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2989 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2991 for ac_file
in conftest.exe conftest conftest.
*; do
2992 test -f "$ac_file" ||
continue
2994 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2995 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3001 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3002 See \`config.log' for more details." >&5
3003 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3004 See \`config.log' for more details." >&2;}
3005 { (exit 1); exit 1; }; }
3008 rm -f conftest
$ac_cv_exeext
3009 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3010 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3012 rm -f conftest.
$ac_ext
3013 EXEEXT
=$ac_cv_exeext
3015 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3016 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3017 if test "${ac_cv_objext+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 cat >conftest.
$ac_ext <<_ACEOF
3023 cat confdefs.h
>>conftest.
$ac_ext
3024 cat >>conftest.
$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3035 rm -f conftest.o conftest.obj
3036 if { (ac_try
="$ac_compile"
3038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3042 (eval "$ac_compile") 2>&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }; then
3046 for ac_file in conftest.o conftest.obj conftest.*; do
3047 test -f "$ac_file" || continue;
3049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3050 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3055 echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3058 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3059 See \`config.log
' for more details." >&5
3060 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3061 See \`config.log' for more details.
" >&2;}
3062 { (exit 1); exit 1; }; }
3065 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3067 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3068 echo "${ECHO_T}$ac_cv_objext" >&6; }
3069 OBJEXT=$ac_cv_objext
3071 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3072 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3073 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3074 echo $ECHO_N "(cached
) $ECHO_C" >&6
3076 cat >conftest.$ac_ext <<_ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3094 rm -f conftest.$ac_objext
3095 if { (ac_try="$ac_compile"
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compile") 2>conftest.er1
3103 grep -v '^ *+' conftest.er1 >conftest.err
3105 cat conftest.err >&5
3106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3107 (exit $ac_status); } && {
3108 test -z "$ac_c_werror_flag" ||
3109 test ! -s conftest.err
3110 } && test -s conftest.$ac_objext; then
3113 echo "$as_me: failed program was
:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3123 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3124 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3125 GCC=`test $ac_compiler_gnu = yes && echo yes`
3126 ac_test_CFLAGS=${CFLAGS+set}
3127 ac_save_CFLAGS=$CFLAGS
3128 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3129 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3130 if test "${ac_cv_prog_cc_g+set}" = set; then
3131 echo $ECHO_N "(cached
) $ECHO_C" >&6
3133 ac_save_c_werror_flag=$ac_c_werror_flag
3134 ac_c_werror_flag=yes
3137 cat >conftest.$ac_ext <<_ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_c_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3171 echo "$as_me: failed program was
:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_c_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3209 echo "$as_me: failed program was
:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 ac_c_werror_flag=$ac_save_c_werror_flag
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3229 rm -f conftest.$ac_objext
3230 if { (ac_try="$ac_compile"
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_c_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3248 echo "$as_me: failed program was
:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 ac_c_werror_flag=$ac_save_c_werror_flag
3263 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3264 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3265 if test "$ac_test_CFLAGS" = set; then
3266 CFLAGS=$ac_save_CFLAGS
3267 elif test $ac_cv_prog_cc_g = yes; then
3268 if test "$GCC" = yes; then
3274 if test "$GCC" = yes; then
3280 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3281 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3282 if test "${ac_cv_prog_cc_c89+set}" = set; then
3283 echo $ECHO_N "(cached
) $ECHO_C" >&6
3285 ac_cv_prog_cc_c89=no
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3295 #include <sys/types.h>
3296 #include <sys/stat.h>
3297 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3298 struct buf { int x; };
3299 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3300 static char *e (p, i)
3306 static char *f (char * (*g) (char **, int), char **p, ...)
3311 s = g (p, va_arg (v,int));
3316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3317 function prototypes and stuff, but not '\xHH' hex character constants.
3318 These don't provoke an error unfortunately, instead are silently treated
3319 as 'x'. The following induces an error, until -std is added to get
3320 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3321 array size at least. It's necessary to write '\x00'==0 to get something
3322 that's true only with -std. */
3323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3326 inside strings and character constants. */
3328 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3330 int test (int i, double x);
3331 struct s1 {int (*f) (int a);};
3332 struct s2 {int (*f) (double a);};
3333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3345 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3347 CC="$ac_save_CC $ac_arg"
3348 rm -f conftest.$ac_objext
3349 if { (ac_try="$ac_compile"
3351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352 *) ac_try_echo=$ac_try;;
3354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3355 (eval "$ac_compile") 2>conftest.er1
3357 grep -v '^ *+' conftest.er1 >conftest.err
3359 cat conftest.err >&5
3360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3361 (exit $ac_status); } && {
3362 test -z "$ac_c_werror_flag" ||
3363 test ! -s conftest.err
3364 } && test -s conftest.$ac_objext; then
3365 ac_cv_prog_cc_c89=$ac_arg
3367 echo "$as_me: failed program was
:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3373 rm -f core conftest.err conftest.$ac_objext
3374 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3376 rm -f conftest.$ac_ext
3381 case "x
$ac_cv_prog_cc_c89" in
3383 { echo "$as_me:$LINENO: result
: none needed
" >&5
3384 echo "${ECHO_T}none needed
" >&6; } ;;
3386 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3387 echo "${ECHO_T}unsupported
" >&6; } ;;
3389 CC="$CC $ac_cv_prog_cc_c89"
3390 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3391 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3396 ac_cpp='$CPP $CPPFLAGS'
3397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401 depcc="$CC" am_compiler_list=
3403 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3404 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3405 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3406 echo $ECHO_N "(cached
) $ECHO_C" >&6
3408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3409 # We make a subdir and do the tests there. Otherwise we can end up
3410 # making bogus files that we don't know about and never remove. For
3411 # instance it was reported that on HP-UX the gcc test will end up
3412 # making a dummy file named `D' -- because `-MD' means `put the output
3415 # Copy depcomp to subdir because otherwise we won't find it if we're
3416 # using a relative directory.
3417 cp "$am_depcomp" conftest.dir
3419 # We will build objects and dependencies in a subdirectory because
3420 # it helps to detect inapplicable dependency modes. For instance
3421 # both Tru64's cc and ICC support -MD to output dependencies as a
3422 # side effect of compilation, but ICC will put the dependencies in
3423 # the current directory while Tru64 will put them in the object
3427 am_cv_CC_dependencies_compiler_type=none
3428 if test "$am_compiler_list" = ""; then
3429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3431 for depmode in $am_compiler_list; do
3432 # Setup a source with many dependencies, because some compilers
3433 # like to wrap large dependency lists on column 80 (with \), and
3434 # we should not choose a depcomp mode which is confused by this.
3436 # We need to recreate these files for each test, as the compiler may
3437 # overwrite some of them when testing with obscure command lines.
3438 # This happens at least with the AIX C compiler.
3440 for i in 1 2 3 4 5 6; do
3441 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3442 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3443 # Solaris 8's {/usr,}/bin/sh.
3444 touch sub/conftst$i.h
3446 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3450 # after this tag, mechanisms are not by side-effect, so they'll
3451 # only be used when explicitly requested
3452 if test "x
$enable_dependency_tracking" = xyes; then
3460 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3461 # mode. It turns out that the SunPro C++ compiler does not properly
3462 # handle `-M -o', and we need to detect this.
3463 if depmode=$depmode \
3464 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3465 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3466 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3467 >/dev/null 2>conftest.err &&
3468 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3469 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3470 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3471 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3472 # icc doesn't choke on unknown options, it will just issue warnings
3473 # or remarks (even with -Werror). So we grep stderr for any message
3474 # that says an option was ignored or not supported.
3475 # When given -MP, icc 7.0 and 7.1 complain thusly:
3476 # icc: Command line warning: ignoring option '-M'; no argument required
3477 # The diagnosis changed in icc 8.0:
3478 # icc: Command line remark: option '-MP' not supported
3479 if (grep 'ignoring option' conftest.err ||
3480 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3481 am_cv_CC_dependencies_compiler_type=$depmode
3490 am_cv_CC_dependencies_compiler_type=none
3494 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3495 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3496 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3499 test "x
$enable_dependency_tracking" != xno \
3500 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3502 am__fastdepCC_FALSE='#'
3504 am__fastdepCC_TRUE='#'
3505 am__fastdepCC_FALSE=
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3515 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3516 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3517 # On Suns, sometimes $CPP names a directory.
3518 if test -n "$CPP" && test -d "$CPP"; then
3521 if test -z "$CPP"; then
3522 if test "${ac_cv_prog_CPP+set}" = set; then
3523 echo $ECHO_N "(cached
) $ECHO_C" >&6
3525 # Double quotes because CPP needs to be expanded
3526 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3529 for ac_c_preproc_warn_flag in '' yes
3531 # Use a header file that comes with gcc, so configuring glibc
3532 # with a fresh cross-compiler works.
3533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3534 # <limits.h> exists even on freestanding compilers.
3535 # On the NeXT, cc -E runs the code through the compiler's parser,
3536 # not just through cpp. "Syntax error
" is here to catch this case.
3537 cat >conftest.$ac_ext <<_ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3544 # include <limits.h>
3546 # include <assert.h>
3550 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553 *) ac_try_echo=$ac_try;;
3555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3556 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3558 grep -v '^ *+' conftest.er1 >conftest.err
3560 cat conftest.err >&5
3561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3562 (exit $ac_status); } >/dev/null && {
3563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3564 test ! -s conftest.err
3568 echo "$as_me: failed program was
:" >&5
3569 sed 's/^/| /' conftest.$ac_ext >&5
3571 # Broken: fails on valid input.
3575 rm -f conftest.err conftest.$ac_ext
3577 # OK, works on sane cases. Now check whether nonexistent headers
3578 # can be detected and how.
3579 cat >conftest.$ac_ext <<_ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3585 #include <ac_nonexistent.h>
3587 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3593 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3595 grep -v '^ *+' conftest.er1 >conftest.err
3597 cat conftest.err >&5
3598 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3599 (exit $ac_status); } >/dev/null && {
3600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3601 test ! -s conftest.err
3603 # Broken: success on invalid input.
3606 echo "$as_me: failed program was
:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 # Passes both tests.
3614 rm -f conftest.err conftest.$ac_ext
3617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3618 rm -f conftest.err conftest.$ac_ext
3619 if $ac_preproc_ok; then
3631 { echo "$as_me:$LINENO: result
: $CPP" >&5
3632 echo "${ECHO_T}$CPP" >&6; }
3634 for ac_c_preproc_warn_flag in '' yes
3636 # Use a header file that comes with gcc, so configuring glibc
3637 # with a fresh cross-compiler works.
3638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3639 # <limits.h> exists even on freestanding compilers.
3640 # On the NeXT, cc -E runs the code through the compiler's parser,
3641 # not just through cpp. "Syntax error
" is here to catch this case.
3642 cat >conftest.$ac_ext <<_ACEOF
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3649 # include <limits.h>
3651 # include <assert.h>
3655 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3661 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3663 grep -v '^ *+' conftest.er1 >conftest.err
3665 cat conftest.err >&5
3666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3667 (exit $ac_status); } >/dev/null && {
3668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3669 test ! -s conftest.err
3673 echo "$as_me: failed program was
:" >&5
3674 sed 's/^/| /' conftest.$ac_ext >&5
3676 # Broken: fails on valid input.
3680 rm -f conftest.err conftest.$ac_ext
3682 # OK, works on sane cases. Now check whether nonexistent headers
3683 # can be detected and how.
3684 cat >conftest.$ac_ext <<_ACEOF
3687 cat confdefs.h >>conftest.$ac_ext
3688 cat >>conftest.$ac_ext <<_ACEOF
3689 /* end confdefs.h. */
3690 #include <ac_nonexistent.h>
3692 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695 *) ac_try_echo=$ac_try;;
3697 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3698 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3700 grep -v '^ *+' conftest.er1 >conftest.err
3702 cat conftest.err >&5
3703 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3704 (exit $ac_status); } >/dev/null && {
3705 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3706 test ! -s conftest.err
3708 # Broken: success on invalid input.
3711 echo "$as_me: failed program was
:" >&5
3712 sed 's/^/| /' conftest.$ac_ext >&5
3714 # Passes both tests.
3719 rm -f conftest.err conftest.$ac_ext
3722 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3723 rm -f conftest.err conftest.$ac_ext
3724 if $ac_preproc_ok; then
3727 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3728 See \
`config.log' for more details." >&5
3729 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3730 See \`config.log
' for more details." >&2;}
3731 { (exit 1); exit 1; }; }
3735 ac_cpp='$CPP $CPPFLAGS'
3736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3737 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3741 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3742 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3743 if test "${ac_cv_path_GREP+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 # Extract the first word of "grep ggrep" to use in msg output
3747 if test -z "$GREP"; then
3748 set dummy grep ggrep; ac_prog_name=$2
3749 if test "${ac_cv_path_GREP+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 ac_path_GREP_found=false
3753 # Loop through the user's path and
test for each of PROGNAME-LIST
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_prog
in grep ggrep
; do
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3762 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3763 # Check for GNU ac_path_GREP and select it if it is found.
3764 # Check for GNU $ac_path_GREP
3765 case `"$ac_path_GREP" --version 2>&1` in
3767 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3770 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3773 cat "conftest.in" "conftest.in" >"conftest.tmp"
3774 mv "conftest.tmp" "conftest.in"
3775 cp "conftest.in" "conftest.nl"
3776 echo 'GREP' >> "conftest.nl"
3777 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3778 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3779 ac_count
=`expr $ac_count + 1`
3780 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3781 # Best one so far, save it but keep looking for a better one
3782 ac_cv_path_GREP
="$ac_path_GREP"
3783 ac_path_GREP_max
=$ac_count
3785 # 10*(2^10) chars as input seems more than enough
3786 test $ac_count -gt 10 && break
3788 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3792 $ac_path_GREP_found && break 3
3802 GREP
="$ac_cv_path_GREP"
3803 if test -z "$GREP"; then
3804 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3805 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3806 { (exit 1); exit 1; }; }
3810 ac_cv_path_GREP
=$GREP
3815 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3816 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3817 GREP
="$ac_cv_path_GREP"
3820 { echo "$as_me:$LINENO: checking for egrep" >&5
3821 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3822 if test "${ac_cv_path_EGREP+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3826 then ac_cv_path_EGREP
="$GREP -E"
3828 # Extract the first word of "egrep" to use in msg output
3829 if test -z "$EGREP"; then
3830 set dummy
egrep; ac_prog_name
=$2
3831 if test "${ac_cv_path_EGREP+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 ac_path_EGREP_found
=false
3835 # Loop through the user's path and test for each of PROGNAME-LIST
3836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3840 test -z "$as_dir" && as_dir
=.
3841 for ac_prog
in egrep; do
3842 for ac_exec_ext
in '' $ac_executable_extensions; do
3843 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3844 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3845 # Check for GNU ac_path_EGREP and select it if it is found.
3846 # Check for GNU $ac_path_EGREP
3847 case `"$ac_path_EGREP" --version 2>&1` in
3849 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3852 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3855 cat "conftest.in" "conftest.in" >"conftest.tmp"
3856 mv "conftest.tmp" "conftest.in"
3857 cp "conftest.in" "conftest.nl"
3858 echo 'EGREP' >> "conftest.nl"
3859 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3860 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3861 ac_count
=`expr $ac_count + 1`
3862 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3863 # Best one so far, save it but keep looking for a better one
3864 ac_cv_path_EGREP
="$ac_path_EGREP"
3865 ac_path_EGREP_max
=$ac_count
3867 # 10*(2^10) chars as input seems more than enough
3868 test $ac_count -gt 10 && break
3870 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3874 $ac_path_EGREP_found && break 3
3884 EGREP
="$ac_cv_path_EGREP"
3885 if test -z "$EGREP"; then
3886 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3887 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3888 { (exit 1); exit 1; }; }
3892 ac_cv_path_EGREP
=$EGREP
3898 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3899 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3900 EGREP
="$ac_cv_path_EGREP"
3904 { echo "$as_me:$LINENO: checking for AIX" >&5
3905 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3906 cat >conftest.
$ac_ext <<_ACEOF
3909 cat confdefs.h
>>conftest.
$ac_ext
3910 cat >>conftest.
$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3918 $EGREP "yes" >/dev
/null
2>&1; then
3919 { echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6; }
3921 cat >>confdefs.h
<<\_ACEOF
3922 #define _ALL_SOURCE 1
3926 { echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6; }
3932 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3933 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3934 if test "${ac_cv_search_strerror+set}" = set; then
3935 echo $ECHO_N "(cached) $ECHO_C" >&6
3937 ac_func_search_save_LIBS
=$LIBS
3938 cat >conftest.
$ac_ext <<_ACEOF
3941 cat confdefs.h
>>conftest.
$ac_ext
3942 cat >>conftest.
$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3945 /* Override any GCC internal prototype to avoid an error.
3946 Use char because int might match the return type of a GCC
3947 builtin and then its argument prototype would still apply. */
3960 for ac_lib
in '' cposix
; do
3961 if test -z "$ac_lib"; then
3962 ac_res
="none required"
3965 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3967 rm -f conftest.
$ac_objext conftest
$ac_exeext
3968 if { (ac_try
="$ac_link"
3970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3974 (eval "$ac_link") 2>conftest.er1
3976 grep -v '^ *+' conftest.er1 >conftest.err
3978 cat conftest.err >&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } && {
3981 test -z "$ac_c_werror_flag" ||
3982 test ! -s conftest.err
3983 } && test -s conftest$ac_exeext &&
3984 $as_test_x conftest$ac_exeext; then
3985 ac_cv_search_strerror=$ac_res
3987 echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3995 if test "${ac_cv_search_strerror+set}" = set; then
3999 if test "${ac_cv_search_strerror+set}" = set; then
4002 ac_cv_search_strerror=no
4005 LIBS=$ac_func_search_save_LIBS
4007 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4008 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4009 ac_res=$ac_cv_search_strerror
4010 if test "$ac_res" != no; then
4011 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4015 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4016 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4017 if test "${ac_cv_header_stdc+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 cat >conftest.$ac_ext <<_ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4039 rm -f conftest.$ac_objext
4040 if { (ac_try="$ac_compile"
4042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4043 *) ac_try_echo
=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_compile") 2>conftest.er1
4048 grep -v '^ *+' conftest.er1
>conftest.err
4050 cat conftest.err
>&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); } && {
4053 test -z "$ac_c_werror_flag" ||
4054 test ! -s conftest.err
4055 } && test -s conftest.
$ac_objext; then
4056 ac_cv_header_stdc
=yes
4058 echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.
$ac_ext >&5
4061 ac_cv_header_stdc
=no
4064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4066 if test $ac_cv_header_stdc = yes; then
4067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4068 cat >conftest.
$ac_ext <<_ACEOF
4071 cat confdefs.h
>>conftest.
$ac_ext
4072 cat >>conftest.
$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4078 $EGREP "memchr" >/dev
/null
2>&1; then
4081 ac_cv_header_stdc
=no
4087 if test $ac_cv_header_stdc = yes; then
4088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4089 cat >conftest.
$ac_ext <<_ACEOF
4092 cat confdefs.h
>>conftest.
$ac_ext
4093 cat >>conftest.
$ac_ext <<_ACEOF
4094 /* end confdefs.h. */
4098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4099 $EGREP "free" >/dev
/null
2>&1; then
4102 ac_cv_header_stdc
=no
4108 if test $ac_cv_header_stdc = yes; then
4109 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4110 if test "$cross_compiling" = yes; then
4113 cat >conftest.
$ac_ext <<_ACEOF
4116 cat confdefs.h
>>conftest.
$ac_ext
4117 cat >>conftest.
$ac_ext <<_ACEOF
4118 /* end confdefs.h. */
4121 #if ((' ' & 0x0FF) == 0x020)
4122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4125 # define ISLOWER(c) \
4126 (('a' <= (c) && (c) <= 'i') \
4127 || ('j' <= (c) && (c) <= 'r') \
4128 || ('s' <= (c) && (c) <= 'z'))
4129 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4132 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4137 for (i = 0; i < 256; i++)
4138 if (XOR (islower (i), ISLOWER (i))
4139 || toupper (i) != TOUPPER (i))
4144 rm -f conftest
$ac_exeext
4145 if { (ac_try
="$ac_link"
4147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_link") 2>&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4155 { (case "(($ac_try" in
4156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4157 *) ac_try_echo
=$ac_try;;
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_try") 2>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; }; then
4166 echo "$as_me: program exited with status $ac_status" >&5
4167 echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.
$ac_ext >&5
4171 ac_cv_header_stdc
=no
4173 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4179 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4180 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4181 if test $ac_cv_header_stdc = yes; then
4183 cat >>confdefs.h
<<\_ACEOF
4184 #define STDC_HEADERS 1
4189 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4199 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4200 inttypes.h stdint.h unistd.h
4202 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4205 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 cat >conftest.
$ac_ext <<_ACEOF
4211 cat confdefs.h
>>conftest.
$ac_ext
4212 cat >>conftest.
$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4214 $ac_includes_default
4216 #include <$ac_header>
4218 rm -f conftest.
$ac_objext
4219 if { (ac_try
="$ac_compile"
4221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4222 *) ac_try_echo=$ac_try;;
4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4225 (eval "$ac_compile") 2>conftest.er1
4227 grep -v '^ *+' conftest.er1 >conftest.err
4229 cat conftest.err >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } && {
4232 test -z "$ac_c_werror_flag" ||
4233 test ! -s conftest.err
4234 } && test -s conftest.$ac_objext; then
4235 eval "$as_ac_Header=yes"
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4240 eval "$as_ac_Header=no"
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 ac_res=`eval echo '${'$as_ac_Header'}'`
4246 { echo "$as_me:$LINENO: result: $ac_res" >&5
4247 echo "${ECHO_T}$ac_res" >&6; }
4248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4249 cat >>confdefs.h <<_ACEOF
4250 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4258 if test "${ac_cv_header_minix_config_h+set}" = set; then
4259 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4260 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4261 if test "${ac_cv_header_minix_config_h+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4265 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4267 # Is the header compilable?
4268 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4269 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4270 cat >conftest.$ac_ext <<_ACEOF
4273 cat confdefs.h >>conftest.$ac_ext
4274 cat >>conftest.$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4276 $ac_includes_default
4277 #include <minix/config.h>
4279 rm -f conftest.$ac_objext
4280 if { (ac_try="$ac_compile"
4282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4283 *) ac_try_echo
=$ac_try;;
4285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4286 (eval "$ac_compile") 2>conftest.er1
4288 grep -v '^ *+' conftest.er1
>conftest.err
4290 cat conftest.err
>&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } && {
4293 test -z "$ac_c_werror_flag" ||
4294 test ! -s conftest.err
4295 } && test -s conftest.
$ac_objext; then
4296 ac_header_compiler
=yes
4298 echo "$as_me: failed program was:" >&5
4299 sed 's/^/| /' conftest.
$ac_ext >&5
4301 ac_header_compiler
=no
4304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4305 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4306 echo "${ECHO_T}$ac_header_compiler" >&6; }
4308 # Is the header present?
4309 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4310 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4311 cat >conftest.
$ac_ext <<_ACEOF
4314 cat confdefs.h
>>conftest.
$ac_ext
4315 cat >>conftest.
$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 #include <minix/config.h>
4319 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4322 *) ac_try_echo=$ac_try;;
4324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4327 grep -v '^ *+' conftest.er1 >conftest.err
4329 cat conftest.err >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } >/dev/null && {
4332 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4333 test ! -s conftest.err
4335 ac_header_preproc=yes
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.$ac_ext >&5
4340 ac_header_preproc=no
4343 rm -f conftest.err conftest.$ac_ext
4344 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4345 echo "${ECHO_T}$ac_header_preproc" >&6; }
4347 # So? What about this header?
4348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4350 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4351 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4352 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4353 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4354 ac_header_preproc=yes
4357 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4358 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4359 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4360 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4361 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4362 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4363 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4364 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4365 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4366 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4367 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4368 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4370 ## -------------------------------------------------- ##
4371 ## Report this to courier-users@lists.sourceforge.net ##
4372 ## -------------------------------------------------- ##
4374 ) | sed "s/^/$as_me: WARNING: /" >&2
4377 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4378 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4379 if test "${ac_cv_header_minix_config_h+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 ac_cv_header_minix_config_h=$ac_header_preproc
4384 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4385 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4388 if test $ac_cv_header_minix_config_h = yes; then
4395 if test "$MINIX" = yes; then
4397 cat >>confdefs.h <<\_ACEOF
4398 #define _POSIX_SOURCE 1
4402 cat >>confdefs.h <<\_ACEOF
4403 #define _POSIX_1_SOURCE 2
4407 cat >>confdefs.h <<\_ACEOF
4413 # Find a good install program. We prefer a C program (faster),
4414 # so one script is as good as another. But avoid the broken or
4415 # incompatible versions:
4416 # SysV /etc/install, /usr/sbin/install
4417 # SunOS /usr/etc/install
4418 # IRIX /sbin/install
4420 # AmigaOS /C/install, which installs bootblocks on floppy discs
4421 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4422 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4423 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4424 # OS/2's system install, which has a completely different semantic
4425 # ./install, which can be erroneously created by make from ./install.sh.
4426 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4427 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4428 if test -z "$INSTALL"; then
4429 if test "${ac_cv_path_install+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir=.
4437 # Account for people who put trailing slashes in PATH elements.
4439 ./ | .// | /cC/* | \
4440 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4441 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4444 # OSF1 and SCO ODT 3.0 have their own names for install.
4445 # Don't use installbsd from OSF since it installs stuff as root
4447 for ac_prog in ginstall scoinst install; do
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4450 if test $ac_prog = install &&
4451 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4452 # AIX install. It has an incompatible calling convention.
4454 elif test $ac_prog = install &&
4455 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4456 # program-specific install script used by HP pwplus--don't use.
4459 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4472 if test "${ac_cv_path_install+set}" = set; then
4473 INSTALL=$ac_cv_path_install
4475 # As a last resort, use the slow shell script. Don't cache a
4476 # value for INSTALL within a source directory, because that will
4477 # break other packages using the cache if that directory is
4478 # removed, or if the value is a relative name.
4479 INSTALL=$ac_install_sh
4482 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4483 echo "${ECHO_T}$INSTALL" >&6; }
4485 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4486 # It thinks the first close brace ends the variable substitution.
4487 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4489 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4491 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4493 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4494 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4496 if test "$LN_S" = "ln -s"; then
4497 { echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6; }
4500 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4501 echo "${ECHO_T}no, using $LN_S" >&6; }
4505 ac_cpp='$CPP $CPPFLAGS'
4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4509 if test -n "$ac_tool_prefix"; then
4510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4511 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514 if test "${ac_cv_prog_CC+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -n "$CC"; then
4518 ac_cv_prog_CC="$CC" # Let the user override the test.
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 if test -n "$CC"; then
4539 { echo "$as_me:$LINENO: result: $CC" >&5
4540 echo "${ECHO_T}$CC" >&6; }
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4548 if test -z "$ac_cv_prog_CC"; then
4550 # Extract the first word of "gcc", so it can be a program name with args.
4551 set dummy gcc; ac_word=$2
4552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 if test -n "$ac_ct_CC"; then
4558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 test -z "$as_dir" && as_dir=.
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567 ac_cv_prog_ac_ct_CC="gcc"
4568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4578 if test -n "$ac_ct_CC"; then
4579 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4580 echo "${ECHO_T}$ac_ct_CC" >&6; }
4582 { echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6; }
4586 if test "x$ac_ct_CC" = x; then
4589 case $cross_compiling:$ac_tool_warned in
4591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4592 whose name does not start with the host triplet. If you think this
4593 configuration is useful to you, please write to autoconf@gnu.org." >&5
4594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4595 whose name does not start with the host triplet. If you think this
4596 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4597 ac_tool_warned=yes ;;
4605 if test -z "$CC"; then
4606 if test -n "$ac_tool_prefix"; then
4607 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4608 set dummy ${ac_tool_prefix}cc; ac_word=$2
4609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4611 if test "${ac_cv_prog_CC+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 if test -n "$CC"; then
4615 ac_cv_prog_CC="$CC" # Let the user override the test.
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir=.
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624 ac_cv_prog_CC="${ac_tool_prefix}cc"
4625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 if test -n "$CC"; then
4636 { echo "$as_me:$LINENO: result: $CC" >&5
4637 echo "${ECHO_T}$CC" >&6; }
4639 { echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6; }
4646 if test -z "$CC"; then
4647 # Extract the first word of "cc", so it can be a program name with args.
4648 set dummy cc; ac_word=$2
4649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4651 if test "${ac_cv_prog_CC+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test -n "$CC"; then
4655 ac_cv_prog_CC="$CC" # Let the user override the test.
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4666 ac_prog_rejected=yes
4670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 if test $ac_prog_rejected = yes; then
4678 # We found a bogon in the path, so make sure we never use it.
4679 set dummy $ac_cv_prog_CC
4681 if test $# != 0; then
4682 # We chose a different compiler from the bogus one.
4683 # However, it has the same basename, so the bogon will be chosen
4684 # first if we set CC to just the basename; use the full file name.
4686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4692 if test -n "$CC"; then
4693 { echo "$as_me:$LINENO: result: $CC" >&5
4694 echo "${ECHO_T}$CC" >&6; }
4696 { echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6; }
4702 if test -z "$CC"; then
4703 if test -n "$ac_tool_prefix"; then
4704 for ac_prog in cl.exe
4706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4710 if test "${ac_cv_prog_CC+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 if test -n "$CC"; then
4714 ac_cv_prog_CC="$CC" # Let the user override the test.
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 if test -n "$CC"; then
4735 { echo "$as_me:$LINENO: result: $CC" >&5
4736 echo "${ECHO_T}$CC" >&6; }
4738 { echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6; }
4743 test -n "$CC" && break
4746 if test -z "$CC"; then
4748 for ac_prog in cl.exe
4750 # Extract the first word of "$ac_prog", so it can be a program name with args.
4751 set dummy $ac_prog; ac_word=$2
4752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4754 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4755 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 if test -n "$ac_ct_CC"; then
4758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767 ac_cv_prog_ac_ct_CC="$ac_prog"
4768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4778 if test -n "$ac_ct_CC"; then
4779 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4780 echo "${ECHO_T}$ac_ct_CC" >&6; }
4782 { echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6; }
4787 test -n "$ac_ct_CC" && break
4790 if test "x$ac_ct_CC" = x; then
4793 case $cross_compiling:$ac_tool_warned in
4795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4796 whose name does not start with the host triplet. If you think this
4797 configuration is useful to you, please write to autoconf@gnu.org." >&5
4798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4799 whose name does not start with the host triplet. If you think this
4800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4801 ac_tool_warned=yes ;;
4810 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4811 See \`config.log
' for more details." >&5
4812 echo "$as_me: error: no acceptable C compiler found in \$PATH
4813 See \`config.log' for more details.
" >&2;}
4814 { (exit 1); exit 1; }; }
4816 # Provide some information about the compiler.
4817 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
4818 ac_compiler=`set X $ac_compile; echo $2`
4819 { (ac_try="$ac_compiler --version >&5"
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4825 (eval "$ac_compiler --version >&5") 2>&5
4827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4828 (exit $ac_status); }
4829 { (ac_try="$ac_compiler -v >&5"
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4835 (eval "$ac_compiler -v >&5") 2>&5
4837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4838 (exit $ac_status); }
4839 { (ac_try="$ac_compiler -V >&5"
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842 *) ac_try_echo=$ac_try;;
4844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4845 (eval "$ac_compiler -V >&5") 2>&5
4847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4848 (exit $ac_status); }
4850 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
4851 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
4852 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4853 echo $ECHO_N "(cached
) $ECHO_C" >&6
4855 cat >conftest.$ac_ext <<_ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4873 rm -f conftest.$ac_objext
4874 if { (ac_try="$ac_compile"
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4880 (eval "$ac_compile") 2>conftest.er1
4882 grep -v '^ *+' conftest.er1 >conftest.err
4884 cat conftest.err >&5
4885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4886 (exit $ac_status); } && {
4887 test -z "$ac_c_werror_flag" ||
4888 test ! -s conftest.err
4889 } && test -s conftest.$ac_objext; then
4892 echo "$as_me: failed program was
:" >&5
4893 sed 's/^/| /' conftest.$ac_ext >&5
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4902 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4903 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4904 GCC=`test $ac_compiler_gnu = yes && echo yes`
4905 ac_test_CFLAGS=${CFLAGS+set}
4906 ac_save_CFLAGS=$CFLAGS
4907 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4908 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
4909 if test "${ac_cv_prog_cc_g+set}" = set; then
4910 echo $ECHO_N "(cached
) $ECHO_C" >&6
4912 ac_save_c_werror_flag=$ac_c_werror_flag
4913 ac_c_werror_flag=yes
4916 cat >conftest.$ac_ext <<_ACEOF
4919 cat confdefs.h >>conftest.$ac_ext
4920 cat >>conftest.$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4931 rm -f conftest.$ac_objext
4932 if { (ac_try="$ac_compile"
4934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4938 (eval "$ac_compile") 2>conftest.er1
4940 grep -v '^ *+' conftest.er1 >conftest.err
4942 cat conftest.err >&5
4943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4944 (exit $ac_status); } && {
4945 test -z "$ac_c_werror_flag" ||
4946 test ! -s conftest.err
4947 } && test -s conftest.$ac_objext; then
4950 echo "$as_me: failed program was
:" >&5
4951 sed 's/^/| /' conftest.$ac_ext >&5
4954 cat >conftest.$ac_ext <<_ACEOF
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4969 rm -f conftest.$ac_objext
4970 if { (ac_try="$ac_compile"
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_compile") 2>conftest.er1
4978 grep -v '^ *+' conftest.er1 >conftest.err
4980 cat conftest.err >&5
4981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4982 (exit $ac_status); } && {
4983 test -z "$ac_c_werror_flag" ||
4984 test ! -s conftest.err
4985 } && test -s conftest.$ac_objext; then
4988 echo "$as_me: failed program was
:" >&5
4989 sed 's/^/| /' conftest.$ac_ext >&5
4991 ac_c_werror_flag=$ac_save_c_werror_flag
4993 cat >conftest.$ac_ext <<_ACEOF
4996 cat confdefs.h >>conftest.$ac_ext
4997 cat >>conftest.$ac_ext <<_ACEOF
4998 /* end confdefs.h. */
5008 rm -f conftest.$ac_objext
5009 if { (ac_try="$ac_compile"
5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012 *) ac_try_echo=$ac_try;;
5014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5015 (eval "$ac_compile") 2>conftest.er1
5017 grep -v '^ *+' conftest.er1 >conftest.err
5019 cat conftest.err >&5
5020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5021 (exit $ac_status); } && {
5022 test -z "$ac_c_werror_flag" ||
5023 test ! -s conftest.err
5024 } && test -s conftest.$ac_objext; then
5027 echo "$as_me: failed program was
:" >&5
5028 sed 's/^/| /' conftest.$ac_ext >&5
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040 ac_c_werror_flag=$ac_save_c_werror_flag
5042 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
5043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5044 if test "$ac_test_CFLAGS" = set; then
5045 CFLAGS=$ac_save_CFLAGS
5046 elif test $ac_cv_prog_cc_g = yes; then
5047 if test "$GCC" = yes; then
5053 if test "$GCC" = yes; then
5059 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
5060 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
5061 if test "${ac_cv_prog_cc_c89+set}" = set; then
5062 echo $ECHO_N "(cached
) $ECHO_C" >&6
5064 ac_cv_prog_cc_c89=no
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5074 #include <sys/types.h>
5075 #include <sys/stat.h>
5076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5077 struct buf { int x; };
5078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5079 static char *e (p, i)
5085 static char *f (char * (*g) (char **, int), char **p, ...)
5090 s = g (p, va_arg (v,int));
5095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5096 function prototypes and stuff, but not '\xHH' hex character constants.
5097 These don't provoke an error unfortunately, instead are silently treated
5098 as 'x'. The following induces an error, until -std is added to get
5099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5100 array size at least. It's necessary to write '\x00'==0 to get something
5101 that's true only with -std. */
5102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5105 inside strings and character constants. */
5107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5109 int test (int i, double x);
5110 struct s1 {int (*f) (int a);};
5111 struct s2 {int (*f) (double a);};
5112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5118 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5124 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5126 CC="$ac_save_CC $ac_arg"
5127 rm -f conftest.$ac_objext
5128 if { (ac_try="$ac_compile"
5130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5131 *) ac_try_echo=$ac_try;;
5133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5134 (eval "$ac_compile") 2>conftest.er1
5136 grep -v '^ *+' conftest.er1 >conftest.err
5138 cat conftest.err >&5
5139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5140 (exit $ac_status); } && {
5141 test -z "$ac_c_werror_flag" ||
5142 test ! -s conftest.err
5143 } && test -s conftest.$ac_objext; then
5144 ac_cv_prog_cc_c89=$ac_arg
5146 echo "$as_me: failed program was
:" >&5
5147 sed 's/^/| /' conftest.$ac_ext >&5
5152 rm -f core conftest.err conftest.$ac_objext
5153 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
5155 rm -f conftest.$ac_ext
5160 case "x
$ac_cv_prog_cc_c89" in
5162 { echo "$as_me:$LINENO: result
: none needed
" >&5
5163 echo "${ECHO_T}none needed
" >&6; } ;;
5165 { echo "$as_me:$LINENO: result
: unsupported
" >&5
5166 echo "${ECHO_T}unsupported
" >&6; } ;;
5168 CC="$CC $ac_cv_prog_cc_c89"
5169 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
5170 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5175 ac_cpp='$CPP $CPPFLAGS'
5176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5180 depcc="$CC" am_compiler_list=
5182 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
5183 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
5184 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5185 echo $ECHO_N "(cached
) $ECHO_C" >&6
5187 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5188 # We make a subdir and do the tests there. Otherwise we can end up
5189 # making bogus files that we don't know about and never remove. For
5190 # instance it was reported that on HP-UX the gcc test will end up
5191 # making a dummy file named `D' -- because `-MD' means `put the output
5194 # Copy depcomp to subdir because otherwise we won't find it if we're
5195 # using a relative directory.
5196 cp "$am_depcomp" conftest.dir
5198 # We will build objects and dependencies in a subdirectory because
5199 # it helps to detect inapplicable dependency modes. For instance
5200 # both Tru64's cc and ICC support -MD to output dependencies as a
5201 # side effect of compilation, but ICC will put the dependencies in
5202 # the current directory while Tru64 will put them in the object
5206 am_cv_CC_dependencies_compiler_type=none
5207 if test "$am_compiler_list" = ""; then
5208 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5210 for depmode in $am_compiler_list; do
5211 # Setup a source with many dependencies, because some compilers
5212 # like to wrap large dependency lists on column 80 (with \), and
5213 # we should not choose a depcomp mode which is confused by this.
5215 # We need to recreate these files for each test, as the compiler may
5216 # overwrite some of them when testing with obscure command lines.
5217 # This happens at least with the AIX C compiler.
5219 for i in 1 2 3 4 5 6; do
5220 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
5221 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5222 # Solaris 8's {/usr,}/bin/sh.
5223 touch sub/conftst$i.h
5225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5229 # after this tag, mechanisms are not by side-effect, so they'll
5230 # only be used when explicitly requested
5231 if test "x
$enable_dependency_tracking" = xyes; then
5239 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
5240 # mode. It turns out that the SunPro C++ compiler does not properly
5241 # handle `-M -o', and we need to detect this.
5242 if depmode=$depmode \
5243 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5244 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5245 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5246 >/dev/null 2>conftest.err &&
5247 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5248 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5249 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5250 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5251 # icc doesn't choke on unknown options, it will just issue warnings
5252 # or remarks (even with -Werror). So we grep stderr for any message
5253 # that says an option was ignored or not supported.
5254 # When given -MP, icc 7.0 and 7.1 complain thusly:
5255 # icc: Command line warning: ignoring option '-M'; no argument required
5256 # The diagnosis changed in icc 8.0:
5257 # icc: Command line remark: option '-MP' not supported
5258 if (grep 'ignoring option' conftest.err ||
5259 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5260 am_cv_CC_dependencies_compiler_type=$depmode
5269 am_cv_CC_dependencies_compiler_type=none
5273 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
5274 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5275 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5278 test "x
$enable_dependency_tracking" != xno \
5279 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5281 am__fastdepCC_FALSE='#'
5283 am__fastdepCC_TRUE='#'
5284 am__fastdepCC_FALSE=
5290 # Extract the first word of "$ac_prog", so it can be a program name with args.
5291 set dummy $ac_prog; ac_word=$2
5292 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5293 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5294 if test "${ac_cv_path_PS+set}" = set; then
5295 echo $ECHO_N "(cached
) $ECHO_C" >&6
5299 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $LPATH
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5310 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5321 if test -n "$PS"; then
5322 { echo "$as_me:$LINENO: result
: $PS" >&5
5323 echo "${ECHO_T}$PS" >&6; }
5325 { echo "$as_me:$LINENO: result
: no
" >&5
5326 echo "${ECHO_T}no
" >&6; }
5330 test -n "$PS" && break
5332 test -n "$PS" || PS="ps
"
5336 # Extract the first word of "$ac_prog", so it can be a program name with args.
5337 set dummy $ac_prog; ac_word=$2
5338 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5339 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5340 if test "${ac_cv_path_W+set}" = set; then
5341 echo $ECHO_N "(cached
) $ECHO_C" >&6
5345 ac_cv_path_W="$W" # Let the user override the test with a path.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $LPATH
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_path_W="$as_dir/$ac_word$ac_exec_ext"
5356 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5367 if test -n "$W"; then
5368 { echo "$as_me:$LINENO: result
: $W" >&5
5369 echo "${ECHO_T}$W" >&6; }
5371 { echo "$as_me:$LINENO: result
: no
" >&5
5372 echo "${ECHO_T}no
" >&6; }
5376 test -n "$W" && break
5378 test -n "$W" || W="w
"
5380 # Check whether --enable-shared was given.
5381 if test "${enable_shared+set}" = set; then
5382 enableval=$enable_shared; p=${PACKAGE-default}
5384 yes) enable_shared=yes ;;
5385 no) enable_shared=no ;;
5388 # Look at the argument we got. We use all the common list separators.
5389 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5390 for pkg in $enableval; do
5392 if test "X
$pkg" = "X
$p"; then
5404 # Check whether --enable-static was given.
5405 if test "${enable_static+set}" = set; then
5406 enableval=$enable_static; p=${PACKAGE-default}
5408 yes) enable_static=yes ;;
5409 no) enable_static=no ;;
5412 # Look at the argument we got. We use all the common list separators.
5413 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5414 for pkg in $enableval; do
5416 if test "X
$pkg" = "X
$p"; then
5428 # Check whether --enable-fast-install was given.
5429 if test "${enable_fast_install+set}" = set; then
5430 enableval=$enable_fast_install; p=${PACKAGE-default}
5432 yes) enable_fast_install=yes ;;
5433 no) enable_fast_install=no ;;
5435 enable_fast_install=no
5436 # Look at the argument we got. We use all the common list separators.
5437 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5438 for pkg in $enableval; do
5440 if test "X
$pkg" = "X
$p"; then
5441 enable_fast_install=yes
5448 enable_fast_install=yes
5452 # Make sure we can run config.sub.
5453 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
5454 { { echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
5455 echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
5456 { (exit 1); exit 1; }; }
5458 { echo "$as_me:$LINENO: checking build system
type" >&5
5459 echo $ECHO_N "checking build system
type...
$ECHO_C" >&6; }
5460 if test "${ac_cv_build+set}" = set; then
5461 echo $ECHO_N "(cached
) $ECHO_C" >&6
5463 ac_build_alias=$build_alias
5464 test "x
$ac_build_alias" = x &&
5465 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
5466 test "x
$ac_build_alias" = x &&
5467 { { echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
5468 echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
5469 { (exit 1); exit 1; }; }
5470 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
5471 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
5472 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
5473 { (exit 1); exit 1; }; }
5476 { echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
5477 echo "${ECHO_T}$ac_cv_build" >&6; }
5478 case $ac_cv_build in
5480 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
5481 echo "$as_me: error
: invalid value of canonical build
" >&2;}
5482 { (exit 1); exit 1; }; };;
5485 ac_save_IFS=$IFS; IFS='-'
5491 # Remember, the first character of IFS is used to create $*,
5492 # except with old shells:
5495 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5498 { echo "$as_me:$LINENO: checking
host system
type" >&5
5499 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6; }
5500 if test "${ac_cv_host+set}" = set; then
5501 echo $ECHO_N "(cached
) $ECHO_C" >&6
5503 if test "x
$host_alias" = x; then
5504 ac_cv_host=$ac_cv_build
5506 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
5507 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
5508 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
5509 { (exit 1); exit 1; }; }
5513 { echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
5514 echo "${ECHO_T}$ac_cv_host" >&6; }
5517 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
5518 echo "$as_me: error
: invalid value of canonical
host" >&2;}
5519 { (exit 1); exit 1; }; };;
5522 ac_save_IFS=$IFS; IFS='-'
5528 # Remember, the first character of IFS is used to create $*,
5529 # except with old shells:
5532 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5535 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
5536 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
5537 if test "${lt_cv_path_SED+set}" = set; then
5538 echo $ECHO_N "(cached
) $ECHO_C" >&6
5540 # Loop through the user's path and test for sed and gsed.
5541 # Then use that list of sed's as ones to test for truncation.
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 test -z "$as_dir" && as_dir=.
5547 for lt_ac_prog in sed gsed; do
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5550 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5558 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5559 # along with /bin/sed that truncates output.
5560 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5561 test ! -f $lt_ac_sed && continue
5562 cat /dev/null > conftest.in
5564 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5565 # Check for GNU sed and select it if it is found.
5566 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5567 lt_cv_path_SED=$lt_ac_sed
5571 cat conftest.in conftest.in >conftest.tmp
5572 mv conftest.tmp conftest.in
5573 cp conftest.in conftest.nl
5575 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5576 cmp -s conftest.out conftest.nl || break
5577 # 10000 chars as input seems more than enough
5578 test $lt_ac_count -gt 10 && break
5579 lt_ac_count=`expr $lt_ac_count + 1`
5580 if test $lt_ac_count -gt $lt_ac_max; then
5581 lt_ac_max=$lt_ac_count
5582 lt_cv_path_SED=$lt_ac_sed
5591 { echo "$as_me:$LINENO: result
: $SED" >&5
5592 echo "${ECHO_T}$SED" >&6; }
5595 # Check whether --with-gnu-ld was given.
5596 if test "${with_gnu_ld+set}" = set; then
5597 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5603 if test "$GCC" = yes; then
5604 # Check if gcc -print-prog-name=ld gives a path.
5605 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
5606 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
5609 # gcc leaves a trailing carriage return which upsets mingw
5610 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5612 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5615 # Accept absolute paths.
5617 re_direlt='/[^/][^/]*/\.\./'
5618 # Canonicalize the pathname of ld
5619 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5620 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5621 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
5623 test -z "$LD" && LD="$ac_prog"
5626 # If it fails, then pretend we aren't using GCC.
5630 # If it is relative, then search for the first ld in PATH.
5634 elif test "$with_gnu_ld" = yes; then
5635 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
5636 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
5638 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
5639 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
5641 if test "${lt_cv_path_LD+set}" = set; then
5642 echo $ECHO_N "(cached
) $ECHO_C" >&6
5644 if test -z "$LD"; then
5645 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5646 for ac_dir in $PATH; do
5648 test -z "$ac_dir" && ac_dir=.
5649 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5650 lt_cv_path_LD="$ac_dir/$ac_prog"
5651 # Check to see if the program is GNU ld. I'd rather use --version,
5652 # but apparently some variants of GNU ld only accept -v.
5653 # Break only if it was the GNU/non-GNU ld that we prefer.
5654 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5655 *GNU* | *'with BFD'*)
5656 test "$with_gnu_ld" != no && break
5659 test "$with_gnu_ld" != yes && break
5666 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5671 if test -n "$LD"; then
5672 { echo "$as_me:$LINENO: result
: $LD" >&5
5673 echo "${ECHO_T}$LD" >&6; }
5675 { echo "$as_me:$LINENO: result
: no
" >&5
5676 echo "${ECHO_T}no
" >&6; }
5678 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
5679 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
5680 { (exit 1); exit 1; }; }
5681 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
5682 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
5683 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5684 echo $ECHO_N "(cached
) $ECHO_C" >&6
5686 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5687 case `$LD -v 2>&1 </dev/null` in
5688 *GNU* | *'with BFD'*)
5689 lt_cv_prog_gnu_ld=yes
5692 lt_cv_prog_gnu_ld=no
5696 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
5697 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
5698 with_gnu_ld=$lt_cv_prog_gnu_ld
5701 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5702 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
5703 if test "${lt_cv_ld_reload_flag+set}" = set; then
5704 echo $ECHO_N "(cached
) $ECHO_C" >&6
5706 lt_cv_ld_reload_flag='-r'
5708 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5709 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5710 reload_flag=$lt_cv_ld_reload_flag
5711 case $reload_flag in
5713 *) reload_flag=" $reload_flag" ;;
5715 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5718 if test "$GCC" = yes; then
5719 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5721 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5726 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
5727 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
5728 if test "${lt_cv_path_NM+set}" = set; then
5729 echo $ECHO_N "(cached
) $ECHO_C" >&6
5731 if test -n "$NM"; then
5732 # Let the user override the test.
5735 lt_nm_to_check="${ac_tool_prefix}nm
"
5736 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5737 lt_nm_to_check="$lt_nm_to_check nm
"
5739 for lt_tmp_nm in $lt_nm_to_check; do
5740 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5741 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5743 test -z "$ac_dir" && ac_dir=.
5744 tmp_nm="$ac_dir/$lt_tmp_nm"
5745 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5746 # Check to see if the nm accepts a BSD-compat flag.
5747 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5748 # nm: unknown option "B
" ignored
5749 # Tru64's nm complains that /dev/null is an invalid object file
5750 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5751 */dev/null* | *'Invalid file or object type'*)
5752 lt_cv_path_NM="$tmp_nm -B"
5756 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5758 lt_cv_path_NM="$tmp_nm -p"
5762 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5763 continue # so that we can try to find one that supports BSD flags
5772 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5775 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
5776 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5779 { echo "$as_me:$LINENO: checking how to recognise dependent libraries
" >&5
5780 echo $ECHO_N "checking how to recognise dependent libraries...
$ECHO_C" >&6; }
5781 if test "${lt_cv_deplibs_check_method+set}" = set; then
5782 echo $ECHO_N "(cached
) $ECHO_C" >&6
5784 lt_cv_file_magic_cmd='$MAGIC_CMD'
5785 lt_cv_file_magic_test_file=
5786 lt_cv_deplibs_check_method='unknown'
5787 # Need to set the preceding variable on all platforms that support
5788 # interlibrary dependencies.
5789 # 'none' -- dependencies not supported.
5790 # `unknown' -- same as none, but documents that we really don't know.
5791 # 'pass_all' -- all dependencies passed with no checks.
5792 # 'test_compile' -- check by making test program.
5793 # 'file_magic [[regex]]' -- check by looking for files in library path
5794 # which responds to the $file_magic_cmd with a given extended regex.
5795 # If you have `file' or equivalent on your system and you're not sure
5796 # whether `pass_all' will *always* work, you probably want this one.
5800 lt_cv_deplibs_check_method=pass_all
5804 lt_cv_deplibs_check_method=pass_all
5808 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5809 lt_cv_file_magic_cmd='/usr/bin/file -L'
5810 lt_cv_file_magic_test_file=/shlib/libc.so
5814 # func_win32_libid is a shell function defined in ltmain.sh
5815 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5816 lt_cv_file_magic_cmd='func_win32_libid'
5820 # Base MSYS/MinGW do not provide the 'file' command needed by
5821 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5822 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5823 lt_cv_file_magic_cmd='$OBJDUMP -f'
5826 darwin* | rhapsody*)
5827 lt_cv_deplibs_check_method=pass_all
5830 freebsd* | kfreebsd*-gnu | dragonfly*)
5831 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5834 # Not sure whether the presence of OpenBSD here was a mistake.
5835 # Let's accept both of them until this is cleared up.
5836 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5837 lt_cv_file_magic_cmd=/usr/bin/file
5838 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5842 lt_cv_deplibs_check_method=pass_all
5847 lt_cv_deplibs_check_method=pass_all
5850 hpux10.20* | hpux11*)
5851 lt_cv_file_magic_cmd=/usr/bin/file
5854 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5855 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5858 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]'
5859 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5862 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5863 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5869 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5870 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5873 irix5* | irix6* | nonstopux*)
5875 *-32|*"-32 ") libmagic=32-bit;;
5876 *-n32|*"-n32 ") libmagic=N32;;
5877 *-64|*"-64 ") libmagic=64-bit;;
5878 *) libmagic=never-match;;
5880 lt_cv_deplibs_check_method=pass_all
5883 # This must be Linux ELF.
5885 lt_cv_deplibs_check_method=pass_all
5889 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5890 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5892 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5897 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5898 lt_cv_file_magic_cmd=/usr/bin/file
5899 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5903 lt_cv_deplibs_check_method=unknown
5907 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5908 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5910 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5914 osf3* | osf4* | osf5*)
5915 lt_cv_deplibs_check_method=pass_all
5919 lt_cv_deplibs_check_method=pass_all
5923 case $host_vendor in
5925 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]'
5926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5929 lt_cv_deplibs_check_method=pass_all
5932 lt_cv_file_magic_cmd='/bin/file'
5933 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5936 lt_cv_file_magic_cmd='/bin/file'
5937 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5938 lt_cv_file_magic_test_file=/lib/libc.so
5941 lt_cv_deplibs_check_method=pass_all
5944 lt_cv_deplibs_check_method=pass_all
5949 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5950 lt_cv_deplibs_check_method=pass_all
5955 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5956 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5957 file_magic_cmd=$lt_cv_file_magic_cmd
5958 deplibs_check_method=$lt_cv_deplibs_check_method
5959 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5964 # If no C compiler was specified, use CC.
5967 # If no C compiler flags were specified, use CFLAGS.
5968 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5970 # Allow CC to be a program name with arguments.
5973 # Check whether --enable-libtool-lock was given.
5974 if test "${enable_libtool_lock+set}" = set; then
5975 enableval=$enable_libtool_lock;
5978 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5980 # Some flags need to be propagated to the compiler or linker for good
5984 # Find out which ABI we are using.
5985 echo 'int i;' > conftest.$ac_ext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>&5
5989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5990 (exit $ac_status); }; then
5991 case `/usr/bin/file conftest.$ac_objext` in
6003 # Find out which ABI we are using.
6004 echo '#line 6004 "configure
"' > conftest.$ac_ext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006 (eval $ac_compile) 2>&5
6008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6009 (exit $ac_status); }; then
6010 if test "$lt_cv_prog_gnu_ld" = yes; then
6011 case `/usr/bin/file conftest.$ac_objext` in
6013 LD="${LD-ld} -melf32bsmip"
6016 LD="${LD-ld} -melf32bmipn32"
6019 LD="${LD-ld} -melf64bmip"
6023 case `/usr/bin/file conftest.$ac_objext` in
6039 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
6040 # Find out which ABI we are using.
6041 echo 'int i;' > conftest.$ac_ext
6042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6043 (eval $ac_compile) 2>&5
6045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6046 (exit $ac_status); }; then
6047 case `/usr/bin/file conftest.o` in
6051 LD="${LD-ld} -m elf_i386
"
6053 ppc64-*linux*|powerpc64-*linux*)
6054 LD="${LD-ld} -m elf32ppclinux
"
6057 LD="${LD-ld} -m elf_s390
"
6060 LD="${LD-ld} -m elf32_sparc
"
6067 LD="${LD-ld} -m elf_x86_64
"
6069 ppc*-*linux*|powerpc*-*linux*)
6070 LD="${LD-ld} -m elf64ppc
"
6073 LD="${LD-ld} -m elf64_s390
"
6076 LD="${LD-ld} -m elf64_sparc
"
6086 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6087 SAVE_CFLAGS="$CFLAGS"
6088 CFLAGS="$CFLAGS -belf"
6089 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6090 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
6091 if test "${lt_cv_cc_needs_belf+set}" = set; then
6092 echo $ECHO_N "(cached
) $ECHO_C" >&6
6095 ac_cpp='$CPP $CPPFLAGS'
6096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6100 cat >conftest.$ac_ext <<_ACEOF
6103 cat confdefs.h >>conftest.$ac_ext
6104 cat >>conftest.$ac_ext <<_ACEOF
6105 /* end confdefs.h. */
6115 rm -f conftest.$ac_objext conftest$ac_exeext
6116 if { (ac_try="$ac_link"
6118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6119 *) ac_try_echo=$ac_try;;
6121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6122 (eval "$ac_link") 2>conftest.er1
6124 grep -v '^ *+' conftest.er1 >conftest.err
6126 cat conftest.err >&5
6127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6128 (exit $ac_status); } && {
6129 test -z "$ac_c_werror_flag" ||
6130 test ! -s conftest.err
6131 } && test -s conftest$ac_exeext &&
6132 $as_test_x conftest$ac_exeext; then
6133 lt_cv_cc_needs_belf=yes
6135 echo "$as_me: failed program was
:" >&5
6136 sed 's/^/| /' conftest.$ac_ext >&5
6138 lt_cv_cc_needs_belf=no
6141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6142 conftest$ac_exeext conftest.$ac_ext
6144 ac_cpp='$CPP $CPPFLAGS'
6145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6150 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6151 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6152 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6153 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6154 CFLAGS="$SAVE_CFLAGS"
6158 # Find out which ABI we are using.
6159 echo 'int i;' > conftest.$ac_ext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6161 (eval $ac_compile) 2>&5
6163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6164 (exit $ac_status); }; then
6165 case `/usr/bin/file conftest.o` in
6167 case $lt_cv_prog_gnu_ld in
6168 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6169 *) LD="${LD-ld} -64" ;;
6180 need_locks="$enable_libtool_lock"
6184 for ac_header in dlfcn.h
6186 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6187 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6188 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6189 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6190 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6191 echo $ECHO_N "(cached
) $ECHO_C" >&6
6193 ac_res=`eval echo '${'$as_ac_Header'}'`
6194 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6195 echo "${ECHO_T}$ac_res" >&6; }
6197 # Is the header compilable?
6198 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6199 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
6200 cat >conftest.$ac_ext <<_ACEOF
6203 cat confdefs.h >>conftest.$ac_ext
6204 cat >>conftest.$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6206 $ac_includes_default
6207 #include <$ac_header>
6209 rm -f conftest.$ac_objext
6210 if { (ac_try="$ac_compile"
6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6213 *) ac_try_echo=$ac_try;;
6215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6216 (eval "$ac_compile") 2>conftest.er1
6218 grep -v '^ *+' conftest.er1 >conftest.err
6220 cat conftest.err >&5
6221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6222 (exit $ac_status); } && {
6223 test -z "$ac_c_werror_flag" ||
6224 test ! -s conftest.err
6225 } && test -s conftest.$ac_objext; then
6226 ac_header_compiler=yes
6228 echo "$as_me: failed program was
:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6231 ac_header_compiler=no
6234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6235 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6236 echo "${ECHO_T}$ac_header_compiler" >&6; }
6238 # Is the header present?
6239 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6240 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
6241 cat >conftest.$ac_ext <<_ACEOF
6244 cat confdefs.h >>conftest.$ac_ext
6245 cat >>conftest.$ac_ext <<_ACEOF
6246 /* end confdefs.h. */
6247 #include <$ac_header>
6249 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6252 *) ac_try_echo=$ac_try;;
6254 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6255 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6257 grep -v '^ *+' conftest.er1 >conftest.err
6259 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6261 (exit $ac_status); } >/dev/null && {
6262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6263 test ! -s conftest.err
6265 ac_header_preproc=yes
6267 echo "$as_me: failed program was
:" >&5
6268 sed 's/^/| /' conftest.$ac_ext >&5
6270 ac_header_preproc=no
6273 rm -f conftest.err conftest.$ac_ext
6274 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6275 echo "${ECHO_T}$ac_header_preproc" >&6; }
6277 # So? What about this header?
6278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6280 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6281 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6282 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6284 ac_header_preproc=yes
6287 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6288 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6289 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6290 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6291 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6292 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6293 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6294 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6295 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6297 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6298 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6300 ## -------------------------------------------------- ##
6301 ## Report this to courier-users@lists.sourceforge.net ##
6302 ## -------------------------------------------------- ##
6304 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6307 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
6308 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
6309 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6310 echo $ECHO_N "(cached
) $ECHO_C" >&6
6312 eval "$as_ac_Header=\
$ac_header_preproc"
6314 ac_res=`eval echo '${'$as_ac_Header'}'`
6315 { echo "$as_me:$LINENO: result
: $ac_res" >&5
6316 echo "${ECHO_T}$ac_res" >&6; }
6319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6320 cat >>confdefs.h <<_ACEOF
6321 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6329 ac_cpp='$CXXCPP $CPPFLAGS'
6330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6333 if test -z "$CXX"; then
6334 if test -n "$CCC"; then
6337 if test -n "$ac_tool_prefix"; then
6338 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6342 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6343 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6344 if test "${ac_cv_prog_CXX+set}" = set; then
6345 echo $ECHO_N "(cached
) $ECHO_C" >&6
6347 if test -n "$CXX"; then
6348 ac_cv_prog_CXX="$CXX" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6357 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6358 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6368 if test -n "$CXX"; then
6369 { echo "$as_me:$LINENO: result
: $CXX" >&5
6370 echo "${ECHO_T}$CXX" >&6; }
6372 { echo "$as_me:$LINENO: result
: no
" >&5
6373 echo "${ECHO_T}no
" >&6; }
6377 test -n "$CXX" && break
6380 if test -z "$CXX"; then
6382 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6384 # Extract the first word of "$ac_prog", so it can be a program name with args.
6385 set dummy $ac_prog; ac_word=$2
6386 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6388 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6389 echo $ECHO_N "(cached
) $ECHO_C" >&6
6391 if test -n "$ac_ct_CXX"; then
6392 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401 ac_cv_prog_ac_ct_CXX="$ac_prog"
6402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6411 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6412 if test -n "$ac_ct_CXX"; then
6413 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
6414 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6416 { echo "$as_me:$LINENO: result
: no
" >&5
6417 echo "${ECHO_T}no
" >&6; }
6421 test -n "$ac_ct_CXX" && break
6424 if test "x
$ac_ct_CXX" = x; then
6427 case $cross_compiling:$ac_tool_warned in
6429 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
6430 whose name does not start with the
host triplet. If you think this
6431 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
6432 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
6433 whose name does not start with the
host triplet. If you think this
6434 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
6435 ac_tool_warned=yes ;;
6443 # Provide some information about the compiler.
6444 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
6445 ac_compiler=`set X $ac_compile; echo $2`
6446 { (ac_try="$ac_compiler --version >&5"
6448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;;
6451 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compiler --version >&5") 2>&5
6454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6455 (exit $ac_status); }
6456 { (ac_try="$ac_compiler -v >&5"
6458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6459 *) ac_try_echo=$ac_try;;
6461 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6462 (eval "$ac_compiler -v >&5") 2>&5
6464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6465 (exit $ac_status); }
6466 { (ac_try="$ac_compiler -V >&5"
6468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6469 *) ac_try_echo=$ac_try;;
6471 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6472 (eval "$ac_compiler -V >&5") 2>&5
6474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6475 (exit $ac_status); }
6477 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
6478 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
6479 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6480 echo $ECHO_N "(cached
) $ECHO_C" >&6
6482 cat >conftest.$ac_ext <<_ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6500 rm -f conftest.$ac_objext
6501 if { (ac_try="$ac_compile"
6503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6504 *) ac_try_echo=$ac_try;;
6506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6507 (eval "$ac_compile") 2>conftest.er1
6509 grep -v '^ *+' conftest.er1 >conftest.err
6511 cat conftest.err >&5
6512 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6513 (exit $ac_status); } && {
6514 test -z "$ac_cxx_werror_flag" ||
6515 test ! -s conftest.err
6516 } && test -s conftest.$ac_objext; then
6519 echo "$as_me: failed program was
:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6526 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6529 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
6530 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6531 GXX=`test $ac_compiler_gnu = yes && echo yes`
6532 ac_test_CXXFLAGS=${CXXFLAGS+set}
6533 ac_save_CXXFLAGS=$CXXFLAGS
6534 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
6535 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
6536 if test "${ac_cv_prog_cxx_g+set}" = set; then
6537 echo $ECHO_N "(cached
) $ECHO_C" >&6
6539 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6540 ac_cxx_werror_flag=yes
6543 cat >conftest.$ac_ext <<_ACEOF
6546 cat confdefs.h >>conftest.$ac_ext
6547 cat >>conftest.$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6558 rm -f conftest.$ac_objext
6559 if { (ac_try="$ac_compile"
6561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562 *) ac_try_echo=$ac_try;;
6564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6565 (eval "$ac_compile") 2>conftest.er1
6567 grep -v '^ *+' conftest.er1 >conftest.err
6569 cat conftest.err >&5
6570 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6571 (exit $ac_status); } && {
6572 test -z "$ac_cxx_werror_flag" ||
6573 test ! -s conftest.err
6574 } && test -s conftest.$ac_objext; then
6575 ac_cv_prog_cxx_g=yes
6577 echo "$as_me: failed program was
:" >&5
6578 sed 's/^/| /' conftest.$ac_ext >&5
6581 cat >conftest.$ac_ext <<_ACEOF
6584 cat confdefs.h >>conftest.$ac_ext
6585 cat >>conftest.$ac_ext <<_ACEOF
6586 /* end confdefs.h. */
6596 rm -f conftest.$ac_objext
6597 if { (ac_try="$ac_compile"
6599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6600 *) ac_try_echo=$ac_try;;
6602 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6603 (eval "$ac_compile") 2>conftest.er1
6605 grep -v '^ *+' conftest.er1 >conftest.err
6607 cat conftest.err >&5
6608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6609 (exit $ac_status); } && {
6610 test -z "$ac_cxx_werror_flag" ||
6611 test ! -s conftest.err
6612 } && test -s conftest.$ac_objext; then
6615 echo "$as_me: failed program was
:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6618 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6620 cat >conftest.$ac_ext <<_ACEOF
6623 cat confdefs.h >>conftest.$ac_ext
6624 cat >>conftest.$ac_ext <<_ACEOF
6625 /* end confdefs.h. */
6635 rm -f conftest.$ac_objext
6636 if { (ac_try="$ac_compile"
6638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6639 *) ac_try_echo=$ac_try;;
6641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6642 (eval "$ac_compile") 2>conftest.er1
6644 grep -v '^ *+' conftest.er1 >conftest.err
6646 cat conftest.err >&5
6647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6648 (exit $ac_status); } && {
6649 test -z "$ac_cxx_werror_flag" ||
6650 test ! -s conftest.err
6651 } && test -s conftest.$ac_objext; then
6652 ac_cv_prog_cxx_g=yes
6654 echo "$as_me: failed program was
:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6667 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6669 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
6670 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6671 if test "$ac_test_CXXFLAGS" = set; then
6672 CXXFLAGS=$ac_save_CXXFLAGS
6673 elif test $ac_cv_prog_cxx_g = yes; then
6674 if test "$GXX" = yes; then
6680 if test "$GXX" = yes; then
6687 ac_cpp='$CXXCPP $CPPFLAGS'
6688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6692 depcc="$CXX" am_compiler_list=
6694 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
6695 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
6696 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6697 echo $ECHO_N "(cached
) $ECHO_C" >&6
6699 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6700 # We make a subdir and do the tests there. Otherwise we can end up
6701 # making bogus files that we don't know about and never remove. For
6702 # instance it was reported that on HP-UX the gcc test will end up
6703 # making a dummy file named `D' -- because `-MD' means `put the output
6706 # Copy depcomp to subdir because otherwise we won't find it if we're
6707 # using a relative directory.
6708 cp "$am_depcomp" conftest.dir
6710 # We will build objects and dependencies in a subdirectory because
6711 # it helps to detect inapplicable dependency modes. For instance
6712 # both Tru64's cc and ICC support -MD to output dependencies as a
6713 # side effect of compilation, but ICC will put the dependencies in
6714 # the current directory while Tru64 will put them in the object
6718 am_cv_CXX_dependencies_compiler_type=none
6719 if test "$am_compiler_list" = ""; then
6720 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6722 for depmode in $am_compiler_list; do
6723 # Setup a source with many dependencies, because some compilers
6724 # like to wrap large dependency lists on column 80 (with \), and
6725 # we should not choose a depcomp mode which is confused by this.
6727 # We need to recreate these files for each test, as the compiler may
6728 # overwrite some of them when testing with obscure command lines.
6729 # This happens at least with the AIX C compiler.
6731 for i in 1 2 3 4 5 6; do
6732 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
6733 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6734 # Solaris 8's {/usr,}/bin/sh.
6735 touch sub/conftst$i.h
6737 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6741 # after this tag, mechanisms are not by side-effect, so they'll
6742 # only be used when explicitly requested
6743 if test "x
$enable_dependency_tracking" = xyes; then
6751 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
6752 # mode. It turns out that the SunPro C++ compiler does not properly
6753 # handle `-M -o', and we need to detect this.
6754 if depmode=$depmode \
6755 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6756 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6757 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6758 >/dev/null 2>conftest.err &&
6759 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6760 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6761 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6762 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6763 # icc doesn't choke on unknown options, it will just issue warnings
6764 # or remarks (even with -Werror). So we grep stderr for any message
6765 # that says an option was ignored or not supported.
6766 # When given -MP, icc 7.0 and 7.1 complain thusly:
6767 # icc: Command line warning: ignoring option '-M'; no argument required
6768 # The diagnosis changed in icc 8.0:
6769 # icc: Command line remark: option '-MP' not supported
6770 if (grep 'ignoring option' conftest.err ||
6771 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6772 am_cv_CXX_dependencies_compiler_type=$depmode
6781 am_cv_CXX_dependencies_compiler_type=none
6785 { echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
6786 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6787 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6790 test "x
$enable_dependency_tracking" != xno \
6791 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6792 am__fastdepCXX_TRUE=
6793 am__fastdepCXX_FALSE='#'
6795 am__fastdepCXX_TRUE='#'
6796 am__fastdepCXX_FALSE=
6802 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
6803 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
6804 (test "X
$CXX" != "Xg
++"))) ; then
6806 ac_cpp='$CXXCPP $CPPFLAGS'
6807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6810 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
6811 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
6812 if test -z "$CXXCPP"; then
6813 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6814 echo $ECHO_N "(cached
) $ECHO_C" >&6
6816 # Double quotes because CXXCPP needs to be expanded
6817 for CXXCPP in "$CXX -E" "/lib
/cpp
"
6820 for ac_cxx_preproc_warn_flag in '' yes
6822 # Use a header file that comes with gcc, so configuring glibc
6823 # with a fresh cross-compiler works.
6824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6825 # <limits.h> exists even on freestanding compilers.
6826 # On the NeXT, cc -E runs the code through the compiler's parser,
6827 # not just through cpp. "Syntax error
" is here to catch this case.
6828 cat >conftest.$ac_ext <<_ACEOF
6831 cat confdefs.h >>conftest.$ac_ext
6832 cat >>conftest.$ac_ext <<_ACEOF
6833 /* end confdefs.h. */
6835 # include <limits.h>
6837 # include <assert.h>
6841 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6844 *) ac_try_echo=$ac_try;;
6846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6847 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6849 grep -v '^ *+' conftest.er1 >conftest.err
6851 cat conftest.err >&5
6852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6853 (exit $ac_status); } >/dev/null && {
6854 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6855 test ! -s conftest.err
6859 echo "$as_me: failed program was
:" >&5
6860 sed 's/^/| /' conftest.$ac_ext >&5
6862 # Broken: fails on valid input.
6866 rm -f conftest.err conftest.$ac_ext
6868 # OK, works on sane cases. Now check whether nonexistent headers
6869 # can be detected and how.
6870 cat >conftest.$ac_ext <<_ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
6875 /* end confdefs.h. */
6876 #include <ac_nonexistent.h>
6878 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6881 *) ac_try_echo=$ac_try;;
6883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6884 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6886 grep -v '^ *+' conftest.er1 >conftest.err
6888 cat conftest.err >&5
6889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6890 (exit $ac_status); } >/dev/null && {
6891 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6892 test ! -s conftest.err
6894 # Broken: success on invalid input.
6897 echo "$as_me: failed program was
:" >&5
6898 sed 's/^/| /' conftest.$ac_ext >&5
6900 # Passes both tests.
6905 rm -f conftest.err conftest.$ac_ext
6908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6909 rm -f conftest.err conftest.$ac_ext
6910 if $ac_preproc_ok; then
6915 ac_cv_prog_CXXCPP=$CXXCPP
6918 CXXCPP=$ac_cv_prog_CXXCPP
6920 ac_cv_prog_CXXCPP=$CXXCPP
6922 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
6923 echo "${ECHO_T}$CXXCPP" >&6; }
6925 for ac_cxx_preproc_warn_flag in '' yes
6927 # Use a header file that comes with gcc, so configuring glibc
6928 # with a fresh cross-compiler works.
6929 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6930 # <limits.h> exists even on freestanding compilers.
6931 # On the NeXT, cc -E runs the code through the compiler's parser,
6932 # not just through cpp. "Syntax error
" is here to catch this case.
6933 cat >conftest.$ac_ext <<_ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6940 # include <limits.h>
6942 # include <assert.h>
6946 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949 *) ac_try_echo=$ac_try;;
6951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6952 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6954 grep -v '^ *+' conftest.er1 >conftest.err
6956 cat conftest.err >&5
6957 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6958 (exit $ac_status); } >/dev/null && {
6959 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6960 test ! -s conftest.err
6964 echo "$as_me: failed program was
:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6967 # Broken: fails on valid input.
6971 rm -f conftest.err conftest.$ac_ext
6973 # OK, works on sane cases. Now check whether nonexistent headers
6974 # can be detected and how.
6975 cat >conftest.$ac_ext <<_ACEOF
6978 cat confdefs.h >>conftest.$ac_ext
6979 cat >>conftest.$ac_ext <<_ACEOF
6980 /* end confdefs.h. */
6981 #include <ac_nonexistent.h>
6983 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6986 *) ac_try_echo=$ac_try;;
6988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6989 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6991 grep -v '^ *+' conftest.er1 >conftest.err
6993 cat conftest.err >&5
6994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6995 (exit $ac_status); } >/dev/null && {
6996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6997 test ! -s conftest.err
6999 # Broken: success on invalid input.
7002 echo "$as_me: failed program was
:" >&5
7003 sed 's/^/| /' conftest.$ac_ext >&5
7005 # Passes both tests.
7010 rm -f conftest.err conftest.$ac_ext
7013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7014 rm -f conftest.err conftest.$ac_ext
7015 if $ac_preproc_ok; then
7018 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
7019 See \
`config.log' for more details." >&5
7020 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7021 See \`config.log
' for more details." >&2;}
7022 { (exit 1); exit 1; }; }
7026 ac_cpp='$CXXCPP $CPPFLAGS'
7027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7028 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7035 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
7036 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7037 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7038 if test -n "$ac_tool_prefix"; then
7039 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
7041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7045 if test "${ac_cv_prog_F77+set}" = set; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 if test -n "$F77"; then
7049 ac_cv_prog_F77="$F77" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7058 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7069 if test -n "$F77"; then
7070 { echo "$as_me:$LINENO: result: $F77" >&5
7071 echo "${ECHO_T}$F77" >&6; }
7073 { echo "$as_me:$LINENO: result: no" >&5
7074 echo "${ECHO_T}no" >&6; }
7078 test -n "$F77" && break
7081 if test -z "$F77"; then
7083 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
7085 # Extract the first word of "$ac_prog", so it can be a program name with args.
7086 set dummy $ac_prog; ac_word=$2
7087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7089 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 if test -n "$ac_ct_F77"; then
7093 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7102 ac_cv_prog_ac_ct_F77="$ac_prog"
7103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 ac_ct_F77=$ac_cv_prog_ac_ct_F77
7113 if test -n "$ac_ct_F77"; then
7114 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7115 echo "${ECHO_T}$ac_ct_F77" >&6; }
7117 { echo "$as_me:$LINENO: result: no" >&5
7118 echo "${ECHO_T}no" >&6; }
7122 test -n "$ac_ct_F77" && break
7125 if test "x$ac_ct_F77" = x; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7131 whose name does not start with the host triplet. If you think this
7132 configuration is useful to you, please write to autoconf@gnu.org." >&5
7133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7134 whose name does not start with the host triplet. If you think this
7135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7136 ac_tool_warned=yes ;;
7143 # Provide some information about the compiler.
7144 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7145 ac_compiler=`set X $ac_compile; echo $2`
7146 { (ac_try="$ac_compiler --version >&5"
7148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7149 *) ac_try_echo=$ac_try;;
7151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7152 (eval "$ac_compiler --version >&5") 2>&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }
7156 { (ac_try="$ac_compiler -v >&5"
7158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7159 *) ac_try_echo=$ac_try;;
7161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7162 (eval "$ac_compiler -v >&5") 2>&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }
7166 { (ac_try="$ac_compiler -V >&5"
7168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7169 *) ac_try_echo=$ac_try;;
7171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7172 (eval "$ac_compiler -V >&5") 2>&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }
7178 # If we don't use
`.F' as extension, the preprocessor is not run on the
7179 # input file. (Note that this only needs to work for GNU compilers.)
7182 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7183 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7184 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7187 cat >conftest.$ac_ext <<_ACEOF
7195 rm -f conftest.$ac_objext
7196 if { (ac_try="$ac_compile"
7198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7199 *) ac_try_echo
=$ac_try;;
7201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7202 (eval "$ac_compile") 2>conftest.er1
7204 grep -v '^ *+' conftest.er1
>conftest.err
7206 cat conftest.err
>&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); } && {
7209 test -z "$ac_f77_werror_flag" ||
7210 test ! -s conftest.err
7211 } && test -s conftest.
$ac_objext; then
7214 echo "$as_me: failed program was:" >&5
7215 sed 's/^/| /' conftest.
$ac_ext >&5
7220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7221 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
7224 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7225 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7227 ac_test_FFLAGS
=${FFLAGS+set}
7228 ac_save_FFLAGS
=$FFLAGS
7230 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7231 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7232 if test "${ac_cv_prog_f77_g+set}" = set; then
7233 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 cat >conftest.
$ac_ext <<_ACEOF
7241 rm -f conftest.
$ac_objext
7242 if { (ac_try
="$ac_compile"
7244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1 >conftest.err
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_f77_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 ac_cv_prog_f77_g=yes
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7270 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7271 if test "$ac_test_FFLAGS" = set; then
7272 FFLAGS=$ac_save_FFLAGS
7273 elif test $ac_cv_prog_f77_g = yes; then
7274 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7280 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7287 G77=`test $ac_compiler_gnu = yes && echo yes`
7289 ac_cpp='$CPP $CPPFLAGS'
7290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7298 # find the maximum length of command line arguments
7299 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7300 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7301 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7302 echo $ECHO_N "(cached) $ECHO_C" >&6
7309 # On DJGPP, this test can blow up pretty badly due to problems in libc
7310 # (any single argument exceeding 2000 bytes causes a buffer overrun
7311 # during glob expansion). Even if it were fixed, the result of this
7312 # check would be larger than it should be.
7313 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7317 # Under GNU Hurd, this test is not required because there is
7318 # no limit to the length of command line arguments.
7319 # Libtool will interpret -1 as no limit whatsoever
7320 lt_cv_sys_max_cmd_len=-1;
7324 # On Win9x/ME, this test blows up -- it succeeds, but takes
7325 # about 5 minutes as the teststring grows exponentially.
7326 # Worse, since 9x/ME are not pre-emptively multitasking,
7327 # you end up with a "frozen" computer, even though with patience
7328 # the test eventually succeeds (with a max line length of 256k).
7329 # Instead, let's just punt: use the minimum linelength reported by
7330 # all of the supported platforms: 8192 (on NT/2K/XP).
7331 lt_cv_sys_max_cmd_len=8192;
7335 # On AmigaOS with pdksh, this test takes hours, literally.
7336 # So we just punt and use a minimum line length of 8192.
7337 lt_cv_sys_max_cmd_len=8192;
7340 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7341 # This has been around since 386BSD, at least. Likely further.
7342 if test -x /sbin/sysctl; then
7343 lt_cv_sys_max_cmd_len=`/sbin
/sysctl
-n kern.argmax
`
7344 elif test -x /usr/sbin/sysctl; then
7345 lt_cv_sys_max_cmd_len=`/usr
/sbin
/sysctl
-n kern.argmax
`
7347 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7349 # And add a safety zone
7350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 4`
7351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
* 3`
7355 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7356 lt_cv_sys_max_cmd_len=196608
7360 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7361 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7362 # nice to cause kernel panics so lets avoid the loop below.
7363 # First set a reasonable default.
7364 lt_cv_sys_max_cmd_len=16384
7366 if test -x /sbin/sysconfig; then
7367 case `/sbin
/sysconfig
-q proc exec_disable_arg_limit
` in
7368 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7373 lt_cv_sys_max_cmd_len=102400
7375 sysv5* | sco5v6* | sysv4.2uw2*)
7376 kargmax=`grep ARG_MAX
/etc
/conf
/cf.d
/stune
2>/dev
/null
`
7377 if test -n "$kargmax"; then
7378 lt_cv_sys_max_cmd_len=`echo $kargmax |
sed 's/.*[ ]//'`
7380 lt_cv_sys_max_cmd_len=32768
7384 # If test is not a shell built-in, we'll probably end up computing a
7385 # maximum length that is only half of the actual maximum length, but
7387 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7388 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev
/null
` \
7389 = "XX$teststring") >/dev/null 2>&1 &&
7390 new_result=`expr "X$teststring" : ".*" 2>&1` &&
7391 lt_cv_sys_max_cmd_len=$new_result &&
7392 test $i != 17 # 1/2 MB should be enough
7395 teststring=$teststring$teststring
7398 # Add a significant safety factor because C++ compilers can tack on massive
7399 # amounts of additional arguments before passing them to the linker.
7400 # It appears as though 1/2 is a usable value.
7401 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \
/ 2`
7407 if test -n $lt_cv_sys_max_cmd_len ; then
7408 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7409 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7411 { echo "$as_me:$LINENO: result: none" >&5
7412 echo "${ECHO_T}none" >&6; }
7418 # Check for command to grab the raw symbol name followed by C symbol from nm.
7419 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7420 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7421 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7425 # These are sane defaults that work on at least a few old systems.
7426 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7428 # Character class describing NM global symbol codes.
7429 symcode='[BCDEGRST]'
7431 # Regexp to match symbols that can be accessed directly from C.
7432 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7434 # Transform an extracted symbol line into a proper C declaration
7435 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7437 # Transform an extracted symbol line into symbol name and symbol address
7438 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'"
7440 # Define system-specific variables.
7445 cygwin* | mingw* | pw32*)
7446 symcode='[ABCDGISTW]'
7448 hpux*) # Its linker distinguishes data from code symbols
7449 if test "$host_cpu" = ia64; then
7450 symcode='[ABCDEGRST]'
7452 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7453 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'"
7456 if test "$host_cpu" = ia64; then
7457 symcode='[ABCDGIRSTW]'
7458 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7459 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'"
7463 symcode='[BCDEGRST]'
7466 symcode='[BCDEGQRST]'
7477 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7485 # Handle CRLF in mingw tool chain
7489 opt_cr=`echo 'x\{0,1\}' |
tr x
'\015'` # option cr in regexp
7493 # If we're using GNU nm, then use its standard symbol codes.
7494 case `$NM -V 2>&1` in
7495 *GNU* | *'with BFD'*)
7496 symcode='[ABCDGIRSTW]' ;;
7499 # Try without a prefix undercore, then with it.
7500 for ac_symprfx in "" "_"; do
7502 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7503 symxfrm="\\1 $ac_symprfx\\2 \\2"
7505 # Write the raw and C identifiers.
7506 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7508 # Check to see that the pipe works correctly.
7512 cat > conftest.$ac_ext <<EOF
7517 void nm_test_func(){}
7521 int main(){nm_test_var='a';nm_test_func();return(0);}
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); }; then
7529 # Now try to grab the symbols.
7531 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7532 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && test -s "$nlist"; then
7536 # Try sorting and uniquifying the output.
7537 if sort "$nlist" | uniq > "$nlist"T; then
7538 mv -f "$nlist"T "$nlist"
7543 # Make sure that we snagged all the symbols we need.
7544 if grep ' nm_test_var$' "$nlist" >/dev/null; then
7545 if grep ' nm_test_func$' "$nlist" >/dev/null; then
7546 cat <<EOF > conftest.$ac_ext
7552 # Now generate the symbol file.
7553 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7555 cat <<EOF >> conftest.$ac_ext
7556 #if defined (__STDC__) && __STDC__
7557 # define lt_ptr_t void *
7559 # define lt_ptr_t char *
7563 /* The mapping between symbol names and symbols. */
7568 lt_preloaded_symbols[] =
7571 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7572 cat <<\EOF >> conftest.$ac_ext
7580 # Now try linking the two files.
7581 mv conftest.$ac_objext conftstm.$ac_objext
7582 lt_save_LIBS="$LIBS"
7583 lt_save_CFLAGS="$CFLAGS"
7584 LIBS="conftstm.$ac_objext"
7585 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7587 (eval $ac_link) 2>&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7593 LIBS="$lt_save_LIBS"
7594 CFLAGS="$lt_save_CFLAGS"
7596 echo "cannot find nm_test_func in $nlist" >&5
7599 echo "cannot find nm_test_var in $nlist" >&5
7602 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7605 echo "$progname: failed program was:" >&5
7606 cat conftest.$ac_ext >&5
7608 rm -f conftest* conftst*
7610 # Do not use the global_symbol_pipe unless it works.
7611 if test "$pipe_works" = yes; then
7614 lt_cv_sys_global_symbol_pipe=
7620 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7621 lt_cv_sys_global_symbol_to_cdecl=
7623 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7624 { echo "$as_me:$LINENO: result: failed" >&5
7625 echo "${ECHO_T}failed" >&6; }
7627 { echo "$as_me:$LINENO: result: ok" >&5
7628 echo "${ECHO_T}ok" >&6; }
7631 { echo "$as_me:$LINENO: checking for objdir" >&5
7632 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7633 if test "${lt_cv_objdir+set}" = set; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 rm -f .libs 2>/dev/null
7637 mkdir .libs 2>/dev/null
7638 if test -d .libs; then
7641 # MS-DOS does not allow filenames that begin with a dot.
7644 rmdir .libs 2>/dev/null
7646 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7647 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7648 objdir=$lt_cv_objdir
7656 # AIX sometimes has problems with the GCC collect2 program. For some
7657 # reason, if we set the COLLECT_NAMES environment variable, the problems
7658 # vanish in a puff of smoke.
7659 if test "X${COLLECT_NAMES+set}" != Xset; then
7661 export COLLECT_NAMES
7666 # Sed substitution that helps us do robust quoting. It backslashifies
7667 # metacharacters that are still active within double-quoted strings.
7668 Xsed='sed -e 1s/^X//'
7669 sed_quote_subst='s/\([\\"\\`$
\\\\]\
)/\\\
1/g
'
7671 # Same as above, but do not quote variable references.
7672 double_quote_subst='s
/\
([\\"\\`\\\\]\)/\\\1/g'
7674 # Sed substitution to delay expansion of an escaped shell variable in a
7675 # double_quote_subst'ed string.
7676 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7678 # Sed substitution to avoid accidental globbing in evaled expressions
7679 no_glob_subst='s/\*/\\\*/g'
7685 default_ofile=libtool
7686 can_build_shared=yes
7688 # All known linkers require a `.a' archive for static linking (except MSVC,
7689 # which needs '.lib').
7691 ltmain="$ac_aux_dir/ltmain.sh
"
7692 ofile="$default_ofile"
7693 with_gnu_ld="$lt_cv_prog_gnu_ld"
7695 if test -n "$ac_tool_prefix"; then
7696 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7697 set dummy ${ac_tool_prefix}ar; ac_word=$2
7698 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7699 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7700 if test "${ac_cv_prog_AR+set}" = set; then
7701 echo $ECHO_N "(cached
) $ECHO_C" >&6
7703 if test -n "$AR"; then
7704 ac_cv_prog_AR="$AR" # Let the user override the test.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7713 ac_cv_prog_AR="${ac_tool_prefix}ar"
7714 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 if test -n "$AR"; then
7725 { echo "$as_me:$LINENO: result
: $AR" >&5
7726 echo "${ECHO_T}$AR" >&6; }
7728 { echo "$as_me:$LINENO: result
: no
" >&5
7729 echo "${ECHO_T}no
" >&6; }
7734 if test -z "$ac_cv_prog_AR"; then
7736 # Extract the first word of "ar", so it can be a program name with args.
7737 set dummy ar; ac_word=$2
7738 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7739 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7741 echo $ECHO_N "(cached
) $ECHO_C" >&6
7743 if test -n "$ac_ct_AR"; then
7744 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir=.
7751 for ac_exec_ext in '' $ac_executable_extensions; do
7752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7753 ac_cv_prog_ac_ct_AR="ar"
7754 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7763 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7764 if test -n "$ac_ct_AR"; then
7765 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
7766 echo "${ECHO_T}$ac_ct_AR" >&6; }
7768 { echo "$as_me:$LINENO: result
: no
" >&5
7769 echo "${ECHO_T}no
" >&6; }
7772 if test "x
$ac_ct_AR" = x; then
7775 case $cross_compiling:$ac_tool_warned in
7777 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7778 whose name does not start with the
host triplet. If you think this
7779 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7780 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7781 whose name does not start with the
host triplet. If you think this
7782 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7783 ac_tool_warned=yes ;;
7791 if test -n "$ac_tool_prefix"; then
7792 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7793 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7794 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7795 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7796 if test "${ac_cv_prog_RANLIB+set}" = set; then
7797 echo $ECHO_N "(cached
) $ECHO_C" >&6
7799 if test -n "$RANLIB"; then
7800 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7810 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7819 RANLIB=$ac_cv_prog_RANLIB
7820 if test -n "$RANLIB"; then
7821 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
7822 echo "${ECHO_T}$RANLIB" >&6; }
7824 { echo "$as_me:$LINENO: result
: no
" >&5
7825 echo "${ECHO_T}no
" >&6; }
7830 if test -z "$ac_cv_prog_RANLIB"; then
7831 ac_ct_RANLIB=$RANLIB
7832 # Extract the first word of "ranlib
", so it can be a program name with args.
7833 set dummy ranlib; ac_word=$2
7834 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7835 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7837 echo $ECHO_N "(cached
) $ECHO_C" >&6
7839 if test -n "$ac_ct_RANLIB"; then
7840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7849 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7850 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7860 if test -n "$ac_ct_RANLIB"; then
7861 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
7862 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7864 { echo "$as_me:$LINENO: result
: no
" >&5
7865 echo "${ECHO_T}no
" >&6; }
7868 if test "x
$ac_ct_RANLIB" = x; then
7871 case $cross_compiling:$ac_tool_warned in
7873 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7874 whose name does not start with the
host triplet. If you think this
7875 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7876 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7877 whose name does not start with the
host triplet. If you think this
7878 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7879 ac_tool_warned=yes ;;
7881 RANLIB=$ac_ct_RANLIB
7884 RANLIB="$ac_cv_prog_RANLIB"
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7889 set dummy ${ac_tool_prefix}strip; ac_word=$2
7890 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7891 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7892 if test "${ac_cv_prog_STRIP+set}" = set; then
7893 echo $ECHO_N "(cached
) $ECHO_C" >&6
7895 if test -n "$STRIP"; then
7896 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7906 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 STRIP=$ac_cv_prog_STRIP
7916 if test -n "$STRIP"; then
7917 { echo "$as_me:$LINENO: result
: $STRIP" >&5
7918 echo "${ECHO_T}$STRIP" >&6; }
7920 { echo "$as_me:$LINENO: result
: no
" >&5
7921 echo "${ECHO_T}no
" >&6; }
7926 if test -z "$ac_cv_prog_STRIP"; then
7928 # Extract the first word of "strip
", so it can be a program name with args.
7929 set dummy strip; ac_word=$2
7930 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7931 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7932 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7933 echo $ECHO_N "(cached
) $ECHO_C" >&6
7935 if test -n "$ac_ct_STRIP"; then
7936 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_prog_ac_ct_STRIP="strip
"
7946 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7955 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7956 if test -n "$ac_ct_STRIP"; then
7957 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
7958 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7960 { echo "$as_me:$LINENO: result
: no
" >&5
7961 echo "${ECHO_T}no
" >&6; }
7964 if test "x
$ac_ct_STRIP" = x; then
7967 case $cross_compiling:$ac_tool_warned in
7969 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7970 whose name does not start with the
host triplet. If you think this
7971 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7972 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7973 whose name does not start with the
host triplet. If you think this
7974 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7975 ac_tool_warned=yes ;;
7980 STRIP="$ac_cv_prog_STRIP"
7985 old_CFLAGS="$CFLAGS"
7987 # Set sane defaults for various variables
7988 test -z "$AR" && AR=ar
7989 test -z "$AR_FLAGS" && AR_FLAGS=cru
7990 test -z "$AS" && AS=as
7991 test -z "$CC" && CC=cc
7992 test -z "$LTCC" && LTCC=$CC
7993 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7994 test -z "$DLLTOOL" && DLLTOOL=dlltool
7995 test -z "$LD" && LD=ld
7996 test -z "$LN_S" && LN_S="ln -s"
7997 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7998 test -z "$NM" && NM=nm
7999 test -z "$SED" && SED=sed
8000 test -z "$OBJDUMP" && OBJDUMP=objdump
8001 test -z "$RANLIB" && RANLIB=:
8002 test -z "$STRIP" && STRIP=:
8003 test -z "$ac_objext" && ac_objext=o
8005 # Determine commands to create old-style static archives.
8006 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8007 old_postinstall_cmds='chmod 644 $oldlib'
8008 old_postuninstall_cmds=
8010 if test -n "$RANLIB"; then
8013 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8016 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8019 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8022 for cc_temp in $compiler""; do
8024 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8025 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8030 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
8033 # Only perform the check for file, if the check method requires it
8034 case $deplibs_check_method in
8036 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8037 { echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
8038 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6; }
8039 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8040 echo $ECHO_N "(cached
) $ECHO_C" >&6
8044 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8047 lt_save_MAGIC_CMD="$MAGIC_CMD"
8048 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8049 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8050 for ac_dir in $ac_dummy; do
8052 test -z "$ac_dir" && ac_dir=.
8053 if test -f $ac_dir/${ac_tool_prefix}file; then
8054 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8055 if test -n "$file_magic_test_file"; then
8056 case $deplibs_check_method in
8058 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8059 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8060 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8061 $EGREP "$file_magic_regex" > /dev/null; then
8066 *** Warning: the command libtool uses to detect shared libraries,
8067 *** $file_magic_cmd, produces output that libtool cannot recognize.
8068 *** The result is that libtool may fail to recognize shared libraries
8069 *** as such. This will affect the creation of libtool libraries that
8070 *** depend on shared libraries, but programs linked with such libtool
8071 *** libraries will work regardless of this problem. Nevertheless, you
8072 *** may want to report the problem to your system manager and/or to
8073 *** bug-libtool@gnu.org
8083 MAGIC_CMD="$lt_save_MAGIC_CMD"
8088 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8089 if test -n "$MAGIC_CMD"; then
8090 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
8091 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8093 { echo "$as_me:$LINENO: result
: no
" >&5
8094 echo "${ECHO_T}no
" >&6; }
8097 if test -z "$lt_cv_path_MAGIC_CMD"; then
8098 if test -n "$ac_tool_prefix"; then
8099 { echo "$as_me:$LINENO: checking
for file" >&5
8100 echo $ECHO_N "checking
for file...
$ECHO_C" >&6; }
8101 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8102 echo $ECHO_N "(cached
) $ECHO_C" >&6
8106 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8109 lt_save_MAGIC_CMD="$MAGIC_CMD"
8110 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8111 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8112 for ac_dir in $ac_dummy; do
8114 test -z "$ac_dir" && ac_dir=.
8115 if test -f $ac_dir/file; then
8116 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8117 if test -n "$file_magic_test_file"; then
8118 case $deplibs_check_method in
8120 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8122 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8123 $EGREP "$file_magic_regex" > /dev/null; then
8128 *** Warning: the command libtool uses to detect shared libraries,
8129 *** $file_magic_cmd, produces output that libtool cannot recognize.
8130 *** The result is that libtool may fail to recognize shared libraries
8131 *** as such. This will affect the creation of libtool libraries that
8132 *** depend on shared libraries, but programs linked with such libtool
8133 *** libraries will work regardless of this problem. Nevertheless, you
8134 *** may want to report the problem to your system manager and/or to
8135 *** bug-libtool@gnu.org
8145 MAGIC_CMD="$lt_save_MAGIC_CMD"
8150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8151 if test -n "$MAGIC_CMD"; then
8152 { echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
8153 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8155 { echo "$as_me:$LINENO: result
: no
" >&5
8156 echo "${ECHO_T}no
" >&6; }
8171 # Check whether --enable-libtool-lock was given.
8172 if test "${enable_libtool_lock+set}" = set; then
8173 enableval=$enable_libtool_lock;
8176 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8179 # Check whether --with-pic was given.
8180 if test "${with_pic+set}" = set; then
8181 withval=$with_pic; pic_mode="$withval"
8186 test -z "$pic_mode" && pic_mode=default
8188 # Use C for the default configuration in the libtool script
8192 ac_cpp='$CPP $CPPFLAGS'
8193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8198 # Source file extension for C test sources.
8201 # Object file extension for compiled C test sources.
8205 # Code to be used in simple compile tests
8206 lt_simple_compile_test_code="int some_variable
= 0;\n"
8208 # Code to be used in simple link tests
8209 lt_simple_link_test_code='int main(){return(0);}\n'
8212 # If no C compiler was specified, use CC.
8215 # If no C compiler flags were specified, use CFLAGS.
8216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8218 # Allow CC to be a program name with arguments.
8222 # save warnings/boilerplate of simple test code
8223 ac_outfile=conftest.$ac_objext
8224 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
8225 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8226 _lt_compiler_boilerplate=`cat conftest.err`
8229 ac_outfile=conftest.$ac_objext
8230 printf "$lt_simple_link_test_code" >conftest.$ac_ext
8231 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8232 _lt_linker_boilerplate=`cat conftest.err`
8237 lt_prog_compiler_no_builtin_flag=
8239 if test "$GCC" = yes; then
8240 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8243 { echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8244 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6; }
8245 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8246 echo $ECHO_N "(cached
) $ECHO_C" >&6
8248 lt_cv_prog_compiler_rtti_exceptions=no
8249 ac_outfile=conftest.$ac_objext
8250 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8251 lt_compiler_flag="-fno-rtti -fno-exceptions"
8252 # Insert the option either (1) after the last *FLAGS variable, or
8253 # (2) before a word containing "conftest.
", or (3) at the end.
8254 # Note that $ac_compile itself does not contain backslashes and begins
8255 # with a dollar sign (not a hyphen), so the echo should work correctly.
8256 # The option is referenced via a variable to avoid confusing sed.
8257 lt_compile=`echo "$ac_compile" | $SED \
8258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8260 -e 's:$: $lt_compiler_flag:'`
8261 (eval echo "\"\
$as_me:8261: $lt_compile\"" >&5)
8262 (eval "$lt_compile" 2>conftest.err)
8264 cat conftest.err >&5
8265 echo "$as_me:8265: \$?
= $ac_status" >&5
8266 if (exit $ac_status) && test -s "$ac_outfile"; then
8267 # The compiler can only warn and ignore the option if not recognized
8268 # So say no if there are warnings other than the usual output.
8269 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8270 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8271 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8272 lt_cv_prog_compiler_rtti_exceptions=yes
8278 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8279 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8281 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8282 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8289 lt_prog_compiler_wl=
8290 lt_prog_compiler_pic=
8291 lt_prog_compiler_static=
8293 { echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
8294 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6; }
8296 if test "$GCC" = yes; then
8297 lt_prog_compiler_wl='-Wl,'
8298 lt_prog_compiler_static='-static'
8302 # All AIX code is PIC.
8303 if test "$host_cpu" = ia64; then
8304 # AIX 5 now supports IA64 processor
8305 lt_prog_compiler_static='-Bstatic'
8310 # FIXME: we need at least 68020 code to build shared libraries, but
8311 # adding the `-m68020' flag to GCC prevents building anything better,
8313 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8316 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8317 # PIC is the default for these OSes.
8320 mingw* | pw32* | os2*)
8321 # This hack is so that the source file can tell whether it is being
8322 # built for inclusion in a dll (and should export symbols for example).
8323 lt_prog_compiler_pic='-DDLL_EXPORT'
8326 darwin* | rhapsody*)
8327 # PIC is the default on this platform
8328 # Common symbols not allowed in MH_DYLIB files
8329 lt_prog_compiler_pic='-fno-common'
8333 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8334 # Instead, we relocate shared libraries at runtime.
8338 # Just because we use GCC doesn't mean we suddenly get shared libraries
8339 # on systems that don't support them.
8340 lt_prog_compiler_can_build_shared=no
8345 if test -d /usr/nec; then
8346 lt_prog_compiler_pic=-Kconform_pic
8351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8358 lt_prog_compiler_pic='-fPIC'
8364 lt_prog_compiler_pic='-fPIC'
8368 # PORTME Check for flag to pass linker flags through the system compiler.
8371 lt_prog_compiler_wl='-Wl,'
8372 if test "$host_cpu" = ia64; then
8373 # AIX 5 now supports IA64 processor
8374 lt_prog_compiler_static='-Bstatic'
8376 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8380 # PIC is the default on this platform
8381 # Common symbols not allowed in MH_DYLIB files
8382 case $cc_basename in
8384 lt_prog_compiler_pic='-qnocommon'
8385 lt_prog_compiler_wl='-Wl,'
8390 mingw* | pw32* | os2*)
8391 # This hack is so that the source file can tell whether it is being
8392 # built for inclusion in a dll (and should export symbols for example).
8393 lt_prog_compiler_pic='-DDLL_EXPORT'
8396 hpux9* | hpux10* | hpux11*)
8397 lt_prog_compiler_wl='-Wl,'
8398 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8405 lt_prog_compiler_pic='+Z'
8408 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8409 lt_prog_compiler_static='${wl}-a ${wl}archive'
8412 irix5* | irix6* | nonstopux*)
8413 lt_prog_compiler_wl='-Wl,'
8414 # PIC (with -KPIC) is the default.
8415 lt_prog_compiler_static='-non_shared'
8419 lt_prog_compiler_pic='-KPIC'
8420 lt_prog_compiler_static='-Bstatic'
8424 case $cc_basename in
8426 lt_prog_compiler_wl='-Wl,'
8427 lt_prog_compiler_pic='-KPIC'
8428 lt_prog_compiler_static='-static'
8430 pgcc* | pgf77* | pgf90* | pgf95*)
8431 # Portland Group compilers (*not* the Pentium gcc compiler,
8432 # which looks to be a dead project)
8433 lt_prog_compiler_wl='-Wl,'
8434 lt_prog_compiler_pic='-fpic'
8435 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_wl='-Wl,'
8439 # All Alpha code is PIC.
8440 lt_prog_compiler_static='-non_shared'
8445 osf3* | osf4* | osf5*)
8446 lt_prog_compiler_wl='-Wl,'
8447 # All OSF/1 code is PIC.
8448 lt_prog_compiler_static='-non_shared'
8452 lt_prog_compiler_pic='-KPIC'
8453 lt_prog_compiler_static='-Bstatic'
8454 case $cc_basename in
8456 lt_prog_compiler_wl='-Qoption ld ';;
8458 lt_prog_compiler_wl='-Wl,';;
8463 lt_prog_compiler_wl='-Qoption ld '
8464 lt_prog_compiler_pic='-PIC'
8465 lt_prog_compiler_static='-Bstatic'
8468 sysv4 | sysv4.2uw2* | sysv4.3*)
8469 lt_prog_compiler_wl='-Wl,'
8470 lt_prog_compiler_pic='-KPIC'
8471 lt_prog_compiler_static='-Bstatic'
8475 if test -d /usr/nec ;then
8476 lt_prog_compiler_pic='-Kconform_pic'
8477 lt_prog_compiler_static='-Bstatic'
8481 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8482 lt_prog_compiler_wl='-Wl,'
8483 lt_prog_compiler_pic='-KPIC'
8484 lt_prog_compiler_static='-Bstatic'
8488 lt_prog_compiler_wl='-Wl,'
8489 lt_prog_compiler_can_build_shared=no
8493 lt_prog_compiler_pic='-pic'
8494 lt_prog_compiler_static='-Bstatic'
8498 lt_prog_compiler_can_build_shared=no
8503 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
8504 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8507 # Check to make sure the PIC flag actually works.
8509 if test -n "$lt_prog_compiler_pic"; then
8511 { echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8512 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6; }
8513 if test "${lt_prog_compiler_pic_works+set}" = set; then
8514 echo $ECHO_N "(cached
) $ECHO_C" >&6
8516 lt_prog_compiler_pic_works=no
8517 ac_outfile=conftest.$ac_objext
8518 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8519 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8520 # Insert the option either (1) after the last *FLAGS variable, or
8521 # (2) before a word containing "conftest.
", or (3) at the end.
8522 # Note that $ac_compile itself does not contain backslashes and begins
8523 # with a dollar sign (not a hyphen), so the echo should work correctly.
8524 # The option is referenced via a variable to avoid confusing sed.
8525 lt_compile=`echo "$ac_compile" | $SED \
8526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8528 -e 's:$: $lt_compiler_flag:'`
8529 (eval echo "\"\
$as_me:8529: $lt_compile\"" >&5)
8530 (eval "$lt_compile" 2>conftest.err)
8532 cat conftest.err >&5
8533 echo "$as_me:8533: \$?
= $ac_status" >&5
8534 if (exit $ac_status) && test -s "$ac_outfile"; then
8535 # The compiler can only warn and ignore the option if not recognized
8536 # So say no if there are warnings other than the usual output.
8537 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8538 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8539 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8540 lt_prog_compiler_pic_works=yes
8546 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic_works" >&5
8547 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8549 if test x"$lt_prog_compiler_pic_works" = xyes; then
8550 case $lt_prog_compiler_pic in
8552 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8555 lt_prog_compiler_pic=
8556 lt_prog_compiler_can_build_shared=no
8561 # For platforms which do not support PIC, -DPIC is meaningless:
8563 lt_prog_compiler_pic=
8566 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8571 # Check to make sure the static flag actually works.
8573 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8574 { echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8575 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6; }
8576 if test "${lt_prog_compiler_static_works+set}" = set; then
8577 echo $ECHO_N "(cached
) $ECHO_C" >&6
8579 lt_prog_compiler_static_works=no
8580 save_LDFLAGS="$LDFLAGS"
8581 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8582 printf "$lt_simple_link_test_code" > conftest.$ac_ext
8583 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8584 # The linker can only warn and ignore the option if not recognized
8585 # So say no if there are warnings
8586 if test -s conftest.err; then
8587 # Append any errors to the config.log.
8588 cat conftest.err 1>&5
8589 $echo "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8590 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8591 if diff conftest.exp conftest.er2 >/dev/null; then
8592 lt_prog_compiler_static_works=yes
8595 lt_prog_compiler_static_works=yes
8599 LDFLAGS="$save_LDFLAGS"
8602 { echo "$as_me:$LINENO: result
: $lt_prog_compiler_static_works" >&5
8603 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8605 if test x"$lt_prog_compiler_static_works" = xyes; then
8608 lt_prog_compiler_static=
8612 { echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8613 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6; }
8614 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8615 echo $ECHO_N "(cached
) $ECHO_C" >&6
8617 lt_cv_prog_compiler_c_o=no
8618 $rm -r conftest 2>/dev/null
8622 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8624 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8625 # Insert the option either (1) after the last *FLAGS variable, or
8626 # (2) before a word containing "conftest.
", or (3) at the end.
8627 # Note that $ac_compile itself does not contain backslashes and begins
8628 # with a dollar sign (not a hyphen), so the echo should work correctly.
8629 lt_compile=`echo "$ac_compile" | $SED \
8630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8632 -e 's:$: $lt_compiler_flag:'`
8633 (eval echo "\"\
$as_me:8633: $lt_compile\"" >&5)
8634 (eval "$lt_compile" 2>out/conftest.err)
8636 cat out/conftest.err >&5
8637 echo "$as_me:8637: \$?
= $ac_status" >&5
8638 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8640 # The compiler can only warn and ignore the option if not recognized
8641 # So say no if there are warnings
8642 $echo "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8643 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8644 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8645 lt_cv_prog_compiler_c_o=yes
8650 # SGI C++ compiler will create directory out/ii_files/ for
8651 # template instantiation
8652 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8653 $rm out/* && rmdir out
8659 { echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
8660 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8663 hard_links="nottested
"
8664 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8665 # do not overwrite the value of need_locks provided by the user
8666 { echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
8667 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6; }
8670 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8672 ln conftest.a conftest.b 2>&5 || hard_links=no
8673 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8674 { echo "$as_me:$LINENO: result
: $hard_links" >&5
8675 echo "${ECHO_T}$hard_links" >&6; }
8676 if test "$hard_links" = no; then
8677 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8678 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8685 { echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8686 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6; }
8689 allow_undefined_flag=
8690 enable_shared_with_static_runtimes=no
8692 archive_expsym_cmds=
8693 old_archive_From_new_cmds=
8694 old_archive_from_expsyms_cmds=
8695 export_dynamic_flag_spec=
8696 whole_archive_flag_spec=
8697 thread_safe_flag_spec=
8698 hardcode_libdir_flag_spec=
8699 hardcode_libdir_flag_spec_ld=
8700 hardcode_libdir_separator=
8703 hardcode_shlibpath_var=unsupported
8704 link_all_deplibs=unknown
8705 hardcode_automatic=no
8708 always_export_symbols=no
8709 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8710 # include_expsyms should be a list of space-separated symbols to be *always*
8711 # included in the symbol list
8713 # exclude_expsyms can be an extended regexp of symbols to exclude
8714 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8715 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8716 # as well as any symbol that contains `d'.
8717 exclude_expsyms="_GLOBAL_OFFSET_TABLE_
"
8718 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8719 # platforms (ab)use it in PIC code, but their linkers get confused if
8720 # the symbol is explicitly referenced. Since portable code cannot
8721 # rely on this symbol name, it's probably fine to never include it in
8722 # preloaded symbol tables.
8723 extract_expsyms_cmds=
8724 # Just being paranoid about ensuring that cc_basename is set.
8725 for cc_temp in $compiler""; do
8727 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8728 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8733 cc_basename=`$echo "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
8736 cygwin* | mingw* | pw32*)
8737 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8738 # When not using gcc, we currently assume that we are using
8739 # Microsoft Visual C++.
8740 if test "$GCC" != yes; then
8745 # we just hope/assume this is gcc and not c89 (= MSVC++)
8754 if test "$with_gnu_ld" = yes; then
8755 # If archive_cmds runs LD, not CC, wlarc should be empty
8758 # Set some defaults for GNU ld with shared library support. These
8759 # are reset later if shared libraries are not supported. Putting them
8760 # here allows them to be overridden if necessary.
8761 runpath_var=LD_RUN_PATH
8762 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8763 export_dynamic_flag_spec='${wl}--export-dynamic'
8764 # ancient GNU ld didn't support --whole-archive et. al.
8765 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8766 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8768 whole_archive_flag_spec=
8770 supports_anon_versioning=no
8771 case `$LD -v 2>/dev/null` in
8772 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8773 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8774 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8775 *\ 2.11.*) ;; # other 2.11 versions
8776 *) supports_anon_versioning=yes ;;
8779 # See if GNU ld supports shared libraries.
8781 aix3* | aix4* | aix5*)
8782 # On AIX/PPC, the GNU linker is very broken
8783 if test "$host_cpu" != ia64; then
8787 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8788 *** to be unable to reliably create shared libraries on AIX.
8789 *** Therefore, libtool is disabling shared libraries support. If you
8790 *** really care for shared libraries, you may want to modify your PATH
8791 *** so that a non-GNU linker is found, and then restart.
8798 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)'
8799 hardcode_libdir_flag_spec
='-L$libdir'
8800 hardcode_minus_L
=yes
8802 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8803 # that the semantics of dynamic libraries on AmigaOS, at least up
8804 # to version 4, is to share data among multiple programs linked
8805 # with the same dynamic library. Since this doesn't match the
8806 # behavior of shared libraries on other platforms, we can't use
8812 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8813 allow_undefined_flag
=unsupported
8814 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8815 # support --undefined. This deserves some investigation. FIXME
8816 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8822 cygwin
* | mingw
* | pw32
*)
8823 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8824 # as there is no search path for DLLs.
8825 hardcode_libdir_flag_spec
='-L$libdir'
8826 allow_undefined_flag
=unsupported
8827 always_export_symbols
=no
8828 enable_shared_with_static_runtimes
=yes
8829 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8831 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8832 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8833 # If the export-symbols file already is a .def file (1st line
8834 # is EXPORTS), use it as is; otherwise, prepend...
8835 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8836 cp $export_symbols $output_objdir/$soname.def;
8838 echo EXPORTS > $output_objdir/$soname.def;
8839 cat $export_symbols >> $output_objdir/$soname.def;
8841 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8849 hardcode_shlibpath_var
=no
8850 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8851 export_dynamic_flag_spec
='${wl}-E'
8852 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8853 # Instead, shared libraries are loaded at an image base (0x10000000 by
8854 # default) and relocated if they conflict, which is a slow very memory
8855 # consuming and fragmenting process. To avoid this, we pick a random,
8856 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8857 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8858 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8859 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'
8863 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8865 case $cc_basename,$host_cpu in
8866 pgcc
*) # Portland Group C compiler
8867 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'
8868 tmp_addflag
=' $pic_flag'
8870 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8871 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'
8872 tmp_addflag
=' $pic_flag -Mnomain' ;;
8873 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8874 tmp_addflag
=' -i_dynamic' ;;
8875 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8876 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8877 ifc
* | ifort
*) # Intel Fortran compiler
8878 tmp_addflag
=' -nofor_main' ;;
8880 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8882 if test $supports_anon_versioning = yes; then
8883 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8884 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8885 $echo "local: *; };" >> $output_objdir/$libname.ver~
8886 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8894 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8895 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8898 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8899 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8904 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8908 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8909 *** create shared libraries on Solaris systems. Therefore, libtool
8910 *** is disabling shared libraries support. We urge you to upgrade GNU
8911 *** binutils to release 2.9.1 or newer. Another option is to modify
8912 *** your PATH or compiler configuration so that the native linker is
8913 *** used, and then restart.
8916 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8917 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8918 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8924 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8925 case `$LD -v 2>&1` in
8926 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8930 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8931 *** reliably create shared libraries on SCO systems. Therefore, libtool
8932 *** is disabling shared libraries support. We urge you to upgrade GNU
8933 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8934 *** your PATH or compiler configuration so that the native linker is
8935 *** used, and then restart.
8940 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8941 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8942 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8943 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8952 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8955 hardcode_shlibpath_var
=no
8959 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8960 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8961 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8968 if test "$ld_shlibs" = no
; then
8970 hardcode_libdir_flag_spec
=
8971 export_dynamic_flag_spec
=
8972 whole_archive_flag_spec
=
8975 # PORTME fill in a description of your system's linker (not GNU ld)
8978 allow_undefined_flag
=unsupported
8979 always_export_symbols
=yes
8980 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'
8981 # Note: this linker hardcodes the directories in LIBPATH if there
8982 # are no directories specified by -L.
8983 hardcode_minus_L
=yes
8984 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8985 # Neither direct hardcoding nor static linking is supported with a
8987 hardcode_direct
=unsupported
8992 if test "$host_cpu" = ia64
; then
8993 # On IA64, the linker does run time linking by default, so we don't
8994 # have to do anything special.
8995 aix_use_runtimelinking
=no
8996 exp_sym_flag
='-Bexport'
8999 # If we're using GNU nm, then we don't want the "-C" option.
9000 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9001 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9002 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'
9004 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'
9006 aix_use_runtimelinking
=no
9008 # Test if we are trying to use run time linking or normal
9009 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9010 # need to do runtime linking.
9011 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9012 for ld_flag
in $LDFLAGS; do
9013 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9014 aix_use_runtimelinking
=yes
9021 exp_sym_flag
='-bexport'
9022 no_entry_flag
='-bnoentry'
9025 # When large executables or shared objects are built, AIX ld can
9026 # have problems creating the table of contents. If linking a library
9027 # or program results in "error TOC overflow" add -mminimal-toc to
9028 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9029 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9033 hardcode_libdir_separator
=':'
9034 link_all_deplibs
=yes
9036 if test "$GCC" = yes; then
9037 case $host_os in aix4.
[012]|aix4.
[012].
*)
9038 # We only want to do this on AIX 4.2 and lower, the check
9039 # below for broken collect2 doesn't work under 4.3+
9040 collect2name
=`${CC} -print-prog-name=collect2`
9041 if test -f "$collect2name" && \
9042 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9044 # We have reworked collect2
9047 # We have old collect2
9048 hardcode_direct
=unsupported
9049 # It fails to find uninstalled libraries when the uninstalled
9050 # path is not listed in the libpath. Setting hardcode_minus_L
9051 # to unsupported forces relinking
9052 hardcode_minus_L
=yes
9053 hardcode_libdir_flag_spec
='-L$libdir'
9054 hardcode_libdir_separator
=
9058 shared_flag
='-shared'
9059 if test "$aix_use_runtimelinking" = yes; then
9060 shared_flag
="$shared_flag "'${wl}-G'
9064 if test "$host_cpu" = ia64
; then
9065 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9066 # chokes on -Wl,-G. The following line is correct:
9069 if test "$aix_use_runtimelinking" = yes; then
9070 shared_flag
='${wl}-G'
9072 shared_flag
='${wl}-bM:SRE'
9077 # It seems that -bexpall does not export symbols beginning with
9078 # underscore (_), so it is better to generate a list of symbols to export.
9079 always_export_symbols
=yes
9080 if test "$aix_use_runtimelinking" = yes; then
9081 # Warning - without using the other runtime loading flags (-brtl),
9082 # -berok will link without error, but may produce a broken library.
9083 allow_undefined_flag
='-berok'
9084 # Determine the default libpath from the value encoded in an empty executable.
9085 cat >conftest.
$ac_ext <<_ACEOF
9088 cat confdefs.h
>>conftest.
$ac_ext
9089 cat >>conftest.
$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9100 rm -f conftest.
$ac_objext conftest
$ac_exeext
9101 if { (ac_try
="$ac_link"
9103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9104 *) ac_try_echo=$ac_try;;
9106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9107 (eval "$ac_link") 2>conftest.er1
9109 grep -v '^ *+' conftest.er1 >conftest.err
9111 cat conftest.err >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); } && {
9114 test -z "$ac_c_werror_flag" ||
9115 test ! -s conftest.err
9116 } && test -s conftest$ac_exeext &&
9117 $as_test_x conftest$ac_exeext; then
9119 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9121 # Check for a 64-bit object if we didn't find anything.
9122 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; }
9125 echo "$as_me: failed program was:" >&5
9126 sed 's/^/| /' conftest.$ac_ext >&5
9131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9132 conftest$ac_exeext conftest.$ac_ext
9133 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9135 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9136 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"
9138 if test "$host_cpu" = ia64; then
9139 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9140 allow_undefined_flag="-z nodefs"
9141 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"
9143 # Determine the default libpath from the value encoded in an empty executable.
9144 cat >conftest.$ac_ext <<_ACEOF
9147 cat confdefs.h >>conftest.$ac_ext
9148 cat >>conftest.$ac_ext <<_ACEOF
9149 /* end confdefs.h. */
9159 rm -f conftest.$ac_objext conftest$ac_exeext
9160 if { (ac_try="$ac_link"
9162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9163 *) ac_try_echo
=$ac_try;;
9165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9166 (eval "$ac_link") 2>conftest.er1
9168 grep -v '^ *+' conftest.er1
>conftest.err
9170 cat conftest.err
>&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } && {
9173 test -z "$ac_c_werror_flag" ||
9174 test ! -s conftest.err
9175 } && test -s conftest
$ac_exeext &&
9176 $as_test_x conftest
$ac_exeext; then
9178 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9180 # Check for a 64-bit object if we didn't find anything.
9181 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; }
9184 echo "$as_me: failed program was:" >&5
9185 sed 's/^/| /' conftest.
$ac_ext >&5
9190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9191 conftest
$ac_exeext conftest.
$ac_ext
9192 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9194 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9195 # Warning - without using the other run time loading flags,
9196 # -berok will link without error, but may produce a broken library.
9197 no_undefined_flag
=' ${wl}-bernotok'
9198 allow_undefined_flag
=' ${wl}-berok'
9199 # Exported symbols can be pulled into shared objects from archives
9200 whole_archive_flag_spec
='$convenience'
9201 archive_cmds_need_lc
=yes
9202 # This is similar to how AIX traditionally builds its shared libraries.
9203 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'
9209 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)'
9210 hardcode_libdir_flag_spec
='-L$libdir'
9211 hardcode_minus_L
=yes
9212 # see comment about different semantics on the GNU ld section
9217 export_dynamic_flag_spec
=-rdynamic
9220 cygwin
* | mingw
* | pw32
*)
9221 # When not using gcc, we currently assume that we are using
9222 # Microsoft Visual C++.
9223 # hardcode_libdir_flag_spec is actually meaningless, as there is
9224 # no search path for DLLs.
9225 hardcode_libdir_flag_spec
=' '
9226 allow_undefined_flag
=unsupported
9227 # Tell ltmain to make .lib files, not .a files.
9229 # Tell ltmain to make .dll files, not .so files.
9231 # FIXME: Setting linknames here is a bad hack.
9232 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9233 # The linker will automatically build a .lib file if we build a DLL.
9234 old_archive_From_new_cmds
='true'
9235 # FIXME: Should let the user specify the lib program.
9236 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
9237 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9238 enable_shared_with_static_runtimes
=yes
9241 darwin
* | rhapsody
*)
9243 rhapsody
* | darwin1.
[012])
9244 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9247 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9248 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9250 case ${MACOSX_DEPLOYMENT_TARGET} in
9252 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9255 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9261 archive_cmds_need_lc
=no
9263 hardcode_automatic
=yes
9264 hardcode_shlibpath_var
=unsupported
9265 whole_archive_flag_spec
=''
9266 link_all_deplibs
=yes
9267 if test "$GCC" = yes ; then
9268 output_verbose_link_cmd
='echo'
9269 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9270 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9271 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9272 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}'
9273 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}'
9275 case $cc_basename in
9277 output_verbose_link_cmd
='echo'
9278 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9279 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9280 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9281 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}'
9282 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}'
9292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9293 hardcode_libdir_flag_spec
='-L$libdir'
9294 hardcode_shlibpath_var
=no
9301 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9302 # support. Future versions do this automatically, but an explicit c++rt0.o
9303 # does not break anything, and helps significantly (at the cost of a little
9306 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9307 hardcode_libdir_flag_spec
='-R$libdir'
9309 hardcode_shlibpath_var
=no
9312 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9314 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9316 hardcode_minus_L
=yes
9317 hardcode_shlibpath_var
=no
9320 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9321 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
9322 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9323 hardcode_libdir_flag_spec
='-R$libdir'
9325 hardcode_shlibpath_var
=no
9329 if test "$GCC" = yes; then
9330 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'
9332 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'
9334 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9335 hardcode_libdir_separator
=:
9338 # hardcode_minus_L: Not really in the search PATH,
9339 # but as the default location of the library.
9340 hardcode_minus_L
=yes
9341 export_dynamic_flag_spec
='${wl}-E'
9345 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9346 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9350 if test "$with_gnu_ld" = no
; then
9351 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9352 hardcode_libdir_separator
=:
9355 export_dynamic_flag_spec
='${wl}-E'
9357 # hardcode_minus_L: Not really in the search PATH,
9358 # but as the default location of the library.
9359 hardcode_minus_L
=yes
9364 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9367 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9373 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9389 if test "$with_gnu_ld" = no
; then
9390 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9391 hardcode_libdir_separator
=:
9395 hardcode_libdir_flag_spec_ld
='+b $libdir'
9397 hardcode_shlibpath_var
=no
9401 export_dynamic_flag_spec
='${wl}-E'
9403 # hardcode_minus_L: Not really in the search PATH,
9404 # but as the default location of the library.
9405 hardcode_minus_L
=yes
9411 irix5
* | irix6
* | nonstopux
*)
9412 if test "$GCC" = yes; then
9413 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'
9415 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'
9416 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9418 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9419 hardcode_libdir_separator
=:
9420 link_all_deplibs
=yes
9424 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9425 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9427 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9429 hardcode_libdir_flag_spec
='-R$libdir'
9431 hardcode_shlibpath_var
=no
9435 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9437 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9438 hardcode_libdir_separator
=:
9439 hardcode_shlibpath_var
=no
9444 hardcode_shlibpath_var
=no
9445 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9446 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9447 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9448 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9449 export_dynamic_flag_spec
='${wl}-E'
9452 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9453 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9454 hardcode_libdir_flag_spec
='-R$libdir'
9457 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9458 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9465 hardcode_libdir_flag_spec
='-L$libdir'
9466 hardcode_minus_L
=yes
9467 allow_undefined_flag
=unsupported
9468 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'
9469 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9473 if test "$GCC" = yes; then
9474 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9475 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'
9477 allow_undefined_flag
=' -expect_unresolved \*'
9478 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'
9480 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9481 hardcode_libdir_separator
=:
9484 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9485 if test "$GCC" = yes; then
9486 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9487 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'
9488 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9490 allow_undefined_flag
=' -expect_unresolved \*'
9491 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'
9492 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9493 $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'
9495 # Both c and cxx compiler support -rpath directly
9496 hardcode_libdir_flag_spec
='-rpath $libdir'
9498 hardcode_libdir_separator
=:
9502 no_undefined_flag
=' -z text'
9503 if test "$GCC" = yes; then
9505 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9506 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9507 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9510 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9511 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9512 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9514 hardcode_libdir_flag_spec
='-R$libdir'
9515 hardcode_shlibpath_var
=no
9517 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9519 # The compiler driver will combine linker options so we
9520 # cannot just pass the convience library names through
9521 # without $wl, iff we do not link with $LD.
9522 # Luckily, gcc supports the same syntax we need for Sun Studio.
9523 # Supported since Solaris 2.6 (maybe 2.5.1?)
9526 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
9528 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' ;;
9531 link_all_deplibs
=yes
9535 if test "x$host_vendor" = xsequent
; then
9536 # Use $CC to link under sequent, because it throws in some extra .o
9537 # files that make .init and .fini sections work.
9538 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9540 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9542 hardcode_libdir_flag_spec
='-L$libdir'
9544 hardcode_minus_L
=yes
9545 hardcode_shlibpath_var
=no
9549 case $host_vendor in
9551 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9552 hardcode_direct
=yes # is this really true???
9555 ## LD is ld it makes a PLAMLIB
9556 ## CC just makes a GrossModule.
9557 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9558 reload_cmds
='$CC -r -o $output$reload_objs'
9562 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9563 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9566 runpath_var
='LD_RUN_PATH'
9567 hardcode_shlibpath_var
=no
9571 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9572 hardcode_shlibpath_var
=no
9573 export_dynamic_flag_spec
='-Bexport'
9577 if test -d /usr
/nec
; then
9578 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9579 hardcode_shlibpath_var
=no
9580 runpath_var
=LD_RUN_PATH
9581 hardcode_runpath_var
=yes
9586 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
9587 no_undefined_flag
='${wl}-z,text'
9588 archive_cmds_need_lc
=no
9589 hardcode_shlibpath_var
=no
9590 runpath_var
='LD_RUN_PATH'
9592 if test "$GCC" = yes; then
9593 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9594 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9601 sysv5
* | sco3.2v5
* | sco5v6
*)
9602 # Note: We can NOT use -z defs as we might desire, because we do not
9603 # link with -lc, and that would cause any symbols used from libc to
9604 # always be unresolved, which means just about no library would
9605 # ever link correctly. If we're not using GNU ld we use -z text
9606 # though, which does catch some bad symbols but isn't as heavy-handed
9608 no_undefined_flag
='${wl}-z,text'
9609 allow_undefined_flag
='${wl}-z,nodefs'
9610 archive_cmds_need_lc
=no
9611 hardcode_shlibpath_var
=no
9612 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9613 hardcode_libdir_separator
=':'
9614 link_all_deplibs
=yes
9615 export_dynamic_flag_spec
='${wl}-Bexport'
9616 runpath_var
='LD_RUN_PATH'
9618 if test "$GCC" = yes; then
9619 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9629 hardcode_libdir_flag_spec
='-L$libdir'
9630 hardcode_shlibpath_var
=no
9639 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9640 echo "${ECHO_T}$ld_shlibs" >&6; }
9641 test "$ld_shlibs" = no
&& can_build_shared
=no
9644 # Do we need to explicitly link libc?
9646 case "x$archive_cmds_need_lc" in
9648 # Assume -lc should be added
9649 archive_cmds_need_lc
=yes
9651 if test "$enable_shared" = yes && test "$GCC" = yes; then
9652 case $archive_cmds in
9654 # FIXME: we may have to deal with multi-command sequences.
9657 # Test whether the compiler implicitly links with -lc since on some
9658 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9659 # to ld, don't add -lc before -lgcc.
9660 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9661 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9663 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9666 (eval $ac_compile) 2>&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); } 2>conftest.err
; then
9672 libobjs
=conftest.
$ac_objext
9674 wl
=$lt_prog_compiler_wl
9675 pic_flag
=$lt_prog_compiler_pic
9681 lt_save_allow_undefined_flag
=$allow_undefined_flag
9682 allow_undefined_flag
=
9683 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9684 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); }
9689 archive_cmds_need_lc
=no
9691 archive_cmds_need_lc
=yes
9693 allow_undefined_flag
=$lt_save_allow_undefined_flag
9695 cat conftest.err
1>&5
9698 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9699 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9706 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9707 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9709 libname_spec
='lib$name'
9717 shlibpath_overrides_runpath
=unknown
9719 dynamic_linker
="$host_os ld.so"
9720 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9721 if test "$GCC" = yes; then
9722 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9723 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
9724 # if the path contains ";" then we assume it to be the separator
9725 # otherwise default to the standard path separator (i.e. ":") - it is
9726 # assumed that no part of a normal pathname contains ";" but that should
9727 # okay in the real world where ";" in dirpaths is itself problematic.
9728 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9730 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9733 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9735 need_lib_prefix
=unknown
9736 hardcode_into_libs
=no
9738 # when you set need_version to no, make sure it does not cause -set_version
9739 # flags to be left without arguments
9740 need_version
=unknown
9745 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9746 shlibpath_var
=LIBPATH
9748 # AIX 3 has no versioning support, so we append a major version to the name.
9749 soname_spec
='${libname}${release}${shared_ext}$major'
9756 hardcode_into_libs
=yes
9757 if test "$host_cpu" = ia64
; then
9758 # AIX 5 supports IA64
9759 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9760 shlibpath_var
=LD_LIBRARY_PATH
9762 # With GCC up to 2.95.x, collect2 would create an import file
9763 # for dependence libraries. The import file would start with
9764 # the line `#! .'. This would cause the generated library to
9765 # depend on `.', always an invalid library. This was fixed in
9766 # development snapshots of GCC prior to 3.0.
9768 aix4 | aix4.
[01] | aix4.
[01].
*)
9769 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9771 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9778 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9779 # soname into executable. Probably we can add versioning support to
9780 # collect2, so additional links can be useful in future.
9781 if test "$aix_use_runtimelinking" = yes; then
9782 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9783 # instead of lib<name>.a to let people know that these are not
9784 # typical AIX shared libraries.
9785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9787 # We preserve .a as extension for shared libraries through AIX4.2
9788 # and later when we are not doing run time linking.
9789 library_names_spec
='${libname}${release}.a $libname.a'
9790 soname_spec
='${libname}${release}${shared_ext}$major'
9792 shlibpath_var
=LIBPATH
9797 library_names_spec
='$libname.ixlibrary $libname.a'
9798 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9799 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'
9803 library_names_spec
='${libname}${shared_ext}'
9804 dynamic_linker
="$host_os ld.so"
9805 shlibpath_var
=LIBRARY_PATH
9811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9812 soname_spec
='${libname}${release}${shared_ext}$major'
9813 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9814 shlibpath_var
=LD_LIBRARY_PATH
9815 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9816 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9817 # the default ld.so.conf also contains /usr/contrib/lib and
9818 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9819 # libtool to hard-code these into programs
9822 cygwin
* | mingw
* | pw32
*)
9823 version_type
=windows
9828 case $GCC,$host_os in
9829 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9830 library_names_spec
='$libname.dll.a'
9831 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9832 postinstall_cmds
='base_file=`basename \${file}`~
9833 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9834 dldir=$destdir/`dirname \$dlpath`~
9835 test -d \$dldir || mkdir -p \$dldir~
9836 $install_prog $dir/$dlname \$dldir/$dlname~
9837 chmod a+x \$dldir/$dlname'
9838 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9839 dlpath=$dir/\$dldll~
9841 shlibpath_overrides_runpath
=yes
9845 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9846 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9847 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9850 # MinGW DLLs use traditional 'lib' prefix
9851 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9852 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9853 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9854 # It is most probably a Windows format PATH printed by
9855 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9856 # path with ; separators, and with drive letters. We can handle the
9857 # drive letters (cygwin fileutils understands them), so leave them,
9858 # especially as we might pass files found there to a mingw objdump,
9859 # which wouldn't understand a cygwinified path. Ahh.
9860 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9862 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9866 # pw32 DLLs use 'pw' prefix rather than 'lib'
9867 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9873 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9876 dynamic_linker
='Win32 ld.exe'
9877 # FIXME: first we should search . and the directory the executable is in
9881 darwin
* | rhapsody
*)
9882 dynamic_linker
="$host_os dyld"
9886 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9887 soname_spec
='${libname}${release}${major}$shared_ext'
9888 shlibpath_overrides_runpath
=yes
9889 shlibpath_var
=DYLD_LIBRARY_PATH
9890 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9891 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9892 if test "$GCC" = yes; then
9893 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"`
9895 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9897 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9905 soname_spec
='${libname}${release}${shared_ext}$major'
9906 shlibpath_var
=LD_LIBRARY_PATH
9917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9918 soname_spec
='${libname}${release}${shared_ext}$major'
9919 shlibpath_var
=LD_LIBRARY_PATH
9920 shlibpath_overrides_runpath
=no
9921 hardcode_into_libs
=yes
9922 dynamic_linker
='GNU ld.so'
9925 freebsd
* | dragonfly
*)
9926 # DragonFly does not have aout. When/if they implement a new
9927 # versioning mechanism, adjust this.
9928 if test -x /usr
/bin
/objformat
; then
9929 objformat
=`/usr/bin/objformat`
9932 freebsd
[123]*) objformat
=aout
;;
9936 version_type
=freebsd-
$objformat
9937 case $version_type in
9939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9944 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9948 shlibpath_var
=LD_LIBRARY_PATH
9951 shlibpath_overrides_runpath
=yes
9953 freebsd3.
[01]* | freebsdelf3.
[01]*)
9954 shlibpath_overrides_runpath
=yes
9955 hardcode_into_libs
=yes
9957 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9958 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9959 shlibpath_overrides_runpath
=no
9960 hardcode_into_libs
=yes
9962 freebsd
*) # from 4.6 on
9963 shlibpath_overrides_runpath
=yes
9964 hardcode_into_libs
=yes
9973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9974 soname_spec
='${libname}${release}${shared_ext}$major'
9975 shlibpath_var
=LD_LIBRARY_PATH
9976 hardcode_into_libs
=yes
9979 hpux9
* | hpux10
* | hpux11
*)
9980 # Give a soname corresponding to the major version so that dld.sl refuses to
9981 # link against other versions.
9988 hardcode_into_libs
=yes
9989 dynamic_linker
="$host_os dld.so"
9990 shlibpath_var
=LD_LIBRARY_PATH
9991 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993 soname_spec
='${libname}${release}${shared_ext}$major'
9994 if test "X$HPUX_IA64_MODE" = X32
; then
9995 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9997 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9999 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10003 hardcode_into_libs
=yes
10004 dynamic_linker
="$host_os dld.sl"
10005 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10006 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008 soname_spec
='${libname}${release}${shared_ext}$major'
10009 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10010 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10014 dynamic_linker
="$host_os dld.sl"
10015 shlibpath_var
=SHLIB_PATH
10016 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10018 soname_spec
='${libname}${release}${shared_ext}$major'
10021 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10022 postinstall_cmds
='chmod 555 $lib'
10029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10030 soname_spec
='${libname}${release}${shared_ext}$major'
10031 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10032 shlibpath_var
=LD_LIBRARY_PATH
10033 shlibpath_overrides_runpath
=no
10034 hardcode_into_libs
=yes
10037 irix5
* | irix6
* | nonstopux
*)
10039 nonstopux
*) version_type
=nonstopux
;;
10041 if test "$lt_cv_prog_gnu_ld" = yes; then
10049 soname_spec
='${libname}${release}${shared_ext}$major'
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10052 irix5
* | nonstopux
*)
10053 libsuff
= shlibsuff
=
10056 case $LD in # libtool.m4 will add one of these switches to LD
10057 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10058 libsuff
= shlibsuff
= libmagic
=32-bit;;
10059 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10060 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10061 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10062 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10063 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10067 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10068 shlibpath_overrides_runpath
=no
10069 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10070 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10071 hardcode_into_libs
=yes
10074 # No shared lib support for Linux oldld, aout, or coff.
10075 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10079 # This must be Linux ELF.
10084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10085 soname_spec
='${libname}${release}${shared_ext}$major'
10086 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10087 shlibpath_var
=LD_LIBRARY_PATH
10088 shlibpath_overrides_runpath
=no
10089 # This implies no fast_install, which is unacceptable.
10090 # Some rework will be needed to allow for fast_install
10091 # before this can be enabled.
10092 hardcode_into_libs
=yes
10094 # find out which ABI we are using
10096 case "$host_cpu" in
10097 x86_64
*|s390x
*|powerpc64
*)
10098 echo '#line 10098 "configure"' > conftest.
$ac_ext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10100 (eval $ac_compile) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; then
10104 case `/usr/bin/file conftest.$ac_objext` in
10107 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10115 # Append ld.so.conf contents to the search path
10116 if test -f /etc
/ld.so.conf
; then
10117 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' ' '`
10118 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
10121 # We used to test for /lib/ld.so.1 and disable shared libraries on
10122 # powerpc, because MkLinux only supported shared libraries with the
10123 # GNU dynamic linker. Since this was broken with cross compilers,
10124 # most powerpc-linux boxes support dynamic linking these days and
10125 # people can always --disable-shared, the test was removed, and we
10126 # assume the GNU/Linux dynamic linker is in use.
10127 dynamic_linker
='GNU/Linux ld.so'
10134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10135 soname_spec
='${libname}${release}${shared_ext}$major'
10136 shlibpath_var
=LD_LIBRARY_PATH
10137 shlibpath_overrides_runpath
=no
10138 hardcode_into_libs
=yes
10139 dynamic_linker
='GNU ld.so'
10146 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10148 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10149 dynamic_linker
='NetBSD (a.out) ld.so'
10151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10152 soname_spec
='${libname}${release}${shared_ext}$major'
10153 dynamic_linker
='NetBSD ld.elf_so'
10155 shlibpath_var
=LD_LIBRARY_PATH
10156 shlibpath_overrides_runpath
=yes
10157 hardcode_into_libs
=yes
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 shlibpath_var
=LD_LIBRARY_PATH
10164 shlibpath_overrides_runpath
=yes
10171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10172 soname_spec
='${libname}${release}${shared_ext}$major'
10173 shlibpath_var
=LD_LIBRARY_PATH
10174 shlibpath_overrides_runpath
=yes
10179 sys_lib_dlsearch_path_spec
="/usr/lib"
10181 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10183 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10184 *) need_version
=no
;;
10186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10187 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10188 shlibpath_var
=LD_LIBRARY_PATH
10189 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10191 openbsd2.
[89] | openbsd2.
[89].
*)
10192 shlibpath_overrides_runpath
=no
10195 shlibpath_overrides_runpath
=yes
10199 shlibpath_overrides_runpath
=yes
10204 libname_spec
='$name'
10207 library_names_spec
='$libname${shared_ext} $libname.a'
10208 dynamic_linker
='OS/2 ld.exe'
10209 shlibpath_var
=LIBPATH
10212 osf3
* | osf4
* | osf5
*)
10216 soname_spec
='${libname}${release}${shared_ext}$major'
10217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10218 shlibpath_var
=LD_LIBRARY_PATH
10219 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10220 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10228 soname_spec
='${libname}${release}${shared_ext}$major'
10229 shlibpath_var
=LD_LIBRARY_PATH
10230 shlibpath_overrides_runpath
=yes
10231 hardcode_into_libs
=yes
10232 # ldd complains unless libraries are executable
10233 postinstall_cmds
='chmod +x $lib'
10238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10239 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10240 shlibpath_var
=LD_LIBRARY_PATH
10241 shlibpath_overrides_runpath
=yes
10242 if test "$with_gnu_ld" = yes; then
10250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 soname_spec
='${libname}${release}${shared_ext}$major'
10252 shlibpath_var
=LD_LIBRARY_PATH
10253 case $host_vendor in
10255 shlibpath_overrides_runpath
=no
10257 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10258 runpath_var
=LD_RUN_PATH
10266 shlibpath_overrides_runpath
=no
10267 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10273 if test -d /usr
/nec
;then
10275 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10276 soname_spec
='$libname${shared_ext}.$major'
10277 shlibpath_var
=LD_LIBRARY_PATH
10281 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10282 version_type
=freebsd-elf
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10286 soname_spec
='${libname}${release}${shared_ext}$major'
10287 shlibpath_var
=LD_LIBRARY_PATH
10288 hardcode_into_libs
=yes
10289 if test "$with_gnu_ld" = yes; then
10290 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10291 shlibpath_overrides_runpath
=no
10293 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10294 shlibpath_overrides_runpath
=yes
10297 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10301 sys_lib_dlsearch_path_spec
='/usr/lib'
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 soname_spec
='${libname}${release}${shared_ext}$major'
10308 shlibpath_var
=LD_LIBRARY_PATH
10315 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10316 echo "${ECHO_T}$dynamic_linker" >&6; }
10317 test "$dynamic_linker" = no
&& can_build_shared
=no
10319 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10320 if test "$GCC" = yes; then
10321 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10324 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10325 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10327 if test -n "$hardcode_libdir_flag_spec" || \
10328 test -n "$runpath_var" || \
10329 test "X$hardcode_automatic" = "Xyes" ; then
10331 # We can hardcode non-existant directories.
10332 if test "$hardcode_direct" != no
&&
10333 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10334 # have to relink, otherwise we might link with an installed library
10335 # when we should be linking with a yet-to-be-installed one
10336 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10337 test "$hardcode_minus_L" != no
; then
10338 # Linking always hardcodes the temporary library directory.
10339 hardcode_action
=relink
10341 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10342 hardcode_action
=immediate
10345 # We cannot hardcode anything, or else we can only hardcode existing
10347 hardcode_action
=unsupported
10349 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10350 echo "${ECHO_T}$hardcode_action" >&6; }
10352 if test "$hardcode_action" = relink
; then
10353 # Fast installation is not supported
10354 enable_fast_install
=no
10355 elif test "$shlibpath_overrides_runpath" = yes ||
10356 test "$enable_shared" = no
; then
10357 # Fast installation is not necessary
10358 enable_fast_install
=needless
10363 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10364 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10365 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
10366 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10367 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10368 { echo "$as_me:$LINENO: result: yes" >&5
10369 echo "${ECHO_T}yes" >&6; }
10371 # FIXME - insert some real tests, host_os isn't really good enough
10374 if test -n "$STRIP" ; then
10375 striplib
="$STRIP -x"
10376 { echo "$as_me:$LINENO: result: yes" >&5
10377 echo "${ECHO_T}yes" >&6; }
10379 { echo "$as_me:$LINENO: result: no" >&5
10380 echo "${ECHO_T}no" >&6; }
10384 { echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6; }
10390 if test "x$enable_dlopen" != xyes
; then
10391 enable_dlopen
=unknown
10392 enable_dlopen_self
=unknown
10393 enable_dlopen_self_static
=unknown
10400 lt_cv_dlopen
="load_add_on"
10402 lt_cv_dlopen_self
=yes
10406 lt_cv_dlopen
="LoadLibrary"
10411 lt_cv_dlopen
="dlopen"
10416 # if libdl is installed we need to link against it
10417 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10418 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10419 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 ac_check_lib_save_LIBS
=$LIBS
10424 cat >conftest.
$ac_ext <<_ACEOF
10427 cat confdefs.h
>>conftest.
$ac_ext
10428 cat >>conftest.
$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10446 rm -f conftest.
$ac_objext conftest
$ac_exeext
10447 if { (ac_try
="$ac_link"
10448 case "(($ac_try" in
10449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10450 *) ac_try_echo=$ac_try;;
10452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10453 (eval "$ac_link") 2>conftest.er1
10455 grep -v '^ *+' conftest.er1 >conftest.err
10457 cat conftest.err >&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } && {
10460 test -z "$ac_c_werror_flag" ||
10461 test ! -s conftest.err
10462 } && test -s conftest$ac_exeext &&
10463 $as_test_x conftest$ac_exeext; then
10464 ac_cv_lib_dl_dlopen=yes
10466 echo "$as_me: failed program was:" >&5
10467 sed 's/^/| /' conftest.$ac_ext >&5
10469 ac_cv_lib_dl_dlopen=no
10472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10473 conftest$ac_exeext conftest.$ac_ext
10474 LIBS=$ac_check_lib_save_LIBS
10476 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10477 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10478 if test $ac_cv_lib_dl_dlopen = yes; then
10479 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10482 lt_cv_dlopen="dyld"
10484 lt_cv_dlopen_self=yes
10491 { echo "$as_me:$LINENO: checking for shl_load" >&5
10492 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10493 if test "${ac_cv_func_shl_load+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 cat >conftest.$ac_ext <<_ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10502 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10504 #define shl_load innocuous_shl_load
10506 /* System header to define __stub macros and hopefully few prototypes,
10507 which can conflict with char shl_load (); below.
10508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10509 <limits.h> exists even on freestanding compilers. */
10512 # include <limits.h>
10514 # include <assert.h>
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10526 /* The GNU C library defines this for functions which it implements
10527 to always fail with ENOSYS. Some functions are actually named
10528 something starting with __ and the normal name is an alias. */
10529 #if defined __stub_shl_load || defined __stub___shl_load
10536 return shl_load ();
10541 rm -f conftest.$ac_objext conftest$ac_exeext
10542 if { (ac_try="$ac_link"
10543 case "(($ac_try" in
10544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10545 *) ac_try_echo
=$ac_try;;
10547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10548 (eval "$ac_link") 2>conftest.er1
10550 grep -v '^ *+' conftest.er1
>conftest.err
10552 cat conftest.err
>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } && {
10555 test -z "$ac_c_werror_flag" ||
10556 test ! -s conftest.err
10557 } && test -s conftest
$ac_exeext &&
10558 $as_test_x conftest
$ac_exeext; then
10559 ac_cv_func_shl_load
=yes
10561 echo "$as_me: failed program was:" >&5
10562 sed 's/^/| /' conftest.
$ac_ext >&5
10564 ac_cv_func_shl_load
=no
10567 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10568 conftest
$ac_exeext conftest.
$ac_ext
10570 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10571 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10572 if test $ac_cv_func_shl_load = yes; then
10573 lt_cv_dlopen
="shl_load"
10575 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10576 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10577 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 ac_check_lib_save_LIBS
=$LIBS
10582 cat >conftest.
$ac_ext <<_ACEOF
10585 cat confdefs.h
>>conftest.
$ac_ext
10586 cat >>conftest.
$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10599 return shl_load ();
10604 rm -f conftest.
$ac_objext conftest
$ac_exeext
10605 if { (ac_try
="$ac_link"
10606 case "(($ac_try" in
10607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10608 *) ac_try_echo=$ac_try;;
10610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10611 (eval "$ac_link") 2>conftest.er1
10613 grep -v '^ *+' conftest.er1 >conftest.err
10615 cat conftest.err >&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } && {
10618 test -z "$ac_c_werror_flag" ||
10619 test ! -s conftest.err
10620 } && test -s conftest$ac_exeext &&
10621 $as_test_x conftest$ac_exeext; then
10622 ac_cv_lib_dld_shl_load=yes
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10627 ac_cv_lib_dld_shl_load=no
10630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10631 conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_lib_save_LIBS
10634 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10635 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10636 if test $ac_cv_lib_dld_shl_load = yes; then
10637 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10639 { echo "$as_me:$LINENO: checking for dlopen" >&5
10640 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10641 if test "${ac_cv_func_dlopen+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 cat >conftest.$ac_ext <<_ACEOF
10647 cat confdefs.h >>conftest.$ac_ext
10648 cat >>conftest.$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10650 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10652 #define dlopen innocuous_dlopen
10654 /* System header to define __stub macros and hopefully few prototypes,
10655 which can conflict with char dlopen (); below.
10656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10657 <limits.h> exists even on freestanding compilers. */
10660 # include <limits.h>
10662 # include <assert.h>
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10674 /* The GNU C library defines this for functions which it implements
10675 to always fail with ENOSYS. Some functions are actually named
10676 something starting with __ and the normal name is an alias. */
10677 #if defined __stub_dlopen || defined __stub___dlopen
10689 rm -f conftest.$ac_objext conftest$ac_exeext
10690 if { (ac_try="$ac_link"
10691 case "(($ac_try" in
10692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10693 *) ac_try_echo
=$ac_try;;
10695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10696 (eval "$ac_link") 2>conftest.er1
10698 grep -v '^ *+' conftest.er1
>conftest.err
10700 cat conftest.err
>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } && {
10703 test -z "$ac_c_werror_flag" ||
10704 test ! -s conftest.err
10705 } && test -s conftest
$ac_exeext &&
10706 $as_test_x conftest
$ac_exeext; then
10707 ac_cv_func_dlopen
=yes
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.
$ac_ext >&5
10712 ac_cv_func_dlopen
=no
10715 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10716 conftest
$ac_exeext conftest.
$ac_ext
10718 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10719 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10720 if test $ac_cv_func_dlopen = yes; then
10721 lt_cv_dlopen
="dlopen"
10723 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10724 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10725 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 ac_check_lib_save_LIBS
=$LIBS
10730 cat >conftest.
$ac_ext <<_ACEOF
10733 cat confdefs.h
>>conftest.
$ac_ext
10734 cat >>conftest.
$ac_ext <<_ACEOF
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10752 rm -f conftest.
$ac_objext conftest
$ac_exeext
10753 if { (ac_try
="$ac_link"
10754 case "(($ac_try" in
10755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10756 *) ac_try_echo=$ac_try;;
10758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10759 (eval "$ac_link") 2>conftest.er1
10761 grep -v '^ *+' conftest.er1 >conftest.err
10763 cat conftest.err >&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } && {
10766 test -z "$ac_c_werror_flag" ||
10767 test ! -s conftest.err
10768 } && test -s conftest$ac_exeext &&
10769 $as_test_x conftest$ac_exeext; then
10770 ac_cv_lib_dl_dlopen=yes
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10775 ac_cv_lib_dl_dlopen=no
10778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_lib_save_LIBS
10782 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10783 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10784 if test $ac_cv_lib_dl_dlopen = yes; then
10785 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10787 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10788 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10789 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lsvld $LIBS"
10794 cat >conftest.$ac_ext <<_ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (ac_try="$ac_link"
10818 case "(($ac_try" in
10819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10820 *) ac_try_echo
=$ac_try;;
10822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_link") 2>conftest.er1
10825 grep -v '^ *+' conftest.er1
>conftest.err
10827 cat conftest.err
>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } && {
10830 test -z "$ac_c_werror_flag" ||
10831 test ! -s conftest.err
10832 } && test -s conftest
$ac_exeext &&
10833 $as_test_x conftest
$ac_exeext; then
10834 ac_cv_lib_svld_dlopen
=yes
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.
$ac_ext >&5
10839 ac_cv_lib_svld_dlopen
=no
10842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10843 conftest
$ac_exeext conftest.
$ac_ext
10844 LIBS
=$ac_check_lib_save_LIBS
10846 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10847 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10848 if test $ac_cv_lib_svld_dlopen = yes; then
10849 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10851 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10852 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10853 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10854 echo $ECHO_N "(cached) $ECHO_C" >&6
10856 ac_check_lib_save_LIBS
=$LIBS
10858 cat >conftest.
$ac_ext <<_ACEOF
10861 cat confdefs.h
>>conftest.
$ac_ext
10862 cat >>conftest.
$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10875 return dld_link ();
10880 rm -f conftest.
$ac_objext conftest
$ac_exeext
10881 if { (ac_try
="$ac_link"
10882 case "(($ac_try" in
10883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10884 *) ac_try_echo=$ac_try;;
10886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10887 (eval "$ac_link") 2>conftest.er1
10889 grep -v '^ *+' conftest.er1 >conftest.err
10891 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } && {
10894 test -z "$ac_c_werror_flag" ||
10895 test ! -s conftest.err
10896 } && test -s conftest$ac_exeext &&
10897 $as_test_x conftest$ac_exeext; then
10898 ac_cv_lib_dld_dld_link=yes
10900 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.$ac_ext >&5
10903 ac_cv_lib_dld_dld_link=no
10906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_lib_save_LIBS
10910 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10911 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10912 if test $ac_cv_lib_dld_dld_link = yes; then
10913 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10934 if test "x$lt_cv_dlopen" != xno; then
10940 case $lt_cv_dlopen in
10942 save_CPPFLAGS="$CPPFLAGS"
10943 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10945 save_LDFLAGS="$LDFLAGS"
10946 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10949 LIBS="$lt_cv_dlopen_libs $LIBS"
10951 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10952 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10953 if test "${lt_cv_dlopen_self+set}" = set; then
10954 echo $ECHO_N "(cached) $ECHO_C" >&6
10956 if test "$cross_compiling" = yes; then :
10957 lt_cv_dlopen_self=cross
10959 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10960 lt_status=$lt_dlunknown
10961 cat > conftest.$ac_ext <<EOF
10962 #line 10962 "configure"
10963 #include "confdefs.h"
10972 # define LT_DLGLOBAL RTLD_GLOBAL
10975 # define LT_DLGLOBAL DL_GLOBAL
10977 # define LT_DLGLOBAL 0
10981 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10982 find out it does not work in some platform. */
10983 #ifndef LT_DLLAZY_OR_NOW
10985 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10988 # define LT_DLLAZY_OR_NOW DL_LAZY
10991 # define LT_DLLAZY_OR_NOW RTLD_NOW
10994 # define LT_DLLAZY_OR_NOW DL_NOW
10996 # define LT_DLLAZY_OR_NOW 0
11004 extern "C" void exit (int);
11007 void fnord() { int i=42;}
11010 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11011 int status = $lt_dlunknown;
11015 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11016 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11017 /* dlclose (self); */
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11030 (./conftest; exit; ) >&5 2>/dev/null
11032 case x$lt_status in
11033 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11034 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11035 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11038 # compilation failed
11039 lt_cv_dlopen_self=no
11046 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11047 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11049 if test "x$lt_cv_dlopen_self" = xyes; then
11050 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11051 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11052 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11053 if test "${lt_cv_dlopen_self_static+set}" = set; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11056 if test "$cross_compiling" = yes; then :
11057 lt_cv_dlopen_self_static=cross
11059 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11060 lt_status=$lt_dlunknown
11061 cat > conftest.$ac_ext <<EOF
11062 #line 11062 "configure"
11063 #include "confdefs.h"
11072 # define LT_DLGLOBAL RTLD_GLOBAL
11075 # define LT_DLGLOBAL DL_GLOBAL
11077 # define LT_DLGLOBAL 0
11081 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11082 find out it does not work in some platform. */
11083 #ifndef LT_DLLAZY_OR_NOW
11085 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11088 # define LT_DLLAZY_OR_NOW DL_LAZY
11091 # define LT_DLLAZY_OR_NOW RTLD_NOW
11094 # define LT_DLLAZY_OR_NOW DL_NOW
11096 # define LT_DLLAZY_OR_NOW 0
11104 extern "C" void exit (int);
11107 void fnord() { int i=42;}
11110 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11111 int status = $lt_dlunknown;
11115 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11116 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11117 /* dlclose (self); */
11125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11126 (eval $ac_link) 2>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11130 (./conftest; exit; ) >&5 2>/dev/null
11132 case x$lt_status in
11133 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11134 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11135 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11138 # compilation failed
11139 lt_cv_dlopen_self_static=no
11146 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11147 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11150 CPPFLAGS="$save_CPPFLAGS"
11151 LDFLAGS="$save_LDFLAGS"
11156 case $lt_cv_dlopen_self in
11157 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11158 *) enable_dlopen_self=unknown ;;
11161 case $lt_cv_dlopen_self_static in
11162 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11163 *) enable_dlopen_self_static=unknown ;;
11168 # Report which library types will actually be built
11169 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11170 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11171 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11172 echo "${ECHO_T}$can_build_shared" >&6; }
11174 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11175 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11176 test "$can_build_shared" = "no" && enable_shared=no
11178 # On AIX, shared libraries and static libraries use the same namespace, and
11179 # are all built from PIC.
11182 test "$enable_shared" = yes && enable_static=no
11183 if test -n "$RANLIB"; then
11184 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11185 postinstall_cmds='$RANLIB $lib'
11190 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11191 test "$enable_shared" = yes && enable_static=no
11195 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11196 echo "${ECHO_T}$enable_shared" >&6; }
11198 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11199 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11200 # Make sure either enable_shared or enable_static is yes.
11201 test "$enable_shared" = yes || enable_static=yes
11202 { echo "$as_me:$LINENO: result: $enable_static" >&5
11203 echo "${ECHO_T}$enable_static" >&6; }
11205 # The else clause should only fire when bootstrapping the
11206 # libtool distribution, otherwise you forgot to ship ltmain.sh
11207 # with your package, and you will get complaints that there are
11208 # no rules to generate ltmain.sh.
11209 if test -f "$ltmain"; then
11210 # See if we are running on zsh, and set the options which allow our commands through
11211 # without removal of \ escapes.
11212 if test -n "${ZSH_VERSION+set}" ; then
11213 setopt NO_GLOB_SUBST
11215 # Now quote all the things that may contain metacharacters while being
11216 # careful not to overquote the AC_SUBSTed values. We take copies of the
11217 # variables and quote the copies for generation of the libtool script.
11218 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11220 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11221 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11222 deplibs_check_method reload_flag reload_cmds need_locks \
11223 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11224 lt_cv_sys_global_symbol_to_c_name_address \
11225 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11226 old_postinstall_cmds old_postuninstall_cmds \
11230 lt_prog_compiler_wl \
11231 lt_prog_compiler_pic \
11232 lt_prog_compiler_static \
11233 lt_prog_compiler_no_builtin_flag \
11234 export_dynamic_flag_spec \
11235 thread_safe_flag_spec \
11236 whole_archive_flag_spec \
11237 enable_shared_with_static_runtimes \
11239 old_archive_from_new_cmds \
11244 compiler_lib_search_path \
11246 archive_expsym_cmds \
11248 postuninstall_cmds \
11249 old_archive_from_expsyms_cmds \
11250 allow_undefined_flag \
11251 no_undefined_flag \
11252 export_symbols_cmds \
11253 hardcode_libdir_flag_spec \
11254 hardcode_libdir_flag_spec_ld \
11255 hardcode_libdir_separator \
11256 hardcode_automatic \
11258 module_expsym_cmds \
11259 lt_cv_prog_compiler_c_o \
11261 include_expsyms; do
11264 old_archive_cmds | \
11265 old_archive_from_new_cmds | \
11267 archive_expsym_cmds | \
11269 module_expsym_cmds | \
11270 old_archive_from_expsyms_cmds | \
11271 export_symbols_cmds | \
11272 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11273 postinstall_cmds | postuninstall_cmds | \
11274 old_postinstall_cmds | old_postuninstall_cmds | \
11275 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11276 # Double-quote double-evaled strings.
11277 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11280 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11286 *'\$0 --fallback-echo"')
11287 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11291 cfgfile="${ofile}T"
11292 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11294 { echo "$as_me:$LINENO: creating $ofile" >&5
11295 echo "$as_me: creating $ofile" >&6;}
11297 cat <<__EOF__ >> "$cfgfile"
11300 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
11301 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11302 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11304 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11305 # Free Software Foundation, Inc.
11307 # This file is part of GNU Libtool:
11308 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11310 # This program is free software; you can redistribute it and/or modify
11311 # it under the terms of the GNU General Public License as published by
11312 # the Free Software Foundation; either version 2 of the License, or
11313 # (at your option) any later version.
11315 # This program is distributed in the hope that it will be useful, but
11316 # WITHOUT ANY WARRANTY; without even the implied warranty of
11317 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11318 # General Public License for more details.
11320 # You should have received a copy of the GNU General Public License
11321 # along with this program; if not, write to the Free Software
11322 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11324 # As a special exception to the GNU General Public License, if you
11325 # distribute this file as part of a program that contains a
11326 # configuration script generated by Autoconf, you may include it under
11327 # the same distribution terms that you use for the rest of that program.
11329 # A sed program that does not truncate output.
11332 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11333 Xsed="$SED -e 1s/^X//"
11335 # The HP-UX ksh and POSIX shell print the target directory to stdout
11336 # if CDPATH is set.
11337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11339 # The names of the tagged configurations supported by this script.
11342 # ### BEGIN LIBTOOL CONFIG
11344 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
11346 # Shell to use when invoking shell scripts.
11349 # Whether or not to build shared libraries.
11350 build_libtool_libs=$enable_shared
11352 # Whether or not to build static libraries.
11353 build_old_libs=$enable_static
11355 # Whether or not to add -lc for building shared libraries.
11356 build_libtool_need_lc=$archive_cmds_need_lc
11358 # Whether or not to disallow shared libs when runtime libs are static
11359 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11361 # Whether or not to optimize for fast installation.
11362 fast_install=$enable_fast_install
11365 host_alias=$host_alias
11369 # The build system.
11370 build_alias=$build_alias
11374 # An echo program that does not interpret backslashes.
11379 AR_FLAGS=$lt_AR_FLAGS
11384 # LTCC compiler flags.
11385 LTCFLAGS=$lt_LTCFLAGS
11387 # A language-specific compiler.
11390 # Is the compiler the GNU C compiler?
11396 # The linker used to build libraries.
11399 # Whether we need hard or soft links.
11402 # A BSD-compatible nm program.
11405 # A symbol stripping program
11408 # Used to examine libraries when file_magic_cmd begins "file"
11409 MAGIC_CMD=$MAGIC_CMD
11411 # Used on cygwin: DLL creation program.
11414 # Used on cygwin: object dumper.
11417 # Used on cygwin: assembler.
11420 # The name of the directory that contains temporary libtool files.
11423 # How to create reloadable object files.
11424 reload_flag=$lt_reload_flag
11425 reload_cmds=$lt_reload_cmds
11427 # How to pass a linker flag through the compiler.
11428 wl=$lt_lt_prog_compiler_wl
11430 # Object file suffix (normally "o").
11431 objext="$ac_objext"
11433 # Old archive suffix (normally "a").
11436 # Shared library suffix (normally ".so").
11437 shrext_cmds='$shrext_cmds'
11439 # Executable file suffix (normally "").
11442 # Additional compiler flags for building library objects.
11443 pic_flag=$lt_lt_prog_compiler_pic
11446 # What is the maximum length of a command?
11447 max_cmd_len=$lt_cv_sys_max_cmd_len
11449 # Does compiler simultaneously support -c and -o options?
11450 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11452 # Must we lock files when doing compilation?
11453 need_locks=$lt_need_locks
11455 # Do we need the lib prefix for modules?
11456 need_lib_prefix=$need_lib_prefix
11458 # Do we need a version for libraries?
11459 need_version=$need_version
11461 # Whether dlopen is supported.
11462 dlopen_support=$enable_dlopen
11464 # Whether dlopen of programs is supported.
11465 dlopen_self=$enable_dlopen_self
11467 # Whether dlopen of statically linked programs is supported.
11468 dlopen_self_static=$enable_dlopen_self_static
11470 # Compiler flag to prevent dynamic linking.
11471 link_static_flag=$lt_lt_prog_compiler_static
11473 # Compiler flag to turn off builtin functions.
11474 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11476 # Compiler flag to allow reflexive dlopens.
11477 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11479 # Compiler flag to generate shared objects directly from archives.
11480 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11482 # Compiler flag to generate thread-safe objects.
11483 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11485 # Library versioning type.
11486 version_type=$version_type
11488 # Format of library name prefix.
11489 libname_spec=$lt_libname_spec
11491 # List of archive names. First name is the real one, the rest are links.
11492 # The last name is the one that the linker finds with -lNAME.
11493 library_names_spec=$lt_library_names_spec
11495 # The coded name of the library, if different from the real name.
11496 soname_spec=$lt_soname_spec
11498 # Commands used to build and install an old-style archive.
11500 old_archive_cmds=$lt_old_archive_cmds
11501 old_postinstall_cmds=$lt_old_postinstall_cmds
11502 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11504 # Create an old-style archive from a shared archive.
11505 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11507 # Create a temporary old-style archive to link instead of a shared archive.
11508 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11510 # Commands used to build and install a shared archive.
11511 archive_cmds=$lt_archive_cmds
11512 archive_expsym_cmds=$lt_archive_expsym_cmds
11513 postinstall_cmds=$lt_postinstall_cmds
11514 postuninstall_cmds=$lt_postuninstall_cmds
11516 # Commands used to build a loadable module (assumed same as above if empty)
11517 module_cmds=$lt_module_cmds
11518 module_expsym_cmds=$lt_module_expsym_cmds
11520 # Commands to strip libraries.
11521 old_striplib=$lt_old_striplib
11522 striplib=$lt_striplib
11524 # Dependencies to place before the objects being linked to create a
11526 predep_objects=$lt_predep_objects
11528 # Dependencies to place after the objects being linked to create a
11530 postdep_objects=$lt_postdep_objects
11532 # Dependencies to place before the objects being linked to create a
11534 predeps=$lt_predeps
11536 # Dependencies to place after the objects being linked to create a
11538 postdeps=$lt_postdeps
11540 # The library search path used internally by the compiler when linking
11541 # a shared library.
11542 compiler_lib_search_path=$lt_compiler_lib_search_path
11544 # Method to check whether dependent libraries are shared objects.
11545 deplibs_check_method=$lt_deplibs_check_method
11547 # Command to use when deplibs_check_method == file_magic.
11548 file_magic_cmd=$lt_file_magic_cmd
11550 # Flag that allows shared libraries with undefined symbols to be built.
11551 allow_undefined_flag=$lt_allow_undefined_flag
11553 # Flag that forces no undefined symbols.
11554 no_undefined_flag=$lt_no_undefined_flag
11556 # Commands used to finish a libtool library installation in a directory.
11557 finish_cmds=$lt_finish_cmds
11559 # Same as above, but a single script fragment to be evaled but not shown.
11560 finish_eval=$lt_finish_eval
11562 # Take the output of nm and produce a listing of raw symbols and C names.
11563 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11565 # Transform the output of nm in a proper C declaration
11566 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11568 # Transform the output of nm in a C name address pair
11569 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11571 # This is the shared library runtime path variable.
11572 runpath_var=$runpath_var
11574 # This is the shared library path variable.
11575 shlibpath_var=$shlibpath_var
11577 # Is shlibpath searched before the hard-coded library search path?
11578 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11580 # How to hardcode a shared library path into an executable.
11581 hardcode_action=$hardcode_action
11583 # Whether we should hardcode library paths into libraries.
11584 hardcode_into_libs=$hardcode_into_libs
11586 # Flag to hardcode \$libdir into a binary during linking.
11587 # This must work even if \$libdir does not exist.
11588 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11590 # If ld is used when linking, flag to hardcode \$libdir into
11591 # a binary during linking. This must work even if \$libdir does
11593 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11595 # Whether we need a single -rpath flag with a separated argument.
11596 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11598 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11599 # resulting binary.
11600 hardcode_direct=$hardcode_direct
11602 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11603 # resulting binary.
11604 hardcode_minus_L=$hardcode_minus_L
11606 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11607 # the resulting binary.
11608 hardcode_shlibpath_var=$hardcode_shlibpath_var
11610 # Set to yes if building a shared library automatically hardcodes DIR into the library
11611 # and all subsequent libraries and executables linked against it.
11612 hardcode_automatic=$hardcode_automatic
11614 # Variables whose values should be saved in libtool wrapper scripts and
11615 # restored at relink time.
11616 variables_saved_for_relink="$variables_saved_for_relink"
11618 # Whether libtool must link a program against all its dependency libraries.
11619 link_all_deplibs=$link_all_deplibs
11621 # Compile-time system search path for libraries
11622 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11624 # Run-time system search path for libraries
11625 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11627 # Fix the shell variable \$srcfile for the compiler.
11628 fix_srcfile_path="$fix_srcfile_path"
11630 # Set to yes if exported symbols are required.
11631 always_export_symbols=$always_export_symbols
11633 # The commands to list exported symbols.
11634 export_symbols_cmds=$lt_export_symbols_cmds
11636 # The commands to extract the exported symbol list from a shared archive.
11637 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11639 # Symbols that should not be listed in the preloaded symbols.
11640 exclude_expsyms=$lt_exclude_expsyms
11642 # Symbols that must always be exported.
11643 include_expsyms=$lt_include_expsyms
11645 # ### END LIBTOOL CONFIG
11652 cat <<\EOF >> "$cfgfile"
11654 # AIX sometimes has problems with the GCC collect2 program. For some
11655 # reason, if we set the COLLECT_NAMES environment variable, the problems
11656 # vanish in a puff of smoke.
11657 if test "X${COLLECT_NAMES+set}" != Xset; then
11659 export COLLECT_NAMES
11665 # We use sed instead of cat because bash on DJGPP gets confused if
11666 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11667 # text mode, it properly converts lines to CR/LF. This bash problem
11668 # is reportedly fixed, but why not run on old versions too?
11669 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11671 mv -f "$cfgfile" "$ofile" || \
11672 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11676 # If there is no Makefile yet, we rely on a make rule to execute
11677 # `config.status
--recheck' to rerun these tests and create the
11678 # libtool script then.
11679 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11680 if test -f "$ltmain_in"; then
11681 test -f Makefile && make "$ltmain"
11687 ac_cpp='$CPP $CPPFLAGS'
11688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11689 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11695 # Check whether --with-tags was given.
11696 if test "${with_tags+set}" = set; then
11697 withval=$with_tags; tagnames="$withval"
11701 if test -f "$ltmain" && test -n "$tagnames"; then
11702 if test ! -f "${ofile}"; then
11703 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11704 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11707 if test -z "$LTCC"; then
11708 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11709 if test -z "$LTCC"; then
11710 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11711 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11713 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11714 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11717 if test -z "$LTCFLAGS"; then
11718 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11721 # Extract list of available tagged configurations in $ofile.
11722 # Note that this assumes the entire list is on one line.
11723 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11726 for tagname in $tagnames; do
11728 # Check whether tagname contains only valid characters
11729 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11731 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11732 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11733 { (exit 1); exit 1; }; }
11737 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11739 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11740 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11741 { (exit 1); exit 1; }; }
11744 # Update the list of available tags.
11745 if test -n "$tagname"; then
11746 echo appending configuration tag \"$tagname\" to $ofile
11750 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11751 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11752 (test "X$CXX" != "Xg++"))) ; then
11754 ac_cpp='$CXXCPP $CPPFLAGS'
11755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11762 archive_cmds_need_lc_CXX=no
11763 allow_undefined_flag_CXX=
11764 always_export_symbols_CXX=no
11765 archive_expsym_cmds_CXX=
11766 export_dynamic_flag_spec_CXX=
11767 hardcode_direct_CXX=no
11768 hardcode_libdir_flag_spec_CXX=
11769 hardcode_libdir_flag_spec_ld_CXX=
11770 hardcode_libdir_separator_CXX=
11771 hardcode_minus_L_CXX=no
11772 hardcode_shlibpath_var_CXX=unsupported
11773 hardcode_automatic_CXX=no
11775 module_expsym_cmds_CXX=
11776 link_all_deplibs_CXX=unknown
11777 old_archive_cmds_CXX=$old_archive_cmds
11778 no_undefined_flag_CXX=
11779 whole_archive_flag_spec_CXX=
11780 enable_shared_with_static_runtimes_CXX=no
11782 # Dependencies to place before and after the object being linked:
11783 predep_objects_CXX=
11784 postdep_objects_CXX=
11787 compiler_lib_search_path_CXX=
11789 # Source file extension for C++ test sources.
11792 # Object file extension for compiled C++ test sources.
11796 # Code to be used in simple compile tests
11797 lt_simple_compile_test_code="int some_variable = 0;\n"
11799 # Code to be used in simple link tests
11800 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11802 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11804 # If no C compiler was specified, use CC.
11807 # If no C compiler flags were specified, use CFLAGS.
11808 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11810 # Allow CC to be a program name with arguments.
11814 # save warnings/boilerplate of simple test code
11815 ac_outfile=conftest.$ac_objext
11816 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11817 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11818 _lt_compiler_boilerplate=`cat conftest.err
`
11821 ac_outfile=conftest.$ac_objext
11822 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11823 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11824 _lt_linker_boilerplate=`cat conftest.err
`
11828 # Allow CC to be a program name with arguments.
11833 lt_save_with_gnu_ld=$with_gnu_ld
11834 lt_save_path_LD=$lt_cv_path_LD
11835 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11836 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11838 $as_unset lt_cv_prog_gnu_ld
11840 if test -n "${lt_cv_path_LDCXX+set}"; then
11841 lt_cv_path_LD=$lt_cv_path_LDCXX
11843 $as_unset lt_cv_path_LD
11845 test -z "${LDCXX+set}" || LD=$LDCXX
11849 for cc_temp in $compiler""; do
11851 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11852 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11857 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11860 # We don't want -fno-exception wen compiling C++ code, so set the
11861 # no_builtin_flag separately
11862 if test "$GXX" = yes; then
11863 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11865 lt_prog_compiler_no_builtin_flag_CXX=
11868 if test "$GXX" = yes; then
11869 # Set up default GNU C++ configuration
11872 # Check whether --with-gnu-ld was given.
11873 if test "${with_gnu_ld+set}" = set; then
11874 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11880 if test "$GCC" = yes; then
11881 # Check if gcc -print-prog-name=ld gives a path.
11882 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11883 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11886 # gcc leaves a trailing carriage return which upsets mingw
11887 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11889 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11892 # Accept absolute paths.
11894 re_direlt='/[^/][^/]*/\.\./'
11895 # Canonicalize the pathname of ld
11896 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11897 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11898 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11900 test -z "$LD" && LD="$ac_prog"
11903 # If it fails, then pretend we aren't using GCC.
11907 # If it is relative, then search for the first ld in PATH.
11908 with_gnu_ld=unknown
11911 elif test "$with_gnu_ld" = yes; then
11912 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11913 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11915 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11916 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11918 if test "${lt_cv_path_LD+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 if test -z "$LD"; then
11922 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11923 for ac_dir in $PATH; do
11925 test -z "$ac_dir" && ac_dir=.
11926 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11927 lt_cv_path_LD="$ac_dir/$ac_prog"
11928 # Check to see if the program is GNU ld. I'd rather use --version,
11929 # but apparently some variants of GNU ld only accept -v.
11930 # Break only if it was the GNU/non-GNU ld that we prefer.
11931 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11932 *GNU* | *'with BFD'*)
11933 test "$with_gnu_ld" != no && break
11936 test "$with_gnu_ld" != yes && break
11943 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11947 LD="$lt_cv_path_LD"
11948 if test -n "$LD"; then
11949 { echo "$as_me:$LINENO: result: $LD" >&5
11950 echo "${ECHO_T}$LD" >&6; }
11952 { echo "$as_me:$LINENO: result: no" >&5
11953 echo "${ECHO_T}no" >&6; }
11955 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11956 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11957 { (exit 1); exit 1; }; }
11958 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11959 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11960 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11964 case `$LD -v 2>&1 </dev
/null
` in
11965 *GNU* | *'with BFD'*)
11966 lt_cv_prog_gnu_ld=yes
11969 lt_cv_prog_gnu_ld=no
11973 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11974 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11975 with_gnu_ld=$lt_cv_prog_gnu_ld
11979 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11980 # archiving commands below assume that GNU ld is being used.
11981 if test "$with_gnu_ld" = yes; then
11982 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11983 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'
11985 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11986 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11988 # If archive_cmds runs LD, not CC, wlarc should be empty
11989 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11990 # investigate it a little bit more. (MM)
11993 # ancient GNU ld didn't support --whole-archive et. al.
11994 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11995 grep 'no-whole-archive' > /dev/null; then
11996 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11998 whole_archive_flag_spec_CXX=
12004 # A generic and very simple default shared library creation
12005 # command for GNU C++ for the case where it uses the native
12006 # linker, instead of GNU ld. If possible, this setting should
12007 # overridden to take advantage of the native linker features on
12008 # the platform it is being used on.
12009 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12012 # Commands to make compiler produce verbose output that lists
12013 # what "hidden" libraries, object files and flags are used when
12014 # linking a shared library.
12015 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12023 # PORTME: fill in a description of your system's C++ link characteristics
12024 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12025 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12029 # FIXME: insert proper C++ library support
12033 if test "$host_cpu" = ia64; then
12034 # On IA64, the linker does run time linking by default, so we don't
12035 # have to do anything special.
12036 aix_use_runtimelinking=no
12037 exp_sym_flag='-Bexport'
12040 aix_use_runtimelinking=no
12042 # Test if we are trying to use run time linking or normal
12043 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12044 # need to do runtime linking.
12045 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12046 for ld_flag in $LDFLAGS; do
12049 aix_use_runtimelinking=yes
12057 exp_sym_flag='-bexport'
12058 no_entry_flag='-bnoentry'
12061 # When large executables or shared objects are built, AIX ld can
12062 # have problems creating the table of contents. If linking a library
12063 # or program results in "error TOC overflow" add -mminimal-toc to
12064 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12065 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12067 archive_cmds_CXX=''
12068 hardcode_direct_CXX=yes
12069 hardcode_libdir_separator_CXX=':'
12070 link_all_deplibs_CXX=yes
12072 if test "$GXX" = yes; then
12073 case $host_os in aix4.[012]|aix4.[012].*)
12074 # We only want to do this on AIX 4.2 and lower, the check
12075 # below for broken collect2 doesn't work under 4.3+
12076 collect2name=`${CC} -print-prog-name=collect2
`
12077 if test -f "$collect2name" && \
12078 strings "$collect2name" | grep resolve_lib_name >/dev/null
12080 # We have reworked collect2
12081 hardcode_direct_CXX=yes
12083 # We have old collect2
12084 hardcode_direct_CXX=unsupported
12085 # It fails to find uninstalled libraries when the uninstalled
12086 # path is not listed in the libpath. Setting hardcode_minus_L
12087 # to unsupported forces relinking
12088 hardcode_minus_L_CXX=yes
12089 hardcode_libdir_flag_spec_CXX='-L$libdir'
12090 hardcode_libdir_separator_CXX=
12094 shared_flag='-shared'
12095 if test "$aix_use_runtimelinking" = yes; then
12096 shared_flag="$shared_flag "'${wl}-G'
12100 if test "$host_cpu" = ia64; then
12101 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12102 # chokes on -Wl,-G. The following line is correct:
12105 if test "$aix_use_runtimelinking" = yes; then
12106 shared_flag='${wl}-G'
12108 shared_flag='${wl}-bM:SRE'
12113 # It seems that -bexpall does not export symbols beginning with
12114 # underscore (_), so it is better to generate a list of symbols to export.
12115 always_export_symbols_CXX=yes
12116 if test "$aix_use_runtimelinking" = yes; then
12117 # Warning - without using the other runtime loading flags (-brtl),
12118 # -berok will link without error, but may produce a broken library.
12119 allow_undefined_flag_CXX='-berok'
12120 # Determine the default libpath from the value encoded in an empty executable.
12121 cat >conftest.$ac_ext <<_ACEOF
12124 cat confdefs.h >>conftest.$ac_ext
12125 cat >>conftest.$ac_ext <<_ACEOF
12126 /* end confdefs.h. */
12136 rm -f conftest.$ac_objext conftest$ac_exeext
12137 if { (ac_try="$ac_link"
12138 case "(($ac_try" in
12139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12140 *) ac_try_echo
=$ac_try;;
12142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12143 (eval "$ac_link") 2>conftest.er1
12145 grep -v '^ *+' conftest.er1
>conftest.err
12147 cat conftest.err
>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); } && {
12150 test -z "$ac_cxx_werror_flag" ||
12151 test ! -s conftest.err
12152 } && test -s conftest
$ac_exeext &&
12153 $as_test_x conftest
$ac_exeext; then
12155 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12157 # Check for a 64-bit object if we didn't find anything.
12158 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; }
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.
$ac_ext >&5
12167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12168 conftest
$ac_exeext conftest.
$ac_ext
12169 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12171 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12173 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"
12175 if test "$host_cpu" = ia64
; then
12176 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12177 allow_undefined_flag_CXX
="-z nodefs"
12178 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"
12180 # Determine the default libpath from the value encoded in an empty executable.
12181 cat >conftest.
$ac_ext <<_ACEOF
12184 cat confdefs.h
>>conftest.
$ac_ext
12185 cat >>conftest.
$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12196 rm -f conftest.
$ac_objext conftest
$ac_exeext
12197 if { (ac_try
="$ac_link"
12198 case "(($ac_try" in
12199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12200 *) ac_try_echo=$ac_try;;
12202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12203 (eval "$ac_link") 2>conftest.er1
12205 grep -v '^ *+' conftest.er1 >conftest.err
12207 cat conftest.err >&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); } && {
12210 test -z "$ac_cxx_werror_flag" ||
12211 test ! -s conftest.err
12212 } && test -s conftest$ac_exeext &&
12213 $as_test_x conftest$ac_exeext; then
12215 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12217 # Check for a 64-bit object if we didn't find anything.
12218 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; }
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.$ac_ext >&5
12227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12228 conftest$ac_exeext conftest.$ac_ext
12229 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12231 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12232 # Warning - without using the other run time loading flags,
12233 # -berok will link without error, but may produce a broken library.
12234 no_undefined_flag_CXX=' ${wl}-bernotok'
12235 allow_undefined_flag_CXX=' ${wl}-berok'
12236 # Exported symbols can be pulled into shared objects from archives
12237 whole_archive_flag_spec_CXX='$convenience'
12238 archive_cmds_need_lc_CXX=yes
12239 # This is similar to how AIX traditionally builds its shared libraries.
12240 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'
12246 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12247 allow_undefined_flag_CXX=unsupported
12248 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12249 # support --undefined. This deserves some investigation. FIXME
12250 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12257 case $cc_basename in
12259 # FIXME: insert proper C++ library support
12265 cygwin* | mingw* | pw32*)
12266 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12267 # as there is no search path for DLLs.
12268 hardcode_libdir_flag_spec_CXX='-L$libdir'
12269 allow_undefined_flag_CXX=unsupported
12270 always_export_symbols_CXX=no
12271 enable_shared_with_static_runtimes_CXX=yes
12273 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12274 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'
12275 # If the export-symbols file already is a .def file (1st line
12276 # is EXPORTS), use it as is; otherwise, prepend...
12277 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12278 cp $export_symbols $output_objdir/$soname.def;
12280 echo EXPORTS > $output_objdir/$soname.def;
12281 cat $export_symbols >> $output_objdir/$soname.def;
12283 $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'
12288 darwin* | rhapsody*)
12290 rhapsody* | darwin1.[012])
12291 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12294 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12295 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12297 case ${MACOSX_DEPLOYMENT_TARGET} in
12299 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12302 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12308 archive_cmds_need_lc_CXX=no
12309 hardcode_direct_CXX=no
12310 hardcode_automatic_CXX=yes
12311 hardcode_shlibpath_var_CXX=unsupported
12312 whole_archive_flag_spec_CXX=''
12313 link_all_deplibs_CXX=yes
12315 if test "$GXX" = yes ; then
12316 lt_int_apple_cc_single_mod=no
12317 output_verbose_link_cmd='echo'
12318 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12319 lt_int_apple_cc_single_mod=yes
12321 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12322 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12324 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'
12326 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12327 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12328 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12329 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}'
12331 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}'
12333 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}'
12335 case $cc_basename in
12337 output_verbose_link_cmd='echo'
12338 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'
12339 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12340 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12341 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}'
12342 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}'
12352 case $cc_basename in
12354 # FIXME: insert proper C++ library support
12358 # Green Hills C++ Compiler
12359 # FIXME: insert proper C++ library support
12363 # FIXME: insert proper C++ library support
12369 # C++ shared libraries reported to be fairly broken before switch to ELF
12373 archive_cmds_need_lc_CXX=no
12375 freebsd* | kfreebsd*-gnu | dragonfly*)
12376 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12383 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12384 hardcode_libdir_separator_CXX=:
12385 export_dynamic_flag_spec_CXX='${wl}-E'
12386 hardcode_direct_CXX=yes
12387 hardcode_minus_L_CXX=yes # Not in the search PATH,
12388 # but as the default
12389 # location of the library.
12391 case $cc_basename in
12393 # FIXME: insert proper C++ library support
12397 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'
12398 # Commands to make compiler produce verbose output that lists
12399 # what "hidden" libraries, object files and flags are used when
12400 # linking a shared library.
12402 # There doesn't appear to be a way to prevent this compiler from
12403 # explicitly linking system object files so we need to strip them
12404 # from the output so that they don't get included in the library
12406 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'
12409 if test "$GXX" = yes; then
12410 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'
12412 # FIXME: insert proper C++ library support
12419 if test $with_gnu_ld = no; then
12420 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12421 hardcode_libdir_separator_CXX=:
12425 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12428 export_dynamic_flag_spec_CXX='${wl}-E'
12434 hardcode_direct_CXX=no
12435 hardcode_shlibpath_var_CXX=no
12438 hardcode_direct_CXX=yes
12439 hardcode_minus_L_CXX=yes # Not in the search PATH,
12440 # but as the default
12441 # location of the library.
12445 case $cc_basename in
12447 # FIXME: insert proper C++ library support
12453 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12456 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12459 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12462 # Commands to make compiler produce verbose output that lists
12463 # what "hidden" libraries, object files and flags are used when
12464 # linking a shared library.
12466 # There doesn't appear to be a way to prevent this compiler from
12467 # explicitly linking system object files so we need to strip them
12468 # from the output so that they don't get included in the library
12470 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'
12473 if test "$GXX" = yes; then
12474 if test $with_gnu_ld = no; then
12477 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12480 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12483 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'
12488 # FIXME: insert proper C++ library support
12495 hardcode_direct_CXX=no
12496 hardcode_shlibpath_var_CXX=no
12497 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12498 export_dynamic_flag_spec_CXX='${wl}-E'
12499 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12500 # Instead, shared libraries are loaded at an image base (0x10000000 by
12501 # default) and relocated if they conflict, which is a slow very memory
12502 # consuming and fragmenting process. To avoid this, we pick a random,
12503 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12504 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12505 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'
12506 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'
12509 case $cc_basename in
12512 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'
12514 # Archives containing C++ object files must be created using
12515 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12516 # necessary to make sure instantiated templates are included
12518 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12521 if test "$GXX" = yes; then
12522 if test "$with_gnu_ld" = no; then
12523 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'
12525 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'
12528 link_all_deplibs_CXX=yes
12531 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12532 hardcode_libdir_separator_CXX=:
12535 case $cc_basename in
12537 # Kuck and Associates, Inc. (KAI) C++ Compiler
12539 # KCC will only create a shared library if the output file
12540 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12541 # to its proper name (with version) after linking.
12542 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'
12543 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'
12544 # Commands to make compiler produce verbose output that lists
12545 # what "hidden" libraries, object files and flags are used when
12546 # linking a shared library.
12548 # There doesn't appear to be a way to prevent this compiler from
12549 # explicitly linking system object files so we need to strip them
12550 # from the output so that they don't get included in the library
12552 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'
12554 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12555 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12557 # Archives containing C++ object files must be created using
12558 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12559 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12564 # version 8.0 and above of icpc choke on multiply defined symbols
12565 # if we add $predep_objects and $postdep_objects, however 7.1 and
12566 # earlier do not add the objects themselves.
12567 case `$CC -V 2>&1` in
12569 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12570 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'
12572 *) # Version 8.0 or newer
12575 ia64
*) tmp_idyn
=' -i_dynamic';;
12577 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12578 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'
12581 archive_cmds_need_lc_CXX
=no
12582 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12583 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12584 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12587 # Portland Group C++ compiler
12588 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12589 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'
12591 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12592 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12593 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'
12597 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12598 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'
12600 runpath_var
=LD_RUN_PATH
12601 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12602 hardcode_libdir_separator_CXX
=:
12604 # Commands to make compiler produce verbose output that lists
12605 # what "hidden" libraries, object files and flags are used when
12606 # linking a shared library.
12608 # There doesn't appear to be a way to prevent this compiler from
12609 # explicitly linking system object files so we need to strip them
12610 # from the output so that they don't get included in the library
12612 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'
12617 # FIXME: insert proper C++ library support
12621 # FIXME: insert proper C++ library support
12625 case $cc_basename in
12627 # FIXME: insert proper C++ library support
12631 # FIXME: insert proper C++ library support
12637 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12638 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12640 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12641 hardcode_direct_CXX
=yes
12642 hardcode_shlibpath_var_CXX
=no
12644 # Workaround some broken pre-1.5 toolchains
12645 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12648 # C++ shared libraries are fairly broken
12652 hardcode_direct_CXX
=yes
12653 hardcode_shlibpath_var_CXX
=no
12654 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12656 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12657 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12658 export_dynamic_flag_spec_CXX
='${wl}-E'
12659 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12661 output_verbose_link_cmd
='echo'
12664 case $cc_basename in
12666 # Kuck and Associates, Inc. (KAI) C++ Compiler
12668 # KCC will only create a shared library if the output file
12669 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12670 # to its proper name (with version) after linking.
12671 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'
12673 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12674 hardcode_libdir_separator_CXX
=:
12676 # Archives containing C++ object files must be created using
12677 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12678 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12682 # Rational C++ 2.4.1
12683 # FIXME: insert proper C++ library support
12687 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12688 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'
12690 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12691 hardcode_libdir_separator_CXX
=:
12693 # Commands to make compiler produce verbose output that lists
12694 # what "hidden" libraries, object files and flags are used when
12695 # linking a shared library.
12697 # There doesn't appear to be a way to prevent this compiler from
12698 # explicitly linking system object files so we need to strip them
12699 # from the output so that they don't get included in the library
12701 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'
12704 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12705 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12706 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'
12708 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12709 hardcode_libdir_separator_CXX
=:
12711 # Commands to make compiler produce verbose output that lists
12712 # what "hidden" libraries, object files and flags are used when
12713 # linking a shared library.
12714 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12717 # FIXME: insert proper C++ library support
12724 case $cc_basename in
12726 # Kuck and Associates, Inc. (KAI) C++ Compiler
12728 # KCC will only create a shared library if the output file
12729 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12730 # to its proper name (with version) after linking.
12731 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'
12733 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12734 hardcode_libdir_separator_CXX
=:
12736 # Archives containing C++ object files must be created using
12737 # the KAI C++ compiler.
12738 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12741 # Rational C++ 2.4.1
12742 # FIXME: insert proper C++ library support
12746 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12747 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'
12748 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12749 echo "-hidden">> $lib.exp~
12750 $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~
12753 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12754 hardcode_libdir_separator_CXX
=:
12756 # Commands to make compiler produce verbose output that lists
12757 # what "hidden" libraries, object files and flags are used when
12758 # linking a shared library.
12760 # There doesn't appear to be a way to prevent this compiler from
12761 # explicitly linking system object files so we need to strip them
12762 # from the output so that they don't get included in the library
12764 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'
12767 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12768 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12769 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'
12771 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12772 hardcode_libdir_separator_CXX
=:
12774 # Commands to make compiler produce verbose output that lists
12775 # what "hidden" libraries, object files and flags are used when
12776 # linking a shared library.
12777 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12780 # FIXME: insert proper C++ library support
12787 # FIXME: insert proper C++ library support
12791 case $cc_basename in
12794 # FIXME: insert proper C++ library support
12799 # FIXME: insert proper C++ library support
12803 # FIXME: insert proper C++ library support
12809 case $cc_basename in
12811 # Sun C++ 4.2, 5.x and Centerline C++
12812 archive_cmds_need_lc_CXX
=yes
12813 no_undefined_flag_CXX
=' -zdefs'
12814 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12815 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12816 $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'
12818 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12819 hardcode_shlibpath_var_CXX
=no
12821 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12823 # The C++ compiler is used as linker so we must use $wl
12824 # flag to pass the commands to the underlying system
12825 # linker. We must also pass each convience library through
12826 # to the system linker between allextract/defaultextract.
12827 # The C++ compiler will combine linker options so we
12828 # cannot just pass the convience library names through
12830 # Supported since Solaris 2.6 (maybe 2.5.1?)
12831 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'
12834 link_all_deplibs_CXX
=yes
12836 output_verbose_link_cmd
='echo'
12838 # Archives containing C++ object files must be created using
12839 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12840 # necessary to make sure instantiated templates are included
12842 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12845 # Green Hills C++ Compiler
12846 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12848 # The C++ compiler must be used to create the archive.
12849 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12852 # GNU C++ compiler with Solaris linker
12853 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12854 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12855 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12856 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12857 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12858 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12860 # Commands to make compiler produce verbose output that lists
12861 # what "hidden" libraries, object files and flags are used when
12862 # linking a shared library.
12863 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12865 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12867 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12868 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12869 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12871 # Commands to make compiler produce verbose output that lists
12872 # what "hidden" libraries, object files and flags are used when
12873 # linking a shared library.
12874 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12877 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12882 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12883 no_undefined_flag_CXX
='${wl}-z,text'
12884 archive_cmds_need_lc_CXX
=no
12885 hardcode_shlibpath_var_CXX
=no
12886 runpath_var
='LD_RUN_PATH'
12888 case $cc_basename in
12890 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12891 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12894 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12895 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12899 sysv5
* | sco3.2v5
* | sco5v6
*)
12900 # Note: We can NOT use -z defs as we might desire, because we do not
12901 # link with -lc, and that would cause any symbols used from libc to
12902 # always be unresolved, which means just about no library would
12903 # ever link correctly. If we're not using GNU ld we use -z text
12904 # though, which does catch some bad symbols but isn't as heavy-handed
12906 # For security reasons, it is highly recommended that you always
12907 # use absolute paths for naming shared libraries, and exclude the
12908 # DT_RUNPATH tag from executables and libraries. But doing so
12909 # requires that you compile everything twice, which is a pain.
12910 # So that behaviour is only enabled if SCOABSPATH is set to a
12911 # non-empty value in the environment. Most likely only useful for
12912 # creating official distributions of packages.
12913 # This is a hack until libtool officially supports absolute path
12914 # names for shared libraries.
12915 no_undefined_flag_CXX
='${wl}-z,text'
12916 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12917 archive_cmds_need_lc_CXX
=no
12918 hardcode_shlibpath_var_CXX
=no
12919 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12920 hardcode_libdir_separator_CXX
=':'
12921 link_all_deplibs_CXX
=yes
12922 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12923 runpath_var
='LD_RUN_PATH'
12925 case $cc_basename in
12927 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12928 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12931 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12932 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12937 case $cc_basename in
12939 # NonStop-UX NCC 3.20
12940 # FIXME: insert proper C++ library support
12944 # FIXME: insert proper C++ library support
12950 # FIXME: insert proper C++ library support
12954 # FIXME: insert proper C++ library support
12958 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12959 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12960 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12966 cat > conftest.
$ac_ext <<EOF
12970 Foo (void) { a = 0; }
12976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12977 (eval $ac_compile) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; then
12981 # Parse the compiler output and extract the necessary
12982 # objects, libraries and library flags.
12984 # Sentinel used to keep track of whether or not we are before
12985 # the conftest object file.
12986 pre_test_object_deps_done
=no
12988 # The `*' in the case matches for architectures that use `case' in
12989 # $output_verbose_cmd can trigger glob expansion during the loop
12990 # eval without this substitution.
12991 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12993 for p
in `eval $output_verbose_link_cmd`; do
12997 # Some compilers place space between "-{L,R}" and the path.
12998 # Remove the space.
12999 if test $p = "-L" \
13000 ||
test $p = "-R"; then
13007 if test "$pre_test_object_deps_done" = no
; then
13010 # Internal compiler library paths should come after those
13011 # provided the user. The postdeps already come after the
13012 # user supplied libs so there is no need to process them.
13013 if test -z "$compiler_lib_search_path_CXX"; then
13014 compiler_lib_search_path_CXX
="${prev}${p}"
13016 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13019 # The "-l" case would never come before the object being
13020 # linked, so don't bother handling this case.
13023 if test -z "$postdeps_CXX"; then
13024 postdeps_CXX
="${prev}${p}"
13026 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13032 # This assumes that the test object file only shows up
13033 # once in the compiler output.
13034 if test "$p" = "conftest.$objext"; then
13035 pre_test_object_deps_done
=yes
13039 if test "$pre_test_object_deps_done" = no
; then
13040 if test -z "$predep_objects_CXX"; then
13041 predep_objects_CXX
="$p"
13043 predep_objects_CXX
="$predep_objects_CXX $p"
13046 if test -z "$postdep_objects_CXX"; then
13047 postdep_objects_CXX
="$p"
13049 postdep_objects_CXX
="$postdep_objects_CXX $p"
13054 *) ;; # Ignore the rest.
13062 echo "libtool.m4: error: problem compiling CXX test program"
13065 $rm -f confest.
$objext
13067 # PORTME: override above test on systems where it is broken
13070 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13071 # hack all around it, let's just trust "g++" to DTRT.
13072 predep_objects_CXX
=
13073 postdep_objects_CXX
=
13078 case $cc_basename in
13080 # Adding this requires a known-good setup of shared libraries for
13081 # Sun compiler versions before 5.6, else PIC objects from an old
13082 # archive will be linked into the output, leading to subtle bugs.
13083 postdeps_CXX
='-lCstd -lCrun'
13090 case " $postdeps_CXX " in
13091 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13094 lt_prog_compiler_wl_CXX
=
13095 lt_prog_compiler_pic_CXX
=
13096 lt_prog_compiler_static_CXX
=
13098 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13099 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13101 # C++ specific cases for pic, static, wl, etc.
13102 if test "$GXX" = yes; then
13103 lt_prog_compiler_wl_CXX
='-Wl,'
13104 lt_prog_compiler_static_CXX
='-static'
13108 # All AIX code is PIC.
13109 if test "$host_cpu" = ia64
; then
13110 # AIX 5 now supports IA64 processor
13111 lt_prog_compiler_static_CXX
='-Bstatic'
13115 # FIXME: we need at least 68020 code to build shared libraries, but
13116 # adding the `-m68020' flag to GCC prevents building anything better,
13118 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13120 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13121 # PIC is the default for these OSes.
13123 mingw
* | os2
* | pw32
*)
13124 # This hack is so that the source file can tell whether it is being
13125 # built for inclusion in a dll (and should export symbols for example).
13126 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13128 darwin
* | rhapsody
*)
13129 # PIC is the default on this platform
13130 # Common symbols not allowed in MH_DYLIB files
13131 lt_prog_compiler_pic_CXX
='-fno-common'
13134 # DJGPP does not support shared libraries at all
13135 lt_prog_compiler_pic_CXX
=
13138 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13139 # Instead, we relocate shared libraries at runtime.
13142 if test -d /usr
/nec
; then
13143 lt_prog_compiler_pic_CXX
=-Kconform_pic
13147 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13148 # not for PA HP-UX.
13153 lt_prog_compiler_pic_CXX
='-fPIC'
13158 lt_prog_compiler_pic_CXX
='-fPIC'
13164 # All AIX code is PIC.
13165 if test "$host_cpu" = ia64
; then
13166 # AIX 5 now supports IA64 processor
13167 lt_prog_compiler_static_CXX
='-Bstatic'
13169 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13173 case $cc_basename in
13175 # Green Hills C++ Compiler
13176 # _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"
13181 # PIC is the default on this platform
13182 # Common symbols not allowed in MH_DYLIB files
13183 case $cc_basename in
13185 lt_prog_compiler_pic_CXX
='-qnocommon'
13186 lt_prog_compiler_wl_CXX
='-Wl,'
13191 case $cc_basename in
13193 lt_prog_compiler_pic_CXX
='-KPIC'
13196 # Green Hills C++ Compiler
13197 lt_prog_compiler_pic_CXX
='-pic'
13203 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
13204 # FreeBSD uses GNU C++
13206 hpux9
* | hpux10
* | hpux11
*)
13207 case $cc_basename in
13209 lt_prog_compiler_wl_CXX
='-Wl,'
13210 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13211 if test "$host_cpu" != ia64
; then
13212 lt_prog_compiler_pic_CXX
='+Z'
13216 lt_prog_compiler_wl_CXX
='-Wl,'
13217 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13223 lt_prog_compiler_pic_CXX
='+Z'
13232 # This is c89, which is MS Visual C++ (no shared libs)
13233 # Anyone wants to do a port?
13235 irix5
* | irix6
* | nonstopux
*)
13236 case $cc_basename in
13238 lt_prog_compiler_wl_CXX
='-Wl,'
13239 lt_prog_compiler_static_CXX
='-non_shared'
13240 # CC pic flag -KPIC is the default.
13247 case $cc_basename in
13250 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13251 lt_prog_compiler_pic_CXX
='-fPIC'
13255 lt_prog_compiler_wl_CXX
='-Wl,'
13256 lt_prog_compiler_pic_CXX
='-KPIC'
13257 lt_prog_compiler_static_CXX
='-static'
13260 # Portland Group C++ compiler.
13261 lt_prog_compiler_wl_CXX
='-Wl,'
13262 lt_prog_compiler_pic_CXX
='-fpic'
13263 lt_prog_compiler_static_CXX
='-Bstatic'
13267 # Make sure the PIC flag is empty. It appears that all Alpha
13268 # Linux and Compaq Tru64 Unix objects are PIC.
13269 lt_prog_compiler_pic_CXX
=
13270 lt_prog_compiler_static_CXX
='-non_shared'
13281 case $cc_basename in
13283 lt_prog_compiler_pic_CXX
='-W c,exportall'
13291 osf3
* | osf4
* | osf5
*)
13292 case $cc_basename in
13294 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13297 # Rational C++ 2.4.1
13298 lt_prog_compiler_pic_CXX
='-pic'
13301 # Digital/Compaq C++
13302 lt_prog_compiler_wl_CXX
='-Wl,'
13303 # Make sure the PIC flag is empty. It appears that all Alpha
13304 # Linux and Compaq Tru64 Unix objects are PIC.
13305 lt_prog_compiler_pic_CXX
=
13306 lt_prog_compiler_static_CXX
='-non_shared'
13315 case $cc_basename in
13317 # Sun C++ 4.2, 5.x and Centerline C++
13318 lt_prog_compiler_pic_CXX
='-KPIC'
13319 lt_prog_compiler_static_CXX
='-Bstatic'
13320 lt_prog_compiler_wl_CXX
='-Qoption ld '
13323 # Green Hills C++ Compiler
13324 lt_prog_compiler_pic_CXX
='-PIC'
13331 case $cc_basename in
13334 lt_prog_compiler_pic_CXX
='-pic'
13335 lt_prog_compiler_static_CXX
='-Bstatic'
13339 lt_prog_compiler_pic_CXX
='-pic'
13346 case $cc_basename in
13348 # NonStop-UX NCC 3.20
13349 lt_prog_compiler_pic_CXX
='-KPIC'
13355 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13356 case $cc_basename in
13358 lt_prog_compiler_wl_CXX
='-Wl,'
13359 lt_prog_compiler_pic_CXX
='-KPIC'
13360 lt_prog_compiler_static_CXX
='-Bstatic'
13367 lt_prog_compiler_can_build_shared_CXX
=no
13372 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13373 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13376 # Check to make sure the PIC flag actually works.
13378 if test -n "$lt_prog_compiler_pic_CXX"; then
13380 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13381 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13382 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13385 lt_prog_compiler_pic_works_CXX
=no
13386 ac_outfile
=conftest.
$ac_objext
13387 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13388 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13389 # Insert the option either (1) after the last *FLAGS variable, or
13390 # (2) before a word containing "conftest.", or (3) at the end.
13391 # Note that $ac_compile itself does not contain backslashes and begins
13392 # with a dollar sign (not a hyphen), so the echo should work correctly.
13393 # The option is referenced via a variable to avoid confusing sed.
13394 lt_compile
=`echo "$ac_compile" | $SED \
13395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13397 -e 's:$: $lt_compiler_flag:'`
13398 (eval echo "\"\$as_me:13398: $lt_compile\"" >&5)
13399 (eval "$lt_compile" 2>conftest.err
)
13401 cat conftest.err
>&5
13402 echo "$as_me:13402: \$? = $ac_status" >&5
13403 if (exit $ac_status) && test -s "$ac_outfile"; then
13404 # The compiler can only warn and ignore the option if not recognized
13405 # So say no if there are warnings other than the usual output.
13406 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13408 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13409 lt_prog_compiler_pic_works_CXX
=yes
13415 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13416 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13418 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13419 case $lt_prog_compiler_pic_CXX in
13421 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13424 lt_prog_compiler_pic_CXX
=
13425 lt_prog_compiler_can_build_shared_CXX
=no
13430 # For platforms which do not support PIC, -DPIC is meaningless:
13432 lt_prog_compiler_pic_CXX
=
13435 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13440 # Check to make sure the static flag actually works.
13442 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13443 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13444 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13445 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13446 echo $ECHO_N "(cached) $ECHO_C" >&6
13448 lt_prog_compiler_static_works_CXX
=no
13449 save_LDFLAGS
="$LDFLAGS"
13450 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13451 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13452 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13453 # The linker can only warn and ignore the option if not recognized
13454 # So say no if there are warnings
13455 if test -s conftest.err
; then
13456 # Append any errors to the config.log.
13457 cat conftest.err
1>&5
13458 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13459 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13460 if diff conftest.exp conftest.er2
>/dev
/null
; then
13461 lt_prog_compiler_static_works_CXX
=yes
13464 lt_prog_compiler_static_works_CXX
=yes
13468 LDFLAGS
="$save_LDFLAGS"
13471 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13472 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13474 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13477 lt_prog_compiler_static_CXX
=
13481 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13482 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13483 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 lt_cv_prog_compiler_c_o_CXX
=no
13487 $rm -r conftest
2>/dev
/null
13491 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13493 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13494 # Insert the option either (1) after the last *FLAGS variable, or
13495 # (2) before a word containing "conftest.", or (3) at the end.
13496 # Note that $ac_compile itself does not contain backslashes and begins
13497 # with a dollar sign (not a hyphen), so the echo should work correctly.
13498 lt_compile
=`echo "$ac_compile" | $SED \
13499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13501 -e 's:$: $lt_compiler_flag:'`
13502 (eval echo "\"\$as_me:13502: $lt_compile\"" >&5)
13503 (eval "$lt_compile" 2>out
/conftest.err
)
13505 cat out
/conftest.err
>&5
13506 echo "$as_me:13506: \$? = $ac_status" >&5
13507 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13509 # The compiler can only warn and ignore the option if not recognized
13510 # So say no if there are warnings
13511 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13512 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13513 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13514 lt_cv_prog_compiler_c_o_CXX
=yes
13519 # SGI C++ compiler will create directory out/ii_files/ for
13520 # template instantiation
13521 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13522 $rm out
/* && rmdir out
13528 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13529 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13532 hard_links
="nottested"
13533 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13534 # do not overwrite the value of need_locks provided by the user
13535 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13536 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13539 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13541 ln conftest.a conftest.b
2>&5 || hard_links
=no
13542 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13543 { echo "$as_me:$LINENO: result: $hard_links" >&5
13544 echo "${ECHO_T}$hard_links" >&6; }
13545 if test "$hard_links" = no
; then
13546 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13547 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13554 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13555 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13557 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13560 # If we're using GNU nm, then we don't want the "-C" option.
13561 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13562 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13563 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'
13565 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'
13569 export_symbols_cmds_CXX
="$ltdll_cmds"
13572 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'
13575 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13579 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13580 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13581 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13584 # Do we need to explicitly link libc?
13586 case "x$archive_cmds_need_lc_CXX" in
13588 # Assume -lc should be added
13589 archive_cmds_need_lc_CXX
=yes
13591 if test "$enable_shared" = yes && test "$GCC" = yes; then
13592 case $archive_cmds_CXX in
13594 # FIXME: we may have to deal with multi-command sequences.
13597 # Test whether the compiler implicitly links with -lc since on some
13598 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13599 # to ld, don't add -lc before -lgcc.
13600 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13601 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13603 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13606 (eval $ac_compile) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } 2>conftest.err
; then
13612 libobjs
=conftest.
$ac_objext
13614 wl
=$lt_prog_compiler_wl_CXX
13615 pic_flag
=$lt_prog_compiler_pic_CXX
13621 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13622 allow_undefined_flag_CXX
=
13623 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13624 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }
13629 archive_cmds_need_lc_CXX
=no
13631 archive_cmds_need_lc_CXX
=yes
13633 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13635 cat conftest.err
1>&5
13638 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13639 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13646 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13647 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13648 library_names_spec
=
13649 libname_spec
='lib$name'
13653 postuninstall_cmds
=
13657 shlibpath_overrides_runpath
=unknown
13659 dynamic_linker
="$host_os ld.so"
13660 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13661 if test "$GCC" = yes; then
13662 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13663 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
13664 # if the path contains ";" then we assume it to be the separator
13665 # otherwise default to the standard path separator (i.e. ":") - it is
13666 # assumed that no part of a normal pathname contains ";" but that should
13667 # okay in the real world where ";" in dirpaths is itself problematic.
13668 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13670 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13673 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13675 need_lib_prefix
=unknown
13676 hardcode_into_libs
=no
13678 # when you set need_version to no, make sure it does not cause -set_version
13679 # flags to be left without arguments
13680 need_version
=unknown
13685 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13686 shlibpath_var
=LIBPATH
13688 # AIX 3 has no versioning support, so we append a major version to the name.
13689 soname_spec
='${libname}${release}${shared_ext}$major'
13696 hardcode_into_libs
=yes
13697 if test "$host_cpu" = ia64
; then
13698 # AIX 5 supports IA64
13699 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13700 shlibpath_var
=LD_LIBRARY_PATH
13702 # With GCC up to 2.95.x, collect2 would create an import file
13703 # for dependence libraries. The import file would start with
13704 # the line `#! .'. This would cause the generated library to
13705 # depend on `.', always an invalid library. This was fixed in
13706 # development snapshots of GCC prior to 3.0.
13708 aix4 | aix4.
[01] | aix4.
[01].
*)
13709 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13711 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13714 can_build_shared
=no
13718 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13719 # soname into executable. Probably we can add versioning support to
13720 # collect2, so additional links can be useful in future.
13721 if test "$aix_use_runtimelinking" = yes; then
13722 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13723 # instead of lib<name>.a to let people know that these are not
13724 # typical AIX shared libraries.
13725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13727 # We preserve .a as extension for shared libraries through AIX4.2
13728 # and later when we are not doing run time linking.
13729 library_names_spec
='${libname}${release}.a $libname.a'
13730 soname_spec
='${libname}${release}${shared_ext}$major'
13732 shlibpath_var
=LIBPATH
13737 library_names_spec
='$libname.ixlibrary $libname.a'
13738 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13739 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'
13743 library_names_spec
='${libname}${shared_ext}'
13744 dynamic_linker
="$host_os ld.so"
13745 shlibpath_var
=LIBRARY_PATH
13751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13752 soname_spec
='${libname}${release}${shared_ext}$major'
13753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13754 shlibpath_var
=LD_LIBRARY_PATH
13755 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13756 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13757 # the default ld.so.conf also contains /usr/contrib/lib and
13758 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13759 # libtool to hard-code these into programs
13762 cygwin
* | mingw
* | pw32
*)
13763 version_type
=windows
13768 case $GCC,$host_os in
13769 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13770 library_names_spec
='$libname.dll.a'
13771 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13772 postinstall_cmds
='base_file=`basename \${file}`~
13773 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13774 dldir=$destdir/`dirname \$dlpath`~
13775 test -d \$dldir || mkdir -p \$dldir~
13776 $install_prog $dir/$dlname \$dldir/$dlname~
13777 chmod a+x \$dldir/$dlname'
13778 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13779 dlpath=$dir/\$dldll~
13781 shlibpath_overrides_runpath
=yes
13785 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13786 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13787 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13790 # MinGW DLLs use traditional 'lib' prefix
13791 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13792 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13793 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13794 # It is most probably a Windows format PATH printed by
13795 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13796 # path with ; separators, and with drive letters. We can handle the
13797 # drive letters (cygwin fileutils understands them), so leave them,
13798 # especially as we might pass files found there to a mingw objdump,
13799 # which wouldn't understand a cygwinified path. Ahh.
13800 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13802 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13806 # pw32 DLLs use 'pw' prefix rather than 'lib'
13807 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13813 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13816 dynamic_linker
='Win32 ld.exe'
13817 # FIXME: first we should search . and the directory the executable is in
13821 darwin
* | rhapsody
*)
13822 dynamic_linker
="$host_os dyld"
13823 version_type
=darwin
13826 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13827 soname_spec
='${libname}${release}${major}$shared_ext'
13828 shlibpath_overrides_runpath
=yes
13829 shlibpath_var
=DYLD_LIBRARY_PATH
13830 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13831 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13832 if test "$GCC" = yes; then
13833 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"`
13835 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13837 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13845 soname_spec
='${libname}${release}${shared_ext}$major'
13846 shlibpath_var
=LD_LIBRARY_PATH
13857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13858 soname_spec
='${libname}${release}${shared_ext}$major'
13859 shlibpath_var
=LD_LIBRARY_PATH
13860 shlibpath_overrides_runpath
=no
13861 hardcode_into_libs
=yes
13862 dynamic_linker
='GNU ld.so'
13865 freebsd
* | dragonfly
*)
13866 # DragonFly does not have aout. When/if they implement a new
13867 # versioning mechanism, adjust this.
13868 if test -x /usr
/bin
/objformat
; then
13869 objformat
=`/usr/bin/objformat`
13872 freebsd
[123]*) objformat
=aout
;;
13873 *) objformat
=elf
;;
13876 version_type
=freebsd-
$objformat
13877 case $version_type in
13879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13884 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13888 shlibpath_var
=LD_LIBRARY_PATH
13891 shlibpath_overrides_runpath
=yes
13893 freebsd3.
[01]* | freebsdelf3.
[01]*)
13894 shlibpath_overrides_runpath
=yes
13895 hardcode_into_libs
=yes
13897 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13898 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13899 shlibpath_overrides_runpath
=no
13900 hardcode_into_libs
=yes
13902 freebsd
*) # from 4.6 on
13903 shlibpath_overrides_runpath
=yes
13904 hardcode_into_libs
=yes
13913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13914 soname_spec
='${libname}${release}${shared_ext}$major'
13915 shlibpath_var
=LD_LIBRARY_PATH
13916 hardcode_into_libs
=yes
13919 hpux9
* | hpux10
* | hpux11
*)
13920 # Give a soname corresponding to the major version so that dld.sl refuses to
13921 # link against other versions.
13928 hardcode_into_libs
=yes
13929 dynamic_linker
="$host_os dld.so"
13930 shlibpath_var
=LD_LIBRARY_PATH
13931 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13933 soname_spec
='${libname}${release}${shared_ext}$major'
13934 if test "X$HPUX_IA64_MODE" = X32
; then
13935 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13937 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13939 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13943 hardcode_into_libs
=yes
13944 dynamic_linker
="$host_os dld.sl"
13945 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13946 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13948 soname_spec
='${libname}${release}${shared_ext}$major'
13949 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13950 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13954 dynamic_linker
="$host_os dld.sl"
13955 shlibpath_var
=SHLIB_PATH
13956 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13958 soname_spec
='${libname}${release}${shared_ext}$major'
13961 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13962 postinstall_cmds
='chmod 555 $lib'
13969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13970 soname_spec
='${libname}${release}${shared_ext}$major'
13971 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13972 shlibpath_var
=LD_LIBRARY_PATH
13973 shlibpath_overrides_runpath
=no
13974 hardcode_into_libs
=yes
13977 irix5
* | irix6
* | nonstopux
*)
13979 nonstopux
*) version_type
=nonstopux
;;
13981 if test "$lt_cv_prog_gnu_ld" = yes; then
13989 soname_spec
='${libname}${release}${shared_ext}$major'
13990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13992 irix5
* | nonstopux
*)
13993 libsuff
= shlibsuff
=
13996 case $LD in # libtool.m4 will add one of these switches to LD
13997 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13998 libsuff
= shlibsuff
= libmagic
=32-bit;;
13999 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14000 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14001 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14002 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14003 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14007 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14008 shlibpath_overrides_runpath
=no
14009 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14010 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14011 hardcode_into_libs
=yes
14014 # No shared lib support for Linux oldld, aout, or coff.
14015 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14019 # This must be Linux ELF.
14024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14025 soname_spec
='${libname}${release}${shared_ext}$major'
14026 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14027 shlibpath_var
=LD_LIBRARY_PATH
14028 shlibpath_overrides_runpath
=no
14029 # This implies no fast_install, which is unacceptable.
14030 # Some rework will be needed to allow for fast_install
14031 # before this can be enabled.
14032 hardcode_into_libs
=yes
14034 # find out which ABI we are using
14036 case "$host_cpu" in
14037 x86_64
*|s390x
*|powerpc64
*)
14038 echo '#line 14038 "configure"' > conftest.
$ac_ext
14039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14040 (eval $ac_compile) 2>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; then
14044 case `/usr/bin/file conftest.$ac_objext` in
14047 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14055 # Append ld.so.conf contents to the search path
14056 if test -f /etc
/ld.so.conf
; then
14057 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' ' '`
14058 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14061 # We used to test for /lib/ld.so.1 and disable shared libraries on
14062 # powerpc, because MkLinux only supported shared libraries with the
14063 # GNU dynamic linker. Since this was broken with cross compilers,
14064 # most powerpc-linux boxes support dynamic linking these days and
14065 # people can always --disable-shared, the test was removed, and we
14066 # assume the GNU/Linux dynamic linker is in use.
14067 dynamic_linker
='GNU/Linux ld.so'
14074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14075 soname_spec
='${libname}${release}${shared_ext}$major'
14076 shlibpath_var
=LD_LIBRARY_PATH
14077 shlibpath_overrides_runpath
=no
14078 hardcode_into_libs
=yes
14079 dynamic_linker
='GNU ld.so'
14086 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14088 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14089 dynamic_linker
='NetBSD (a.out) ld.so'
14091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14092 soname_spec
='${libname}${release}${shared_ext}$major'
14093 dynamic_linker
='NetBSD ld.elf_so'
14095 shlibpath_var
=LD_LIBRARY_PATH
14096 shlibpath_overrides_runpath
=yes
14097 hardcode_into_libs
=yes
14102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14103 shlibpath_var
=LD_LIBRARY_PATH
14104 shlibpath_overrides_runpath
=yes
14111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14112 soname_spec
='${libname}${release}${shared_ext}$major'
14113 shlibpath_var
=LD_LIBRARY_PATH
14114 shlibpath_overrides_runpath
=yes
14119 sys_lib_dlsearch_path_spec
="/usr/lib"
14121 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14123 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14124 *) need_version
=no
;;
14126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14127 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14128 shlibpath_var
=LD_LIBRARY_PATH
14129 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14131 openbsd2.
[89] | openbsd2.
[89].
*)
14132 shlibpath_overrides_runpath
=no
14135 shlibpath_overrides_runpath
=yes
14139 shlibpath_overrides_runpath
=yes
14144 libname_spec
='$name'
14147 library_names_spec
='$libname${shared_ext} $libname.a'
14148 dynamic_linker
='OS/2 ld.exe'
14149 shlibpath_var
=LIBPATH
14152 osf3
* | osf4
* | osf5
*)
14156 soname_spec
='${libname}${release}${shared_ext}$major'
14157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14158 shlibpath_var
=LD_LIBRARY_PATH
14159 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14160 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14168 soname_spec
='${libname}${release}${shared_ext}$major'
14169 shlibpath_var
=LD_LIBRARY_PATH
14170 shlibpath_overrides_runpath
=yes
14171 hardcode_into_libs
=yes
14172 # ldd complains unless libraries are executable
14173 postinstall_cmds
='chmod +x $lib'
14178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14179 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14180 shlibpath_var
=LD_LIBRARY_PATH
14181 shlibpath_overrides_runpath
=yes
14182 if test "$with_gnu_ld" = yes; then
14190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14191 soname_spec
='${libname}${release}${shared_ext}$major'
14192 shlibpath_var
=LD_LIBRARY_PATH
14193 case $host_vendor in
14195 shlibpath_overrides_runpath
=no
14197 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14198 runpath_var
=LD_RUN_PATH
14206 shlibpath_overrides_runpath
=no
14207 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14213 if test -d /usr
/nec
;then
14215 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14216 soname_spec
='$libname${shared_ext}.$major'
14217 shlibpath_var
=LD_LIBRARY_PATH
14221 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14222 version_type
=freebsd-elf
14225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14226 soname_spec
='${libname}${release}${shared_ext}$major'
14227 shlibpath_var
=LD_LIBRARY_PATH
14228 hardcode_into_libs
=yes
14229 if test "$with_gnu_ld" = yes; then
14230 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14231 shlibpath_overrides_runpath
=no
14233 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14234 shlibpath_overrides_runpath
=yes
14237 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14241 sys_lib_dlsearch_path_spec
='/usr/lib'
14246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14247 soname_spec
='${libname}${release}${shared_ext}$major'
14248 shlibpath_var
=LD_LIBRARY_PATH
14255 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14256 echo "${ECHO_T}$dynamic_linker" >&6; }
14257 test "$dynamic_linker" = no
&& can_build_shared
=no
14259 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14260 if test "$GCC" = yes; then
14261 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14264 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14265 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14266 hardcode_action_CXX
=
14267 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14268 test -n "$runpath_var_CXX" || \
14269 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14271 # We can hardcode non-existant directories.
14272 if test "$hardcode_direct_CXX" != no
&&
14273 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14274 # have to relink, otherwise we might link with an installed library
14275 # when we should be linking with a yet-to-be-installed one
14276 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14277 test "$hardcode_minus_L_CXX" != no
; then
14278 # Linking always hardcodes the temporary library directory.
14279 hardcode_action_CXX
=relink
14281 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14282 hardcode_action_CXX
=immediate
14285 # We cannot hardcode anything, or else we can only hardcode existing
14287 hardcode_action_CXX
=unsupported
14289 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14290 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14292 if test "$hardcode_action_CXX" = relink
; then
14293 # Fast installation is not supported
14294 enable_fast_install
=no
14295 elif test "$shlibpath_overrides_runpath" = yes ||
14296 test "$enable_shared" = no
; then
14297 # Fast installation is not necessary
14298 enable_fast_install
=needless
14302 # The else clause should only fire when bootstrapping the
14303 # libtool distribution, otherwise you forgot to ship ltmain.sh
14304 # with your package, and you will get complaints that there are
14305 # no rules to generate ltmain.sh.
14306 if test -f "$ltmain"; then
14307 # See if we are running on zsh, and set the options which allow our commands through
14308 # without removal of \ escapes.
14309 if test -n "${ZSH_VERSION+set}" ; then
14310 setopt NO_GLOB_SUBST
14312 # Now quote all the things that may contain metacharacters while being
14313 # careful not to overquote the AC_SUBSTed values. We take copies of the
14314 # variables and quote the copies for generation of the libtool script.
14315 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14317 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14318 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14319 deplibs_check_method reload_flag reload_cmds need_locks \
14320 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14321 lt_cv_sys_global_symbol_to_c_name_address \
14322 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14323 old_postinstall_cmds old_postuninstall_cmds \
14327 lt_prog_compiler_wl_CXX \
14328 lt_prog_compiler_pic_CXX \
14329 lt_prog_compiler_static_CXX \
14330 lt_prog_compiler_no_builtin_flag_CXX \
14331 export_dynamic_flag_spec_CXX \
14332 thread_safe_flag_spec_CXX \
14333 whole_archive_flag_spec_CXX \
14334 enable_shared_with_static_runtimes_CXX \
14335 old_archive_cmds_CXX \
14336 old_archive_from_new_cmds_CXX \
14337 predep_objects_CXX \
14338 postdep_objects_CXX \
14341 compiler_lib_search_path_CXX \
14343 archive_expsym_cmds_CXX \
14344 postinstall_cmds_CXX \
14345 postuninstall_cmds_CXX \
14346 old_archive_from_expsyms_cmds_CXX \
14347 allow_undefined_flag_CXX \
14348 no_undefined_flag_CXX \
14349 export_symbols_cmds_CXX \
14350 hardcode_libdir_flag_spec_CXX \
14351 hardcode_libdir_flag_spec_ld_CXX \
14352 hardcode_libdir_separator_CXX \
14353 hardcode_automatic_CXX \
14355 module_expsym_cmds_CXX \
14356 lt_cv_prog_compiler_c_o_CXX \
14357 exclude_expsyms_CXX \
14358 include_expsyms_CXX
; do
14361 old_archive_cmds_CXX | \
14362 old_archive_from_new_cmds_CXX | \
14363 archive_cmds_CXX | \
14364 archive_expsym_cmds_CXX | \
14365 module_cmds_CXX | \
14366 module_expsym_cmds_CXX | \
14367 old_archive_from_expsyms_cmds_CXX | \
14368 export_symbols_cmds_CXX | \
14369 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14370 postinstall_cmds | postuninstall_cmds | \
14371 old_postinstall_cmds | old_postuninstall_cmds | \
14372 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14373 # Double-quote double-evaled strings.
14374 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14377 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14383 *'\$0 --fallback-echo"')
14384 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14390 cat <<__EOF__ >> "$cfgfile"
14391 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14393 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14395 # Shell to use when invoking shell scripts.
14398 # Whether or not to build shared libraries.
14399 build_libtool_libs=$enable_shared
14401 # Whether or not to build static libraries.
14402 build_old_libs=$enable_static
14404 # Whether or not to add -lc for building shared libraries.
14405 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14407 # Whether or not to disallow shared libs when runtime libs are static
14408 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14410 # Whether or not to optimize for fast installation.
14411 fast_install=$enable_fast_install
14414 host_alias=$host_alias
14418 # The build system.
14419 build_alias=$build_alias
14423 # An echo program that does not interpret backslashes.
14428 AR_FLAGS=$lt_AR_FLAGS
14433 # LTCC compiler flags.
14434 LTCFLAGS=$lt_LTCFLAGS
14436 # A language-specific compiler.
14437 CC=$lt_compiler_CXX
14439 # Is the compiler the GNU C compiler?
14445 # The linker used to build libraries.
14448 # Whether we need hard or soft links.
14451 # A BSD-compatible nm program.
14454 # A symbol stripping program
14457 # Used to examine libraries when file_magic_cmd begins "file"
14458 MAGIC_CMD=$MAGIC_CMD
14460 # Used on cygwin: DLL creation program.
14463 # Used on cygwin: object dumper.
14466 # Used on cygwin: assembler.
14469 # The name of the directory that contains temporary libtool files.
14472 # How to create reloadable object files.
14473 reload_flag=$lt_reload_flag
14474 reload_cmds=$lt_reload_cmds
14476 # How to pass a linker flag through the compiler.
14477 wl=$lt_lt_prog_compiler_wl_CXX
14479 # Object file suffix (normally "o").
14480 objext="$ac_objext"
14482 # Old archive suffix (normally "a").
14485 # Shared library suffix (normally ".so").
14486 shrext_cmds='$shrext_cmds'
14488 # Executable file suffix (normally "").
14491 # Additional compiler flags for building library objects.
14492 pic_flag=$lt_lt_prog_compiler_pic_CXX
14495 # What is the maximum length of a command?
14496 max_cmd_len=$lt_cv_sys_max_cmd_len
14498 # Does compiler simultaneously support -c and -o options?
14499 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14501 # Must we lock files when doing compilation?
14502 need_locks=$lt_need_locks
14504 # Do we need the lib prefix for modules?
14505 need_lib_prefix=$need_lib_prefix
14507 # Do we need a version for libraries?
14508 need_version=$need_version
14510 # Whether dlopen is supported.
14511 dlopen_support=$enable_dlopen
14513 # Whether dlopen of programs is supported.
14514 dlopen_self=$enable_dlopen_self
14516 # Whether dlopen of statically linked programs is supported.
14517 dlopen_self_static=$enable_dlopen_self_static
14519 # Compiler flag to prevent dynamic linking.
14520 link_static_flag=$lt_lt_prog_compiler_static_CXX
14522 # Compiler flag to turn off builtin functions.
14523 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14525 # Compiler flag to allow reflexive dlopens.
14526 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14528 # Compiler flag to generate shared objects directly from archives.
14529 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14531 # Compiler flag to generate thread-safe objects.
14532 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14534 # Library versioning type.
14535 version_type=$version_type
14537 # Format of library name prefix.
14538 libname_spec=$lt_libname_spec
14540 # List of archive names. First name is the real one, the rest are links.
14541 # The last name is the one that the linker finds with -lNAME.
14542 library_names_spec=$lt_library_names_spec
14544 # The coded name of the library, if different from the real name.
14545 soname_spec=$lt_soname_spec
14547 # Commands used to build and install an old-style archive.
14549 old_archive_cmds=$lt_old_archive_cmds_CXX
14550 old_postinstall_cmds=$lt_old_postinstall_cmds
14551 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14553 # Create an old-style archive from a shared archive.
14554 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14556 # Create a temporary old-style archive to link instead of a shared archive.
14557 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14559 # Commands used to build and install a shared archive.
14560 archive_cmds=$lt_archive_cmds_CXX
14561 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14562 postinstall_cmds=$lt_postinstall_cmds
14563 postuninstall_cmds=$lt_postuninstall_cmds
14565 # Commands used to build a loadable module (assumed same as above if empty)
14566 module_cmds=$lt_module_cmds_CXX
14567 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14569 # Commands to strip libraries.
14570 old_striplib=$lt_old_striplib
14571 striplib=$lt_striplib
14573 # Dependencies to place before the objects being linked to create a
14575 predep_objects=$lt_predep_objects_CXX
14577 # Dependencies to place after the objects being linked to create a
14579 postdep_objects=$lt_postdep_objects_CXX
14581 # Dependencies to place before the objects being linked to create a
14583 predeps=$lt_predeps_CXX
14585 # Dependencies to place after the objects being linked to create a
14587 postdeps=$lt_postdeps_CXX
14589 # The library search path used internally by the compiler when linking
14590 # a shared library.
14591 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14593 # Method to check whether dependent libraries are shared objects.
14594 deplibs_check_method=$lt_deplibs_check_method
14596 # Command to use when deplibs_check_method == file_magic.
14597 file_magic_cmd=$lt_file_magic_cmd
14599 # Flag that allows shared libraries with undefined symbols to be built.
14600 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14602 # Flag that forces no undefined symbols.
14603 no_undefined_flag=$lt_no_undefined_flag_CXX
14605 # Commands used to finish a libtool library installation in a directory.
14606 finish_cmds=$lt_finish_cmds
14608 # Same as above, but a single script fragment to be evaled but not shown.
14609 finish_eval=$lt_finish_eval
14611 # Take the output of nm and produce a listing of raw symbols and C names.
14612 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14614 # Transform the output of nm in a proper C declaration
14615 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14617 # Transform the output of nm in a C name address pair
14618 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14620 # This is the shared library runtime path variable.
14621 runpath_var=$runpath_var
14623 # This is the shared library path variable.
14624 shlibpath_var=$shlibpath_var
14626 # Is shlibpath searched before the hard-coded library search path?
14627 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14629 # How to hardcode a shared library path into an executable.
14630 hardcode_action=$hardcode_action_CXX
14632 # Whether we should hardcode library paths into libraries.
14633 hardcode_into_libs=$hardcode_into_libs
14635 # Flag to hardcode \$libdir into a binary during linking.
14636 # This must work even if \$libdir does not exist.
14637 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14639 # If ld is used when linking, flag to hardcode \$libdir into
14640 # a binary during linking. This must work even if \$libdir does
14642 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14644 # Whether we need a single -rpath flag with a separated argument.
14645 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14647 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14648 # resulting binary.
14649 hardcode_direct=$hardcode_direct_CXX
14651 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14652 # resulting binary.
14653 hardcode_minus_L=$hardcode_minus_L_CXX
14655 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14656 # the resulting binary.
14657 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14659 # Set to yes if building a shared library automatically hardcodes DIR into the library
14660 # and all subsequent libraries and executables linked against it.
14661 hardcode_automatic=$hardcode_automatic_CXX
14663 # Variables whose values should be saved in libtool wrapper scripts and
14664 # restored at relink time.
14665 variables_saved_for_relink="$variables_saved_for_relink"
14667 # Whether libtool must link a program against all its dependency libraries.
14668 link_all_deplibs=$link_all_deplibs_CXX
14670 # Compile-time system search path for libraries
14671 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14673 # Run-time system search path for libraries
14674 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14676 # Fix the shell variable \$srcfile for the compiler.
14677 fix_srcfile_path="$fix_srcfile_path_CXX"
14679 # Set to yes if exported symbols are required.
14680 always_export_symbols=$always_export_symbols_CXX
14682 # The commands to list exported symbols.
14683 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14685 # The commands to extract the exported symbol list from a shared archive.
14686 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14688 # Symbols that should not be listed in the preloaded symbols.
14689 exclude_expsyms=$lt_exclude_expsyms_CXX
14691 # Symbols that must always be exported.
14692 include_expsyms=$lt_include_expsyms_CXX
14694 # ### END LIBTOOL TAG CONFIG: $tagname
14700 # If there is no Makefile yet, we rely on a make rule to execute
14701 # `config.status --recheck' to rerun these tests and create the
14702 # libtool script then.
14703 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14704 if test -f "$ltmain_in"; then
14705 test -f Makefile
&& make "$ltmain"
14711 ac_cpp
='$CPP $CPPFLAGS'
14712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14720 with_gnu_ldcxx
=$with_gnu_ld
14721 with_gnu_ld
=$lt_save_with_gnu_ld
14722 lt_cv_path_LDCXX
=$lt_cv_path_LD
14723 lt_cv_path_LD
=$lt_save_path_LD
14724 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14725 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14733 if test -n "$F77" && test "X$F77" != "Xno"; then
14736 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14737 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14738 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14741 archive_cmds_need_lc_F77
=no
14742 allow_undefined_flag_F77
=
14743 always_export_symbols_F77
=no
14744 archive_expsym_cmds_F77
=
14745 export_dynamic_flag_spec_F77
=
14746 hardcode_direct_F77
=no
14747 hardcode_libdir_flag_spec_F77
=
14748 hardcode_libdir_flag_spec_ld_F77
=
14749 hardcode_libdir_separator_F77
=
14750 hardcode_minus_L_F77
=no
14751 hardcode_automatic_F77
=no
14753 module_expsym_cmds_F77
=
14754 link_all_deplibs_F77
=unknown
14755 old_archive_cmds_F77
=$old_archive_cmds
14756 no_undefined_flag_F77
=
14757 whole_archive_flag_spec_F77
=
14758 enable_shared_with_static_runtimes_F77
=no
14760 # Source file extension for f77 test sources.
14763 # Object file extension for compiled f77 test sources.
14767 # Code to be used in simple compile tests
14768 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
14770 # Code to be used in simple link tests
14771 lt_simple_link_test_code
=" program t\n end\n"
14773 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14775 # If no C compiler was specified, use CC.
14778 # If no C compiler flags were specified, use CFLAGS.
14779 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14781 # Allow CC to be a program name with arguments.
14785 # save warnings/boilerplate of simple test code
14786 ac_outfile
=conftest.
$ac_objext
14787 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
14788 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14789 _lt_compiler_boilerplate
=`cat conftest.err`
14792 ac_outfile
=conftest.
$ac_objext
14793 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
14794 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14795 _lt_linker_boilerplate
=`cat conftest.err`
14799 # Allow CC to be a program name with arguments.
14804 for cc_temp
in $compiler""; do
14806 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14807 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14812 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14815 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14816 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14817 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14818 echo "${ECHO_T}$can_build_shared" >&6; }
14820 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14821 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14822 test "$can_build_shared" = "no" && enable_shared
=no
14824 # On AIX, shared libraries and static libraries use the same namespace, and
14825 # are all built from PIC.
14828 test "$enable_shared" = yes && enable_static
=no
14829 if test -n "$RANLIB"; then
14830 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14831 postinstall_cmds
='$RANLIB $lib'
14835 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14836 test "$enable_shared" = yes && enable_static
=no
14840 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14841 echo "${ECHO_T}$enable_shared" >&6; }
14843 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14844 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14845 # Make sure either enable_shared or enable_static is yes.
14846 test "$enable_shared" = yes || enable_static
=yes
14847 { echo "$as_me:$LINENO: result: $enable_static" >&5
14848 echo "${ECHO_T}$enable_static" >&6; }
14853 lt_prog_compiler_wl_F77
=
14854 lt_prog_compiler_pic_F77
=
14855 lt_prog_compiler_static_F77
=
14857 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14858 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14860 if test "$GCC" = yes; then
14861 lt_prog_compiler_wl_F77
='-Wl,'
14862 lt_prog_compiler_static_F77
='-static'
14866 # All AIX code is PIC.
14867 if test "$host_cpu" = ia64
; then
14868 # AIX 5 now supports IA64 processor
14869 lt_prog_compiler_static_F77
='-Bstatic'
14874 # FIXME: we need at least 68020 code to build shared libraries, but
14875 # adding the `-m68020' flag to GCC prevents building anything better,
14877 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14880 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14881 # PIC is the default for these OSes.
14884 mingw
* | pw32
* | os2
*)
14885 # This hack is so that the source file can tell whether it is being
14886 # built for inclusion in a dll (and should export symbols for example).
14887 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14890 darwin
* | rhapsody
*)
14891 # PIC is the default on this platform
14892 # Common symbols not allowed in MH_DYLIB files
14893 lt_prog_compiler_pic_F77
='-fno-common'
14897 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14898 # Instead, we relocate shared libraries at runtime.
14902 # Just because we use GCC doesn't mean we suddenly get shared libraries
14903 # on systems that don't support them.
14904 lt_prog_compiler_can_build_shared_F77
=no
14909 if test -d /usr
/nec
; then
14910 lt_prog_compiler_pic_F77
=-Kconform_pic
14915 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14916 # not for PA HP-UX.
14922 lt_prog_compiler_pic_F77
='-fPIC'
14928 lt_prog_compiler_pic_F77
='-fPIC'
14932 # PORTME Check for flag to pass linker flags through the system compiler.
14935 lt_prog_compiler_wl_F77
='-Wl,'
14936 if test "$host_cpu" = ia64
; then
14937 # AIX 5 now supports IA64 processor
14938 lt_prog_compiler_static_F77
='-Bstatic'
14940 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14944 # PIC is the default on this platform
14945 # Common symbols not allowed in MH_DYLIB files
14946 case $cc_basename in
14948 lt_prog_compiler_pic_F77
='-qnocommon'
14949 lt_prog_compiler_wl_F77
='-Wl,'
14954 mingw
* | pw32
* | os2
*)
14955 # This hack is so that the source file can tell whether it is being
14956 # built for inclusion in a dll (and should export symbols for example).
14957 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14960 hpux9
* | hpux10
* | hpux11
*)
14961 lt_prog_compiler_wl_F77
='-Wl,'
14962 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14963 # not for PA HP-UX.
14969 lt_prog_compiler_pic_F77
='+Z'
14972 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14973 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14976 irix5
* | irix6
* | nonstopux
*)
14977 lt_prog_compiler_wl_F77
='-Wl,'
14978 # PIC (with -KPIC) is the default.
14979 lt_prog_compiler_static_F77
='-non_shared'
14983 lt_prog_compiler_pic_F77
='-KPIC'
14984 lt_prog_compiler_static_F77
='-Bstatic'
14988 case $cc_basename in
14990 lt_prog_compiler_wl_F77
='-Wl,'
14991 lt_prog_compiler_pic_F77
='-KPIC'
14992 lt_prog_compiler_static_F77
='-static'
14994 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14995 # Portland Group compilers (*not* the Pentium gcc compiler,
14996 # which looks to be a dead project)
14997 lt_prog_compiler_wl_F77
='-Wl,'
14998 lt_prog_compiler_pic_F77
='-fpic'
14999 lt_prog_compiler_static_F77
='-Bstatic'
15002 lt_prog_compiler_wl_F77
='-Wl,'
15003 # All Alpha code is PIC.
15004 lt_prog_compiler_static_F77
='-non_shared'
15009 osf3
* | osf4
* | osf5
*)
15010 lt_prog_compiler_wl_F77
='-Wl,'
15011 # All OSF/1 code is PIC.
15012 lt_prog_compiler_static_F77
='-non_shared'
15016 lt_prog_compiler_pic_F77
='-KPIC'
15017 lt_prog_compiler_static_F77
='-Bstatic'
15018 case $cc_basename in
15019 f77
* | f90
* | f95
*)
15020 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15022 lt_prog_compiler_wl_F77
='-Wl,';;
15027 lt_prog_compiler_wl_F77
='-Qoption ld '
15028 lt_prog_compiler_pic_F77
='-PIC'
15029 lt_prog_compiler_static_F77
='-Bstatic'
15032 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15033 lt_prog_compiler_wl_F77
='-Wl,'
15034 lt_prog_compiler_pic_F77
='-KPIC'
15035 lt_prog_compiler_static_F77
='-Bstatic'
15039 if test -d /usr
/nec
;then
15040 lt_prog_compiler_pic_F77
='-Kconform_pic'
15041 lt_prog_compiler_static_F77
='-Bstatic'
15045 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15046 lt_prog_compiler_wl_F77
='-Wl,'
15047 lt_prog_compiler_pic_F77
='-KPIC'
15048 lt_prog_compiler_static_F77
='-Bstatic'
15052 lt_prog_compiler_wl_F77
='-Wl,'
15053 lt_prog_compiler_can_build_shared_F77
=no
15057 lt_prog_compiler_pic_F77
='-pic'
15058 lt_prog_compiler_static_F77
='-Bstatic'
15062 lt_prog_compiler_can_build_shared_F77
=no
15067 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15068 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15071 # Check to make sure the PIC flag actually works.
15073 if test -n "$lt_prog_compiler_pic_F77"; then
15075 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15076 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15077 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15080 lt_prog_compiler_pic_works_F77
=no
15081 ac_outfile
=conftest.
$ac_objext
15082 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15083 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15084 # Insert the option either (1) after the last *FLAGS variable, or
15085 # (2) before a word containing "conftest.", or (3) at the end.
15086 # Note that $ac_compile itself does not contain backslashes and begins
15087 # with a dollar sign (not a hyphen), so the echo should work correctly.
15088 # The option is referenced via a variable to avoid confusing sed.
15089 lt_compile
=`echo "$ac_compile" | $SED \
15090 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15092 -e 's:$: $lt_compiler_flag:'`
15093 (eval echo "\"\$as_me:15093: $lt_compile\"" >&5)
15094 (eval "$lt_compile" 2>conftest.err
)
15096 cat conftest.err
>&5
15097 echo "$as_me:15097: \$? = $ac_status" >&5
15098 if (exit $ac_status) && test -s "$ac_outfile"; then
15099 # The compiler can only warn and ignore the option if not recognized
15100 # So say no if there are warnings other than the usual output.
15101 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15102 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15103 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15104 lt_prog_compiler_pic_works_F77
=yes
15110 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15111 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15113 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15114 case $lt_prog_compiler_pic_F77 in
15116 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15119 lt_prog_compiler_pic_F77
=
15120 lt_prog_compiler_can_build_shared_F77
=no
15125 # For platforms which do not support PIC, -DPIC is meaningless:
15127 lt_prog_compiler_pic_F77
=
15130 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15135 # Check to make sure the static flag actually works.
15137 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15138 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15139 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15140 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15143 lt_prog_compiler_static_works_F77
=no
15144 save_LDFLAGS
="$LDFLAGS"
15145 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15146 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15147 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15148 # The linker can only warn and ignore the option if not recognized
15149 # So say no if there are warnings
15150 if test -s conftest.err
; then
15151 # Append any errors to the config.log.
15152 cat conftest.err
1>&5
15153 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15154 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15155 if diff conftest.exp conftest.er2
>/dev
/null
; then
15156 lt_prog_compiler_static_works_F77
=yes
15159 lt_prog_compiler_static_works_F77
=yes
15163 LDFLAGS
="$save_LDFLAGS"
15166 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15167 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15169 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
15172 lt_prog_compiler_static_F77
=
15176 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15177 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15178 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15179 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 lt_cv_prog_compiler_c_o_F77
=no
15182 $rm -r conftest
2>/dev
/null
15186 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15188 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15189 # Insert the option either (1) after the last *FLAGS variable, or
15190 # (2) before a word containing "conftest.", or (3) at the end.
15191 # Note that $ac_compile itself does not contain backslashes and begins
15192 # with a dollar sign (not a hyphen), so the echo should work correctly.
15193 lt_compile
=`echo "$ac_compile" | $SED \
15194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15196 -e 's:$: $lt_compiler_flag:'`
15197 (eval echo "\"\$as_me:15197: $lt_compile\"" >&5)
15198 (eval "$lt_compile" 2>out
/conftest.err
)
15200 cat out
/conftest.err
>&5
15201 echo "$as_me:15201: \$? = $ac_status" >&5
15202 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15204 # The compiler can only warn and ignore the option if not recognized
15205 # So say no if there are warnings
15206 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15207 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15208 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15209 lt_cv_prog_compiler_c_o_F77
=yes
15214 # SGI C++ compiler will create directory out/ii_files/ for
15215 # template instantiation
15216 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15217 $rm out
/* && rmdir out
15223 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15224 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15227 hard_links
="nottested"
15228 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15229 # do not overwrite the value of need_locks provided by the user
15230 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15231 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15234 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15236 ln conftest.a conftest.b
2>&5 || hard_links
=no
15237 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15238 { echo "$as_me:$LINENO: result: $hard_links" >&5
15239 echo "${ECHO_T}$hard_links" >&6; }
15240 if test "$hard_links" = no
; then
15241 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15242 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15249 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15250 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15253 allow_undefined_flag_F77
=
15254 enable_shared_with_static_runtimes_F77
=no
15256 archive_expsym_cmds_F77
=
15257 old_archive_From_new_cmds_F77
=
15258 old_archive_from_expsyms_cmds_F77
=
15259 export_dynamic_flag_spec_F77
=
15260 whole_archive_flag_spec_F77
=
15261 thread_safe_flag_spec_F77
=
15262 hardcode_libdir_flag_spec_F77
=
15263 hardcode_libdir_flag_spec_ld_F77
=
15264 hardcode_libdir_separator_F77
=
15265 hardcode_direct_F77
=no
15266 hardcode_minus_L_F77
=no
15267 hardcode_shlibpath_var_F77
=unsupported
15268 link_all_deplibs_F77
=unknown
15269 hardcode_automatic_F77
=no
15271 module_expsym_cmds_F77
=
15272 always_export_symbols_F77
=no
15273 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15274 # include_expsyms should be a list of space-separated symbols to be *always*
15275 # included in the symbol list
15276 include_expsyms_F77
=
15277 # exclude_expsyms can be an extended regexp of symbols to exclude
15278 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15279 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15280 # as well as any symbol that contains `d'.
15281 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
15282 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15283 # platforms (ab)use it in PIC code, but their linkers get confused if
15284 # the symbol is explicitly referenced. Since portable code cannot
15285 # rely on this symbol name, it's probably fine to never include it in
15286 # preloaded symbol tables.
15287 extract_expsyms_cmds
=
15288 # Just being paranoid about ensuring that cc_basename is set.
15289 for cc_temp
in $compiler""; do
15291 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15292 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15297 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15300 cygwin
* | mingw
* | pw32
*)
15301 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15302 # When not using gcc, we currently assume that we are using
15303 # Microsoft Visual C++.
15304 if test "$GCC" != yes; then
15309 # we just hope/assume this is gcc and not c89 (= MSVC++)
15318 if test "$with_gnu_ld" = yes; then
15319 # If archive_cmds runs LD, not CC, wlarc should be empty
15322 # Set some defaults for GNU ld with shared library support. These
15323 # are reset later if shared libraries are not supported. Putting them
15324 # here allows them to be overridden if necessary.
15325 runpath_var
=LD_RUN_PATH
15326 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15327 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15328 # ancient GNU ld didn't support --whole-archive et. al.
15329 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15330 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15332 whole_archive_flag_spec_F77
=
15334 supports_anon_versioning
=no
15335 case `$LD -v 2>/dev/null` in
15336 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15337 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15338 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15339 *\
2.11.
*) ;; # other 2.11 versions
15340 *) supports_anon_versioning
=yes ;;
15343 # See if GNU ld supports shared libraries.
15345 aix3
* | aix4
* | aix5
*)
15346 # On AIX/PPC, the GNU linker is very broken
15347 if test "$host_cpu" != ia64
; then
15351 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15352 *** to be unable to reliably create shared libraries on AIX.
15353 *** Therefore, libtool is disabling shared libraries support. If you
15354 *** really care for shared libraries, you may want to modify your PATH
15355 *** so that a non-GNU linker is found, and then restart.
15362 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)'
15363 hardcode_libdir_flag_spec_F77
='-L$libdir'
15364 hardcode_minus_L_F77
=yes
15366 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15367 # that the semantics of dynamic libraries on AmigaOS, at least up
15368 # to version 4, is to share data among multiple programs linked
15369 # with the same dynamic library. Since this doesn't match the
15370 # behavior of shared libraries on other platforms, we can't use
15376 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15377 allow_undefined_flag_F77
=unsupported
15378 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15379 # support --undefined. This deserves some investigation. FIXME
15380 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15386 cygwin
* | mingw
* | pw32
*)
15387 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15388 # as there is no search path for DLLs.
15389 hardcode_libdir_flag_spec_F77
='-L$libdir'
15390 allow_undefined_flag_F77
=unsupported
15391 always_export_symbols_F77
=no
15392 enable_shared_with_static_runtimes_F77
=yes
15393 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15395 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15396 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15397 # If the export-symbols file already is a .def file (1st line
15398 # is EXPORTS), use it as is; otherwise, prepend...
15399 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15400 cp $export_symbols $output_objdir/$soname.def;
15402 echo EXPORTS > $output_objdir/$soname.def;
15403 cat $export_symbols >> $output_objdir/$soname.def;
15405 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15412 hardcode_direct_F77
=no
15413 hardcode_shlibpath_var_F77
=no
15414 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15415 export_dynamic_flag_spec_F77
='${wl}-E'
15416 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15417 # Instead, shared libraries are loaded at an image base (0x10000000 by
15418 # default) and relocated if they conflict, which is a slow very memory
15419 # consuming and fragmenting process. To avoid this, we pick a random,
15420 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15421 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15422 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'
15423 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'
15427 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15429 case $cc_basename,$host_cpu in
15430 pgcc
*) # Portland Group C compiler
15431 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'
15432 tmp_addflag
=' $pic_flag'
15434 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15435 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'
15436 tmp_addflag
=' $pic_flag -Mnomain' ;;
15437 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15438 tmp_addflag
=' -i_dynamic' ;;
15439 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15440 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15441 ifc
* | ifort
*) # Intel Fortran compiler
15442 tmp_addflag
=' -nofor_main' ;;
15444 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15446 if test $supports_anon_versioning = yes; then
15447 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15448 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15449 $echo "local: *; };" >> $output_objdir/$libname.ver~
15450 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15458 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15459 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15462 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15463 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15468 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15472 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15473 *** create shared libraries on Solaris systems. Therefore, libtool
15474 *** is disabling shared libraries support. We urge you to upgrade GNU
15475 *** binutils to release 2.9.1 or newer. Another option is to modify
15476 *** your PATH or compiler configuration so that the native linker is
15477 *** used, and then restart.
15480 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15481 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15482 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15488 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15489 case `$LD -v 2>&1` in
15490 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15494 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15495 *** reliably create shared libraries on SCO systems. Therefore, libtool
15496 *** is disabling shared libraries support. We urge you to upgrade GNU
15497 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15498 *** your PATH or compiler configuration so that the native linker is
15499 *** used, and then restart.
15504 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15505 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15506 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15507 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15516 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15518 hardcode_direct_F77
=yes
15519 hardcode_shlibpath_var_F77
=no
15523 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15524 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15525 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15532 if test "$ld_shlibs_F77" = no
; then
15534 hardcode_libdir_flag_spec_F77
=
15535 export_dynamic_flag_spec_F77
=
15536 whole_archive_flag_spec_F77
=
15539 # PORTME fill in a description of your system's linker (not GNU ld)
15542 allow_undefined_flag_F77
=unsupported
15543 always_export_symbols_F77
=yes
15544 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'
15545 # Note: this linker hardcodes the directories in LIBPATH if there
15546 # are no directories specified by -L.
15547 hardcode_minus_L_F77
=yes
15548 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15549 # Neither direct hardcoding nor static linking is supported with a
15551 hardcode_direct_F77
=unsupported
15556 if test "$host_cpu" = ia64
; then
15557 # On IA64, the linker does run time linking by default, so we don't
15558 # have to do anything special.
15559 aix_use_runtimelinking
=no
15560 exp_sym_flag
='-Bexport'
15563 # If we're using GNU nm, then we don't want the "-C" option.
15564 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15565 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15566 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'
15568 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'
15570 aix_use_runtimelinking
=no
15572 # Test if we are trying to use run time linking or normal
15573 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15574 # need to do runtime linking.
15575 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15576 for ld_flag
in $LDFLAGS; do
15577 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15578 aix_use_runtimelinking
=yes
15585 exp_sym_flag
='-bexport'
15586 no_entry_flag
='-bnoentry'
15589 # When large executables or shared objects are built, AIX ld can
15590 # have problems creating the table of contents. If linking a library
15591 # or program results in "error TOC overflow" add -mminimal-toc to
15592 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15593 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15595 archive_cmds_F77
=''
15596 hardcode_direct_F77
=yes
15597 hardcode_libdir_separator_F77
=':'
15598 link_all_deplibs_F77
=yes
15600 if test "$GCC" = yes; then
15601 case $host_os in aix4.
[012]|aix4.
[012].
*)
15602 # We only want to do this on AIX 4.2 and lower, the check
15603 # below for broken collect2 doesn't work under 4.3+
15604 collect2name
=`${CC} -print-prog-name=collect2`
15605 if test -f "$collect2name" && \
15606 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15608 # We have reworked collect2
15609 hardcode_direct_F77
=yes
15611 # We have old collect2
15612 hardcode_direct_F77
=unsupported
15613 # It fails to find uninstalled libraries when the uninstalled
15614 # path is not listed in the libpath. Setting hardcode_minus_L
15615 # to unsupported forces relinking
15616 hardcode_minus_L_F77
=yes
15617 hardcode_libdir_flag_spec_F77
='-L$libdir'
15618 hardcode_libdir_separator_F77
=
15622 shared_flag
='-shared'
15623 if test "$aix_use_runtimelinking" = yes; then
15624 shared_flag
="$shared_flag "'${wl}-G'
15628 if test "$host_cpu" = ia64
; then
15629 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15630 # chokes on -Wl,-G. The following line is correct:
15633 if test "$aix_use_runtimelinking" = yes; then
15634 shared_flag
='${wl}-G'
15636 shared_flag
='${wl}-bM:SRE'
15641 # It seems that -bexpall does not export symbols beginning with
15642 # underscore (_), so it is better to generate a list of symbols to export.
15643 always_export_symbols_F77
=yes
15644 if test "$aix_use_runtimelinking" = yes; then
15645 # Warning - without using the other runtime loading flags (-brtl),
15646 # -berok will link without error, but may produce a broken library.
15647 allow_undefined_flag_F77
='-berok'
15648 # Determine the default libpath from the value encoded in an empty executable.
15649 cat >conftest.
$ac_ext <<_ACEOF
15654 rm -f conftest.
$ac_objext conftest
$ac_exeext
15655 if { (ac_try
="$ac_link"
15656 case "(($ac_try" in
15657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_link") 2>conftest.er1
15663 grep -v '^ *+' conftest.er1 >conftest.err
15665 cat conftest.err >&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_f77_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest$ac_exeext &&
15671 $as_test_x conftest$ac_exeext; then
15673 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15675 # Check for a 64-bit object if we didn't find anything.
15676 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; }
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.$ac_ext >&5
15685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15686 conftest$ac_exeext conftest.$ac_ext
15687 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15689 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15690 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"
15692 if test "$host_cpu" = ia64; then
15693 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15694 allow_undefined_flag_F77="-z nodefs"
15695 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"
15697 # Determine the default libpath from the value encoded in an empty executable.
15698 cat >conftest.$ac_ext <<_ACEOF
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (ac_try="$ac_link"
15705 case "(($ac_try" in
15706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15707 *) ac_try_echo
=$ac_try;;
15709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15710 (eval "$ac_link") 2>conftest.er1
15712 grep -v '^ *+' conftest.er1
>conftest.err
15714 cat conftest.err
>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } && {
15717 test -z "$ac_f77_werror_flag" ||
15718 test ! -s conftest.err
15719 } && test -s conftest
$ac_exeext &&
15720 $as_test_x conftest
$ac_exeext; then
15722 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15724 # Check for a 64-bit object if we didn't find anything.
15725 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; }
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.
$ac_ext >&5
15734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15735 conftest
$ac_exeext conftest.
$ac_ext
15736 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15738 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15739 # Warning - without using the other run time loading flags,
15740 # -berok will link without error, but may produce a broken library.
15741 no_undefined_flag_F77
=' ${wl}-bernotok'
15742 allow_undefined_flag_F77
=' ${wl}-berok'
15743 # Exported symbols can be pulled into shared objects from archives
15744 whole_archive_flag_spec_F77
='$convenience'
15745 archive_cmds_need_lc_F77
=yes
15746 # This is similar to how AIX traditionally builds its shared libraries.
15747 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'
15753 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)'
15754 hardcode_libdir_flag_spec_F77
='-L$libdir'
15755 hardcode_minus_L_F77
=yes
15756 # see comment about different semantics on the GNU ld section
15761 export_dynamic_flag_spec_F77
=-rdynamic
15764 cygwin
* | mingw
* | pw32
*)
15765 # When not using gcc, we currently assume that we are using
15766 # Microsoft Visual C++.
15767 # hardcode_libdir_flag_spec is actually meaningless, as there is
15768 # no search path for DLLs.
15769 hardcode_libdir_flag_spec_F77
=' '
15770 allow_undefined_flag_F77
=unsupported
15771 # Tell ltmain to make .lib files, not .a files.
15773 # Tell ltmain to make .dll files, not .so files.
15775 # FIXME: Setting linknames here is a bad hack.
15776 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15777 # The linker will automatically build a .lib file if we build a DLL.
15778 old_archive_From_new_cmds_F77
='true'
15779 # FIXME: Should let the user specify the lib program.
15780 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15781 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15782 enable_shared_with_static_runtimes_F77
=yes
15785 darwin
* | rhapsody
*)
15787 rhapsody
* | darwin1.
[012])
15788 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15791 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15792 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15794 case ${MACOSX_DEPLOYMENT_TARGET} in
15796 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15799 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15805 archive_cmds_need_lc_F77
=no
15806 hardcode_direct_F77
=no
15807 hardcode_automatic_F77
=yes
15808 hardcode_shlibpath_var_F77
=unsupported
15809 whole_archive_flag_spec_F77
=''
15810 link_all_deplibs_F77
=yes
15811 if test "$GCC" = yes ; then
15812 output_verbose_link_cmd
='echo'
15813 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15814 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15815 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15816 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}'
15817 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}'
15819 case $cc_basename in
15821 output_verbose_link_cmd
='echo'
15822 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15823 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15824 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15825 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}'
15826 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}'
15836 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15837 hardcode_libdir_flag_spec_F77
='-L$libdir'
15838 hardcode_shlibpath_var_F77
=no
15845 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15846 # support. Future versions do this automatically, but an explicit c++rt0.o
15847 # does not break anything, and helps significantly (at the cost of a little
15850 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15851 hardcode_libdir_flag_spec_F77
='-R$libdir'
15852 hardcode_direct_F77
=yes
15853 hardcode_shlibpath_var_F77
=no
15856 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15858 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15859 hardcode_direct_F77
=yes
15860 hardcode_minus_L_F77
=yes
15861 hardcode_shlibpath_var_F77
=no
15864 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15865 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15866 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15867 hardcode_libdir_flag_spec_F77
='-R$libdir'
15868 hardcode_direct_F77
=yes
15869 hardcode_shlibpath_var_F77
=no
15873 if test "$GCC" = yes; then
15874 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'
15876 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'
15878 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15879 hardcode_libdir_separator_F77
=:
15880 hardcode_direct_F77
=yes
15882 # hardcode_minus_L: Not really in the search PATH,
15883 # but as the default location of the library.
15884 hardcode_minus_L_F77
=yes
15885 export_dynamic_flag_spec_F77
='${wl}-E'
15889 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15890 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15892 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15894 if test "$with_gnu_ld" = no
; then
15895 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15896 hardcode_libdir_separator_F77
=:
15898 hardcode_direct_F77
=yes
15899 export_dynamic_flag_spec_F77
='${wl}-E'
15901 # hardcode_minus_L: Not really in the search PATH,
15902 # but as the default location of the library.
15903 hardcode_minus_L_F77
=yes
15908 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15911 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15914 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15917 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15923 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15926 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15929 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15933 if test "$with_gnu_ld" = no
; then
15934 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15935 hardcode_libdir_separator_F77
=:
15939 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15940 hardcode_direct_F77
=no
15941 hardcode_shlibpath_var_F77
=no
15944 hardcode_direct_F77
=yes
15945 export_dynamic_flag_spec_F77
='${wl}-E'
15947 # hardcode_minus_L: Not really in the search PATH,
15948 # but as the default location of the library.
15949 hardcode_minus_L_F77
=yes
15955 irix5
* | irix6
* | nonstopux
*)
15956 if test "$GCC" = yes; then
15957 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'
15959 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'
15960 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15962 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15963 hardcode_libdir_separator_F77
=:
15964 link_all_deplibs_F77
=yes
15968 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15969 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15971 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15973 hardcode_libdir_flag_spec_F77
='-R$libdir'
15974 hardcode_direct_F77
=yes
15975 hardcode_shlibpath_var_F77
=no
15979 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15980 hardcode_direct_F77
=yes
15981 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15982 hardcode_libdir_separator_F77
=:
15983 hardcode_shlibpath_var_F77
=no
15987 hardcode_direct_F77
=yes
15988 hardcode_shlibpath_var_F77
=no
15989 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15990 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15991 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15992 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15993 export_dynamic_flag_spec_F77
='${wl}-E'
15996 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15997 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15998 hardcode_libdir_flag_spec_F77
='-R$libdir'
16001 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16002 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
16009 hardcode_libdir_flag_spec_F77
='-L$libdir'
16010 hardcode_minus_L_F77
=yes
16011 allow_undefined_flag_F77
=unsupported
16012 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'
16013 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16017 if test "$GCC" = yes; then
16018 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16019 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'
16021 allow_undefined_flag_F77
=' -expect_unresolved \*'
16022 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'
16024 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16025 hardcode_libdir_separator_F77
=:
16028 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16029 if test "$GCC" = yes; then
16030 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16031 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'
16032 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16034 allow_undefined_flag_F77
=' -expect_unresolved \*'
16035 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'
16036 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~
16037 $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'
16039 # Both c and cxx compiler support -rpath directly
16040 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16042 hardcode_libdir_separator_F77
=:
16046 no_undefined_flag_F77
=' -z text'
16047 if test "$GCC" = yes; then
16049 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16050 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16051 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16054 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16055 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16056 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16058 hardcode_libdir_flag_spec_F77
='-R$libdir'
16059 hardcode_shlibpath_var_F77
=no
16061 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16063 # The compiler driver will combine linker options so we
16064 # cannot just pass the convience library names through
16065 # without $wl, iff we do not link with $LD.
16066 # Luckily, gcc supports the same syntax we need for Sun Studio.
16067 # Supported since Solaris 2.6 (maybe 2.5.1?)
16070 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
16072 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' ;;
16075 link_all_deplibs_F77
=yes
16079 if test "x$host_vendor" = xsequent
; then
16080 # Use $CC to link under sequent, because it throws in some extra .o
16081 # files that make .init and .fini sections work.
16082 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16084 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16086 hardcode_libdir_flag_spec_F77
='-L$libdir'
16087 hardcode_direct_F77
=yes
16088 hardcode_minus_L_F77
=yes
16089 hardcode_shlibpath_var_F77
=no
16093 case $host_vendor in
16095 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16096 hardcode_direct_F77
=yes # is this really true???
16099 ## LD is ld it makes a PLAMLIB
16100 ## CC just makes a GrossModule.
16101 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16102 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16103 hardcode_direct_F77
=no
16106 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16107 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16110 runpath_var
='LD_RUN_PATH'
16111 hardcode_shlibpath_var_F77
=no
16115 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16116 hardcode_shlibpath_var_F77
=no
16117 export_dynamic_flag_spec_F77
='-Bexport'
16121 if test -d /usr
/nec
; then
16122 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16123 hardcode_shlibpath_var_F77
=no
16124 runpath_var
=LD_RUN_PATH
16125 hardcode_runpath_var
=yes
16130 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16131 no_undefined_flag_F77
='${wl}-z,text'
16132 archive_cmds_need_lc_F77
=no
16133 hardcode_shlibpath_var_F77
=no
16134 runpath_var
='LD_RUN_PATH'
16136 if test "$GCC" = yes; then
16137 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16138 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16140 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16141 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16145 sysv5
* | sco3.2v5
* | sco5v6
*)
16146 # Note: We can NOT use -z defs as we might desire, because we do not
16147 # link with -lc, and that would cause any symbols used from libc to
16148 # always be unresolved, which means just about no library would
16149 # ever link correctly. If we're not using GNU ld we use -z text
16150 # though, which does catch some bad symbols but isn't as heavy-handed
16152 no_undefined_flag_F77
='${wl}-z,text'
16153 allow_undefined_flag_F77
='${wl}-z,nodefs'
16154 archive_cmds_need_lc_F77
=no
16155 hardcode_shlibpath_var_F77
=no
16156 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16157 hardcode_libdir_separator_F77
=':'
16158 link_all_deplibs_F77
=yes
16159 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16160 runpath_var
='LD_RUN_PATH'
16162 if test "$GCC" = yes; then
16163 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16164 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16166 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16167 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16172 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16173 hardcode_libdir_flag_spec_F77
='-L$libdir'
16174 hardcode_shlibpath_var_F77
=no
16183 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16184 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16185 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16188 # Do we need to explicitly link libc?
16190 case "x$archive_cmds_need_lc_F77" in
16192 # Assume -lc should be added
16193 archive_cmds_need_lc_F77
=yes
16195 if test "$enable_shared" = yes && test "$GCC" = yes; then
16196 case $archive_cmds_F77 in
16198 # FIXME: we may have to deal with multi-command sequences.
16201 # Test whether the compiler implicitly links with -lc since on some
16202 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16203 # to ld, don't add -lc before -lgcc.
16204 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16205 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16207 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); } 2>conftest.err
; then
16216 libobjs
=conftest.
$ac_objext
16218 wl
=$lt_prog_compiler_wl_F77
16219 pic_flag
=$lt_prog_compiler_pic_F77
16225 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16226 allow_undefined_flag_F77
=
16227 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16228 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); }
16233 archive_cmds_need_lc_F77
=no
16235 archive_cmds_need_lc_F77
=yes
16237 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16239 cat conftest.err
1>&5
16242 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16243 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16250 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16251 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16252 library_names_spec
=
16253 libname_spec
='lib$name'
16257 postuninstall_cmds
=
16261 shlibpath_overrides_runpath
=unknown
16263 dynamic_linker
="$host_os ld.so"
16264 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16265 if test "$GCC" = yes; then
16266 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16267 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16268 # if the path contains ";" then we assume it to be the separator
16269 # otherwise default to the standard path separator (i.e. ":") - it is
16270 # assumed that no part of a normal pathname contains ";" but that should
16271 # okay in the real world where ";" in dirpaths is itself problematic.
16272 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16274 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16277 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16279 need_lib_prefix
=unknown
16280 hardcode_into_libs
=no
16282 # when you set need_version to no, make sure it does not cause -set_version
16283 # flags to be left without arguments
16284 need_version
=unknown
16289 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16290 shlibpath_var
=LIBPATH
16292 # AIX 3 has no versioning support, so we append a major version to the name.
16293 soname_spec
='${libname}${release}${shared_ext}$major'
16300 hardcode_into_libs
=yes
16301 if test "$host_cpu" = ia64
; then
16302 # AIX 5 supports IA64
16303 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16304 shlibpath_var
=LD_LIBRARY_PATH
16306 # With GCC up to 2.95.x, collect2 would create an import file
16307 # for dependence libraries. The import file would start with
16308 # the line `#! .'. This would cause the generated library to
16309 # depend on `.', always an invalid library. This was fixed in
16310 # development snapshots of GCC prior to 3.0.
16312 aix4 | aix4.
[01] | aix4.
[01].
*)
16313 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16315 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16318 can_build_shared
=no
16322 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16323 # soname into executable. Probably we can add versioning support to
16324 # collect2, so additional links can be useful in future.
16325 if test "$aix_use_runtimelinking" = yes; then
16326 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16327 # instead of lib<name>.a to let people know that these are not
16328 # typical AIX shared libraries.
16329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16331 # We preserve .a as extension for shared libraries through AIX4.2
16332 # and later when we are not doing run time linking.
16333 library_names_spec
='${libname}${release}.a $libname.a'
16334 soname_spec
='${libname}${release}${shared_ext}$major'
16336 shlibpath_var
=LIBPATH
16341 library_names_spec
='$libname.ixlibrary $libname.a'
16342 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16343 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'
16347 library_names_spec
='${libname}${shared_ext}'
16348 dynamic_linker
="$host_os ld.so"
16349 shlibpath_var
=LIBRARY_PATH
16355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16356 soname_spec
='${libname}${release}${shared_ext}$major'
16357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16358 shlibpath_var
=LD_LIBRARY_PATH
16359 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16360 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16361 # the default ld.so.conf also contains /usr/contrib/lib and
16362 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16363 # libtool to hard-code these into programs
16366 cygwin
* | mingw
* | pw32
*)
16367 version_type
=windows
16372 case $GCC,$host_os in
16373 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16374 library_names_spec
='$libname.dll.a'
16375 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16376 postinstall_cmds
='base_file=`basename \${file}`~
16377 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16378 dldir=$destdir/`dirname \$dlpath`~
16379 test -d \$dldir || mkdir -p \$dldir~
16380 $install_prog $dir/$dlname \$dldir/$dlname~
16381 chmod a+x \$dldir/$dlname'
16382 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16383 dlpath=$dir/\$dldll~
16385 shlibpath_overrides_runpath
=yes
16389 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16390 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16391 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16394 # MinGW DLLs use traditional 'lib' prefix
16395 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16396 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16397 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16398 # It is most probably a Windows format PATH printed by
16399 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16400 # path with ; separators, and with drive letters. We can handle the
16401 # drive letters (cygwin fileutils understands them), so leave them,
16402 # especially as we might pass files found there to a mingw objdump,
16403 # which wouldn't understand a cygwinified path. Ahh.
16404 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16406 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16410 # pw32 DLLs use 'pw' prefix rather than 'lib'
16411 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16417 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16420 dynamic_linker
='Win32 ld.exe'
16421 # FIXME: first we should search . and the directory the executable is in
16425 darwin
* | rhapsody
*)
16426 dynamic_linker
="$host_os dyld"
16427 version_type
=darwin
16430 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16431 soname_spec
='${libname}${release}${major}$shared_ext'
16432 shlibpath_overrides_runpath
=yes
16433 shlibpath_var
=DYLD_LIBRARY_PATH
16434 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16435 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16436 if test "$GCC" = yes; then
16437 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"`
16439 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16441 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16449 soname_spec
='${libname}${release}${shared_ext}$major'
16450 shlibpath_var
=LD_LIBRARY_PATH
16461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16462 soname_spec
='${libname}${release}${shared_ext}$major'
16463 shlibpath_var
=LD_LIBRARY_PATH
16464 shlibpath_overrides_runpath
=no
16465 hardcode_into_libs
=yes
16466 dynamic_linker
='GNU ld.so'
16469 freebsd
* | dragonfly
*)
16470 # DragonFly does not have aout. When/if they implement a new
16471 # versioning mechanism, adjust this.
16472 if test -x /usr
/bin
/objformat
; then
16473 objformat
=`/usr/bin/objformat`
16476 freebsd
[123]*) objformat
=aout
;;
16477 *) objformat
=elf
;;
16480 version_type
=freebsd-
$objformat
16481 case $version_type in
16483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16488 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16492 shlibpath_var
=LD_LIBRARY_PATH
16495 shlibpath_overrides_runpath
=yes
16497 freebsd3.
[01]* | freebsdelf3.
[01]*)
16498 shlibpath_overrides_runpath
=yes
16499 hardcode_into_libs
=yes
16501 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16502 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16503 shlibpath_overrides_runpath
=no
16504 hardcode_into_libs
=yes
16506 freebsd
*) # from 4.6 on
16507 shlibpath_overrides_runpath
=yes
16508 hardcode_into_libs
=yes
16517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16518 soname_spec
='${libname}${release}${shared_ext}$major'
16519 shlibpath_var
=LD_LIBRARY_PATH
16520 hardcode_into_libs
=yes
16523 hpux9
* | hpux10
* | hpux11
*)
16524 # Give a soname corresponding to the major version so that dld.sl refuses to
16525 # link against other versions.
16532 hardcode_into_libs
=yes
16533 dynamic_linker
="$host_os dld.so"
16534 shlibpath_var
=LD_LIBRARY_PATH
16535 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16537 soname_spec
='${libname}${release}${shared_ext}$major'
16538 if test "X$HPUX_IA64_MODE" = X32
; then
16539 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16541 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16543 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16547 hardcode_into_libs
=yes
16548 dynamic_linker
="$host_os dld.sl"
16549 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16550 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16552 soname_spec
='${libname}${release}${shared_ext}$major'
16553 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16554 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16558 dynamic_linker
="$host_os dld.sl"
16559 shlibpath_var
=SHLIB_PATH
16560 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16562 soname_spec
='${libname}${release}${shared_ext}$major'
16565 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16566 postinstall_cmds
='chmod 555 $lib'
16573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16574 soname_spec
='${libname}${release}${shared_ext}$major'
16575 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16576 shlibpath_var
=LD_LIBRARY_PATH
16577 shlibpath_overrides_runpath
=no
16578 hardcode_into_libs
=yes
16581 irix5
* | irix6
* | nonstopux
*)
16583 nonstopux
*) version_type
=nonstopux
;;
16585 if test "$lt_cv_prog_gnu_ld" = yes; then
16593 soname_spec
='${libname}${release}${shared_ext}$major'
16594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16596 irix5
* | nonstopux
*)
16597 libsuff
= shlibsuff
=
16600 case $LD in # libtool.m4 will add one of these switches to LD
16601 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16602 libsuff
= shlibsuff
= libmagic
=32-bit;;
16603 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16604 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16605 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16606 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16607 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16611 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16612 shlibpath_overrides_runpath
=no
16613 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16614 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16615 hardcode_into_libs
=yes
16618 # No shared lib support for Linux oldld, aout, or coff.
16619 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16623 # This must be Linux ELF.
16628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16629 soname_spec
='${libname}${release}${shared_ext}$major'
16630 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16631 shlibpath_var
=LD_LIBRARY_PATH
16632 shlibpath_overrides_runpath
=no
16633 # This implies no fast_install, which is unacceptable.
16634 # Some rework will be needed to allow for fast_install
16635 # before this can be enabled.
16636 hardcode_into_libs
=yes
16638 # find out which ABI we are using
16640 case "$host_cpu" in
16641 x86_64
*|s390x
*|powerpc64
*)
16642 echo '#line 16642 "configure"' > conftest.
$ac_ext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; then
16648 case `/usr/bin/file conftest.$ac_objext` in
16651 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16659 # Append ld.so.conf contents to the search path
16660 if test -f /etc
/ld.so.conf
; then
16661 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' ' '`
16662 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16665 # We used to test for /lib/ld.so.1 and disable shared libraries on
16666 # powerpc, because MkLinux only supported shared libraries with the
16667 # GNU dynamic linker. Since this was broken with cross compilers,
16668 # most powerpc-linux boxes support dynamic linking these days and
16669 # people can always --disable-shared, the test was removed, and we
16670 # assume the GNU/Linux dynamic linker is in use.
16671 dynamic_linker
='GNU/Linux ld.so'
16678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16679 soname_spec
='${libname}${release}${shared_ext}$major'
16680 shlibpath_var
=LD_LIBRARY_PATH
16681 shlibpath_overrides_runpath
=no
16682 hardcode_into_libs
=yes
16683 dynamic_linker
='GNU ld.so'
16690 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16693 dynamic_linker
='NetBSD (a.out) ld.so'
16695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16696 soname_spec
='${libname}${release}${shared_ext}$major'
16697 dynamic_linker
='NetBSD ld.elf_so'
16699 shlibpath_var
=LD_LIBRARY_PATH
16700 shlibpath_overrides_runpath
=yes
16701 hardcode_into_libs
=yes
16706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16707 shlibpath_var
=LD_LIBRARY_PATH
16708 shlibpath_overrides_runpath
=yes
16715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16716 soname_spec
='${libname}${release}${shared_ext}$major'
16717 shlibpath_var
=LD_LIBRARY_PATH
16718 shlibpath_overrides_runpath
=yes
16723 sys_lib_dlsearch_path_spec
="/usr/lib"
16725 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16727 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16728 *) need_version
=no
;;
16730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16731 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16732 shlibpath_var
=LD_LIBRARY_PATH
16733 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16735 openbsd2.
[89] | openbsd2.
[89].
*)
16736 shlibpath_overrides_runpath
=no
16739 shlibpath_overrides_runpath
=yes
16743 shlibpath_overrides_runpath
=yes
16748 libname_spec
='$name'
16751 library_names_spec
='$libname${shared_ext} $libname.a'
16752 dynamic_linker
='OS/2 ld.exe'
16753 shlibpath_var
=LIBPATH
16756 osf3
* | osf4
* | osf5
*)
16760 soname_spec
='${libname}${release}${shared_ext}$major'
16761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16762 shlibpath_var
=LD_LIBRARY_PATH
16763 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16764 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16772 soname_spec
='${libname}${release}${shared_ext}$major'
16773 shlibpath_var
=LD_LIBRARY_PATH
16774 shlibpath_overrides_runpath
=yes
16775 hardcode_into_libs
=yes
16776 # ldd complains unless libraries are executable
16777 postinstall_cmds
='chmod +x $lib'
16782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16783 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16784 shlibpath_var
=LD_LIBRARY_PATH
16785 shlibpath_overrides_runpath
=yes
16786 if test "$with_gnu_ld" = yes; then
16794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16795 soname_spec
='${libname}${release}${shared_ext}$major'
16796 shlibpath_var
=LD_LIBRARY_PATH
16797 case $host_vendor in
16799 shlibpath_overrides_runpath
=no
16801 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16802 runpath_var
=LD_RUN_PATH
16810 shlibpath_overrides_runpath
=no
16811 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16817 if test -d /usr
/nec
;then
16819 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16820 soname_spec
='$libname${shared_ext}.$major'
16821 shlibpath_var
=LD_LIBRARY_PATH
16825 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16826 version_type
=freebsd-elf
16829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16830 soname_spec
='${libname}${release}${shared_ext}$major'
16831 shlibpath_var
=LD_LIBRARY_PATH
16832 hardcode_into_libs
=yes
16833 if test "$with_gnu_ld" = yes; then
16834 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16835 shlibpath_overrides_runpath
=no
16837 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16838 shlibpath_overrides_runpath
=yes
16841 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16845 sys_lib_dlsearch_path_spec
='/usr/lib'
16850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16851 soname_spec
='${libname}${release}${shared_ext}$major'
16852 shlibpath_var
=LD_LIBRARY_PATH
16859 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16860 echo "${ECHO_T}$dynamic_linker" >&6; }
16861 test "$dynamic_linker" = no
&& can_build_shared
=no
16863 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16864 if test "$GCC" = yes; then
16865 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16868 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16869 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16870 hardcode_action_F77
=
16871 if test -n "$hardcode_libdir_flag_spec_F77" || \
16872 test -n "$runpath_var_F77" || \
16873 test "X$hardcode_automatic_F77" = "Xyes" ; then
16875 # We can hardcode non-existant directories.
16876 if test "$hardcode_direct_F77" != no
&&
16877 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16878 # have to relink, otherwise we might link with an installed library
16879 # when we should be linking with a yet-to-be-installed one
16880 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16881 test "$hardcode_minus_L_F77" != no
; then
16882 # Linking always hardcodes the temporary library directory.
16883 hardcode_action_F77
=relink
16885 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16886 hardcode_action_F77
=immediate
16889 # We cannot hardcode anything, or else we can only hardcode existing
16891 hardcode_action_F77
=unsupported
16893 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16894 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16896 if test "$hardcode_action_F77" = relink
; then
16897 # Fast installation is not supported
16898 enable_fast_install
=no
16899 elif test "$shlibpath_overrides_runpath" = yes ||
16900 test "$enable_shared" = no
; then
16901 # Fast installation is not necessary
16902 enable_fast_install
=needless
16906 # The else clause should only fire when bootstrapping the
16907 # libtool distribution, otherwise you forgot to ship ltmain.sh
16908 # with your package, and you will get complaints that there are
16909 # no rules to generate ltmain.sh.
16910 if test -f "$ltmain"; then
16911 # See if we are running on zsh, and set the options which allow our commands through
16912 # without removal of \ escapes.
16913 if test -n "${ZSH_VERSION+set}" ; then
16914 setopt NO_GLOB_SUBST
16916 # Now quote all the things that may contain metacharacters while being
16917 # careful not to overquote the AC_SUBSTed values. We take copies of the
16918 # variables and quote the copies for generation of the libtool script.
16919 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16921 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16922 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16923 deplibs_check_method reload_flag reload_cmds need_locks \
16924 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16925 lt_cv_sys_global_symbol_to_c_name_address \
16926 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16927 old_postinstall_cmds old_postuninstall_cmds \
16931 lt_prog_compiler_wl_F77 \
16932 lt_prog_compiler_pic_F77 \
16933 lt_prog_compiler_static_F77 \
16934 lt_prog_compiler_no_builtin_flag_F77 \
16935 export_dynamic_flag_spec_F77 \
16936 thread_safe_flag_spec_F77 \
16937 whole_archive_flag_spec_F77 \
16938 enable_shared_with_static_runtimes_F77 \
16939 old_archive_cmds_F77 \
16940 old_archive_from_new_cmds_F77 \
16941 predep_objects_F77 \
16942 postdep_objects_F77 \
16945 compiler_lib_search_path_F77 \
16947 archive_expsym_cmds_F77 \
16948 postinstall_cmds_F77 \
16949 postuninstall_cmds_F77 \
16950 old_archive_from_expsyms_cmds_F77 \
16951 allow_undefined_flag_F77 \
16952 no_undefined_flag_F77 \
16953 export_symbols_cmds_F77 \
16954 hardcode_libdir_flag_spec_F77 \
16955 hardcode_libdir_flag_spec_ld_F77 \
16956 hardcode_libdir_separator_F77 \
16957 hardcode_automatic_F77 \
16959 module_expsym_cmds_F77 \
16960 lt_cv_prog_compiler_c_o_F77 \
16961 exclude_expsyms_F77 \
16962 include_expsyms_F77
; do
16965 old_archive_cmds_F77 | \
16966 old_archive_from_new_cmds_F77 | \
16967 archive_cmds_F77 | \
16968 archive_expsym_cmds_F77 | \
16969 module_cmds_F77 | \
16970 module_expsym_cmds_F77 | \
16971 old_archive_from_expsyms_cmds_F77 | \
16972 export_symbols_cmds_F77 | \
16973 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16974 postinstall_cmds | postuninstall_cmds | \
16975 old_postinstall_cmds | old_postuninstall_cmds | \
16976 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16977 # Double-quote double-evaled strings.
16978 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16981 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16987 *'\$0 --fallback-echo"')
16988 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16994 cat <<__EOF__ >> "$cfgfile"
16995 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16997 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16999 # Shell to use when invoking shell scripts.
17002 # Whether or not to build shared libraries.
17003 build_libtool_libs=$enable_shared
17005 # Whether or not to build static libraries.
17006 build_old_libs=$enable_static
17008 # Whether or not to add -lc for building shared libraries.
17009 build_libtool_need_lc=$archive_cmds_need_lc_F77
17011 # Whether or not to disallow shared libs when runtime libs are static
17012 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17014 # Whether or not to optimize for fast installation.
17015 fast_install=$enable_fast_install
17018 host_alias=$host_alias
17022 # The build system.
17023 build_alias=$build_alias
17027 # An echo program that does not interpret backslashes.
17032 AR_FLAGS=$lt_AR_FLAGS
17037 # LTCC compiler flags.
17038 LTCFLAGS=$lt_LTCFLAGS
17040 # A language-specific compiler.
17041 CC=$lt_compiler_F77
17043 # Is the compiler the GNU C compiler?
17049 # The linker used to build libraries.
17052 # Whether we need hard or soft links.
17055 # A BSD-compatible nm program.
17058 # A symbol stripping program
17061 # Used to examine libraries when file_magic_cmd begins "file"
17062 MAGIC_CMD=$MAGIC_CMD
17064 # Used on cygwin: DLL creation program.
17067 # Used on cygwin: object dumper.
17070 # Used on cygwin: assembler.
17073 # The name of the directory that contains temporary libtool files.
17076 # How to create reloadable object files.
17077 reload_flag=$lt_reload_flag
17078 reload_cmds=$lt_reload_cmds
17080 # How to pass a linker flag through the compiler.
17081 wl=$lt_lt_prog_compiler_wl_F77
17083 # Object file suffix (normally "o").
17084 objext="$ac_objext"
17086 # Old archive suffix (normally "a").
17089 # Shared library suffix (normally ".so").
17090 shrext_cmds='$shrext_cmds'
17092 # Executable file suffix (normally "").
17095 # Additional compiler flags for building library objects.
17096 pic_flag=$lt_lt_prog_compiler_pic_F77
17099 # What is the maximum length of a command?
17100 max_cmd_len=$lt_cv_sys_max_cmd_len
17102 # Does compiler simultaneously support -c and -o options?
17103 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17105 # Must we lock files when doing compilation?
17106 need_locks=$lt_need_locks
17108 # Do we need the lib prefix for modules?
17109 need_lib_prefix=$need_lib_prefix
17111 # Do we need a version for libraries?
17112 need_version=$need_version
17114 # Whether dlopen is supported.
17115 dlopen_support=$enable_dlopen
17117 # Whether dlopen of programs is supported.
17118 dlopen_self=$enable_dlopen_self
17120 # Whether dlopen of statically linked programs is supported.
17121 dlopen_self_static=$enable_dlopen_self_static
17123 # Compiler flag to prevent dynamic linking.
17124 link_static_flag=$lt_lt_prog_compiler_static_F77
17126 # Compiler flag to turn off builtin functions.
17127 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17129 # Compiler flag to allow reflexive dlopens.
17130 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17132 # Compiler flag to generate shared objects directly from archives.
17133 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17135 # Compiler flag to generate thread-safe objects.
17136 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17138 # Library versioning type.
17139 version_type=$version_type
17141 # Format of library name prefix.
17142 libname_spec=$lt_libname_spec
17144 # List of archive names. First name is the real one, the rest are links.
17145 # The last name is the one that the linker finds with -lNAME.
17146 library_names_spec=$lt_library_names_spec
17148 # The coded name of the library, if different from the real name.
17149 soname_spec=$lt_soname_spec
17151 # Commands used to build and install an old-style archive.
17153 old_archive_cmds=$lt_old_archive_cmds_F77
17154 old_postinstall_cmds=$lt_old_postinstall_cmds
17155 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17157 # Create an old-style archive from a shared archive.
17158 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17160 # Create a temporary old-style archive to link instead of a shared archive.
17161 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17163 # Commands used to build and install a shared archive.
17164 archive_cmds=$lt_archive_cmds_F77
17165 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17166 postinstall_cmds=$lt_postinstall_cmds
17167 postuninstall_cmds=$lt_postuninstall_cmds
17169 # Commands used to build a loadable module (assumed same as above if empty)
17170 module_cmds=$lt_module_cmds_F77
17171 module_expsym_cmds=$lt_module_expsym_cmds_F77
17173 # Commands to strip libraries.
17174 old_striplib=$lt_old_striplib
17175 striplib=$lt_striplib
17177 # Dependencies to place before the objects being linked to create a
17179 predep_objects=$lt_predep_objects_F77
17181 # Dependencies to place after the objects being linked to create a
17183 postdep_objects=$lt_postdep_objects_F77
17185 # Dependencies to place before the objects being linked to create a
17187 predeps=$lt_predeps_F77
17189 # Dependencies to place after the objects being linked to create a
17191 postdeps=$lt_postdeps_F77
17193 # The library search path used internally by the compiler when linking
17194 # a shared library.
17195 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17197 # Method to check whether dependent libraries are shared objects.
17198 deplibs_check_method=$lt_deplibs_check_method
17200 # Command to use when deplibs_check_method == file_magic.
17201 file_magic_cmd=$lt_file_magic_cmd
17203 # Flag that allows shared libraries with undefined symbols to be built.
17204 allow_undefined_flag=$lt_allow_undefined_flag_F77
17206 # Flag that forces no undefined symbols.
17207 no_undefined_flag=$lt_no_undefined_flag_F77
17209 # Commands used to finish a libtool library installation in a directory.
17210 finish_cmds=$lt_finish_cmds
17212 # Same as above, but a single script fragment to be evaled but not shown.
17213 finish_eval=$lt_finish_eval
17215 # Take the output of nm and produce a listing of raw symbols and C names.
17216 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17218 # Transform the output of nm in a proper C declaration
17219 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17221 # Transform the output of nm in a C name address pair
17222 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17224 # This is the shared library runtime path variable.
17225 runpath_var=$runpath_var
17227 # This is the shared library path variable.
17228 shlibpath_var=$shlibpath_var
17230 # Is shlibpath searched before the hard-coded library search path?
17231 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17233 # How to hardcode a shared library path into an executable.
17234 hardcode_action=$hardcode_action_F77
17236 # Whether we should hardcode library paths into libraries.
17237 hardcode_into_libs=$hardcode_into_libs
17239 # Flag to hardcode \$libdir into a binary during linking.
17240 # This must work even if \$libdir does not exist.
17241 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17243 # If ld is used when linking, flag to hardcode \$libdir into
17244 # a binary during linking. This must work even if \$libdir does
17246 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17248 # Whether we need a single -rpath flag with a separated argument.
17249 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17251 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17252 # resulting binary.
17253 hardcode_direct=$hardcode_direct_F77
17255 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17256 # resulting binary.
17257 hardcode_minus_L=$hardcode_minus_L_F77
17259 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17260 # the resulting binary.
17261 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17263 # Set to yes if building a shared library automatically hardcodes DIR into the library
17264 # and all subsequent libraries and executables linked against it.
17265 hardcode_automatic=$hardcode_automatic_F77
17267 # Variables whose values should be saved in libtool wrapper scripts and
17268 # restored at relink time.
17269 variables_saved_for_relink="$variables_saved_for_relink"
17271 # Whether libtool must link a program against all its dependency libraries.
17272 link_all_deplibs=$link_all_deplibs_F77
17274 # Compile-time system search path for libraries
17275 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17277 # Run-time system search path for libraries
17278 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17280 # Fix the shell variable \$srcfile for the compiler.
17281 fix_srcfile_path="$fix_srcfile_path_F77"
17283 # Set to yes if exported symbols are required.
17284 always_export_symbols=$always_export_symbols_F77
17286 # The commands to list exported symbols.
17287 export_symbols_cmds=$lt_export_symbols_cmds_F77
17289 # The commands to extract the exported symbol list from a shared archive.
17290 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17292 # Symbols that should not be listed in the preloaded symbols.
17293 exclude_expsyms=$lt_exclude_expsyms_F77
17295 # Symbols that must always be exported.
17296 include_expsyms=$lt_include_expsyms_F77
17298 # ### END LIBTOOL TAG CONFIG: $tagname
17304 # If there is no Makefile yet, we rely on a make rule to execute
17305 # `config.status --recheck' to rerun these tests and create the
17306 # libtool script then.
17307 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17308 if test -f "$ltmain_in"; then
17309 test -f Makefile
&& make "$ltmain"
17315 ac_cpp
='$CPP $CPPFLAGS'
17316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17328 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17331 # Source file extension for Java test sources.
17334 # Object file extension for compiled Java test sources.
17338 # Code to be used in simple compile tests
17339 lt_simple_compile_test_code
="class foo {}\n"
17341 # Code to be used in simple link tests
17342 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
17344 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17346 # If no C compiler was specified, use CC.
17349 # If no C compiler flags were specified, use CFLAGS.
17350 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17352 # Allow CC to be a program name with arguments.
17356 # save warnings/boilerplate of simple test code
17357 ac_outfile
=conftest.
$ac_objext
17358 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
17359 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17360 _lt_compiler_boilerplate
=`cat conftest.err`
17363 ac_outfile
=conftest.
$ac_objext
17364 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
17365 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17366 _lt_linker_boilerplate
=`cat conftest.err`
17370 # Allow CC to be a program name with arguments.
17375 for cc_temp
in $compiler""; do
17377 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17378 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17383 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17386 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17387 archive_cmds_need_lc_GCJ
=no
17389 old_archive_cmds_GCJ
=$old_archive_cmds
17392 lt_prog_compiler_no_builtin_flag_GCJ
=
17394 if test "$GCC" = yes; then
17395 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17398 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17399 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17400 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17403 lt_cv_prog_compiler_rtti_exceptions
=no
17404 ac_outfile
=conftest.
$ac_objext
17405 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17406 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17407 # Insert the option either (1) after the last *FLAGS variable, or
17408 # (2) before a word containing "conftest.", or (3) at the end.
17409 # Note that $ac_compile itself does not contain backslashes and begins
17410 # with a dollar sign (not a hyphen), so the echo should work correctly.
17411 # The option is referenced via a variable to avoid confusing sed.
17412 lt_compile
=`echo "$ac_compile" | $SED \
17413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17415 -e 's:$: $lt_compiler_flag:'`
17416 (eval echo "\"\$as_me:17416: $lt_compile\"" >&5)
17417 (eval "$lt_compile" 2>conftest.err
)
17419 cat conftest.err
>&5
17420 echo "$as_me:17420: \$? = $ac_status" >&5
17421 if (exit $ac_status) && test -s "$ac_outfile"; then
17422 # The compiler can only warn and ignore the option if not recognized
17423 # So say no if there are warnings other than the usual output.
17424 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17425 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17426 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17427 lt_cv_prog_compiler_rtti_exceptions
=yes
17433 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17434 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17436 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17437 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17444 lt_prog_compiler_wl_GCJ
=
17445 lt_prog_compiler_pic_GCJ
=
17446 lt_prog_compiler_static_GCJ
=
17448 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17449 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17451 if test "$GCC" = yes; then
17452 lt_prog_compiler_wl_GCJ
='-Wl,'
17453 lt_prog_compiler_static_GCJ
='-static'
17457 # All AIX code is PIC.
17458 if test "$host_cpu" = ia64
; then
17459 # AIX 5 now supports IA64 processor
17460 lt_prog_compiler_static_GCJ
='-Bstatic'
17465 # FIXME: we need at least 68020 code to build shared libraries, but
17466 # adding the `-m68020' flag to GCC prevents building anything better,
17468 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17471 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17472 # PIC is the default for these OSes.
17475 mingw
* | pw32
* | os2
*)
17476 # This hack is so that the source file can tell whether it is being
17477 # built for inclusion in a dll (and should export symbols for example).
17478 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17481 darwin
* | rhapsody
*)
17482 # PIC is the default on this platform
17483 # Common symbols not allowed in MH_DYLIB files
17484 lt_prog_compiler_pic_GCJ
='-fno-common'
17488 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17489 # Instead, we relocate shared libraries at runtime.
17493 # Just because we use GCC doesn't mean we suddenly get shared libraries
17494 # on systems that don't support them.
17495 lt_prog_compiler_can_build_shared_GCJ
=no
17500 if test -d /usr
/nec
; then
17501 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17506 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17507 # not for PA HP-UX.
17513 lt_prog_compiler_pic_GCJ
='-fPIC'
17519 lt_prog_compiler_pic_GCJ
='-fPIC'
17523 # PORTME Check for flag to pass linker flags through the system compiler.
17526 lt_prog_compiler_wl_GCJ
='-Wl,'
17527 if test "$host_cpu" = ia64
; then
17528 # AIX 5 now supports IA64 processor
17529 lt_prog_compiler_static_GCJ
='-Bstatic'
17531 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17535 # PIC is the default on this platform
17536 # Common symbols not allowed in MH_DYLIB files
17537 case $cc_basename in
17539 lt_prog_compiler_pic_GCJ
='-qnocommon'
17540 lt_prog_compiler_wl_GCJ
='-Wl,'
17545 mingw
* | pw32
* | os2
*)
17546 # This hack is so that the source file can tell whether it is being
17547 # built for inclusion in a dll (and should export symbols for example).
17548 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17551 hpux9
* | hpux10
* | hpux11
*)
17552 lt_prog_compiler_wl_GCJ
='-Wl,'
17553 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17554 # not for PA HP-UX.
17560 lt_prog_compiler_pic_GCJ
='+Z'
17563 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17564 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17567 irix5
* | irix6
* | nonstopux
*)
17568 lt_prog_compiler_wl_GCJ
='-Wl,'
17569 # PIC (with -KPIC) is the default.
17570 lt_prog_compiler_static_GCJ
='-non_shared'
17574 lt_prog_compiler_pic_GCJ
='-KPIC'
17575 lt_prog_compiler_static_GCJ
='-Bstatic'
17579 case $cc_basename in
17581 lt_prog_compiler_wl_GCJ
='-Wl,'
17582 lt_prog_compiler_pic_GCJ
='-KPIC'
17583 lt_prog_compiler_static_GCJ
='-static'
17585 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17586 # Portland Group compilers (*not* the Pentium gcc compiler,
17587 # which looks to be a dead project)
17588 lt_prog_compiler_wl_GCJ
='-Wl,'
17589 lt_prog_compiler_pic_GCJ
='-fpic'
17590 lt_prog_compiler_static_GCJ
='-Bstatic'
17593 lt_prog_compiler_wl_GCJ
='-Wl,'
17594 # All Alpha code is PIC.
17595 lt_prog_compiler_static_GCJ
='-non_shared'
17600 osf3
* | osf4
* | osf5
*)
17601 lt_prog_compiler_wl_GCJ
='-Wl,'
17602 # All OSF/1 code is PIC.
17603 lt_prog_compiler_static_GCJ
='-non_shared'
17607 lt_prog_compiler_pic_GCJ
='-KPIC'
17608 lt_prog_compiler_static_GCJ
='-Bstatic'
17609 case $cc_basename in
17610 f77
* | f90
* | f95
*)
17611 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17613 lt_prog_compiler_wl_GCJ
='-Wl,';;
17618 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17619 lt_prog_compiler_pic_GCJ
='-PIC'
17620 lt_prog_compiler_static_GCJ
='-Bstatic'
17623 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17624 lt_prog_compiler_wl_GCJ
='-Wl,'
17625 lt_prog_compiler_pic_GCJ
='-KPIC'
17626 lt_prog_compiler_static_GCJ
='-Bstatic'
17630 if test -d /usr
/nec
;then
17631 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17632 lt_prog_compiler_static_GCJ
='-Bstatic'
17636 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17637 lt_prog_compiler_wl_GCJ
='-Wl,'
17638 lt_prog_compiler_pic_GCJ
='-KPIC'
17639 lt_prog_compiler_static_GCJ
='-Bstatic'
17643 lt_prog_compiler_wl_GCJ
='-Wl,'
17644 lt_prog_compiler_can_build_shared_GCJ
=no
17648 lt_prog_compiler_pic_GCJ
='-pic'
17649 lt_prog_compiler_static_GCJ
='-Bstatic'
17653 lt_prog_compiler_can_build_shared_GCJ
=no
17658 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17659 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17662 # Check to make sure the PIC flag actually works.
17664 if test -n "$lt_prog_compiler_pic_GCJ"; then
17666 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17667 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17668 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17669 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 lt_prog_compiler_pic_works_GCJ
=no
17672 ac_outfile
=conftest.
$ac_objext
17673 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17674 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17675 # Insert the option either (1) after the last *FLAGS variable, or
17676 # (2) before a word containing "conftest.", or (3) at the end.
17677 # Note that $ac_compile itself does not contain backslashes and begins
17678 # with a dollar sign (not a hyphen), so the echo should work correctly.
17679 # The option is referenced via a variable to avoid confusing sed.
17680 lt_compile
=`echo "$ac_compile" | $SED \
17681 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17683 -e 's:$: $lt_compiler_flag:'`
17684 (eval echo "\"\$as_me:17684: $lt_compile\"" >&5)
17685 (eval "$lt_compile" 2>conftest.err
)
17687 cat conftest.err
>&5
17688 echo "$as_me:17688: \$? = $ac_status" >&5
17689 if (exit $ac_status) && test -s "$ac_outfile"; then
17690 # The compiler can only warn and ignore the option if not recognized
17691 # So say no if there are warnings other than the usual output.
17692 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17693 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17694 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17695 lt_prog_compiler_pic_works_GCJ
=yes
17701 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17702 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17704 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17705 case $lt_prog_compiler_pic_GCJ in
17707 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17710 lt_prog_compiler_pic_GCJ
=
17711 lt_prog_compiler_can_build_shared_GCJ
=no
17716 # For platforms which do not support PIC, -DPIC is meaningless:
17718 lt_prog_compiler_pic_GCJ
=
17721 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17726 # Check to make sure the static flag actually works.
17728 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17729 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17730 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17731 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 lt_prog_compiler_static_works_GCJ
=no
17735 save_LDFLAGS
="$LDFLAGS"
17736 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17737 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
17738 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17739 # The linker can only warn and ignore the option if not recognized
17740 # So say no if there are warnings
17741 if test -s conftest.err
; then
17742 # Append any errors to the config.log.
17743 cat conftest.err
1>&5
17744 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17745 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17746 if diff conftest.exp conftest.er2
>/dev
/null
; then
17747 lt_prog_compiler_static_works_GCJ
=yes
17750 lt_prog_compiler_static_works_GCJ
=yes
17754 LDFLAGS
="$save_LDFLAGS"
17757 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17758 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17760 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17763 lt_prog_compiler_static_GCJ
=
17767 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17768 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17769 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17772 lt_cv_prog_compiler_c_o_GCJ
=no
17773 $rm -r conftest
2>/dev
/null
17777 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17779 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17780 # Insert the option either (1) after the last *FLAGS variable, or
17781 # (2) before a word containing "conftest.", or (3) at the end.
17782 # Note that $ac_compile itself does not contain backslashes and begins
17783 # with a dollar sign (not a hyphen), so the echo should work correctly.
17784 lt_compile
=`echo "$ac_compile" | $SED \
17785 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17786 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17787 -e 's:$: $lt_compiler_flag:'`
17788 (eval echo "\"\$as_me:17788: $lt_compile\"" >&5)
17789 (eval "$lt_compile" 2>out
/conftest.err
)
17791 cat out
/conftest.err
>&5
17792 echo "$as_me:17792: \$? = $ac_status" >&5
17793 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17795 # The compiler can only warn and ignore the option if not recognized
17796 # So say no if there are warnings
17797 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17798 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17799 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17800 lt_cv_prog_compiler_c_o_GCJ
=yes
17805 # SGI C++ compiler will create directory out/ii_files/ for
17806 # template instantiation
17807 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17808 $rm out
/* && rmdir out
17814 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17815 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17818 hard_links
="nottested"
17819 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17820 # do not overwrite the value of need_locks provided by the user
17821 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17822 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17825 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17827 ln conftest.a conftest.b
2>&5 || hard_links
=no
17828 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17829 { echo "$as_me:$LINENO: result: $hard_links" >&5
17830 echo "${ECHO_T}$hard_links" >&6; }
17831 if test "$hard_links" = no
; then
17832 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17833 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17840 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17841 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17844 allow_undefined_flag_GCJ
=
17845 enable_shared_with_static_runtimes_GCJ
=no
17847 archive_expsym_cmds_GCJ
=
17848 old_archive_From_new_cmds_GCJ
=
17849 old_archive_from_expsyms_cmds_GCJ
=
17850 export_dynamic_flag_spec_GCJ
=
17851 whole_archive_flag_spec_GCJ
=
17852 thread_safe_flag_spec_GCJ
=
17853 hardcode_libdir_flag_spec_GCJ
=
17854 hardcode_libdir_flag_spec_ld_GCJ
=
17855 hardcode_libdir_separator_GCJ
=
17856 hardcode_direct_GCJ
=no
17857 hardcode_minus_L_GCJ
=no
17858 hardcode_shlibpath_var_GCJ
=unsupported
17859 link_all_deplibs_GCJ
=unknown
17860 hardcode_automatic_GCJ
=no
17862 module_expsym_cmds_GCJ
=
17863 always_export_symbols_GCJ
=no
17864 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17865 # include_expsyms should be a list of space-separated symbols to be *always*
17866 # included in the symbol list
17867 include_expsyms_GCJ
=
17868 # exclude_expsyms can be an extended regexp of symbols to exclude
17869 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17870 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17871 # as well as any symbol that contains `d'.
17872 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17873 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17874 # platforms (ab)use it in PIC code, but their linkers get confused if
17875 # the symbol is explicitly referenced. Since portable code cannot
17876 # rely on this symbol name, it's probably fine to never include it in
17877 # preloaded symbol tables.
17878 extract_expsyms_cmds
=
17879 # Just being paranoid about ensuring that cc_basename is set.
17880 for cc_temp
in $compiler""; do
17882 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17883 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17888 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17891 cygwin
* | mingw
* | pw32
*)
17892 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17893 # When not using gcc, we currently assume that we are using
17894 # Microsoft Visual C++.
17895 if test "$GCC" != yes; then
17900 # we just hope/assume this is gcc and not c89 (= MSVC++)
17909 if test "$with_gnu_ld" = yes; then
17910 # If archive_cmds runs LD, not CC, wlarc should be empty
17913 # Set some defaults for GNU ld with shared library support. These
17914 # are reset later if shared libraries are not supported. Putting them
17915 # here allows them to be overridden if necessary.
17916 runpath_var
=LD_RUN_PATH
17917 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17918 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17919 # ancient GNU ld didn't support --whole-archive et. al.
17920 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17921 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17923 whole_archive_flag_spec_GCJ
=
17925 supports_anon_versioning
=no
17926 case `$LD -v 2>/dev/null` in
17927 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17928 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17929 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17930 *\
2.11.
*) ;; # other 2.11 versions
17931 *) supports_anon_versioning
=yes ;;
17934 # See if GNU ld supports shared libraries.
17936 aix3
* | aix4
* | aix5
*)
17937 # On AIX/PPC, the GNU linker is very broken
17938 if test "$host_cpu" != ia64
; then
17942 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17943 *** to be unable to reliably create shared libraries on AIX.
17944 *** Therefore, libtool is disabling shared libraries support. If you
17945 *** really care for shared libraries, you may want to modify your PATH
17946 *** so that a non-GNU linker is found, and then restart.
17953 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)'
17954 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17955 hardcode_minus_L_GCJ
=yes
17957 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17958 # that the semantics of dynamic libraries on AmigaOS, at least up
17959 # to version 4, is to share data among multiple programs linked
17960 # with the same dynamic library. Since this doesn't match the
17961 # behavior of shared libraries on other platforms, we can't use
17967 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17968 allow_undefined_flag_GCJ
=unsupported
17969 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17970 # support --undefined. This deserves some investigation. FIXME
17971 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17977 cygwin
* | mingw
* | pw32
*)
17978 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17979 # as there is no search path for DLLs.
17980 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17981 allow_undefined_flag_GCJ
=unsupported
17982 always_export_symbols_GCJ
=no
17983 enable_shared_with_static_runtimes_GCJ
=yes
17984 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17986 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17987 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17988 # If the export-symbols file already is a .def file (1st line
17989 # is EXPORTS), use it as is; otherwise, prepend...
17990 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17991 cp $export_symbols $output_objdir/$soname.def;
17993 echo EXPORTS > $output_objdir/$soname.def;
17994 cat $export_symbols >> $output_objdir/$soname.def;
17996 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18003 hardcode_direct_GCJ
=no
18004 hardcode_shlibpath_var_GCJ
=no
18005 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18006 export_dynamic_flag_spec_GCJ
='${wl}-E'
18007 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18008 # Instead, shared libraries are loaded at an image base (0x10000000 by
18009 # default) and relocated if they conflict, which is a slow very memory
18010 # consuming and fragmenting process. To avoid this, we pick a random,
18011 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18012 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18013 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'
18014 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'
18018 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18020 case $cc_basename,$host_cpu in
18021 pgcc
*) # Portland Group C compiler
18022 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'
18023 tmp_addflag
=' $pic_flag'
18025 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
18026 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'
18027 tmp_addflag
=' $pic_flag -Mnomain' ;;
18028 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18029 tmp_addflag
=' -i_dynamic' ;;
18030 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18031 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18032 ifc
* | ifort
*) # Intel Fortran compiler
18033 tmp_addflag
=' -nofor_main' ;;
18035 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18037 if test $supports_anon_versioning = yes; then
18038 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
18039 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18040 $echo "local: *; };" >> $output_objdir/$libname.ver~
18041 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18049 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18050 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18053 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18054 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18059 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18063 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18064 *** create shared libraries on Solaris systems. Therefore, libtool
18065 *** is disabling shared libraries support. We urge you to upgrade GNU
18066 *** binutils to release 2.9.1 or newer. Another option is to modify
18067 *** your PATH or compiler configuration so that the native linker is
18068 *** used, and then restart.
18071 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18072 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18073 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18079 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18080 case `$LD -v 2>&1` in
18081 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18085 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18086 *** reliably create shared libraries on SCO systems. Therefore, libtool
18087 *** is disabling shared libraries support. We urge you to upgrade GNU
18088 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18089 *** your PATH or compiler configuration so that the native linker is
18090 *** used, and then restart.
18095 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18096 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18097 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18098 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18107 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18109 hardcode_direct_GCJ
=yes
18110 hardcode_shlibpath_var_GCJ
=no
18114 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18115 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18116 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18123 if test "$ld_shlibs_GCJ" = no
; then
18125 hardcode_libdir_flag_spec_GCJ
=
18126 export_dynamic_flag_spec_GCJ
=
18127 whole_archive_flag_spec_GCJ
=
18130 # PORTME fill in a description of your system's linker (not GNU ld)
18133 allow_undefined_flag_GCJ
=unsupported
18134 always_export_symbols_GCJ
=yes
18135 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'
18136 # Note: this linker hardcodes the directories in LIBPATH if there
18137 # are no directories specified by -L.
18138 hardcode_minus_L_GCJ
=yes
18139 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18140 # Neither direct hardcoding nor static linking is supported with a
18142 hardcode_direct_GCJ
=unsupported
18147 if test "$host_cpu" = ia64
; then
18148 # On IA64, the linker does run time linking by default, so we don't
18149 # have to do anything special.
18150 aix_use_runtimelinking
=no
18151 exp_sym_flag
='-Bexport'
18154 # If we're using GNU nm, then we don't want the "-C" option.
18155 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18156 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18157 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'
18159 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'
18161 aix_use_runtimelinking
=no
18163 # Test if we are trying to use run time linking or normal
18164 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18165 # need to do runtime linking.
18166 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
18167 for ld_flag
in $LDFLAGS; do
18168 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18169 aix_use_runtimelinking
=yes
18176 exp_sym_flag
='-bexport'
18177 no_entry_flag
='-bnoentry'
18180 # When large executables or shared objects are built, AIX ld can
18181 # have problems creating the table of contents. If linking a library
18182 # or program results in "error TOC overflow" add -mminimal-toc to
18183 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18184 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18186 archive_cmds_GCJ
=''
18187 hardcode_direct_GCJ
=yes
18188 hardcode_libdir_separator_GCJ
=':'
18189 link_all_deplibs_GCJ
=yes
18191 if test "$GCC" = yes; then
18192 case $host_os in aix4.
[012]|aix4.
[012].
*)
18193 # We only want to do this on AIX 4.2 and lower, the check
18194 # below for broken collect2 doesn't work under 4.3+
18195 collect2name
=`${CC} -print-prog-name=collect2`
18196 if test -f "$collect2name" && \
18197 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
18199 # We have reworked collect2
18200 hardcode_direct_GCJ
=yes
18202 # We have old collect2
18203 hardcode_direct_GCJ
=unsupported
18204 # It fails to find uninstalled libraries when the uninstalled
18205 # path is not listed in the libpath. Setting hardcode_minus_L
18206 # to unsupported forces relinking
18207 hardcode_minus_L_GCJ
=yes
18208 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18209 hardcode_libdir_separator_GCJ
=
18213 shared_flag
='-shared'
18214 if test "$aix_use_runtimelinking" = yes; then
18215 shared_flag
="$shared_flag "'${wl}-G'
18219 if test "$host_cpu" = ia64
; then
18220 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18221 # chokes on -Wl,-G. The following line is correct:
18224 if test "$aix_use_runtimelinking" = yes; then
18225 shared_flag
='${wl}-G'
18227 shared_flag
='${wl}-bM:SRE'
18232 # It seems that -bexpall does not export symbols beginning with
18233 # underscore (_), so it is better to generate a list of symbols to export.
18234 always_export_symbols_GCJ
=yes
18235 if test "$aix_use_runtimelinking" = yes; then
18236 # Warning - without using the other runtime loading flags (-brtl),
18237 # -berok will link without error, but may produce a broken library.
18238 allow_undefined_flag_GCJ
='-berok'
18239 # Determine the default libpath from the value encoded in an empty executable.
18240 cat >conftest.
$ac_ext <<_ACEOF
18243 cat confdefs.h
>>conftest.
$ac_ext
18244 cat >>conftest.
$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18255 rm -f conftest.
$ac_objext conftest
$ac_exeext
18256 if { (ac_try
="$ac_link"
18257 case "(($ac_try" in
18258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_link") 2>conftest.er1
18264 grep -v '^ *+' conftest.er1 >conftest.err
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } && {
18269 test -z "$ac_c_werror_flag" ||
18270 test ! -s conftest.err
18271 } && test -s conftest$ac_exeext &&
18272 $as_test_x conftest$ac_exeext; then
18274 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18276 # Check for a 64-bit object if we didn't find anything.
18277 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; }
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18287 conftest$ac_exeext conftest.$ac_ext
18288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18290 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18291 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"
18293 if test "$host_cpu" = ia64; then
18294 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18295 allow_undefined_flag_GCJ="-z nodefs"
18296 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"
18298 # Determine the default libpath from the value encoded in an empty executable.
18299 cat >conftest.$ac_ext <<_ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18314 rm -f conftest.$ac_objext conftest$ac_exeext
18315 if { (ac_try="$ac_link"
18316 case "(($ac_try" in
18317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18318 *) ac_try_echo
=$ac_try;;
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_link") 2>conftest.er1
18323 grep -v '^ *+' conftest.er1
>conftest.err
18325 cat conftest.err
>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } && {
18328 test -z "$ac_c_werror_flag" ||
18329 test ! -s conftest.err
18330 } && test -s conftest
$ac_exeext &&
18331 $as_test_x conftest
$ac_exeext; then
18333 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18335 # Check for a 64-bit object if we didn't find anything.
18336 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; }
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.
$ac_ext >&5
18345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18346 conftest
$ac_exeext conftest.
$ac_ext
18347 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18349 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18350 # Warning - without using the other run time loading flags,
18351 # -berok will link without error, but may produce a broken library.
18352 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18353 allow_undefined_flag_GCJ
=' ${wl}-berok'
18354 # Exported symbols can be pulled into shared objects from archives
18355 whole_archive_flag_spec_GCJ
='$convenience'
18356 archive_cmds_need_lc_GCJ
=yes
18357 # This is similar to how AIX traditionally builds its shared libraries.
18358 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'
18364 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)'
18365 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18366 hardcode_minus_L_GCJ
=yes
18367 # see comment about different semantics on the GNU ld section
18372 export_dynamic_flag_spec_GCJ
=-rdynamic
18375 cygwin
* | mingw
* | pw32
*)
18376 # When not using gcc, we currently assume that we are using
18377 # Microsoft Visual C++.
18378 # hardcode_libdir_flag_spec is actually meaningless, as there is
18379 # no search path for DLLs.
18380 hardcode_libdir_flag_spec_GCJ
=' '
18381 allow_undefined_flag_GCJ
=unsupported
18382 # Tell ltmain to make .lib files, not .a files.
18384 # Tell ltmain to make .dll files, not .so files.
18386 # FIXME: Setting linknames here is a bad hack.
18387 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18388 # The linker will automatically build a .lib file if we build a DLL.
18389 old_archive_From_new_cmds_GCJ
='true'
18390 # FIXME: Should let the user specify the lib program.
18391 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
18392 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18393 enable_shared_with_static_runtimes_GCJ
=yes
18396 darwin
* | rhapsody
*)
18398 rhapsody
* | darwin1.
[012])
18399 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18402 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18403 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18405 case ${MACOSX_DEPLOYMENT_TARGET} in
18407 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18410 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18416 archive_cmds_need_lc_GCJ
=no
18417 hardcode_direct_GCJ
=no
18418 hardcode_automatic_GCJ
=yes
18419 hardcode_shlibpath_var_GCJ
=unsupported
18420 whole_archive_flag_spec_GCJ
=''
18421 link_all_deplibs_GCJ
=yes
18422 if test "$GCC" = yes ; then
18423 output_verbose_link_cmd
='echo'
18424 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18425 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18426 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18427 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}'
18428 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}'
18430 case $cc_basename in
18432 output_verbose_link_cmd
='echo'
18433 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18434 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18435 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18436 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}'
18437 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}'
18447 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18448 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18449 hardcode_shlibpath_var_GCJ
=no
18456 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18457 # support. Future versions do this automatically, but an explicit c++rt0.o
18458 # does not break anything, and helps significantly (at the cost of a little
18461 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18462 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18463 hardcode_direct_GCJ
=yes
18464 hardcode_shlibpath_var_GCJ
=no
18467 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18469 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18470 hardcode_direct_GCJ
=yes
18471 hardcode_minus_L_GCJ
=yes
18472 hardcode_shlibpath_var_GCJ
=no
18475 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18476 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
18477 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18478 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18479 hardcode_direct_GCJ
=yes
18480 hardcode_shlibpath_var_GCJ
=no
18484 if test "$GCC" = yes; then
18485 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'
18487 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'
18489 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18490 hardcode_libdir_separator_GCJ
=:
18491 hardcode_direct_GCJ
=yes
18493 # hardcode_minus_L: Not really in the search PATH,
18494 # but as the default location of the library.
18495 hardcode_minus_L_GCJ
=yes
18496 export_dynamic_flag_spec_GCJ
='${wl}-E'
18500 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18501 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18503 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18505 if test "$with_gnu_ld" = no
; then
18506 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18507 hardcode_libdir_separator_GCJ
=:
18509 hardcode_direct_GCJ
=yes
18510 export_dynamic_flag_spec_GCJ
='${wl}-E'
18512 # hardcode_minus_L: Not really in the search PATH,
18513 # but as the default location of the library.
18514 hardcode_minus_L_GCJ
=yes
18519 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18522 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18525 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18528 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18534 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18537 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18540 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18544 if test "$with_gnu_ld" = no
; then
18545 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18546 hardcode_libdir_separator_GCJ
=:
18550 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18551 hardcode_direct_GCJ
=no
18552 hardcode_shlibpath_var_GCJ
=no
18555 hardcode_direct_GCJ
=yes
18556 export_dynamic_flag_spec_GCJ
='${wl}-E'
18558 # hardcode_minus_L: Not really in the search PATH,
18559 # but as the default location of the library.
18560 hardcode_minus_L_GCJ
=yes
18566 irix5
* | irix6
* | nonstopux
*)
18567 if test "$GCC" = yes; then
18568 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'
18570 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'
18571 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18573 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18574 hardcode_libdir_separator_GCJ
=:
18575 link_all_deplibs_GCJ
=yes
18579 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18580 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18582 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18584 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18585 hardcode_direct_GCJ
=yes
18586 hardcode_shlibpath_var_GCJ
=no
18590 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18591 hardcode_direct_GCJ
=yes
18592 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18593 hardcode_libdir_separator_GCJ
=:
18594 hardcode_shlibpath_var_GCJ
=no
18598 hardcode_direct_GCJ
=yes
18599 hardcode_shlibpath_var_GCJ
=no
18600 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18601 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18602 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18603 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18604 export_dynamic_flag_spec_GCJ
='${wl}-E'
18607 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18608 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18609 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18612 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18613 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18620 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18621 hardcode_minus_L_GCJ
=yes
18622 allow_undefined_flag_GCJ
=unsupported
18623 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'
18624 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18628 if test "$GCC" = yes; then
18629 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18630 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'
18632 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18633 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'
18635 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18636 hardcode_libdir_separator_GCJ
=:
18639 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18640 if test "$GCC" = yes; then
18641 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18642 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'
18643 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18645 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18646 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'
18647 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~
18648 $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'
18650 # Both c and cxx compiler support -rpath directly
18651 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18653 hardcode_libdir_separator_GCJ
=:
18657 no_undefined_flag_GCJ
=' -z text'
18658 if test "$GCC" = yes; then
18660 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18661 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18662 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18665 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18666 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18667 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18669 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18670 hardcode_shlibpath_var_GCJ
=no
18672 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18674 # The compiler driver will combine linker options so we
18675 # cannot just pass the convience library names through
18676 # without $wl, iff we do not link with $LD.
18677 # Luckily, gcc supports the same syntax we need for Sun Studio.
18678 # Supported since Solaris 2.6 (maybe 2.5.1?)
18681 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
18683 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' ;;
18686 link_all_deplibs_GCJ
=yes
18690 if test "x$host_vendor" = xsequent
; then
18691 # Use $CC to link under sequent, because it throws in some extra .o
18692 # files that make .init and .fini sections work.
18693 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18695 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18697 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18698 hardcode_direct_GCJ
=yes
18699 hardcode_minus_L_GCJ
=yes
18700 hardcode_shlibpath_var_GCJ
=no
18704 case $host_vendor in
18706 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18707 hardcode_direct_GCJ
=yes # is this really true???
18710 ## LD is ld it makes a PLAMLIB
18711 ## CC just makes a GrossModule.
18712 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18713 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18714 hardcode_direct_GCJ
=no
18717 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18718 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18721 runpath_var
='LD_RUN_PATH'
18722 hardcode_shlibpath_var_GCJ
=no
18726 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18727 hardcode_shlibpath_var_GCJ
=no
18728 export_dynamic_flag_spec_GCJ
='-Bexport'
18732 if test -d /usr
/nec
; then
18733 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18734 hardcode_shlibpath_var_GCJ
=no
18735 runpath_var
=LD_RUN_PATH
18736 hardcode_runpath_var
=yes
18741 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
18742 no_undefined_flag_GCJ
='${wl}-z,text'
18743 archive_cmds_need_lc_GCJ
=no
18744 hardcode_shlibpath_var_GCJ
=no
18745 runpath_var
='LD_RUN_PATH'
18747 if test "$GCC" = yes; then
18748 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18749 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18751 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18752 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18756 sysv5
* | sco3.2v5
* | sco5v6
*)
18757 # Note: We can NOT use -z defs as we might desire, because we do not
18758 # link with -lc, and that would cause any symbols used from libc to
18759 # always be unresolved, which means just about no library would
18760 # ever link correctly. If we're not using GNU ld we use -z text
18761 # though, which does catch some bad symbols but isn't as heavy-handed
18763 no_undefined_flag_GCJ
='${wl}-z,text'
18764 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18765 archive_cmds_need_lc_GCJ
=no
18766 hardcode_shlibpath_var_GCJ
=no
18767 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18768 hardcode_libdir_separator_GCJ
=':'
18769 link_all_deplibs_GCJ
=yes
18770 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18771 runpath_var
='LD_RUN_PATH'
18773 if test "$GCC" = yes; then
18774 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18775 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18777 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18778 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18783 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18784 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18785 hardcode_shlibpath_var_GCJ
=no
18794 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18795 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18796 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18799 # Do we need to explicitly link libc?
18801 case "x$archive_cmds_need_lc_GCJ" in
18803 # Assume -lc should be added
18804 archive_cmds_need_lc_GCJ
=yes
18806 if test "$enable_shared" = yes && test "$GCC" = yes; then
18807 case $archive_cmds_GCJ in
18809 # FIXME: we may have to deal with multi-command sequences.
18812 # Test whether the compiler implicitly links with -lc since on some
18813 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18814 # to ld, don't add -lc before -lgcc.
18815 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18816 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18818 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } 2>conftest.err
; then
18827 libobjs
=conftest.
$ac_objext
18829 wl
=$lt_prog_compiler_wl_GCJ
18830 pic_flag
=$lt_prog_compiler_pic_GCJ
18836 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18837 allow_undefined_flag_GCJ
=
18838 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18839 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }
18844 archive_cmds_need_lc_GCJ
=no
18846 archive_cmds_need_lc_GCJ
=yes
18848 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18850 cat conftest.err
1>&5
18853 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18854 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18861 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18862 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18863 library_names_spec
=
18864 libname_spec
='lib$name'
18868 postuninstall_cmds
=
18872 shlibpath_overrides_runpath
=unknown
18874 dynamic_linker
="$host_os ld.so"
18875 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18876 if test "$GCC" = yes; then
18877 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18878 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18879 # if the path contains ";" then we assume it to be the separator
18880 # otherwise default to the standard path separator (i.e. ":") - it is
18881 # assumed that no part of a normal pathname contains ";" but that should
18882 # okay in the real world where ";" in dirpaths is itself problematic.
18883 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18885 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18888 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18890 need_lib_prefix
=unknown
18891 hardcode_into_libs
=no
18893 # when you set need_version to no, make sure it does not cause -set_version
18894 # flags to be left without arguments
18895 need_version
=unknown
18900 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18901 shlibpath_var
=LIBPATH
18903 # AIX 3 has no versioning support, so we append a major version to the name.
18904 soname_spec
='${libname}${release}${shared_ext}$major'
18911 hardcode_into_libs
=yes
18912 if test "$host_cpu" = ia64
; then
18913 # AIX 5 supports IA64
18914 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18915 shlibpath_var
=LD_LIBRARY_PATH
18917 # With GCC up to 2.95.x, collect2 would create an import file
18918 # for dependence libraries. The import file would start with
18919 # the line `#! .'. This would cause the generated library to
18920 # depend on `.', always an invalid library. This was fixed in
18921 # development snapshots of GCC prior to 3.0.
18923 aix4 | aix4.
[01] | aix4.
[01].
*)
18924 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18926 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18929 can_build_shared
=no
18933 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18934 # soname into executable. Probably we can add versioning support to
18935 # collect2, so additional links can be useful in future.
18936 if test "$aix_use_runtimelinking" = yes; then
18937 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18938 # instead of lib<name>.a to let people know that these are not
18939 # typical AIX shared libraries.
18940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18942 # We preserve .a as extension for shared libraries through AIX4.2
18943 # and later when we are not doing run time linking.
18944 library_names_spec
='${libname}${release}.a $libname.a'
18945 soname_spec
='${libname}${release}${shared_ext}$major'
18947 shlibpath_var
=LIBPATH
18952 library_names_spec
='$libname.ixlibrary $libname.a'
18953 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18954 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'
18958 library_names_spec
='${libname}${shared_ext}'
18959 dynamic_linker
="$host_os ld.so"
18960 shlibpath_var
=LIBRARY_PATH
18966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18967 soname_spec
='${libname}${release}${shared_ext}$major'
18968 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18969 shlibpath_var
=LD_LIBRARY_PATH
18970 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18971 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18972 # the default ld.so.conf also contains /usr/contrib/lib and
18973 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18974 # libtool to hard-code these into programs
18977 cygwin
* | mingw
* | pw32
*)
18978 version_type
=windows
18983 case $GCC,$host_os in
18984 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18985 library_names_spec
='$libname.dll.a'
18986 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18987 postinstall_cmds
='base_file=`basename \${file}`~
18988 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18989 dldir=$destdir/`dirname \$dlpath`~
18990 test -d \$dldir || mkdir -p \$dldir~
18991 $install_prog $dir/$dlname \$dldir/$dlname~
18992 chmod a+x \$dldir/$dlname'
18993 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18994 dlpath=$dir/\$dldll~
18996 shlibpath_overrides_runpath
=yes
19000 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19001 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19002 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
19005 # MinGW DLLs use traditional 'lib' prefix
19006 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19007 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19008 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
19009 # It is most probably a Windows format PATH printed by
19010 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19011 # path with ; separators, and with drive letters. We can handle the
19012 # drive letters (cygwin fileutils understands them), so leave them,
19013 # especially as we might pass files found there to a mingw objdump,
19014 # which wouldn't understand a cygwinified path. Ahh.
19015 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19017 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19021 # pw32 DLLs use 'pw' prefix rather than 'lib'
19022 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19028 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19031 dynamic_linker
='Win32 ld.exe'
19032 # FIXME: first we should search . and the directory the executable is in
19036 darwin
* | rhapsody
*)
19037 dynamic_linker
="$host_os dyld"
19038 version_type
=darwin
19041 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19042 soname_spec
='${libname}${release}${major}$shared_ext'
19043 shlibpath_overrides_runpath
=yes
19044 shlibpath_var
=DYLD_LIBRARY_PATH
19045 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19046 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19047 if test "$GCC" = yes; then
19048 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"`
19050 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19052 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19060 soname_spec
='${libname}${release}${shared_ext}$major'
19061 shlibpath_var
=LD_LIBRARY_PATH
19072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19073 soname_spec
='${libname}${release}${shared_ext}$major'
19074 shlibpath_var
=LD_LIBRARY_PATH
19075 shlibpath_overrides_runpath
=no
19076 hardcode_into_libs
=yes
19077 dynamic_linker
='GNU ld.so'
19080 freebsd
* | dragonfly
*)
19081 # DragonFly does not have aout. When/if they implement a new
19082 # versioning mechanism, adjust this.
19083 if test -x /usr
/bin
/objformat
; then
19084 objformat
=`/usr/bin/objformat`
19087 freebsd
[123]*) objformat
=aout
;;
19088 *) objformat
=elf
;;
19091 version_type
=freebsd-
$objformat
19092 case $version_type in
19094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19099 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19103 shlibpath_var
=LD_LIBRARY_PATH
19106 shlibpath_overrides_runpath
=yes
19108 freebsd3.
[01]* | freebsdelf3.
[01]*)
19109 shlibpath_overrides_runpath
=yes
19110 hardcode_into_libs
=yes
19112 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19113 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19114 shlibpath_overrides_runpath
=no
19115 hardcode_into_libs
=yes
19117 freebsd
*) # from 4.6 on
19118 shlibpath_overrides_runpath
=yes
19119 hardcode_into_libs
=yes
19128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19129 soname_spec
='${libname}${release}${shared_ext}$major'
19130 shlibpath_var
=LD_LIBRARY_PATH
19131 hardcode_into_libs
=yes
19134 hpux9
* | hpux10
* | hpux11
*)
19135 # Give a soname corresponding to the major version so that dld.sl refuses to
19136 # link against other versions.
19143 hardcode_into_libs
=yes
19144 dynamic_linker
="$host_os dld.so"
19145 shlibpath_var
=LD_LIBRARY_PATH
19146 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19148 soname_spec
='${libname}${release}${shared_ext}$major'
19149 if test "X$HPUX_IA64_MODE" = X32
; then
19150 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19152 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19154 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19158 hardcode_into_libs
=yes
19159 dynamic_linker
="$host_os dld.sl"
19160 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19161 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19163 soname_spec
='${libname}${release}${shared_ext}$major'
19164 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19165 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19169 dynamic_linker
="$host_os dld.sl"
19170 shlibpath_var
=SHLIB_PATH
19171 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19173 soname_spec
='${libname}${release}${shared_ext}$major'
19176 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19177 postinstall_cmds
='chmod 555 $lib'
19184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19185 soname_spec
='${libname}${release}${shared_ext}$major'
19186 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19187 shlibpath_var
=LD_LIBRARY_PATH
19188 shlibpath_overrides_runpath
=no
19189 hardcode_into_libs
=yes
19192 irix5
* | irix6
* | nonstopux
*)
19194 nonstopux
*) version_type
=nonstopux
;;
19196 if test "$lt_cv_prog_gnu_ld" = yes; then
19204 soname_spec
='${libname}${release}${shared_ext}$major'
19205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19207 irix5
* | nonstopux
*)
19208 libsuff
= shlibsuff
=
19211 case $LD in # libtool.m4 will add one of these switches to LD
19212 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19213 libsuff
= shlibsuff
= libmagic
=32-bit;;
19214 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19215 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19216 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19217 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19218 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19222 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19223 shlibpath_overrides_runpath
=no
19224 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19225 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19226 hardcode_into_libs
=yes
19229 # No shared lib support for Linux oldld, aout, or coff.
19230 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19234 # This must be Linux ELF.
19239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19240 soname_spec
='${libname}${release}${shared_ext}$major'
19241 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19242 shlibpath_var
=LD_LIBRARY_PATH
19243 shlibpath_overrides_runpath
=no
19244 # This implies no fast_install, which is unacceptable.
19245 # Some rework will be needed to allow for fast_install
19246 # before this can be enabled.
19247 hardcode_into_libs
=yes
19249 # find out which ABI we are using
19251 case "$host_cpu" in
19252 x86_64
*|s390x
*|powerpc64
*)
19253 echo '#line 19253 "configure"' > conftest.
$ac_ext
19254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19255 (eval $ac_compile) 2>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; then
19259 case `/usr/bin/file conftest.$ac_objext` in
19262 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19270 # Append ld.so.conf contents to the search path
19271 if test -f /etc
/ld.so.conf
; then
19272 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' ' '`
19273 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19276 # We used to test for /lib/ld.so.1 and disable shared libraries on
19277 # powerpc, because MkLinux only supported shared libraries with the
19278 # GNU dynamic linker. Since this was broken with cross compilers,
19279 # most powerpc-linux boxes support dynamic linking these days and
19280 # people can always --disable-shared, the test was removed, and we
19281 # assume the GNU/Linux dynamic linker is in use.
19282 dynamic_linker
='GNU/Linux ld.so'
19289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19290 soname_spec
='${libname}${release}${shared_ext}$major'
19291 shlibpath_var
=LD_LIBRARY_PATH
19292 shlibpath_overrides_runpath
=no
19293 hardcode_into_libs
=yes
19294 dynamic_linker
='GNU ld.so'
19301 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19303 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19304 dynamic_linker
='NetBSD (a.out) ld.so'
19306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19307 soname_spec
='${libname}${release}${shared_ext}$major'
19308 dynamic_linker
='NetBSD ld.elf_so'
19310 shlibpath_var
=LD_LIBRARY_PATH
19311 shlibpath_overrides_runpath
=yes
19312 hardcode_into_libs
=yes
19317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19318 shlibpath_var
=LD_LIBRARY_PATH
19319 shlibpath_overrides_runpath
=yes
19326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19327 soname_spec
='${libname}${release}${shared_ext}$major'
19328 shlibpath_var
=LD_LIBRARY_PATH
19329 shlibpath_overrides_runpath
=yes
19334 sys_lib_dlsearch_path_spec
="/usr/lib"
19336 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19338 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19339 *) need_version
=no
;;
19341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19342 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19343 shlibpath_var
=LD_LIBRARY_PATH
19344 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19346 openbsd2.
[89] | openbsd2.
[89].
*)
19347 shlibpath_overrides_runpath
=no
19350 shlibpath_overrides_runpath
=yes
19354 shlibpath_overrides_runpath
=yes
19359 libname_spec
='$name'
19362 library_names_spec
='$libname${shared_ext} $libname.a'
19363 dynamic_linker
='OS/2 ld.exe'
19364 shlibpath_var
=LIBPATH
19367 osf3
* | osf4
* | osf5
*)
19371 soname_spec
='${libname}${release}${shared_ext}$major'
19372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19373 shlibpath_var
=LD_LIBRARY_PATH
19374 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19375 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19383 soname_spec
='${libname}${release}${shared_ext}$major'
19384 shlibpath_var
=LD_LIBRARY_PATH
19385 shlibpath_overrides_runpath
=yes
19386 hardcode_into_libs
=yes
19387 # ldd complains unless libraries are executable
19388 postinstall_cmds
='chmod +x $lib'
19393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19394 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19395 shlibpath_var
=LD_LIBRARY_PATH
19396 shlibpath_overrides_runpath
=yes
19397 if test "$with_gnu_ld" = yes; then
19405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19406 soname_spec
='${libname}${release}${shared_ext}$major'
19407 shlibpath_var
=LD_LIBRARY_PATH
19408 case $host_vendor in
19410 shlibpath_overrides_runpath
=no
19412 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19413 runpath_var
=LD_RUN_PATH
19421 shlibpath_overrides_runpath
=no
19422 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19428 if test -d /usr
/nec
;then
19430 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19431 soname_spec
='$libname${shared_ext}.$major'
19432 shlibpath_var
=LD_LIBRARY_PATH
19436 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19437 version_type
=freebsd-elf
19440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19441 soname_spec
='${libname}${release}${shared_ext}$major'
19442 shlibpath_var
=LD_LIBRARY_PATH
19443 hardcode_into_libs
=yes
19444 if test "$with_gnu_ld" = yes; then
19445 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19446 shlibpath_overrides_runpath
=no
19448 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19449 shlibpath_overrides_runpath
=yes
19452 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19456 sys_lib_dlsearch_path_spec
='/usr/lib'
19461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19462 soname_spec
='${libname}${release}${shared_ext}$major'
19463 shlibpath_var
=LD_LIBRARY_PATH
19470 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19471 echo "${ECHO_T}$dynamic_linker" >&6; }
19472 test "$dynamic_linker" = no
&& can_build_shared
=no
19474 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19475 if test "$GCC" = yes; then
19476 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19479 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19480 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19481 hardcode_action_GCJ
=
19482 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19483 test -n "$runpath_var_GCJ" || \
19484 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19486 # We can hardcode non-existant directories.
19487 if test "$hardcode_direct_GCJ" != no
&&
19488 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19489 # have to relink, otherwise we might link with an installed library
19490 # when we should be linking with a yet-to-be-installed one
19491 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19492 test "$hardcode_minus_L_GCJ" != no
; then
19493 # Linking always hardcodes the temporary library directory.
19494 hardcode_action_GCJ
=relink
19496 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19497 hardcode_action_GCJ
=immediate
19500 # We cannot hardcode anything, or else we can only hardcode existing
19502 hardcode_action_GCJ
=unsupported
19504 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19505 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19507 if test "$hardcode_action_GCJ" = relink
; then
19508 # Fast installation is not supported
19509 enable_fast_install
=no
19510 elif test "$shlibpath_overrides_runpath" = yes ||
19511 test "$enable_shared" = no
; then
19512 # Fast installation is not necessary
19513 enable_fast_install
=needless
19517 # The else clause should only fire when bootstrapping the
19518 # libtool distribution, otherwise you forgot to ship ltmain.sh
19519 # with your package, and you will get complaints that there are
19520 # no rules to generate ltmain.sh.
19521 if test -f "$ltmain"; then
19522 # See if we are running on zsh, and set the options which allow our commands through
19523 # without removal of \ escapes.
19524 if test -n "${ZSH_VERSION+set}" ; then
19525 setopt NO_GLOB_SUBST
19527 # Now quote all the things that may contain metacharacters while being
19528 # careful not to overquote the AC_SUBSTed values. We take copies of the
19529 # variables and quote the copies for generation of the libtool script.
19530 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19532 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19533 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19534 deplibs_check_method reload_flag reload_cmds need_locks \
19535 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19536 lt_cv_sys_global_symbol_to_c_name_address \
19537 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19538 old_postinstall_cmds old_postuninstall_cmds \
19542 lt_prog_compiler_wl_GCJ \
19543 lt_prog_compiler_pic_GCJ \
19544 lt_prog_compiler_static_GCJ \
19545 lt_prog_compiler_no_builtin_flag_GCJ \
19546 export_dynamic_flag_spec_GCJ \
19547 thread_safe_flag_spec_GCJ \
19548 whole_archive_flag_spec_GCJ \
19549 enable_shared_with_static_runtimes_GCJ \
19550 old_archive_cmds_GCJ \
19551 old_archive_from_new_cmds_GCJ \
19552 predep_objects_GCJ \
19553 postdep_objects_GCJ \
19556 compiler_lib_search_path_GCJ \
19558 archive_expsym_cmds_GCJ \
19559 postinstall_cmds_GCJ \
19560 postuninstall_cmds_GCJ \
19561 old_archive_from_expsyms_cmds_GCJ \
19562 allow_undefined_flag_GCJ \
19563 no_undefined_flag_GCJ \
19564 export_symbols_cmds_GCJ \
19565 hardcode_libdir_flag_spec_GCJ \
19566 hardcode_libdir_flag_spec_ld_GCJ \
19567 hardcode_libdir_separator_GCJ \
19568 hardcode_automatic_GCJ \
19570 module_expsym_cmds_GCJ \
19571 lt_cv_prog_compiler_c_o_GCJ \
19572 exclude_expsyms_GCJ \
19573 include_expsyms_GCJ
; do
19576 old_archive_cmds_GCJ | \
19577 old_archive_from_new_cmds_GCJ | \
19578 archive_cmds_GCJ | \
19579 archive_expsym_cmds_GCJ | \
19580 module_cmds_GCJ | \
19581 module_expsym_cmds_GCJ | \
19582 old_archive_from_expsyms_cmds_GCJ | \
19583 export_symbols_cmds_GCJ | \
19584 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19585 postinstall_cmds | postuninstall_cmds | \
19586 old_postinstall_cmds | old_postuninstall_cmds | \
19587 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19588 # Double-quote double-evaled strings.
19589 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19592 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19598 *'\$0 --fallback-echo"')
19599 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19605 cat <<__EOF__ >> "$cfgfile"
19606 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19608 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19610 # Shell to use when invoking shell scripts.
19613 # Whether or not to build shared libraries.
19614 build_libtool_libs=$enable_shared
19616 # Whether or not to build static libraries.
19617 build_old_libs=$enable_static
19619 # Whether or not to add -lc for building shared libraries.
19620 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19622 # Whether or not to disallow shared libs when runtime libs are static
19623 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19625 # Whether or not to optimize for fast installation.
19626 fast_install=$enable_fast_install
19629 host_alias=$host_alias
19633 # The build system.
19634 build_alias=$build_alias
19638 # An echo program that does not interpret backslashes.
19643 AR_FLAGS=$lt_AR_FLAGS
19648 # LTCC compiler flags.
19649 LTCFLAGS=$lt_LTCFLAGS
19651 # A language-specific compiler.
19652 CC=$lt_compiler_GCJ
19654 # Is the compiler the GNU C compiler?
19660 # The linker used to build libraries.
19663 # Whether we need hard or soft links.
19666 # A BSD-compatible nm program.
19669 # A symbol stripping program
19672 # Used to examine libraries when file_magic_cmd begins "file"
19673 MAGIC_CMD=$MAGIC_CMD
19675 # Used on cygwin: DLL creation program.
19678 # Used on cygwin: object dumper.
19681 # Used on cygwin: assembler.
19684 # The name of the directory that contains temporary libtool files.
19687 # How to create reloadable object files.
19688 reload_flag=$lt_reload_flag
19689 reload_cmds=$lt_reload_cmds
19691 # How to pass a linker flag through the compiler.
19692 wl=$lt_lt_prog_compiler_wl_GCJ
19694 # Object file suffix (normally "o").
19695 objext="$ac_objext"
19697 # Old archive suffix (normally "a").
19700 # Shared library suffix (normally ".so").
19701 shrext_cmds='$shrext_cmds'
19703 # Executable file suffix (normally "").
19706 # Additional compiler flags for building library objects.
19707 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19710 # What is the maximum length of a command?
19711 max_cmd_len=$lt_cv_sys_max_cmd_len
19713 # Does compiler simultaneously support -c and -o options?
19714 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19716 # Must we lock files when doing compilation?
19717 need_locks=$lt_need_locks
19719 # Do we need the lib prefix for modules?
19720 need_lib_prefix=$need_lib_prefix
19722 # Do we need a version for libraries?
19723 need_version=$need_version
19725 # Whether dlopen is supported.
19726 dlopen_support=$enable_dlopen
19728 # Whether dlopen of programs is supported.
19729 dlopen_self=$enable_dlopen_self
19731 # Whether dlopen of statically linked programs is supported.
19732 dlopen_self_static=$enable_dlopen_self_static
19734 # Compiler flag to prevent dynamic linking.
19735 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19737 # Compiler flag to turn off builtin functions.
19738 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19740 # Compiler flag to allow reflexive dlopens.
19741 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19743 # Compiler flag to generate shared objects directly from archives.
19744 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19746 # Compiler flag to generate thread-safe objects.
19747 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19749 # Library versioning type.
19750 version_type=$version_type
19752 # Format of library name prefix.
19753 libname_spec=$lt_libname_spec
19755 # List of archive names. First name is the real one, the rest are links.
19756 # The last name is the one that the linker finds with -lNAME.
19757 library_names_spec=$lt_library_names_spec
19759 # The coded name of the library, if different from the real name.
19760 soname_spec=$lt_soname_spec
19762 # Commands used to build and install an old-style archive.
19764 old_archive_cmds=$lt_old_archive_cmds_GCJ
19765 old_postinstall_cmds=$lt_old_postinstall_cmds
19766 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19768 # Create an old-style archive from a shared archive.
19769 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19771 # Create a temporary old-style archive to link instead of a shared archive.
19772 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19774 # Commands used to build and install a shared archive.
19775 archive_cmds=$lt_archive_cmds_GCJ
19776 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19777 postinstall_cmds=$lt_postinstall_cmds
19778 postuninstall_cmds=$lt_postuninstall_cmds
19780 # Commands used to build a loadable module (assumed same as above if empty)
19781 module_cmds=$lt_module_cmds_GCJ
19782 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19784 # Commands to strip libraries.
19785 old_striplib=$lt_old_striplib
19786 striplib=$lt_striplib
19788 # Dependencies to place before the objects being linked to create a
19790 predep_objects=$lt_predep_objects_GCJ
19792 # Dependencies to place after the objects being linked to create a
19794 postdep_objects=$lt_postdep_objects_GCJ
19796 # Dependencies to place before the objects being linked to create a
19798 predeps=$lt_predeps_GCJ
19800 # Dependencies to place after the objects being linked to create a
19802 postdeps=$lt_postdeps_GCJ
19804 # The library search path used internally by the compiler when linking
19805 # a shared library.
19806 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19808 # Method to check whether dependent libraries are shared objects.
19809 deplibs_check_method=$lt_deplibs_check_method
19811 # Command to use when deplibs_check_method == file_magic.
19812 file_magic_cmd=$lt_file_magic_cmd
19814 # Flag that allows shared libraries with undefined symbols to be built.
19815 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19817 # Flag that forces no undefined symbols.
19818 no_undefined_flag=$lt_no_undefined_flag_GCJ
19820 # Commands used to finish a libtool library installation in a directory.
19821 finish_cmds=$lt_finish_cmds
19823 # Same as above, but a single script fragment to be evaled but not shown.
19824 finish_eval=$lt_finish_eval
19826 # Take the output of nm and produce a listing of raw symbols and C names.
19827 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19829 # Transform the output of nm in a proper C declaration
19830 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19832 # Transform the output of nm in a C name address pair
19833 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19835 # This is the shared library runtime path variable.
19836 runpath_var=$runpath_var
19838 # This is the shared library path variable.
19839 shlibpath_var=$shlibpath_var
19841 # Is shlibpath searched before the hard-coded library search path?
19842 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19844 # How to hardcode a shared library path into an executable.
19845 hardcode_action=$hardcode_action_GCJ
19847 # Whether we should hardcode library paths into libraries.
19848 hardcode_into_libs=$hardcode_into_libs
19850 # Flag to hardcode \$libdir into a binary during linking.
19851 # This must work even if \$libdir does not exist.
19852 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19854 # If ld is used when linking, flag to hardcode \$libdir into
19855 # a binary during linking. This must work even if \$libdir does
19857 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19859 # Whether we need a single -rpath flag with a separated argument.
19860 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19862 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19863 # resulting binary.
19864 hardcode_direct=$hardcode_direct_GCJ
19866 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19867 # resulting binary.
19868 hardcode_minus_L=$hardcode_minus_L_GCJ
19870 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19871 # the resulting binary.
19872 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19874 # Set to yes if building a shared library automatically hardcodes DIR into the library
19875 # and all subsequent libraries and executables linked against it.
19876 hardcode_automatic=$hardcode_automatic_GCJ
19878 # Variables whose values should be saved in libtool wrapper scripts and
19879 # restored at relink time.
19880 variables_saved_for_relink="$variables_saved_for_relink"
19882 # Whether libtool must link a program against all its dependency libraries.
19883 link_all_deplibs=$link_all_deplibs_GCJ
19885 # Compile-time system search path for libraries
19886 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19888 # Run-time system search path for libraries
19889 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19891 # Fix the shell variable \$srcfile for the compiler.
19892 fix_srcfile_path="$fix_srcfile_path_GCJ"
19894 # Set to yes if exported symbols are required.
19895 always_export_symbols=$always_export_symbols_GCJ
19897 # The commands to list exported symbols.
19898 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19900 # The commands to extract the exported symbol list from a shared archive.
19901 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19903 # Symbols that should not be listed in the preloaded symbols.
19904 exclude_expsyms=$lt_exclude_expsyms_GCJ
19906 # Symbols that must always be exported.
19907 include_expsyms=$lt_include_expsyms_GCJ
19909 # ### END LIBTOOL TAG CONFIG: $tagname
19915 # If there is no Makefile yet, we rely on a make rule to execute
19916 # `config.status --recheck' to rerun these tests and create the
19917 # libtool script then.
19918 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19919 if test -f "$ltmain_in"; then
19920 test -f Makefile
&& make "$ltmain"
19926 ac_cpp
='$CPP $CPPFLAGS'
19927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19941 # Source file extension for RC test sources.
19944 # Object file extension for compiled RC test sources.
19948 # Code to be used in simple compile tests
19949 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19951 # Code to be used in simple link tests
19952 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19954 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19956 # If no C compiler was specified, use CC.
19959 # If no C compiler flags were specified, use CFLAGS.
19960 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19962 # Allow CC to be a program name with arguments.
19966 # save warnings/boilerplate of simple test code
19967 ac_outfile
=conftest.
$ac_objext
19968 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19969 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19970 _lt_compiler_boilerplate
=`cat conftest.err`
19973 ac_outfile
=conftest.
$ac_objext
19974 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19975 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19976 _lt_linker_boilerplate
=`cat conftest.err`
19980 # Allow CC to be a program name with arguments.
19985 for cc_temp
in $compiler""; do
19987 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19988 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19993 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19995 lt_cv_prog_compiler_c_o_RC
=yes
19997 # The else clause should only fire when bootstrapping the
19998 # libtool distribution, otherwise you forgot to ship ltmain.sh
19999 # with your package, and you will get complaints that there are
20000 # no rules to generate ltmain.sh.
20001 if test -f "$ltmain"; then
20002 # See if we are running on zsh, and set the options which allow our commands through
20003 # without removal of \ escapes.
20004 if test -n "${ZSH_VERSION+set}" ; then
20005 setopt NO_GLOB_SUBST
20007 # Now quote all the things that may contain metacharacters while being
20008 # careful not to overquote the AC_SUBSTed values. We take copies of the
20009 # variables and quote the copies for generation of the libtool script.
20010 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20012 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20013 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20014 deplibs_check_method reload_flag reload_cmds need_locks \
20015 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20016 lt_cv_sys_global_symbol_to_c_name_address \
20017 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20018 old_postinstall_cmds old_postuninstall_cmds \
20022 lt_prog_compiler_wl_RC \
20023 lt_prog_compiler_pic_RC \
20024 lt_prog_compiler_static_RC \
20025 lt_prog_compiler_no_builtin_flag_RC \
20026 export_dynamic_flag_spec_RC \
20027 thread_safe_flag_spec_RC \
20028 whole_archive_flag_spec_RC \
20029 enable_shared_with_static_runtimes_RC \
20030 old_archive_cmds_RC \
20031 old_archive_from_new_cmds_RC \
20032 predep_objects_RC \
20033 postdep_objects_RC \
20036 compiler_lib_search_path_RC \
20038 archive_expsym_cmds_RC \
20039 postinstall_cmds_RC \
20040 postuninstall_cmds_RC \
20041 old_archive_from_expsyms_cmds_RC \
20042 allow_undefined_flag_RC \
20043 no_undefined_flag_RC \
20044 export_symbols_cmds_RC \
20045 hardcode_libdir_flag_spec_RC \
20046 hardcode_libdir_flag_spec_ld_RC \
20047 hardcode_libdir_separator_RC \
20048 hardcode_automatic_RC \
20050 module_expsym_cmds_RC \
20051 lt_cv_prog_compiler_c_o_RC \
20052 exclude_expsyms_RC \
20053 include_expsyms_RC
; do
20056 old_archive_cmds_RC | \
20057 old_archive_from_new_cmds_RC | \
20058 archive_cmds_RC | \
20059 archive_expsym_cmds_RC | \
20061 module_expsym_cmds_RC | \
20062 old_archive_from_expsyms_cmds_RC | \
20063 export_symbols_cmds_RC | \
20064 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20065 postinstall_cmds | postuninstall_cmds | \
20066 old_postinstall_cmds | old_postuninstall_cmds | \
20067 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20068 # Double-quote double-evaled strings.
20069 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20072 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20078 *'\$0 --fallback-echo"')
20079 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20085 cat <<__EOF__ >> "$cfgfile"
20086 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20088 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20090 # Shell to use when invoking shell scripts.
20093 # Whether or not to build shared libraries.
20094 build_libtool_libs=$enable_shared
20096 # Whether or not to build static libraries.
20097 build_old_libs=$enable_static
20099 # Whether or not to add -lc for building shared libraries.
20100 build_libtool_need_lc=$archive_cmds_need_lc_RC
20102 # Whether or not to disallow shared libs when runtime libs are static
20103 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20105 # Whether or not to optimize for fast installation.
20106 fast_install=$enable_fast_install
20109 host_alias=$host_alias
20113 # The build system.
20114 build_alias=$build_alias
20118 # An echo program that does not interpret backslashes.
20123 AR_FLAGS=$lt_AR_FLAGS
20128 # LTCC compiler flags.
20129 LTCFLAGS=$lt_LTCFLAGS
20131 # A language-specific compiler.
20134 # Is the compiler the GNU C compiler?
20140 # The linker used to build libraries.
20143 # Whether we need hard or soft links.
20146 # A BSD-compatible nm program.
20149 # A symbol stripping program
20152 # Used to examine libraries when file_magic_cmd begins "file"
20153 MAGIC_CMD=$MAGIC_CMD
20155 # Used on cygwin: DLL creation program.
20158 # Used on cygwin: object dumper.
20161 # Used on cygwin: assembler.
20164 # The name of the directory that contains temporary libtool files.
20167 # How to create reloadable object files.
20168 reload_flag=$lt_reload_flag
20169 reload_cmds=$lt_reload_cmds
20171 # How to pass a linker flag through the compiler.
20172 wl=$lt_lt_prog_compiler_wl_RC
20174 # Object file suffix (normally "o").
20175 objext="$ac_objext"
20177 # Old archive suffix (normally "a").
20180 # Shared library suffix (normally ".so").
20181 shrext_cmds='$shrext_cmds'
20183 # Executable file suffix (normally "").
20186 # Additional compiler flags for building library objects.
20187 pic_flag=$lt_lt_prog_compiler_pic_RC
20190 # What is the maximum length of a command?
20191 max_cmd_len=$lt_cv_sys_max_cmd_len
20193 # Does compiler simultaneously support -c and -o options?
20194 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20196 # Must we lock files when doing compilation?
20197 need_locks=$lt_need_locks
20199 # Do we need the lib prefix for modules?
20200 need_lib_prefix=$need_lib_prefix
20202 # Do we need a version for libraries?
20203 need_version=$need_version
20205 # Whether dlopen is supported.
20206 dlopen_support=$enable_dlopen
20208 # Whether dlopen of programs is supported.
20209 dlopen_self=$enable_dlopen_self
20211 # Whether dlopen of statically linked programs is supported.
20212 dlopen_self_static=$enable_dlopen_self_static
20214 # Compiler flag to prevent dynamic linking.
20215 link_static_flag=$lt_lt_prog_compiler_static_RC
20217 # Compiler flag to turn off builtin functions.
20218 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20220 # Compiler flag to allow reflexive dlopens.
20221 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20223 # Compiler flag to generate shared objects directly from archives.
20224 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20226 # Compiler flag to generate thread-safe objects.
20227 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20229 # Library versioning type.
20230 version_type=$version_type
20232 # Format of library name prefix.
20233 libname_spec=$lt_libname_spec
20235 # List of archive names. First name is the real one, the rest are links.
20236 # The last name is the one that the linker finds with -lNAME.
20237 library_names_spec=$lt_library_names_spec
20239 # The coded name of the library, if different from the real name.
20240 soname_spec=$lt_soname_spec
20242 # Commands used to build and install an old-style archive.
20244 old_archive_cmds=$lt_old_archive_cmds_RC
20245 old_postinstall_cmds=$lt_old_postinstall_cmds
20246 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20248 # Create an old-style archive from a shared archive.
20249 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20251 # Create a temporary old-style archive to link instead of a shared archive.
20252 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20254 # Commands used to build and install a shared archive.
20255 archive_cmds=$lt_archive_cmds_RC
20256 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20257 postinstall_cmds=$lt_postinstall_cmds
20258 postuninstall_cmds=$lt_postuninstall_cmds
20260 # Commands used to build a loadable module (assumed same as above if empty)
20261 module_cmds=$lt_module_cmds_RC
20262 module_expsym_cmds=$lt_module_expsym_cmds_RC
20264 # Commands to strip libraries.
20265 old_striplib=$lt_old_striplib
20266 striplib=$lt_striplib
20268 # Dependencies to place before the objects being linked to create a
20270 predep_objects=$lt_predep_objects_RC
20272 # Dependencies to place after the objects being linked to create a
20274 postdep_objects=$lt_postdep_objects_RC
20276 # Dependencies to place before the objects being linked to create a
20278 predeps=$lt_predeps_RC
20280 # Dependencies to place after the objects being linked to create a
20282 postdeps=$lt_postdeps_RC
20284 # The library search path used internally by the compiler when linking
20285 # a shared library.
20286 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20288 # Method to check whether dependent libraries are shared objects.
20289 deplibs_check_method=$lt_deplibs_check_method
20291 # Command to use when deplibs_check_method == file_magic.
20292 file_magic_cmd=$lt_file_magic_cmd
20294 # Flag that allows shared libraries with undefined symbols to be built.
20295 allow_undefined_flag=$lt_allow_undefined_flag_RC
20297 # Flag that forces no undefined symbols.
20298 no_undefined_flag=$lt_no_undefined_flag_RC
20300 # Commands used to finish a libtool library installation in a directory.
20301 finish_cmds=$lt_finish_cmds
20303 # Same as above, but a single script fragment to be evaled but not shown.
20304 finish_eval=$lt_finish_eval
20306 # Take the output of nm and produce a listing of raw symbols and C names.
20307 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20309 # Transform the output of nm in a proper C declaration
20310 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20312 # Transform the output of nm in a C name address pair
20313 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20315 # This is the shared library runtime path variable.
20316 runpath_var=$runpath_var
20318 # This is the shared library path variable.
20319 shlibpath_var=$shlibpath_var
20321 # Is shlibpath searched before the hard-coded library search path?
20322 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20324 # How to hardcode a shared library path into an executable.
20325 hardcode_action=$hardcode_action_RC
20327 # Whether we should hardcode library paths into libraries.
20328 hardcode_into_libs=$hardcode_into_libs
20330 # Flag to hardcode \$libdir into a binary during linking.
20331 # This must work even if \$libdir does not exist.
20332 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20334 # If ld is used when linking, flag to hardcode \$libdir into
20335 # a binary during linking. This must work even if \$libdir does
20337 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20339 # Whether we need a single -rpath flag with a separated argument.
20340 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20342 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20343 # resulting binary.
20344 hardcode_direct=$hardcode_direct_RC
20346 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20347 # resulting binary.
20348 hardcode_minus_L=$hardcode_minus_L_RC
20350 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20351 # the resulting binary.
20352 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20354 # Set to yes if building a shared library automatically hardcodes DIR into the library
20355 # and all subsequent libraries and executables linked against it.
20356 hardcode_automatic=$hardcode_automatic_RC
20358 # Variables whose values should be saved in libtool wrapper scripts and
20359 # restored at relink time.
20360 variables_saved_for_relink="$variables_saved_for_relink"
20362 # Whether libtool must link a program against all its dependency libraries.
20363 link_all_deplibs=$link_all_deplibs_RC
20365 # Compile-time system search path for libraries
20366 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20368 # Run-time system search path for libraries
20369 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20371 # Fix the shell variable \$srcfile for the compiler.
20372 fix_srcfile_path="$fix_srcfile_path_RC"
20374 # Set to yes if exported symbols are required.
20375 always_export_symbols=$always_export_symbols_RC
20377 # The commands to list exported symbols.
20378 export_symbols_cmds=$lt_export_symbols_cmds_RC
20380 # The commands to extract the exported symbol list from a shared archive.
20381 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20383 # Symbols that should not be listed in the preloaded symbols.
20384 exclude_expsyms=$lt_exclude_expsyms_RC
20386 # Symbols that must always be exported.
20387 include_expsyms=$lt_include_expsyms_RC
20389 # ### END LIBTOOL TAG CONFIG: $tagname
20395 # If there is no Makefile yet, we rely on a make rule to execute
20396 # `config.status --recheck' to rerun these tests and create the
20397 # libtool script then.
20398 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20399 if test -f "$ltmain_in"; then
20400 test -f Makefile
&& make "$ltmain"
20406 ac_cpp
='$CPP $CPPFLAGS'
20407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20416 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20417 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20418 { (exit 1); exit 1; }; }
20422 # Append the new tag name to the list of available tags.
20423 if test -n "$tagname" ; then
20424 available_tags
="$available_tags $tagname"
20430 # Now substitute the updated list of available tags.
20431 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20432 mv "${ofile}T" "$ofile"
20436 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20437 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20438 { (exit 1); exit 1; }; }
20444 # This can be used to rebuild libtool when needed
20445 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20447 # Always use our own libtool.
20448 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20450 # Prevent multiple expansion
20472 if test "$PS" = "ps"
20474 { { echo "$as_me:$LINENO: error: Cannot find pathname to ps" >&5
20475 echo "$as_me: error: Cannot find pathname to ps" >&2;}
20476 { (exit 1); exit 1; }; }
20479 if test x
$GXX = xyes
20481 CFLAGS
="-Wall $CFLAGS"
20484 CFLAGS
="-I.. -I$srcdir/.. $CFLAGS"
20487 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
20488 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
20489 if test "${ac_cv_header_sys_wait_h+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20492 cat >conftest.
$ac_ext <<_ACEOF
20495 cat confdefs.h
>>conftest.
$ac_ext
20496 cat >>conftest.
$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 #include <sys/types.h>
20499 #include <sys/wait.h>
20500 #ifndef WEXITSTATUS
20501 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20504 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20512 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
20517 rm -f conftest.
$ac_objext
20518 if { (ac_try
="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20526 grep -v '^ *+' conftest.er1 >conftest.err
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20534 ac_cv_header_sys_wait_h=yes
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 ac_cv_header_sys_wait_h=no
20542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20544 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
20545 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
20546 if test $ac_cv_header_sys_wait_h = yes; then
20548 cat >>confdefs.h <<\_ACEOF
20549 #define HAVE_SYS_WAIT_H 1
20556 for ac_header in unistd.h fcntl.h
20558 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20560 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 ac_res=`eval echo '${'$as_ac_Header'}'`
20566 { echo "$as_me:$LINENO: result: $ac_res" >&5
20567 echo "${ECHO_T}$ac_res" >&6; }
20569 # Is the header compilable?
20570 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
20571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20572 cat >conftest.$ac_ext <<_ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20579 #include <$ac_header>
20581 rm -f conftest.$ac_objext
20582 if { (ac_try="$ac_compile"
20583 case "(($ac_try" in
20584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20585 *) ac_try_echo
=$ac_try;;
20587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20588 (eval "$ac_compile") 2>conftest.er1
20590 grep -v '^ *+' conftest.er1
>conftest.err
20592 cat conftest.err
>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } && {
20595 test -z "$ac_c_werror_flag" ||
20596 test ! -s conftest.err
20597 } && test -s conftest.
$ac_objext; then
20598 ac_header_compiler
=yes
20600 echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.
$ac_ext >&5
20603 ac_header_compiler
=no
20606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20607 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20608 echo "${ECHO_T}$ac_header_compiler" >&6; }
20610 # Is the header present?
20611 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
20612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20613 cat >conftest.
$ac_ext <<_ACEOF
20616 cat confdefs.h
>>conftest.
$ac_ext
20617 cat >>conftest.
$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20619 #include <$ac_header>
20621 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20622 case "(($ac_try" in
20623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20624 *) ac_try_echo=$ac_try;;
20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20629 grep -v '^ *+' conftest.er1 >conftest.err
20631 cat conftest.err >&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } >/dev/null && {
20634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20635 test ! -s conftest.err
20637 ac_header_preproc=yes
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.$ac_ext >&5
20642 ac_header_preproc=no
20645 rm -f conftest.err conftest.$ac_ext
20646 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20647 echo "${ECHO_T}$ac_header_preproc" >&6; }
20649 # So? What about this header?
20650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20652 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20655 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20656 ac_header_preproc=yes
20659 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20660 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20661 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20662 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20663 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20664 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20665 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20666 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20669 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20670 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20672 ## -------------------------------------------------- ##
20673 ## Report this to courier-users@lists.sourceforge.net ##
20674 ## -------------------------------------------------- ##
20676 ) | sed "s/^/$as_me: WARNING: /" >&2
20679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20682 echo $ECHO_N "(cached) $ECHO_C" >&6
20684 eval "$as_ac_Header=\$ac_header_preproc"
20686 ac_res=`eval echo '${'$as_ac_Header'}'`
20687 { echo "$as_me:$LINENO: result: $ac_res" >&5
20688 echo "${ECHO_T}$ac_res" >&6; }
20691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20692 cat >>confdefs.h <<_ACEOF
20693 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20701 { echo "$as_me:$LINENO: checking for pid_t" >&5
20702 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
20703 if test "${ac_cv_type_pid_t+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20706 cat >conftest.$ac_ext <<_ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef pid_t ac__type_new_;
20717 if ((ac__type_new_ *) 0)
20719 if (sizeof (ac__type_new_))
20725 rm -f conftest.$ac_objext
20726 if { (ac_try="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20729 *) ac_try_echo
=$ac_try;;
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20734 grep -v '^ *+' conftest.er1
>conftest.err
20736 cat conftest.err
>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.
$ac_objext; then
20742 ac_cv_type_pid_t
=yes
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.
$ac_ext >&5
20747 ac_cv_type_pid_t
=no
20750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20752 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20753 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20754 if test $ac_cv_type_pid_t = yes; then
20758 cat >>confdefs.h
<<_ACEOF
20766 # Check whether --with-random was given.
20767 if test "${with_random+set}" = set; then
20768 withval
=$with_random; random
="$withval"
20778 { echo "$as_me:$LINENO: checking for random source" >&5
20779 echo $ECHO_N "checking for random source... $ECHO_C" >&6; }
20780 if test "${random_cv_RANDOM+set}" = set; then
20781 echo $ECHO_N "(cached) $ECHO_C" >&6
20783 if test -c /dev
/urandom
20785 random_cv_RANDOM
=/dev
/urandom
20787 if test -c /dev
/random
20789 random_cv_RANDOM
=/dev
/random
20791 random_cv_RANDOM
="none"
20796 { echo "$as_me:$LINENO: result: $random_cv_RANDOM" >&5
20797 echo "${ECHO_T}$random_cv_RANDOM" >&6; }
20798 random
="$random_cv_RANDOM"
20805 if test "$random" != "none"
20808 cat >>confdefs.h
<<_ACEOF
20809 #define RANDOM "$random"
20814 { echo "$as_me:$LINENO: checking for some good options for ps" >&5
20815 echo $ECHO_N "checking for some good options for ps... $ECHO_C" >&6; }
20816 if test "${random_cv_PS_OPTIONS+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20819 for opts
in -Afl -Afw -Af -Al -afl -afw -af -al Afl Afw Af Al afl afw af al
20821 ps
$opts >/dev
/null
2>/dev
/null ||
continue
20824 random_cv_PS_OPTIONS
="$opts"
20827 { echo "$as_me:$LINENO: result: $random_cv_PS_OPTIONS" >&5
20828 echo "${ECHO_T}$random_cv_PS_OPTIONS" >&6; }
20831 cat >>confdefs.h
<<_ACEOF
20832 #define PS_OPTIONS "$random_cv_PS_OPTIONS"
20836 cat >>confdefs.h
<<_ACEOF
20841 if test "$W" != "w"
20844 cat >>confdefs.h
<<_ACEOF
20850 ac_config_files
="$ac_config_files Makefile"
20852 cat >confcache
<<\_ACEOF
20853 # This file is a shell script that caches the results of configure
20854 # tests run on this system so they can be shared between configure
20855 # scripts and configure runs, see configure's option --config-cache.
20856 # It is not useful on other systems. If it contains results you don't
20857 # want to keep, you may remove or edit it.
20859 # config.status only pays attention to the cache file if you give it
20860 # the --recheck option to rerun configure.
20862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20864 # following values.
20868 # The following way of writing the cache mishandles newlines in values,
20869 # but we know of no workaround that is simple, portable, and efficient.
20870 # So, we kill variables containing newlines.
20871 # Ultrix sh set writes to stderr and can't be redirected directly,
20872 # and sets the high bit in the cache file unless we assign to the vars.
20874 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20875 eval ac_val
=\$
$ac_var
20879 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20880 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20883 _ | IFS | as_nl
) ;; #(
20884 *) $as_unset $ac_var ;;
20890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20891 *${as_nl}ac_space
=\
*)
20892 # `set' does not quote correctly, so add quotes (double-quote
20893 # substitution turns \\\\ into \\, and sed turns \\ into \).
20896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20899 # `set' quotes correctly as required by POSIX, so do not add quotes.
20900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20913 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20914 if test -w "$cache_file"; then
20915 test "x$cache_file" != "x/dev/null" &&
20916 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20917 echo "$as_me: updating cache $cache_file" >&6;}
20918 cat confcache
>$cache_file
20920 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20921 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20926 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20927 # Let make expand exec_prefix.
20928 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20930 DEFS
=-DHAVE_CONFIG_H
20934 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20935 # 1. Remove the extension, and $U if already installed.
20936 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20937 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20938 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20939 # will be set to the directory where LIBOBJS objects are built.
20940 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20941 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20943 LIBOBJS
=$ac_libobjs
20945 LTLIBOBJS
=$ac_ltlibobjs
20948 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20949 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20950 Usually this means the macro was only invoked conditionally." >&5
20951 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20952 Usually this means the macro was only invoked conditionally." >&2;}
20953 { (exit 1); exit 1; }; }
20955 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20956 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20957 Usually this means the macro was only invoked conditionally." >&5
20958 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20959 Usually this means the macro was only invoked conditionally." >&2;}
20960 { (exit 1); exit 1; }; }
20962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20963 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20964 Usually this means the macro was only invoked conditionally." >&5
20965 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20966 Usually this means the macro was only invoked conditionally." >&2;}
20967 { (exit 1); exit 1; }; }
20969 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20970 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20971 Usually this means the macro was only invoked conditionally." >&5
20972 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20973 Usually this means the macro was only invoked conditionally." >&2;}
20974 { (exit 1); exit 1; }; }
20977 : ${CONFIG_STATUS=./config.status}
20978 ac_clean_files_save
=$ac_clean_files
20979 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20980 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20981 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20982 cat >$CONFIG_STATUS <<_ACEOF
20984 # Generated by $as_me.
20985 # Run this file to recreate the current configuration.
20986 # Compiler output produced by configure, useful for debugging
20987 # configure, is in config.log if it exists.
20990 ac_cs_recheck=false
20992 SHELL=\${CONFIG_SHELL-$SHELL}
20995 cat >>$CONFIG_STATUS <<\_ACEOF
20996 ## --------------------- ##
20997 ## M4sh Initialization. ##
20998 ## --------------------- ##
21000 # Be more Bourne compatible
21001 DUALCASE
=1; export DUALCASE
# for MKS sh
21002 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21005 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21006 # is contrary to our usage. Disable this feature.
21007 alias -g '${1+"$@"}'='"$@"'
21008 setopt NO_GLOB_SUBST
21010 case `(set -o) 2>/dev/null` in
21011 *posix
*) set -o posix
;;
21020 # Avoid depending upon Character Ranges.
21021 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21022 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21023 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21024 as_cr_digits
='0123456789'
21025 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21027 # The user is always right.
21028 if test "${PATH_SEPARATOR+set}" != set; then
21029 echo "#! /bin/sh" >conf$$.sh
21030 echo "exit 0" >>conf$$.sh
21032 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21040 # Support unset when possible.
21041 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21049 # We need space, tab and new line, in precisely that order. Quoting is
21050 # there to prevent editors from complaining about space-tab.
21051 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21052 # splitting by setting IFS to empty value.)
21057 # Find who we are. Look in the path if we contain no directory separator.
21059 *[\\/]* ) as_myself
=$0 ;;
21060 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21061 for as_dir
in $PATH
21064 test -z "$as_dir" && as_dir
=.
21065 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21071 # We did not find ourselves, most probably we were run as `sh COMMAND'
21072 # in which case we are not to be found in the path.
21073 if test "x$as_myself" = x
; then
21076 if test ! -f "$as_myself"; then
21077 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21078 { (exit 1); exit 1; }
21081 # Work around bugs in pre-3.0 UWIN ksh.
21082 for as_var
in ENV MAIL MAILPATH
21083 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21091 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21092 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21093 LC_TELEPHONE LC_TIME
21095 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21096 eval $as_var=C
; export $as_var
21098 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21102 # Required to use basename.
21103 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21104 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21110 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21111 as_basename
=basename
21117 # Name of the executable.
21118 as_me
=`$as_basename -- "$0" ||
21119 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21120 X"$0" : 'X\(//\)$' \| \
21121 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21123 sed '/^.*\/\([^/][^/]*\)\/*$/{
21142 as_lineno_1
=$LINENO
21143 as_lineno_2
=$LINENO
21144 test "x$as_lineno_1" != "x$as_lineno_2" &&
21145 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21147 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21148 # uniformly replaced by the line number. The first 'sed' inserts a
21149 # line-number line after each line using $LINENO; the second 'sed'
21150 # does the real work. The second script uses 'N' to pair each
21151 # line-number line with the line containing $LINENO, and appends
21152 # trailing '-' during substitution so that $LINENO is not a special
21153 # case at line end.
21154 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21155 # scripts with optimization help from Paolo Bonzini. Blame Lee
21156 # E. McMahon (1931-1989) for sed's syntax. :-)
21168 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21171 ' >$as_me.lineno
&&
21172 chmod +x
"$as_me.lineno" ||
21173 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21174 { (exit 1); exit 1; }; }
21176 # Don't try to exec as it changes $[0], causing all sort of problems
21177 # (the dirname of $[0] is not the place where we might find the
21178 # original and so on. Autoconf is especially sensitive to this).
21179 .
"./$as_me.lineno"
21180 # Exit status is that of the last command.
21185 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21191 ECHO_C
= ECHO_N
= ECHO_T
=
21192 case `echo -n x` in
21194 case `echo 'x\c'` in
21195 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21202 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21203 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21209 rm -f conf$$ conf$$.exe conf$$.
file
21210 if test -d conf$$.dir
; then
21211 rm -f conf$$.dir
/conf$$.
file
21217 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21219 # ... but there are two gotchas:
21220 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21221 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21222 # In both cases, we have to default to `cp -p'.
21223 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21225 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21230 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21231 rmdir conf$$.dir
2>/dev
/null
21233 if mkdir
-p .
2>/dev
/null
; then
21236 test -d .
/-p && rmdir .
/-p
21240 if test -x / >/dev
/null
2>&1; then
21241 as_test_x
='test -x'
21243 if ls -dL / >/dev
/null
2>&1; then
21250 if test -d "$1"; then
21256 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21257 ???[sx]*):;;*)false;;esac;fi
21261 as_executable_p
=$as_test_x
21263 # Sed expression to map a string onto a valid CPP name.
21264 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21266 # Sed expression to map a string onto a valid variable name.
21267 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21272 # Save the log message, to keep $[0] and so on meaningful, and to
21273 # report actual input values of CONFIG_FILES etc. instead of their
21274 # values after options handling.
21276 This file was extended by random128 $as_me 0.10, which was
21277 generated by GNU Autoconf 2.61. Invocation command line was
21279 CONFIG_FILES = $CONFIG_FILES
21280 CONFIG_HEADERS = $CONFIG_HEADERS
21281 CONFIG_LINKS = $CONFIG_LINKS
21282 CONFIG_COMMANDS = $CONFIG_COMMANDS
21285 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21290 cat >>$CONFIG_STATUS <<_ACEOF
21291 # Files that config.status was made for.
21292 config_files="$ac_config_files"
21293 config_headers="$ac_config_headers"
21294 config_commands="$ac_config_commands"
21298 cat >>$CONFIG_STATUS <<\_ACEOF
21300 \`$as_me' instantiates files from templates according to the
21301 current configuration.
21303 Usage: $0 [OPTIONS] [FILE]...
21305 -h, --help print this help, then exit
21306 -V, --version print version number and configuration settings, then exit
21307 -q, --quiet do not print progress messages
21308 -d, --debug don't remove temporary files
21309 --recheck update $as_me by reconfiguring in the same conditions
21310 --file=FILE[:TEMPLATE]
21311 instantiate the configuration file FILE
21312 --header=FILE[:TEMPLATE]
21313 instantiate the configuration header FILE
21315 Configuration files:
21318 Configuration headers:
21321 Configuration commands:
21324 Report bugs to <bug-autoconf@gnu.org>."
21327 cat >>$CONFIG_STATUS <<_ACEOF
21329 random128 config.status 0.10
21330 configured by $0, generated by GNU Autoconf 2.61,
21331 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21333 Copyright (C) 2006 Free Software Foundation, Inc.
21334 This config.status script is free software; the Free Software Foundation
21335 gives unlimited permission to copy, distribute and modify it."
21343 cat >>$CONFIG_STATUS <<\_ACEOF
21344 # If no file are specified by the user, then we need to provide default
21345 # value. By we need to know if files were specified by the user.
21351 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21352 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21363 # Handling of the options.
21364 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21366 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21367 echo "$ac_cs_version"; exit ;;
21368 --debug |
--debu |
--deb |
--de |
--d |
-d )
21370 --file |
--fil |
--fi |
--f )
21372 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21373 ac_need_defaults
=false
;;
21374 --header |
--heade |
--head |
--hea )
21376 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21377 ac_need_defaults
=false
;;
21379 # Conflict between --help and --header
21380 { echo "$as_me: error: ambiguous option: $1
21381 Try \`$0 --help' for more information." >&2
21382 { (exit 1); exit 1; }; };;
21383 --help |
--hel |
-h )
21384 echo "$ac_cs_usage"; exit ;;
21385 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21386 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21389 # This is an error.
21390 -*) { echo "$as_me: error: unrecognized option: $1
21391 Try \`$0 --help' for more information." >&2
21392 { (exit 1); exit 1; }; } ;;
21394 *) ac_config_targets
="$ac_config_targets $1"
21395 ac_need_defaults
=false
;;
21401 ac_configure_extra_args
=
21403 if $ac_cs_silent; then
21405 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21409 cat >>$CONFIG_STATUS <<_ACEOF
21410 if \$ac_cs_recheck; then
21411 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21412 CONFIG_SHELL=$SHELL
21413 export CONFIG_SHELL
21414 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21418 cat >>$CONFIG_STATUS <<\_ACEOF
21422 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21423 ## Running $as_me. ##
21429 cat >>$CONFIG_STATUS <<_ACEOF
21433 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21437 cat >>$CONFIG_STATUS <<\_ACEOF
21439 # Handling of arguments.
21440 for ac_config_target
in $ac_config_targets
21442 case $ac_config_target in
21443 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21444 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21445 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21447 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21448 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21449 { (exit 1); exit 1; }; };;
21454 # If the user did not use the arguments to specify the items to instantiate,
21455 # then the envvar interface is used. Set only those that are not.
21456 # We use the long form for the default assignment because of an extremely
21457 # bizarre bug on SunOS 4.1.3.
21458 if $ac_need_defaults; then
21459 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21460 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21461 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21464 # Have a temporary directory for convenience. Make it in the build tree
21465 # simply because there is no reason against having it here, and in addition,
21466 # creating and moving files from /tmp can sometimes cause problems.
21467 # Hook for its removal unless debugging.
21468 # Note that there is a small window in which the directory will not be cleaned:
21469 # after its creation but before its name has been assigned to `$tmp'.
21473 trap 'exit_status=$?
21474 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21476 trap '{ (exit 1); exit 1; }' 1 2 13 15
21478 # Create a (secure) tmp directory for tmp files.
21481 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21482 test -n "$tmp" && test -d "$tmp"
21485 tmp
=.
/conf$$
-$RANDOM
21486 (umask 077 && mkdir
"$tmp")
21489 echo "$me: cannot create a temporary directory in ." >&2
21490 { (exit 1); exit 1; }
21494 # Set up the sed scripts for CONFIG_FILES section.
21497 # No need to generate the scripts if there are no CONFIG_FILES.
21498 # This happens for instance when ./config.status config.h
21499 if test -n "$CONFIG_FILES"; then
21506 for ac_last_try
in false false false false false
:; do
21507 cat >conf$
$subs.
sed <<_ACEOF
21508 SHELL!$SHELL$ac_delim
21509 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21510 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21511 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21512 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21513 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21514 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21515 exec_prefix!$exec_prefix$ac_delim
21516 prefix!$prefix$ac_delim
21517 program_transform_name!$program_transform_name$ac_delim
21518 bindir!$bindir$ac_delim
21519 sbindir!$sbindir$ac_delim
21520 libexecdir!$libexecdir$ac_delim
21521 datarootdir!$datarootdir$ac_delim
21522 datadir!$datadir$ac_delim
21523 sysconfdir!$sysconfdir$ac_delim
21524 sharedstatedir!$sharedstatedir$ac_delim
21525 localstatedir!$localstatedir$ac_delim
21526 includedir!$includedir$ac_delim
21527 oldincludedir!$oldincludedir$ac_delim
21528 docdir!$docdir$ac_delim
21529 infodir!$infodir$ac_delim
21530 htmldir!$htmldir$ac_delim
21531 dvidir!$dvidir$ac_delim
21532 pdfdir!$pdfdir$ac_delim
21533 psdir!$psdir$ac_delim
21534 libdir!$libdir$ac_delim
21535 localedir!$localedir$ac_delim
21536 mandir!$mandir$ac_delim
21537 DEFS!$DEFS$ac_delim
21538 ECHO_C!$ECHO_C$ac_delim
21539 ECHO_N!$ECHO_N$ac_delim
21540 ECHO_T!$ECHO_T$ac_delim
21541 LIBS!$LIBS$ac_delim
21542 build_alias!$build_alias$ac_delim
21543 host_alias!$host_alias$ac_delim
21544 target_alias!$target_alias$ac_delim
21545 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21546 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21547 INSTALL_DATA!$INSTALL_DATA$ac_delim
21548 am__isrc!$am__isrc$ac_delim
21549 CYGPATH_W!$CYGPATH_W$ac_delim
21550 PACKAGE!$PACKAGE$ac_delim
21551 VERSION!$VERSION$ac_delim
21552 ACLOCAL!$ACLOCAL$ac_delim
21553 AUTOCONF!$AUTOCONF$ac_delim
21554 AUTOMAKE!$AUTOMAKE$ac_delim
21555 AUTOHEADER!$AUTOHEADER$ac_delim
21556 MAKEINFO!$MAKEINFO$ac_delim
21557 install_sh!$install_sh$ac_delim
21558 STRIP!$STRIP$ac_delim
21559 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21560 mkdir_p!$mkdir_p$ac_delim
21562 SET_MAKE!$SET_MAKE$ac_delim
21563 am__leading_dot!$am__leading_dot$ac_delim
21564 AMTAR!$AMTAR$ac_delim
21565 am__tar!$am__tar$ac_delim
21566 am__untar!$am__untar$ac_delim
21568 CFLAGS!$CFLAGS$ac_delim
21569 LDFLAGS!$LDFLAGS$ac_delim
21570 CPPFLAGS!$CPPFLAGS$ac_delim
21571 ac_ct_CC!$ac_ct_CC$ac_delim
21572 EXEEXT!$EXEEXT$ac_delim
21573 OBJEXT!$OBJEXT$ac_delim
21574 DEPDIR!$DEPDIR$ac_delim
21575 am__include!$am__include$ac_delim
21576 am__quote!$am__quote$ac_delim
21577 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21578 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21579 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21580 CCDEPMODE!$CCDEPMODE$ac_delim
21581 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21582 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21584 GREP!$GREP$ac_delim
21585 EGREP!$EGREP$ac_delim
21586 LN_S!$LN_S$ac_delim
21589 build!$build$ac_delim
21590 build_cpu!$build_cpu$ac_delim
21591 build_vendor!$build_vendor$ac_delim
21592 build_os!$build_os$ac_delim
21593 host!$host$ac_delim
21594 host_cpu!$host_cpu$ac_delim
21595 host_vendor!$host_vendor$ac_delim
21596 host_os!$host_os$ac_delim
21598 ECHO!$ECHO$ac_delim
21600 RANLIB!$RANLIB$ac_delim
21602 CXXFLAGS!$CXXFLAGS$ac_delim
21603 ac_ct_CXX!$ac_ct_CXX$ac_delim
21604 CXXDEPMODE!$CXXDEPMODE$ac_delim
21607 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21609 elif $ac_last_try; then
21610 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21611 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21612 { (exit 1); exit 1; }; }
21614 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21618 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21619 if test -n "$ac_eof"; then
21620 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21621 ac_eof
=`expr $ac_eof + 1`
21624 cat >>$CONFIG_STATUS <<_ACEOF
21625 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21629 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21630 s/^/s,@/; s/!/@,|#_!!_#|/
21633 s/'"$ac_delim"'$/,g/; t
21635 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21636 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21637 rm -f conf$
$subs.
sed
21638 cat >>$CONFIG_STATUS <<_ACEOF
21644 for ac_last_try
in false false false false false
:; do
21645 cat >conf$
$subs.
sed <<_ACEOF
21646 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21647 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21648 CXXCPP!$CXXCPP$ac_delim
21650 FFLAGS!$FFLAGS$ac_delim
21651 ac_ct_F77!$ac_ct_F77$ac_delim
21652 LIBTOOL!$LIBTOOL$ac_delim
21653 LIBOBJS!$LIBOBJS$ac_delim
21654 LTLIBOBJS!$LTLIBOBJS$ac_delim
21657 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
21659 elif $ac_last_try; then
21660 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21661 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21662 { (exit 1); exit 1; }; }
21664 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21668 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21669 if test -n "$ac_eof"; then
21670 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21671 ac_eof
=`expr $ac_eof + 1`
21674 cat >>$CONFIG_STATUS <<_ACEOF
21675 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21679 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21680 s/^/s,@/; s/!/@,|#_!!_#|/
21683 s/'"$ac_delim"'$/,g/; t
21685 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21686 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21687 rm -f conf$
$subs.
sed
21688 cat >>$CONFIG_STATUS <<_ACEOF
21695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21697 # trailing colons and then remove the whole line if VPATH becomes empty
21698 # (actually we leave an empty line to preserve line numbers).
21699 if test "x$srcdir" = x.
; then
21700 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21701 s/:*\$(srcdir):*/:/
21702 s/:*\${srcdir}:*/:/
21704 s/^\([^=]*=[ ]*\):*/\1/
21710 cat >>$CONFIG_STATUS <<\_ACEOF
21711 fi # test -n "$CONFIG_FILES"
21714 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21717 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21719 case $ac_mode$ac_tag in
21721 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21722 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21723 { (exit 1); exit 1; }; };;
21724 :[FH
]-) ac_tag
=-:-;;
21725 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21742 -) ac_f
="$tmp/stdin";;
21743 *) # Look for the file first in the build tree, then in the source tree
21744 # (if the path is not absolute). The absolute path cannot be DOS-style,
21745 # because $ac_f cannot contain `:'.
21749 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21751 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21752 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21753 { (exit 1); exit 1; }; };;
21755 ac_file_inputs
="$ac_file_inputs $ac_f"
21758 # Let's still pretend it is `configure' which instantiates (i.e., don't
21759 # use $as_me), people would be surprised to read:
21760 # /* config.h. Generated by config.status. */
21761 configure_input
="Generated from "`IFS=:
21762 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21763 if test x
"$ac_file" != x-
; then
21764 configure_input
="$ac_file. $configure_input"
21765 { echo "$as_me:$LINENO: creating $ac_file" >&5
21766 echo "$as_me: creating $ac_file" >&6;}
21770 *:-:* |
*:-) cat >"$tmp/stdin";;
21775 ac_dir
=`$as_dirname -- "$ac_file" ||
21776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21777 X"$ac_file" : 'X\(//\)[^/]' \| \
21778 X"$ac_file" : 'X\(//\)$' \| \
21779 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21785 /^X\(\/\/\)[^/].*/{
21800 -*) as_dir
=.
/$as_dir;;
21802 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21806 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21807 *) as_qdir
=$as_dir;;
21809 as_dirs
="'$as_qdir' $as_dirs"
21810 as_dir
=`$as_dirname -- "$as_dir" ||
21811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21812 X"$as_dir" : 'X\(//\)[^/]' \| \
21813 X"$as_dir" : 'X\(//\)$' \| \
21814 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21820 /^X\(\/\/\)[^/].*/{
21833 test -d "$as_dir" && break
21835 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21836 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21837 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21838 { (exit 1); exit 1; }; }; }
21842 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21844 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21845 # A ".." for each directory in $ac_dir_suffix.
21846 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21847 case $ac_top_builddir_sub in
21848 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21849 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21852 ac_abs_top_builddir
=$ac_pwd
21853 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21854 # for backward compatibility:
21855 ac_top_builddir
=$ac_top_build_prefix
21858 .
) # We are building in place.
21860 ac_top_srcdir
=$ac_top_builddir_sub
21861 ac_abs_top_srcdir
=$ac_pwd ;;
21862 [\\/]* | ?
:[\\/]* ) # Absolute name.
21863 ac_srcdir
=$srcdir$ac_dir_suffix;
21864 ac_top_srcdir
=$srcdir
21865 ac_abs_top_srcdir
=$srcdir ;;
21866 *) # Relative name.
21867 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21868 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21869 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21871 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21881 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21882 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21884 ac_MKDIR_P
=$MKDIR_P
21886 [\\/$
]* | ?
:[\\/]* ) ;;
21887 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21891 cat >>$CONFIG_STATUS <<\_ACEOF
21892 # If the template does not know about datarootdir, expand it.
21893 # FIXME: This hack should be removed a few years after 2.60.
21894 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21896 case `sed -n '/datarootdir/ {
21905 ' $ac_file_inputs` in
21906 *datarootdir
*) ac_datarootdir_seen
=yes;;
21907 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21908 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21909 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21911 cat >>$CONFIG_STATUS <<_ACEOF
21912 ac_datarootdir_hack='
21913 s&@datadir@&$datadir&g
21914 s&@docdir@&$docdir&g
21915 s&@infodir@&$infodir&g
21916 s&@localedir@&$localedir&g
21917 s&@mandir@&$mandir&g
21918 s&\\\${datarootdir}&$datarootdir&g' ;;
21922 # Neutralize VPATH when `$srcdir' = `.'.
21923 # Shell code in configure.ac might set extrasub.
21924 # FIXME: do we really want to maintain this feature?
21925 cat >>$CONFIG_STATUS <<_ACEOF
21929 cat >>$CONFIG_STATUS <<\_ACEOF
21931 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21932 s
&@configure_input@
&$configure_input&;t t
21933 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21934 s
&@srcdir@
&$ac_srcdir&;t t
21935 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21936 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21937 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21938 s
&@builddir@
&$ac_builddir&;t t
21939 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21940 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21941 s
&@INSTALL@
&$ac_INSTALL&;t t
21942 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21943 $ac_datarootdir_hack
21944 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21946 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21947 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21948 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21949 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21950 which seems to be undefined. Please make sure it is defined." >&5
21951 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21952 which seems to be undefined. Please make sure it is defined." >&2;}
21956 -) cat "$tmp/out"; rm -f "$tmp/out";;
21957 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21966 # Transform confdefs.h into a sed script `conftest.defines', that
21967 # substitutes the proper values into config.h.in to produce config.h.
21968 rm -f conftest.defines conftest.
tail
21969 # First, append a space to every undef/define line, to ease matching.
21970 echo 's/$/ /' >conftest.defines
21971 # Then, protect against being on the right side of a sed subst, or in
21972 # an unquoted here document, in config.status. If some macros were
21973 # called several times there might be several #defines for the same
21974 # symbol, which is useless. But do not sort them, since the last
21975 # AC_DEFINE must be honored.
21976 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21977 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21978 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21979 # PARAMS is the parameter list in the macro definition--in most cases, it's
21980 # just an empty string.
21981 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21982 ac_dB
='\\)[ (].*,\\1define\\2'
21990 s/^[ ]*#[ ]*define[ ][ ]*//
21995 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21996 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21997 ' >>conftest.defines
21999 # Remove the space that was appended to ease matching.
22000 # Then replace #undef with comments. This is necessary, for
22001 # example, in the case of _POSIX_SOURCE, which is predefined and required
22002 # on some systems where configure will not decide to define it.
22003 # (The regexp can be short, since the line contains either #define or #undef.)
22005 s,^[ #]*u.*,/* & */,' >>conftest.defines
22007 # Break up conftest.defines:
22008 ac_max_sed_lines
=50
22010 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22011 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22012 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22014 ac_in
='$ac_file_inputs'
22015 ac_out
='"$tmp/out1"'
22016 ac_nxt
='"$tmp/out2"'
22020 # Write a here document:
22021 cat >>$CONFIG_STATUS <<_ACEOF
22022 # First, check the format of the line:
22023 cat >"\$tmp/defines.sed" <<\\CEOF
22024 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22025 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22029 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22031 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22032 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22033 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22034 grep . conftest.
tail >/dev
/null ||
break
22035 rm -f conftest.defines
22036 mv conftest.
tail conftest.defines
22038 rm -f conftest.defines conftest.
tail
22040 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22041 cat >>$CONFIG_STATUS <<\_ACEOF
22042 if test x
"$ac_file" != x-
; then
22043 echo "/* $configure_input */" >"$tmp/config.h"
22044 cat "$ac_result" >>"$tmp/config.h"
22045 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22046 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22047 echo "$as_me: $ac_file is unchanged" >&6;}
22050 mv "$tmp/config.h" $ac_file
22053 echo "/* $configure_input */"
22057 # Compute $ac_file's index in $config_headers.
22059 for _am_header
in $config_headers :; do
22060 case $_am_header in
22061 $ac_file |
$ac_file:* )
22064 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22067 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22068 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22069 X$ac_file : 'X\(//\)[^/]' \| \
22070 X$ac_file : 'X\(//\)$' \| \
22071 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22077 /^X\(\/\/\)[^/].*/{
22089 s/.*/./; q'`/stamp-h
$_am_stamp_count
22092 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22093 echo "$as_me: executing $ac_file commands" >&6;}
22098 case $ac_file$ac_mode in
22099 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22100 # Strip MF so we end up with the name of the file.
22101 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22102 # Check whether this is an Automake generated Makefile or not.
22103 # We used to match only the files named `Makefile.in', but
22104 # some people rename them; so instead we look at the file content.
22105 # Grep'ing the first line is not enough: some people post-process
22106 # each Makefile.in and add a new line on top of each file to say so.
22107 # Grep'ing the whole file is not good either: AIX grep has a line
22108 # limit of 2048, but all sed's we know have understand at least 4000.
22109 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
22110 dirpart
=`$as_dirname -- "$mf" ||
22111 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22112 X"$mf" : 'X\(//\)[^/]' \| \
22113 X"$mf" : 'X\(//\)$' \| \
22114 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22120 /^X\(\/\/\)[^/].*/{
22136 # Extract the definition of DEPDIR, am__include, and am__quote
22137 # from the Makefile without running `make'.
22138 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22139 test -z "$DEPDIR" && continue
22140 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22141 test -z "am__include" && continue
22142 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22143 # When using ansi2knr, U may be empty or an underscore; expand it
22144 U
=`sed -n 's/^U = //p' < "$mf"`
22145 # Find all dependency output files, they are included files with
22146 # $(DEPDIR) in their names. We invoke sed twice because it is the
22147 # simplest approach to changing $(DEPDIR) to its actual value in the
22149 for file in `sed -n "
22150 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22151 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22152 # Make sure the directory exists.
22153 test -f "$dirpart/$file" && continue
22154 fdir
=`$as_dirname -- "$file" ||
22155 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22156 X"$file" : 'X\(//\)[^/]' \| \
22157 X"$file" : 'X\(//\)$' \| \
22158 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22164 /^X\(\/\/\)[^/].*/{
22177 { as_dir
=$dirpart/$fdir
22179 -*) as_dir
=.
/$as_dir;;
22181 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22185 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22186 *) as_qdir
=$as_dir;;
22188 as_dirs
="'$as_qdir' $as_dirs"
22189 as_dir
=`$as_dirname -- "$as_dir" ||
22190 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22191 X"$as_dir" : 'X\(//\)[^/]' \| \
22192 X"$as_dir" : 'X\(//\)$' \| \
22193 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22199 /^X\(\/\/\)[^/].*/{
22212 test -d "$as_dir" && break
22214 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22215 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22216 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22217 { (exit 1); exit 1; }; }; }
22218 # echo "creating $dirpart/$file"
22219 echo '# dummy' > "$dirpart/$file"
22228 { (exit 0); exit 0; }
22230 chmod +x
$CONFIG_STATUS
22231 ac_clean_files
=$ac_clean_files_save
22234 # configure is writing to config.log, and then calls config.status.
22235 # config.status does its own redirection, appending to config.log.
22236 # Unfortunately, on DOS this fails, as config.log is still kept open
22237 # by configure, so config.status won't be able to write to it; its
22238 # output is simply discarded. So we exec the FD to /dev/null,
22239 # effectively closing config.log, so it can be properly (re)opened and
22240 # appended to by config.status. When coming back to configure, we
22241 # need to make the FD available again.
22242 if test "$no_create" != yes; then
22244 ac_config_status_args
=
22245 test "$silent" = yes &&
22246 ac_config_status_args
="$ac_config_status_args --quiet"
22248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22251 # would make configure fail if this is the last instruction.
22252 $ac_cs_success ||
{ (exit 1); exit 1; }