2 # From configure.ac Id: configure.ac 411 2007-12-21 11:44:14Z des .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for OpenPAM 20071221.
6 # Report bugs to <des@des.no>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) ||
{ (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") ||
{
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir
-p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 # Check that we are running under the correct shell.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
561 # Remove one level of quotation (which was required for Make).
562 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
567 if test "X$1" = X--no-reexec
; then
568 # Discard the --no-reexec flag, and continue.
570 elif test "X$1" = X--fallback-echo
; then
571 # Avoid inline document here, it may be left over
573 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
574 # Yippee, $echo works!
577 # Restart under the correct shell.
578 exec $SHELL "$0" --no-reexec ${1+"$@"}
581 if test "X$1" = X--fallback-echo
; then
582 # used as fallback echo
590 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
594 if test -z "$ECHO"; then
595 if test "X${echo_test_string+set}" != Xset
; then
596 # find a string as large as possible, as long as the shell can cope with it
597 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
598 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
599 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
600 echo_test_string
=`eval $cmd` &&
601 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
608 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
617 # So, first we look for a working echo in the user's PATH.
619 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
620 for dir
in $PATH /usr
/ucb
; do
622 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
632 if test "X$echo" = Xecho
; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
639 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
640 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL
=/bin
/ksh
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
650 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
651 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
655 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
661 SHELL
="$CONFIG_SHELL"
663 echo="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 echo="$CONFIG_SHELL $0 --fallback-echo"
670 # maybe with a smaller string...
673 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string
=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
686 # Oops. We lost completely, so just stick with echo.
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
698 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
705 tagnames
=${tagnames+${tagnames},}CXX
707 tagnames
=${tagnames+${tagnames},}F77
709 exec 7<&0 </dev
/null
6>&1
712 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
713 # so uname gets run too.
714 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
719 ac_default_prefix
=/usr
/local
721 ac_config_libobj_dir
=.
727 SHELL
=${CONFIG_SHELL-/bin/sh}
729 # Identity of this package.
730 PACKAGE_NAME
='OpenPAM'
731 PACKAGE_TARNAME
='openpam'
732 PACKAGE_VERSION
='20071221'
733 PACKAGE_STRING
='OpenPAM 20071221'
734 PACKAGE_BUGREPORT
='des@des.no'
736 ac_unique_file
="lib/pam_start.c"
737 # Factoring default headers for most tests.
738 ac_includes_default
="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
782 program_transform_name
858 INSTALL_STRIP_PROGRAM
891 ac_precious_vars
='build_alias
908 # Initialize some variables set by options.
910 ac_init_version
=false
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
920 program_transform_name
=s
,x
,x
,
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir
='${exec_prefix}/bin'
935 sbindir
='${exec_prefix}/sbin'
936 libexecdir
='${exec_prefix}/libexec'
937 datarootdir
='${prefix}/share'
938 datadir
='${datarootdir}'
939 sysconfdir
='${prefix}/etc'
940 sharedstatedir
='${prefix}/com'
941 localstatedir
='${prefix}/var'
942 includedir
='${prefix}/include'
943 oldincludedir
='/usr/include'
944 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
945 infodir
='${datarootdir}/info'
950 libdir
='${exec_prefix}/lib'
951 localedir
='${datarootdir}/locale'
952 mandir
='${datarootdir}/man'
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\
$ac_option
966 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
970 # Accept the important Cygnus configure options, so we can diagnose typos.
972 case $ac_dashdash$ac_option in
976 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
978 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
981 -build |
--build |
--buil |
--bui |
--bu)
982 ac_prev
=build_alias
;;
983 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
984 build_alias
=$ac_optarg ;;
986 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
987 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
988 ac_prev
=cache_file
;;
989 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
990 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
991 cache_file
=$ac_optarg ;;
994 cache_file
=config.cache
;;
996 -datadir |
--datadir |
--datadi |
--datad)
998 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
999 datadir
=$ac_optarg ;;
1001 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1002 |
--dataroo |
--dataro |
--datar)
1003 ac_prev
=datarootdir
;;
1004 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1005 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1006 datarootdir
=$ac_optarg ;;
1008 -disable-* |
--disable-*)
1009 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1012 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1013 { (exit 1); exit 1; }; }
1014 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1015 eval enable_
$ac_feature=no
;;
1017 -docdir |
--docdir |
--docdi |
--doc |
--do)
1019 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1020 docdir
=$ac_optarg ;;
1022 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1024 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1025 dvidir
=$ac_optarg ;;
1027 -enable-* |
--enable-*)
1028 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1031 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1032 { (exit 1); exit 1; }; }
1033 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1034 eval enable_
$ac_feature=\
$ac_optarg ;;
1036 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1037 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1038 |
--exec |
--exe |
--ex)
1039 ac_prev
=exec_prefix
;;
1040 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1041 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1042 |
--exec=* |
--exe=* |
--ex=*)
1043 exec_prefix
=$ac_optarg ;;
1045 -gas |
--gas |
--ga |
--g)
1046 # Obsolete; use --with-gas.
1049 -help |
--help |
--hel |
--he |
-h)
1050 ac_init_help
=long
;;
1051 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1052 ac_init_help
=recursive
;;
1053 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1054 ac_init_help
=short
;;
1056 -host |
--host |
--hos |
--ho)
1057 ac_prev
=host_alias
;;
1058 -host=* |
--host=* |
--hos=* |
--ho=*)
1059 host_alias
=$ac_optarg ;;
1061 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1063 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1065 htmldir
=$ac_optarg ;;
1067 -includedir |
--includedir |
--includedi |
--included |
--include \
1068 |
--includ |
--inclu |
--incl |
--inc)
1069 ac_prev
=includedir
;;
1070 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1071 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1072 includedir
=$ac_optarg ;;
1074 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1076 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1077 infodir
=$ac_optarg ;;
1079 -libdir |
--libdir |
--libdi |
--libd)
1081 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1082 libdir
=$ac_optarg ;;
1084 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1085 |
--libexe |
--libex |
--libe)
1086 ac_prev
=libexecdir
;;
1087 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1088 |
--libexe=* |
--libex=* |
--libe=*)
1089 libexecdir
=$ac_optarg ;;
1091 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1092 ac_prev
=localedir
;;
1093 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1094 localedir
=$ac_optarg ;;
1096 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1097 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1098 ac_prev
=localstatedir
;;
1099 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1100 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1101 localstatedir
=$ac_optarg ;;
1103 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1105 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1106 mandir
=$ac_optarg ;;
1108 -nfp |
--nfp |
--nf)
1109 # Obsolete; use --without-fp.
1112 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1113 |
--no-cr |
--no-c |
-n)
1116 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1117 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1120 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1121 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1122 |
--oldin |
--oldi |
--old |
--ol |
--o)
1123 ac_prev
=oldincludedir
;;
1124 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1125 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1126 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1127 oldincludedir
=$ac_optarg ;;
1129 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1131 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1132 prefix
=$ac_optarg ;;
1134 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1135 |
--program-pre |
--program-pr |
--program-p)
1136 ac_prev
=program_prefix
;;
1137 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1138 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1139 program_prefix
=$ac_optarg ;;
1141 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1142 |
--program-suf |
--program-su |
--program-s)
1143 ac_prev
=program_suffix
;;
1144 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1145 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1146 program_suffix
=$ac_optarg ;;
1148 -program-transform-name |
--program-transform-name \
1149 |
--program-transform-nam |
--program-transform-na \
1150 |
--program-transform-n |
--program-transform- \
1151 |
--program-transform |
--program-transfor \
1152 |
--program-transfo |
--program-transf \
1153 |
--program-trans |
--program-tran \
1154 |
--progr-tra |
--program-tr |
--program-t)
1155 ac_prev
=program_transform_name
;;
1156 -program-transform-name=* |
--program-transform-name=* \
1157 |
--program-transform-nam=* |
--program-transform-na=* \
1158 |
--program-transform-n=* |
--program-transform-=* \
1159 |
--program-transform=* |
--program-transfor=* \
1160 |
--program-transfo=* |
--program-transf=* \
1161 |
--program-trans=* |
--program-tran=* \
1162 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1163 program_transform_name
=$ac_optarg ;;
1165 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1167 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1168 pdfdir
=$ac_optarg ;;
1170 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1172 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1175 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1176 |
-silent |
--silent |
--silen |
--sile |
--sil)
1179 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1181 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1183 sbindir
=$ac_optarg ;;
1185 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1186 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1187 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1189 ac_prev
=sharedstatedir
;;
1190 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1191 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1192 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1194 sharedstatedir
=$ac_optarg ;;
1196 -site |
--site |
--sit)
1198 -site=* |
--site=* |
--sit=*)
1201 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1203 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1204 srcdir
=$ac_optarg ;;
1206 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1207 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1208 ac_prev
=sysconfdir
;;
1209 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1210 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1211 sysconfdir
=$ac_optarg ;;
1213 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1214 ac_prev
=target_alias
;;
1215 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1216 target_alias
=$ac_optarg ;;
1218 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1221 -version |
--version |
--versio |
--versi |
--vers |
-V)
1222 ac_init_version
=: ;;
1225 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1228 { echo "$as_me: error: invalid package name: $ac_package" >&2
1229 { (exit 1); exit 1; }; }
1230 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1231 eval with_
$ac_package=\
$ac_optarg ;;
1233 -without-* |
--without-*)
1234 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235 # Reject names that are not valid shell variable names.
1236 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 { echo "$as_me: error: invalid package name: $ac_package" >&2
1238 { (exit 1); exit 1; }; }
1239 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1240 eval with_
$ac_package=no
;;
1243 # Obsolete; use --with-x.
1246 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1247 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1248 ac_prev
=x_includes
;;
1249 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1250 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1251 x_includes
=$ac_optarg ;;
1253 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1254 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1255 ac_prev
=x_libraries
;;
1256 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1257 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1258 x_libraries
=$ac_optarg ;;
1260 -*) { echo "$as_me: error: unrecognized option: $ac_option
1261 Try \`$0 --help' for more information." >&2
1262 { (exit 1); exit 1; }; }
1266 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1269 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1270 { (exit 1); exit 1; }; }
1271 eval $ac_envvar=\
$ac_optarg
1272 export $ac_envvar ;;
1275 # FIXME: should be removed in autoconf 3.0.
1276 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1277 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1278 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1279 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1285 if test -n "$ac_prev"; then
1286 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1287 { echo "$as_me: error: missing argument to $ac_option" >&2
1288 { (exit 1); exit 1; }; }
1291 # Be sure to have absolute directory names.
1292 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293 datadir sysconfdir sharedstatedir localstatedir includedir \
1294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295 libdir localedir mandir
1297 eval ac_val
=\$
$ac_var
1299 [\\/$
]* | ?
:[\\/]* ) continue;;
1300 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1302 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1303 { (exit 1); exit 1; }; }
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1311 target
=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x
; then
1315 if test "x$build_alias" = x
; then
1316 cross_compiling
=maybe
1317 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1318 If a cross compiler is detected then cross compile mode will be used." >&2
1319 elif test "x$build_alias" != "x$host_alias"; then
1325 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1327 test "$silent" = yes && exec 6>/dev
/null
1330 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1331 ac_ls_di
=`ls -di .` &&
1332 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1333 { echo "$as_me: error: Working directory cannot be determined" >&2
1334 { (exit 1); exit 1; }; }
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 { echo "$as_me: error: pwd does not report name of working directory" >&2
1337 { (exit 1); exit 1; }; }
1340 # Find the source files, if location was not specified.
1341 if test -z "$srcdir"; then
1342 ac_srcdir_defaulted
=yes
1343 # Try the directory containing this script, then the parent directory.
1344 ac_confdir
=`$as_dirname -- "$0" ||
1345 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1346 X"$0" : 'X\(//\)[^/]' \| \
1347 X"$0" : 'X\(//\)$' \| \
1348 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1372 ac_srcdir_defaulted
=no
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1375 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1376 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1377 { (exit 1); exit 1; }; }
1379 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1381 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1382 { (exit 1); exit 1; }; }
1384 # When building in place, set srcdir=.
1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
1388 # Remove unnecessary trailing slashes from srcdir.
1389 # Double slashes in file names in object file debugging info
1390 # mess up M-x gdb in Emacs.
1392 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1394 for ac_var
in $ac_precious_vars; do
1395 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1396 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1397 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1398 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1402 # Report the --help message.
1404 if test "$ac_init_help" = "long"; then
1405 # Omit some internal or obsolete options to make the list less imposing.
1406 # This message is too long to be a string in the A/UX 3.1 sh.
1408 \`configure' configures OpenPAM 20071221 to adapt to many kinds of systems.
1410 Usage: $0 [OPTION]... [VAR=VALUE]...
1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1413 VAR=VALUE. See below for descriptions of some of the useful variables.
1415 Defaults for the options are specified in brackets.
1418 -h, --help display this help and exit
1419 --help=short display options specific to this package
1420 --help=recursive display the short help of all the included packages
1421 -V, --version display version information and exit
1422 -q, --quiet, --silent do not print \`checking...' messages
1423 --cache-file=FILE cache test results in FILE [disabled]
1424 -C, --config-cache alias for \`--cache-file=config.cache'
1425 -n, --no-create do not create output files
1426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1428 Installation directories:
1429 --prefix=PREFIX install architecture-independent files in PREFIX
1430 [$ac_default_prefix]
1431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1434 By default, \`make install' will install all the files in
1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1437 for instance \`--prefix=\$HOME'.
1439 For better control, use the options below.
1441 Fine tuning of the installation directories:
1442 --bindir=DIR user executables [EPREFIX/bin]
1443 --sbindir=DIR system admin executables [EPREFIX/sbin]
1444 --libexecdir=DIR program executables [EPREFIX/libexec]
1445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1448 --libdir=DIR object code libraries [EPREFIX/lib]
1449 --includedir=DIR C header files [PREFIX/include]
1450 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1451 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1452 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1453 --infodir=DIR info documentation [DATAROOTDIR/info]
1454 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1455 --mandir=DIR man documentation [DATAROOTDIR/man]
1456 --docdir=DIR documentation root [DATAROOTDIR/doc/openpam]
1457 --htmldir=DIR html documentation [DOCDIR]
1458 --dvidir=DIR dvi documentation [DOCDIR]
1459 --pdfdir=DIR pdf documentation [DOCDIR]
1460 --psdir=DIR ps documentation [DOCDIR]
1466 --program-prefix=PREFIX prepend PREFIX to installed program names
1467 --program-suffix=SUFFIX append SUFFIX to installed program names
1468 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1471 --build=BUILD configure
for building on BUILD
[guessed
]
1472 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1473 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1477 if test -n "$ac_init_help"; then
1478 case $ac_init_help in
1479 short | recursive
) echo "Configuration of OpenPAM 20071221:";;
1484 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1485 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1486 --enable-static[=PKGS
] build static libraries
[default
=no
]
1487 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1488 --enable-fast-install[=PKGS
]
1489 optimize
for fast installation
[default
=yes]
1490 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1491 --disable-dependency-tracking speeds up one-time build
1492 --enable-dependency-tracking do not reject slow dependency extractors
1493 --enable-debug turn debugging on by default
1494 --disable-unversioned-modules
1495 support loading of unversioned modules
1496 --enable-developer-warnings
1497 enable strict warnings
(default is NO
)
1498 --enable-debugging-symbols
1499 enable debugging symbols
(default is NO
)
1500 --enable-werror use
-Werror (default is NO
)
1503 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1504 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1505 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1506 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1508 --with-tags[=TAGS
] include additional configurations
[automatic
]
1509 --with-modules-dir=DIR OpenPAM modules directory
1510 --with-doc build documentation
1511 --with-pam-unix compile example version of pam_unix.so
1512 --with-su compile example version of su
(1)
1514 Some influential environment variables
:
1515 CC C compiler
command
1516 CFLAGS C compiler flags
1517 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1518 nonstandard directory
<lib dir
>
1519 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1520 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1521 you have headers
in a nonstandard directory
<include dir
>
1523 CXX C
++ compiler
command
1524 CXXFLAGS C
++ compiler flags
1525 CXXCPP C
++ preprocessor
1526 F77 Fortran
77 compiler
command
1527 FFLAGS Fortran
77 compiler flags
1529 Use these variables to override the choices made by
`configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1532 Report bugs to <des@des.no>.
1537 if test "$ac_init_help" = "recursive"; then
1538 # If there are subdirs, report their specific --help.
1539 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1540 test -d "$ac_dir" || continue
1544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1547 # A ".." for each directory in $ac_dir_suffix.
1548 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1549 case $ac_top_builddir_sub in
1550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1554 ac_abs_top_builddir=$ac_pwd
1555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1556 # for backward compatibility:
1557 ac_top_builddir=$ac_top_build_prefix
1560 .) # We are building in place.
1562 ac_top_srcdir=$ac_top_builddir_sub
1563 ac_abs_top_srcdir=$ac_pwd ;;
1564 [\\/]* | ?:[\\/]* ) # Absolute name.
1565 ac_srcdir=$srcdir$ac_dir_suffix;
1566 ac_top_srcdir=$srcdir
1567 ac_abs_top_srcdir=$srcdir ;;
1569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1570 ac_top_srcdir=$ac_top_build_prefix$srcdir
1571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1575 cd "$ac_dir" || { ac_status=$?; continue; }
1576 # Check for guested configure.
1577 if test -f "$ac_srcdir/configure.gnu"; then
1579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1580 elif test -f "$ac_srcdir/configure"; then
1582 $SHELL "$ac_srcdir/configure" --help=recursive
1584 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1586 cd "$ac_pwd" || { ac_status=$?; break; }
1590 test -n "$ac_init_help" && exit $ac_status
1591 if $ac_init_version; then
1593 OpenPAM configure 20071221
1594 generated by GNU Autoconf 2.61
1596 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1597 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1598 This configure script is free software; the Free Software Foundation
1599 gives unlimited permission to copy, distribute and modify it.
1603 cat >config.log <<_ACEOF
1604 This file contains any messages produced by compilers while
1605 running configure, to aid debugging if configure makes a mistake.
1607 It was created by OpenPAM $as_me 20071221, which was
1608 generated by GNU Autoconf 2.61. Invocation command line was
1620 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1621 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1622 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1623 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1624 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1626 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1627 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1629 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1630 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1631 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1632 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1633 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1634 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1635 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1643 test -z "$as_dir" && as_dir=.
1644 echo "PATH: $as_dir"
1660 # Keep a trace of the command line.
1661 # Strip out --no-create and --no-recursion so they do not pile up.
1662 # Strip out --silent because we don't want to record it for future runs.
1663 # Also quote any args containing shell meta-characters.
1664 # Make two passes to allow for proper duplicate-argument suppression.
1668 ac_must_keep_next=false
1674 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1676 | -silent | --silent | --silen | --sile | --sil)
1679 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1682 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1684 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1685 if test $ac_must_keep_next = true; then
1686 ac_must_keep_next=false # Got value, back to normal.
1689 *=* | --config-cache | -C | -disable-* | --disable-* \
1690 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1691 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1692 | -with-* | --with-* | -without-* | --without-* | --x)
1693 case "$ac_configure_args0 " in
1694 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1697 -* ) ac_must_keep_next=true ;;
1700 ac_configure_args="$ac_configure_args '$ac_arg'"
1705 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1706 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1708 # When interrupted or exit'd, cleanup temporary files, and complete
1709 # config.log. We remove comments because anyway the quotes in there
1710 # would cause problems or look ugly.
1711 # WARNING: Use '\'' to represent an apostrophe within the trap.
1712 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1713 trap 'exit_status=$?
1714 # Save into config.log some information that might help in debugging.
1719 ## ---------------- ##
1720 ## Cache variables. ##
1721 ## ---------------- ##
1724 # The following way of writing the cache mishandles newlines in values,
1726 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1727 eval ac_val=\$$ac_var
1731 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1732 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1735 _ | IFS | as_nl) ;; #(
1736 *) $as_unset $ac_var ;;
1741 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1742 *${as_nl}ac_space=\ *)
1744 "s/'\''/'\''\\\\'\'''\''/g;
1745 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1748 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1756 ## ----------------- ##
1757 ## Output variables. ##
1758 ## ----------------- ##
1761 for ac_var in $ac_subst_vars
1763 eval ac_val=\$$ac_var
1765 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1767 echo "$ac_var='\''$ac_val'\''"
1771 if test -n "$ac_subst_files"; then
1773 ## ------------------- ##
1774 ## File substitutions. ##
1775 ## ------------------- ##
1778 for ac_var in $ac_subst_files
1780 eval ac_val=\$$ac_var
1782 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1784 echo "$ac_var='\''$ac_val'\''"
1789 if test -s confdefs.h; then
1799 test "$ac_signal" != 0 &&
1800 echo "$as_me: caught signal $ac_signal"
1801 echo "$as_me: exit $exit_status"
1803 rm -f core *.core core.conftest.* &&
1804 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1807 for ac_signal in 1 2 13 15; do
1808 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1812 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1813 rm -f -r conftest* confdefs.h
1815 # Predefined preprocessor variables.
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_NAME "$PACKAGE_NAME"
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1832 cat >>confdefs.h <<_ACEOF
1833 #define PACKAGE_STRING "$PACKAGE_STRING"
1837 cat >>confdefs.h <<_ACEOF
1838 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1842 # Let the site file select an alternate cache file if it wants to.
1843 # Prefer explicitly selected file to automatically selected ones.
1844 if test -n "$CONFIG_SITE"; then
1845 set x "$CONFIG_SITE"
1846 elif test "x$prefix" != xNONE; then
1847 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1849 set x "$ac_default_prefix/share/config.site" \
1850 "$ac_default_prefix/etc/config.site"
1855 if test -r "$ac_site_file"; then
1856 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1857 echo "$as_me: loading site script $ac_site_file" >&6;}
1858 sed 's/^/| /' "$ac_site_file" >&5
1863 if test -r "$cache_file"; then
1864 # Some versions of bash will fail to source /dev/null (special
1865 # files actually), so we avoid doing that.
1866 if test -f "$cache_file"; then
1867 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1868 echo "$as_me: loading cache $cache_file" >&6;}
1870 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1871 *) . "./$cache_file";;
1875 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1876 echo "$as_me: creating cache $cache_file" >&6;}
1880 # Check that the precious variables saved in the cache have kept the same
1882 ac_cache_corrupted=false
1883 for ac_var in $ac_precious_vars; do
1884 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1885 eval ac_new_set=\$ac_env_${ac_var}_set
1886 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1887 eval ac_new_val=\$ac_env_${ac_var}_value
1888 case $ac_old_set,$ac_new_set in
1890 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1891 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1892 ac_cache_corrupted=: ;;
1894 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1895 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1896 ac_cache_corrupted=: ;;
1899 if test "x$ac_old_val" != "x$ac_new_val"; then
1900 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1901 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1902 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1903 echo "$as_me: former value
: $ac_old_val" >&2;}
1904 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1905 echo "$as_me: current value
: $ac_new_val" >&2;}
1906 ac_cache_corrupted=:
1909 # Pass precious variables to config.status.
1910 if test "$ac_new_set" = set; then
1912 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1913 *) ac_arg=$ac_var=$ac_new_val ;;
1915 case " $ac_configure_args " in
1916 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1917 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1921 if $ac_cache_corrupted; then
1922 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1923 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1924 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1925 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1926 { (exit 1); exit 1; }; }
1954 ac_cpp='$CPP $CPPFLAGS'
1955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1961 ac_config_headers="$ac_config_headers config.h"
1965 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1966 if test -f "$ac_dir/install-sh"; then
1968 ac_install_sh="$ac_aux_dir/install-sh -c"
1970 elif test -f "$ac_dir/install.sh"; then
1972 ac_install_sh="$ac_aux_dir/install.sh -c"
1974 elif test -f "$ac_dir/shtool"; then
1976 ac_install_sh="$ac_aux_dir/shtool install -c"
1980 if test -z "$ac_aux_dir"; then
1981 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1982 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1983 { (exit 1); exit 1; }; }
1986 # These three variables are undocumented and unsupported,
1987 # and are intended to be withdrawn in a future Autoconf release.
1988 # They can cause serious problems if a builder's source tree is in a directory
1989 # whose full name contains unusual characters.
1990 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1991 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1992 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1995 # Make sure we can run config.sub.
1996 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1997 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1998 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1999 { (exit 1); exit 1; }; }
2001 { echo "$as_me:$LINENO: checking build system type" >&5
2002 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2003 if test "${ac_cv_build+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 ac_build_alias=$build_alias
2007 test "x$ac_build_alias" = x &&
2008 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2009 test "x$ac_build_alias" = x &&
2010 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2011 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2012 { (exit 1); exit 1; }; }
2013 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2014 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2015 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2016 { (exit 1); exit 1; }; }
2019 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2020 echo "${ECHO_T}$ac_cv_build" >&6; }
2021 case $ac_cv_build in
2023 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2024 echo "$as_me: error: invalid value of canonical build" >&2;}
2025 { (exit 1); exit 1; }; };;
2028 ac_save_IFS=$IFS; IFS='-'
2034 # Remember, the first character of IFS is used to create $*,
2035 # except with old shells:
2038 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2041 { echo "$as_me:$LINENO: checking host system type" >&5
2042 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2043 if test "${ac_cv_host+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test "x$host_alias" = x; then
2047 ac_cv_host=$ac_cv_build
2049 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2050 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2051 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2052 { (exit 1); exit 1; }; }
2056 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2057 echo "${ECHO_T}$ac_cv_host" >&6; }
2060 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2061 echo "$as_me: error: invalid value of canonical host" >&2;}
2062 { (exit 1); exit 1; }; };;
2065 ac_save_IFS=$IFS; IFS='-'
2071 # Remember, the first character of IFS is used to create $*,
2072 # except with old shells:
2075 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2078 { echo "$as_me:$LINENO: checking target system type" >&5
2079 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2080 if test "${ac_cv_target+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 if test "x$target_alias" = x; then
2084 ac_cv_target=$ac_cv_host
2086 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2087 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2088 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2089 { (exit 1); exit 1; }; }
2093 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2094 echo "${ECHO_T}$ac_cv_target" >&6; }
2095 case $ac_cv_target in
2097 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2098 echo "$as_me: error: invalid value of canonical target" >&2;}
2099 { (exit 1); exit 1; }; };;
2101 target=$ac_cv_target
2102 ac_save_IFS=$IFS; IFS='-'
2108 # Remember, the first character of IFS is used to create $*,
2109 # except with old shells:
2112 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2115 # The aliases save the names the user supplied, while $host etc.
2116 # will get canonicalized.
2117 test -n "$target_alias" &&
2118 test "$program_prefix$program_suffix$program_transform_name" = \
2120 program_prefix=${target_alias}-
2122 ac_cpp='$CPP $CPPFLAGS'
2123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2128 ac_cpp='$CPP $CPPFLAGS'
2129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2132 if test -n "$ac_tool_prefix"; then
2133 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2134 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_prog_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 if test -n "$CC"; then
2141 ac_cv_prog_CC="$CC" # Let the user override the test.
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 if test -n "$CC"; then
2162 { echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6; }
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2171 if test -z "$ac_cv_prog_CC"; then
2173 # Extract the first word of "gcc", so it can be a program name with args.
2174 set dummy gcc; ac_word=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$ac_ct_CC"; then
2181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir=.
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190 ac_cv_prog_ac_ct_CC="gcc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2201 if test -n "$ac_ct_CC"; then
2202 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2203 echo "${ECHO_T}$ac_ct_CC" >&6; }
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2209 if test "x$ac_ct_CC" = x; then
2212 case $cross_compiling:$ac_tool_warned in
2214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2215 whose name does not start with the host triplet. If you think this
2216 configuration is useful to you, please write to autoconf@gnu.org." >&5
2217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2218 whose name does not start with the host triplet. If you think this
2219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2220 ac_tool_warned=yes ;;
2228 if test -z "$CC"; then
2229 if test -n "$ac_tool_prefix"; then
2230 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2231 set dummy ${ac_tool_prefix}cc; ac_word=$2
2232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2234 if test "${ac_cv_prog_CC+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 if test -n "$CC"; then
2238 ac_cv_prog_CC="$CC" # Let the user override the test.
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247 ac_cv_prog_CC="${ac_tool_prefix}cc"
2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 if test -n "$CC"; then
2259 { echo "$as_me:$LINENO: result: $CC" >&5
2260 echo "${ECHO_T}$CC" >&6; }
2262 { echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6; }
2269 if test -z "$CC"; then
2270 # Extract the first word of "cc", so it can be a program name with args.
2271 set dummy cc; ac_word=$2
2272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274 if test "${ac_cv_prog_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$CC"; then
2278 ac_cv_prog_CC="$CC" # Let the user override the test.
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2289 ac_prog_rejected=yes
2293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 if test $ac_prog_rejected = yes; then
2301 # We found a bogon in the path, so make sure we never use it.
2302 set dummy $ac_cv_prog_CC
2304 if test $# != 0; then
2305 # We chose a different compiler from the bogus one.
2306 # However, it has the same basename, so the bogon will be chosen
2307 # first if we set CC to just the basename; use the full file name.
2309 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2315 if test -n "$CC"; then
2316 { echo "$as_me:$LINENO: result: $CC" >&5
2317 echo "${ECHO_T}$CC" >&6; }
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2325 if test -z "$CC"; then
2326 if test -n "$ac_tool_prefix"; then
2327 for ac_prog in cl.exe
2329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_CC+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$CC"; then
2337 ac_cv_prog_CC="$CC" # Let the user override the test.
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 if test -n "$CC"; then
2358 { echo "$as_me:$LINENO: result: $CC" >&5
2359 echo "${ECHO_T}$CC" >&6; }
2361 { echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6; }
2366 test -n "$CC" && break
2369 if test -z "$CC"; then
2371 for ac_prog in cl.exe
2373 # Extract the first word of "$ac_prog", so it can be a program name with args.
2374 set dummy $ac_prog; ac_word=$2
2375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2377 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 if test -n "$ac_ct_CC"; then
2381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2390 ac_cv_prog_ac_ct_CC="$ac_prog"
2391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2401 if test -n "$ac_ct_CC"; then
2402 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2403 echo "${ECHO_T}$ac_ct_CC" >&6; }
2405 { echo "$as_me:$LINENO: result: no" >&5
2406 echo "${ECHO_T}no" >&6; }
2410 test -n "$ac_ct_CC" && break
2413 if test "x$ac_ct_CC" = x; then
2416 case $cross_compiling:$ac_tool_warned in
2418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2419 whose name does not start with the host triplet. If you think this
2420 configuration is useful to you, please write to autoconf@gnu.org." >&5
2421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2422 whose name does not start with the host triplet. If you think this
2423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2424 ac_tool_warned=yes ;;
2433 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2434 See \`config.log
' for more details." >&5
2435 echo "$as_me: error: no acceptable C compiler found in \$PATH
2436 See \`config.log' for more details.
" >&2;}
2437 { (exit 1); exit 1; }; }
2439 # Provide some information about the compiler.
2440 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2441 ac_compiler=`set X $ac_compile; echo $2`
2442 { (ac_try="$ac_compiler --version >&5"
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2448 (eval "$ac_compiler --version >&5") 2>&5
2450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2451 (exit $ac_status); }
2452 { (ac_try="$ac_compiler -v >&5"
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2458 (eval "$ac_compiler -v >&5") 2>&5
2460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2461 (exit $ac_status); }
2462 { (ac_try="$ac_compiler -V >&5"
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2467 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2468 (eval "$ac_compiler -V >&5") 2>&5
2470 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2471 (exit $ac_status); }
2473 cat >conftest.$ac_ext <<_ACEOF
2476 cat confdefs.h >>conftest.$ac_ext
2477 cat >>conftest.$ac_ext <<_ACEOF
2478 /* end confdefs.h. */
2488 ac_clean_files_save=$ac_clean_files
2489 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2490 # Try to create an executable without -o first, disregard a.out.
2491 # It will help us diagnose broken compilers, and finding out an intuition
2493 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2494 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2495 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2497 # List of possible output files, starting from the most likely.
2498 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2499 # only as a last resort. b.out is created by i960 compilers.
2500 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2502 # The IRIX 6 linker writes into existing files which may not be
2503 # executable, retaining their permissions. Remove them first so a
2504 # subsequent execution test works.
2506 for ac_file in $ac_files
2509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2510 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2515 if { (ac_try="$ac_link_default"
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2520 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2521 (eval "$ac_link_default") 2>&5
2523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2524 (exit $ac_status); }; then
2525 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2526 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2527 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2528 # so that the user can short-circuit this test for compilers unknown to
2530 for ac_file in $ac_files ''
2532 test -f "$ac_file" || continue
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2537 # We found the default executable, but exeext='' is most
2541 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2543 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2545 # We set ac_cv_exeext here because the later test for it is not
2546 # safe: cross compilers may not add the suffix if given an `-o'
2547 # argument, so we may need to know it at that point already.
2548 # Even if this section looks crufty: it has the advantage of
2555 test "$ac_cv_exeext" = no && ac_cv_exeext=
2561 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2562 echo "${ECHO_T}$ac_file" >&6; }
2563 if test -z "$ac_file"; then
2564 echo "$as_me: failed program was
:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2567 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2568 See \
`config.log' for more details." >&5
2569 echo "$as_me: error: C compiler cannot create executables
2570 See \`config.log
' for more details." >&2;}
2571 { (exit 77); exit 77; }; }
2574 ac_exeext=$ac_cv_exeext
2576 # Check that the compiler produces executables we can run. If not, either
2577 # the compiler is broken, or we cross compile.
2578 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2579 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2580 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2581 # If not cross compiling, check that we can run a simple program.
2582 if test "$cross_compiling" != yes; then
2583 if { ac_try='.
/$ac_file'
2584 { (case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_try") 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; }; then
2595 if test "$cross_compiling" = maybe; then
2598 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2599 If you meant to cross compile, use \`--host'.
2600 See \
`config.log' for more details." >&5
2601 echo "$as_me: error: cannot run C compiled programs.
2602 If you meant to cross compile, use \`--host'.
2603 See \`config.log' for more details.
" >&2;}
2604 { (exit 1); exit 1; }; }
2608 { echo "$as_me:$LINENO: result
: yes" >&5
2609 echo "${ECHO_T}yes" >&6; }
2611 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2612 ac_clean_files=$ac_clean_files_save
2613 # Check that the compiler produces executables we can run. If not, either
2614 # the compiler is broken, or we cross compile.
2615 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2616 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2617 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2618 echo "${ECHO_T}$cross_compiling" >&6; }
2620 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2621 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2622 if { (ac_try="$ac_link"
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;;
2627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2628 (eval "$ac_link") 2>&5
2630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2631 (exit $ac_status); }; then
2632 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2633 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2634 # work properly (i.e., refer to `conftest.exe'), while it won't with
2636 for ac_file in conftest.exe conftest conftest.*; do
2637 test -f "$ac_file" || continue
2639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2640 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2647 See \
`config.log' for more details." >&5
2648 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2649 See \`config.log
' for more details." >&2;}
2650 { (exit 1); exit 1; }; }
2653 rm -f conftest$ac_cv_exeext
2654 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2655 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2657 rm -f conftest.$ac_ext
2658 EXEEXT=$ac_cv_exeext
2660 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2661 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2662 if test "${ac_cv_objext+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 cat >conftest.$ac_ext <<_ACEOF
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2680 rm -f conftest.o conftest.obj
2681 if { (ac_try="$ac_compile"
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2687 (eval "$ac_compile") 2>&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; then
2691 for ac_file in conftest.o conftest.obj conftest.*; do
2692 test -f "$ac_file" || continue;
2694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2695 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2700 echo "$as_me: failed program was:" >&5
2701 sed 's
/^
/|
/' conftest.$ac_ext >&5
2703 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2704 See \`config.log' for more details.
" >&5
2705 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2706 See \
`config.log' for more details." >&2;}
2707 { (exit 1); exit 1; }; }
2710 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2712 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2713 echo "${ECHO_T}$ac_cv_objext" >&6; }
2714 OBJEXT=$ac_cv_objext
2716 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2717 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2718 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 cat >conftest.$ac_ext <<_ACEOF
2724 cat confdefs.h >>conftest.$ac_ext
2725 cat >>conftest.$ac_ext <<_ACEOF
2726 /* end confdefs.h. */
2739 rm -f conftest.$ac_objext
2740 if { (ac_try="$ac_compile"
2742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2743 *) ac_try_echo
=$ac_try;;
2745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746 (eval "$ac_compile") 2>conftest.er1
2748 grep -v '^ *+' conftest.er1
>conftest.err
2750 cat conftest.err
>&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); } && {
2753 test -z "$ac_c_werror_flag" ||
2754 test ! -s conftest.err
2755 } && test -s conftest.
$ac_objext; then
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.
$ac_ext >&5
2764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2765 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2768 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2769 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2770 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2771 ac_test_CFLAGS
=${CFLAGS+set}
2772 ac_save_CFLAGS
=$CFLAGS
2773 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2774 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2775 if test "${ac_cv_prog_cc_g+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 ac_save_c_werror_flag
=$ac_c_werror_flag
2779 ac_c_werror_flag
=yes
2782 cat >conftest.
$ac_ext <<_ACEOF
2785 cat confdefs.h
>>conftest.
$ac_ext
2786 cat >>conftest.
$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2797 rm -f conftest.
$ac_objext
2798 if { (ac_try
="$ac_compile"
2800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2804 (eval "$ac_compile") 2>conftest.er1
2806 grep -v '^ *+' conftest.er1 >conftest.err
2808 cat conftest.err >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } && {
2811 test -z "$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2813 } && test -s conftest.$ac_objext; then
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2820 cat >conftest.$ac_ext <<_ACEOF
2823 cat confdefs.h >>conftest.$ac_ext
2824 cat >>conftest.$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2835 rm -f conftest.$ac_objext
2836 if { (ac_try="$ac_compile"
2838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2839 *) ac_try_echo
=$ac_try;;
2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_compile") 2>conftest.er1
2844 grep -v '^ *+' conftest.er1
>conftest.err
2846 cat conftest.err
>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.
$ac_objext; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2857 ac_c_werror_flag
=$ac_save_c_werror_flag
2859 cat >conftest.
$ac_ext <<_ACEOF
2862 cat confdefs.h
>>conftest.
$ac_ext
2863 cat >>conftest.
$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2874 rm -f conftest.
$ac_objext
2875 if { (ac_try
="$ac_compile"
2877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2881 (eval "$ac_compile") 2>conftest.er1
2883 grep -v '^ *+' conftest.er1 >conftest.err
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } && {
2888 test -z "$ac_c_werror_flag" ||
2889 test ! -s conftest.err
2890 } && test -s conftest.$ac_objext; then
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 ac_c_werror_flag=$ac_save_c_werror_flag
2908 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2909 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2910 if test "$ac_test_CFLAGS" = set; then
2911 CFLAGS=$ac_save_CFLAGS
2912 elif test $ac_cv_prog_cc_g = yes; then
2913 if test "$GCC" = yes; then
2919 if test "$GCC" = yes; then
2925 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2926 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_cc_c89+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 ac_cv_prog_cc_c89=no
2932 cat >conftest.$ac_ext <<_ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2940 #include <sys/types.h>
2941 #include <sys/stat.h>
2942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2943 struct buf { int x; };
2944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2945 static char *e (p, i)
2951 static char *f (char * (*g) (char **, int), char **p, ...)
2956 s = g (p, va_arg (v,int));
2961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2962 function prototypes and stuff, but not '\xHH' hex character constants.
2963 These don't provoke an error unfortunately, instead are silently treated
2964 as 'x'. The following induces an error, until -std is added to get
2965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2966 array size at least. It's necessary to write '\x00'==0 to get something
2967 that's true only with -std. */
2968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2970 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2971 inside strings and character constants. */
2973 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2975 int test (int i, double x);
2976 struct s1 {int (*f) (int a);};
2977 struct s2 {int (*f) (double a);};
2978 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2984 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2989 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2990 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2992 CC="$ac_save_CC $ac_arg"
2993 rm -f conftest.$ac_objext
2994 if { (ac_try="$ac_compile"
2996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2997 *) ac_try_echo
=$ac_try;;
2999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3000 (eval "$ac_compile") 2>conftest.er1
3002 grep -v '^ *+' conftest.er1
>conftest.err
3004 cat conftest.err
>&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); } && {
3007 test -z "$ac_c_werror_flag" ||
3008 test ! -s conftest.err
3009 } && test -s conftest.
$ac_objext; then
3010 ac_cv_prog_cc_c89
=$ac_arg
3012 echo "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.
$ac_ext >&5
3018 rm -f core conftest.err conftest.
$ac_objext
3019 test "x$ac_cv_prog_cc_c89" != "xno" && break
3021 rm -f conftest.
$ac_ext
3026 case "x$ac_cv_prog_cc_c89" in
3028 { echo "$as_me:$LINENO: result: none needed" >&5
3029 echo "${ECHO_T}none needed" >&6; } ;;
3031 { echo "$as_me:$LINENO: result: unsupported" >&5
3032 echo "${ECHO_T}unsupported" >&6; } ;;
3034 CC
="$CC $ac_cv_prog_cc_c89"
3035 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3036 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3041 ac_cpp
='$CPP $CPPFLAGS'
3042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3047 { echo "$as_me:$LINENO: checking for working volatile" >&5
3048 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
3049 if test "${ac_cv_c_volatile+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 cat >conftest.
$ac_ext <<_ACEOF
3055 cat confdefs.h
>>conftest.
$ac_ext
3056 cat >>conftest.
$ac_ext <<_ACEOF
3057 /* end confdefs.h. */
3064 int * volatile y = (int *) 0;
3070 rm -f conftest.
$ac_objext
3071 if { (ac_try
="$ac_compile"
3073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3077 (eval "$ac_compile") 2>conftest.er1
3079 grep -v '^ *+' conftest.er1 >conftest.err
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } && {
3084 test -z "$ac_c_werror_flag" ||
3085 test ! -s conftest.err
3086 } && test -s conftest.$ac_objext; then
3087 ac_cv_c_volatile=yes
3089 echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
3098 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
3099 if test $ac_cv_c_volatile = no; then
3101 cat >>confdefs.h <<\_ACEOF
3107 # Check whether --enable-static was given.
3108 if test "${enable_static+set}" = set; then
3109 enableval=$enable_static; p=${PACKAGE-default}
3111 yes) enable_static=yes ;;
3112 no) enable_static=no ;;
3115 # Look at the argument we got. We use all the common list separators.
3116 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3117 for pkg in $enableval; do
3119 if test "X$pkg" = "X$p"; then
3132 # Check whether --enable-shared was given.
3133 if test "${enable_shared+set}" = set; then
3134 enableval=$enable_shared; p=${PACKAGE-default}
3136 yes) enable_shared=yes ;;
3137 no) enable_shared=no ;;
3140 # Look at the argument we got. We use all the common list separators.
3141 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3142 for pkg in $enableval; do
3144 if test "X$pkg" = "X$p"; then
3156 # Check whether --enable-fast-install was given.
3157 if test "${enable_fast_install+set}" = set; then
3158 enableval=$enable_fast_install; p=${PACKAGE-default}
3160 yes) enable_fast_install=yes ;;
3161 no) enable_fast_install=no ;;
3163 enable_fast_install=no
3164 # Look at the argument we got. We use all the common list separators.
3165 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3166 for pkg in $enableval; do
3168 if test "X$pkg" = "X$p"; then
3169 enable_fast_install=yes
3176 enable_fast_install=yes
3180 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3181 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3182 if test "${lt_cv_path_SED+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 # Loop through the user's path and test for sed and gsed.
3186 # Then use that list of sed's as ones to test for truncation.
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir=.
3192 for lt_ac_prog in sed gsed; do
3193 for ac_exec_ext in '' $ac_executable_extensions; do
3194 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3195 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3203 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3204 # along with /bin/sed that truncates output.
3205 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3206 test ! -f $lt_ac_sed && continue
3207 cat /dev/null > conftest.in
3209 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3210 # Check for GNU sed and select it if it is found.
3211 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3212 lt_cv_path_SED=$lt_ac_sed
3216 cat conftest.in conftest.in >conftest.tmp
3217 mv conftest.tmp conftest.in
3218 cp conftest.in conftest.nl
3220 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3221 cmp -s conftest.out conftest.nl || break
3222 # 10000 chars as input seems more than enough
3223 test $lt_ac_count -gt 10 && break
3224 lt_ac_count=`expr $lt_ac_count + 1`
3225 if test $lt_ac_count -gt $lt_ac_max; then
3226 lt_ac_max=$lt_ac_count
3227 lt_cv_path_SED=$lt_ac_sed
3236 { echo "$as_me:$LINENO: result: $SED" >&5
3237 echo "${ECHO_T}$SED" >&6; }
3239 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3240 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3241 if test "${ac_cv_path_GREP+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 # Extract the first word of "grep ggrep" to use in msg output
3245 if test -z "$GREP"; then
3246 set dummy grep ggrep; ac_prog_name=$2
3247 if test "${ac_cv_path_GREP+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 ac_path_GREP_found=false
3251 # Loop through the user's path and test for each of PROGNAME-LIST
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3256 test -z "$as_dir" && as_dir=.
3257 for ac_prog in grep ggrep; do
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3260 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3261 # Check for GNU ac_path_GREP and select it if it is found.
3262 # Check for GNU $ac_path_GREP
3263 case `"$ac_path_GREP" --version 2>&1` in
3265 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3268 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3271 cat "conftest.in" "conftest.in" >"conftest.tmp"
3272 mv "conftest.tmp" "conftest.in"
3273 cp "conftest.in" "conftest.nl"
3274 echo 'GREP' >> "conftest.nl"
3275 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3276 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3277 ac_count=`expr $ac_count + 1`
3278 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3279 # Best one so far, save it but keep looking for a better one
3280 ac_cv_path_GREP="$ac_path_GREP"
3281 ac_path_GREP_max=$ac_count
3283 # 10*(2^10) chars as input seems more than enough
3284 test $ac_count -gt 10 && break
3286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3290 $ac_path_GREP_found && break 3
3300 GREP="$ac_cv_path_GREP"
3301 if test -z "$GREP"; then
3302 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3303 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3304 { (exit 1); exit 1; }; }
3308 ac_cv_path_GREP=$GREP
3313 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3314 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3315 GREP="$ac_cv_path_GREP"
3318 { echo "$as_me:$LINENO: checking for egrep" >&5
3319 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3320 if test "${ac_cv_path_EGREP+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3324 then ac_cv_path_EGREP="$GREP -E"
3326 # Extract the first word of "egrep" to use in msg output
3327 if test -z "$EGREP"; then
3328 set dummy egrep; ac_prog_name=$2
3329 if test "${ac_cv_path_EGREP+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 ac_path_EGREP_found=false
3333 # Loop through the user's path and test for each of PROGNAME-LIST
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3338 test -z "$as_dir" && as_dir=.
3339 for ac_prog in egrep; do
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3342 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3343 # Check for GNU ac_path_EGREP and select it if it is found.
3344 # Check for GNU $ac_path_EGREP
3345 case `"$ac_path_EGREP" --version 2>&1` in
3347 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3350 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3353 cat "conftest.in" "conftest.in" >"conftest.tmp"
3354 mv "conftest.tmp" "conftest.in"
3355 cp "conftest.in" "conftest.nl"
3356 echo 'EGREP' >> "conftest.nl"
3357 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3359 ac_count=`expr $ac_count + 1`
3360 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3361 # Best one so far, save it but keep looking for a better one
3362 ac_cv_path_EGREP="$ac_path_EGREP"
3363 ac_path_EGREP_max=$ac_count
3365 # 10*(2^10) chars as input seems more than enough
3366 test $ac_count -gt 10 && break
3368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3372 $ac_path_EGREP_found && break 3
3382 EGREP="$ac_cv_path_EGREP"
3383 if test -z "$EGREP"; then
3384 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3385 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3386 { (exit 1); exit 1; }; }
3390 ac_cv_path_EGREP=$EGREP
3396 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3397 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3398 EGREP="$ac_cv_path_EGREP"
3402 # Check whether --with-gnu-ld was given.
3403 if test "${with_gnu_ld+set}" = set; then
3404 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3410 if test "$GCC" = yes; then
3411 # Check if gcc -print-prog-name=ld gives a path.
3412 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3413 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3416 # gcc leaves a trailing carriage return which upsets mingw
3417 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3419 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3422 # Accept absolute paths.
3424 re_direlt='/[^/][^/]*/\.\./'
3425 # Canonicalize the pathname of ld
3426 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
3427 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3428 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
3430 test -z "$LD" && LD="$ac_prog"
3433 # If it fails, then pretend we aren't using GCC.
3437 # If it is relative, then search for the first ld in PATH.
3441 elif test "$with_gnu_ld" = yes; then
3442 { echo "$as_me:$LINENO: checking for GNU ld" >&5
3443 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3445 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3446 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3448 if test "${lt_cv_path_LD+set}" = set; then
3449 echo $ECHO_N "(cached) $ECHO_C" >&6
3451 if test -z "$LD"; then
3452 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3453 for ac_dir in $PATH; do
3455 test -z "$ac_dir" && ac_dir=.
3456 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3457 lt_cv_path_LD="$ac_dir/$ac_prog"
3458 # Check to see if the program is GNU ld. I'd rather use --version,
3459 # but apparently some variants of GNU ld only accept -v.
3460 # Break only if it was the GNU/non-GNU ld that we prefer.
3461 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3462 *GNU* | *'with BFD'*)
3463 test "$with_gnu_ld" != no && break
3466 test "$with_gnu_ld" != yes && break
3473 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3478 if test -n "$LD"; then
3479 { echo "$as_me:$LINENO: result: $LD" >&5
3480 echo "${ECHO_T}$LD" >&6; }
3482 { echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6; }
3485 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3486 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3487 { (exit 1); exit 1; }; }
3488 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3489 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3490 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3494 case `$LD -v 2>&1 </dev
/null
` in
3495 *GNU* | *'with BFD'*)
3496 lt_cv_prog_gnu_ld=yes
3499 lt_cv_prog_gnu_ld=no
3503 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3504 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3505 with_gnu_ld=$lt_cv_prog_gnu_ld
3508 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3509 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3510 if test "${lt_cv_ld_reload_flag+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 lt_cv_ld_reload_flag='-r'
3515 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3516 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3517 reload_flag=$lt_cv_ld_reload_flag
3518 case $reload_flag in
3520 *) reload_flag=" $reload_flag" ;;
3522 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3525 if test "$GCC" = yes; then
3526 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3528 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3533 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3534 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3535 if test "${lt_cv_path_NM+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 if test -n "$NM"; then
3539 # Let the user override the test.
3542 lt_nm_to_check="${ac_tool_prefix}nm"
3543 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3544 lt_nm_to_check="$lt_nm_to_check nm"
3546 for lt_tmp_nm in $lt_nm_to_check; do
3547 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3548 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3550 test -z "$ac_dir" && ac_dir=.
3551 tmp_nm="$ac_dir/$lt_tmp_nm"
3552 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3553 # Check to see if the nm accepts a BSD-compat flag.
3554 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3555 # nm: unknown option "B" ignored
3556 # Tru64's nm complains that
/dev
/null is an invalid object
file
3557 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3558 */dev
/null
* |
*'Invalid file or object type'*)
3559 lt_cv_path_NM
="$tmp_nm -B"
3563 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3565 lt_cv_path_NM
="$tmp_nm -p"
3569 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3570 continue # so that we can try to find one that supports BSD flags
3579 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3582 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3583 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3586 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3587 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3589 if test "$LN_S" = "ln -s"; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3593 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3594 echo "${ECHO_T}no, using $LN_S" >&6; }
3597 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
3598 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
3599 if test "${lt_cv_deplibs_check_method+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3603 lt_cv_file_magic_test_file
=
3604 lt_cv_deplibs_check_method
='unknown'
3605 # Need to set the preceding variable on all platforms that support
3606 # interlibrary dependencies.
3607 # 'none' -- dependencies not supported.
3608 # `unknown' -- same as none, but documents that we really don't know.
3609 # 'pass_all' -- all dependencies passed with no checks.
3610 # 'test_compile' -- check by making test program.
3611 # 'file_magic [[regex]]' -- check by looking for files in library path
3612 # which responds to the $file_magic_cmd with a given extended regex.
3613 # If you have `file' or equivalent on your system and you're not sure
3614 # whether `pass_all' will *always* work, you probably want this one.
3618 lt_cv_deplibs_check_method
=pass_all
3622 lt_cv_deplibs_check_method
=pass_all
3626 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3627 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3628 lt_cv_file_magic_test_file
=/shlib
/libc.so
3632 # func_win32_libid is a shell function defined in ltmain.sh
3633 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3634 lt_cv_file_magic_cmd
='func_win32_libid'
3638 # Base MSYS/MinGW do not provide the 'file' command needed by
3639 # func_win32_libid shell function, so use a weaker test based on 'objdump',
3640 # unless we find 'file', for example because we are cross-compiling.
3641 if ( file / ) >/dev
/null
2>&1; then
3642 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
3643 lt_cv_file_magic_cmd
='func_win32_libid'
3645 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3646 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3650 darwin
* | rhapsody
*)
3651 lt_cv_deplibs_check_method
=pass_all
3654 freebsd
* | dragonfly
*)
3655 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3658 # Not sure whether the presence of OpenBSD here was a mistake.
3659 # Let's accept both of them until this is cleared up.
3660 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3661 lt_cv_file_magic_cmd
=/usr
/bin
/file
3662 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3666 lt_cv_deplibs_check_method
=pass_all
3671 lt_cv_deplibs_check_method
=pass_all
3674 hpux10.20
* | hpux11
*)
3675 lt_cv_file_magic_cmd
=/usr
/bin
/file
3678 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3679 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3682 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]'
3683 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
3686 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3687 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3693 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3694 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
3697 irix5
* | irix6
* | nonstopux
*)
3699 *-32|
*"-32 ") libmagic
=32-bit;;
3700 *-n32|
*"-n32 ") libmagic
=N32
;;
3701 *-64|
*"-64 ") libmagic
=64-bit;;
3702 *) libmagic
=never-match
;;
3704 lt_cv_deplibs_check_method
=pass_all
3707 # This must be Linux ELF.
3708 linux
* | k
*bsd
*-gnu)
3709 lt_cv_deplibs_check_method
=pass_all
3713 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3714 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3716 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3721 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3722 lt_cv_file_magic_cmd
=/usr
/bin
/file
3723 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3727 lt_cv_deplibs_check_method
=unknown
3731 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3732 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3734 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3738 osf3
* | osf4
* | osf5
*)
3739 lt_cv_deplibs_check_method
=pass_all
3743 lt_cv_deplibs_check_method
=pass_all
3747 lt_cv_deplibs_check_method
=pass_all
3751 case $host_vendor in
3753 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]'
3754 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3757 lt_cv_deplibs_check_method
=pass_all
3760 lt_cv_file_magic_cmd
='/bin/file'
3761 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3764 lt_cv_file_magic_cmd
='/bin/file'
3765 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3766 lt_cv_file_magic_test_file
=/lib
/libc.so
3769 lt_cv_deplibs_check_method
=pass_all
3772 lt_cv_deplibs_check_method
=pass_all
3777 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
3778 lt_cv_deplibs_check_method
=pass_all
3783 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3784 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3785 file_magic_cmd
=$lt_cv_file_magic_cmd
3786 deplibs_check_method
=$lt_cv_deplibs_check_method
3787 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
3792 # If no C compiler was specified, use CC.
3795 # If no C compiler flags were specified, use CFLAGS.
3796 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
3798 # Allow CC to be a program name with arguments.
3801 # Check whether --enable-libtool-lock was given.
3802 if test "${enable_libtool_lock+set}" = set; then
3803 enableval
=$enable_libtool_lock;
3806 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
3808 # Some flags need to be propagated to the compiler or linker for good
3812 # Find out which ABI we are using.
3813 echo 'int i;' > conftest.
$ac_ext
3814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3815 (eval $ac_compile) 2>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; then
3819 case `/usr/bin/file conftest.$ac_objext` in
3831 # Find out which ABI we are using.
3832 echo '#line 3832 "configure"' > conftest.
$ac_ext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3834 (eval $ac_compile) 2>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); }; then
3838 if test "$lt_cv_prog_gnu_ld" = yes; then
3839 case `/usr/bin/file conftest.$ac_objext` in
3841 LD
="${LD-ld} -melf32bsmip"
3844 LD
="${LD-ld} -melf32bmipn32"
3847 LD
="${LD-ld} -melf64bmip"
3851 case `/usr/bin/file conftest.$ac_objext` in
3867 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
3868 s390
*-*linux
*|sparc
*-*linux
*)
3869 # Find out which ABI we are using.
3870 echo 'int i;' > conftest.
$ac_ext
3871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3872 (eval $ac_compile) 2>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; then
3876 case `/usr/bin/file conftest.o` in
3879 x86_64-
*kfreebsd
*-gnu)
3880 LD
="${LD-ld} -m elf_i386_fbsd"
3883 LD
="${LD-ld} -m elf_i386"
3885 ppc64-
*linux
*|powerpc64-
*linux
*)
3886 LD
="${LD-ld} -m elf32ppclinux"
3889 LD
="${LD-ld} -m elf_s390"
3892 LD
="${LD-ld} -m elf32_sparc"
3898 x86_64-
*kfreebsd
*-gnu)
3899 LD
="${LD-ld} -m elf_x86_64_fbsd"
3902 LD
="${LD-ld} -m elf_x86_64"
3904 ppc
*-*linux
*|powerpc
*-*linux
*)
3905 LD
="${LD-ld} -m elf64ppc"
3908 LD
="${LD-ld} -m elf64_s390"
3911 LD
="${LD-ld} -m elf64_sparc"
3921 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3922 SAVE_CFLAGS
="$CFLAGS"
3923 CFLAGS
="$CFLAGS -belf"
3924 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3925 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3926 if test "${lt_cv_cc_needs_belf+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 ac_cpp
='$CPP $CPPFLAGS'
3931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3935 cat >conftest.
$ac_ext <<_ACEOF
3938 cat confdefs.h
>>conftest.
$ac_ext
3939 cat >>conftest.
$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3950 rm -f conftest.
$ac_objext conftest
$ac_exeext
3951 if { (ac_try
="$ac_link"
3953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_link") 2>conftest.er1
3959 grep -v '^ *+' conftest.er1 >conftest.err
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } && {
3964 test -z "$ac_c_werror_flag" ||
3965 test ! -s conftest.err
3966 } && test -s conftest$ac_exeext &&
3967 $as_test_x conftest$ac_exeext; then
3968 lt_cv_cc_needs_belf=yes
3970 echo "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.$ac_ext >&5
3973 lt_cv_cc_needs_belf=no
3976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3977 conftest$ac_exeext conftest.$ac_ext
3979 ac_cpp='$CPP $CPPFLAGS'
3980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3985 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3986 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3987 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3988 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3989 CFLAGS="$SAVE_CFLAGS"
3993 # Find out which ABI we are using.
3994 echo 'int i;' > conftest.$ac_ext
3995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3996 (eval $ac_compile) 2>&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; then
4000 case `/usr
/bin
/file conftest.o
` in
4002 case $lt_cv_prog_gnu_ld in
4003 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4004 *) LD="${LD-ld} -64" ;;
4015 need_locks="$enable_libtool_lock"
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4024 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4025 # On Suns, sometimes $CPP names a directory.
4026 if test -n "$CPP" && test -d "$CPP"; then
4029 if test -z "$CPP"; then
4030 if test "${ac_cv_prog_CPP+set}" = set; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 # Double quotes because CPP needs to be expanded
4034 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4037 for ac_c_preproc_warn_flag in '' yes
4039 # Use a header file that comes with gcc, so configuring glibc
4040 # with a fresh cross-compiler works.
4041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4042 # <limits.h> exists even on freestanding compilers.
4043 # On the NeXT, cc -E runs the code through the compiler's parser,
4044 # not just through cpp. "Syntax error" is here to catch this case.
4045 cat >conftest.$ac_ext <<_ACEOF
4048 cat confdefs.h >>conftest.$ac_ext
4049 cat >>conftest.$ac_ext <<_ACEOF
4050 /* end confdefs.h. */
4052 # include <limits.h>
4054 # include <assert.h>
4058 if { (ac_try="$ac_cpp conftest.$ac_ext"
4060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4061 *) ac_try_echo
=$ac_try;;
4063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4066 grep -v '^ *+' conftest.er1
>conftest.err
4068 cat conftest.err
>&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); } >/dev
/null
&& {
4071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4072 test ! -s conftest.err
4076 echo "$as_me: failed program was:" >&5
4077 sed 's/^/| /' conftest.
$ac_ext >&5
4079 # Broken: fails on valid input.
4083 rm -f conftest.err conftest.
$ac_ext
4085 # OK, works on sane cases. Now check whether nonexistent headers
4086 # can be detected and how.
4087 cat >conftest.
$ac_ext <<_ACEOF
4090 cat confdefs.h
>>conftest.
$ac_ext
4091 cat >>conftest.
$ac_ext <<_ACEOF
4092 /* end confdefs.h. */
4093 #include <ac_nonexistent.h>
4095 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4101 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4103 grep -v '^ *+' conftest.er1 >conftest.err
4105 cat conftest.err >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } >/dev/null && {
4108 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4109 test ! -s conftest.err
4111 # Broken: success on invalid input.
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 # Passes both tests.
4122 rm -f conftest.err conftest.$ac_ext
4125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4126 rm -f conftest.err conftest.
$ac_ext
4127 if $ac_preproc_ok; then
4139 { echo "$as_me:$LINENO: result: $CPP" >&5
4140 echo "${ECHO_T}$CPP" >&6; }
4142 for ac_c_preproc_warn_flag
in '' yes
4144 # Use a header file that comes with gcc, so configuring glibc
4145 # with a fresh cross-compiler works.
4146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4147 # <limits.h> exists even on freestanding compilers.
4148 # On the NeXT, cc -E runs the code through the compiler's parser,
4149 # not just through cpp. "Syntax error" is here to catch this case.
4150 cat >conftest.
$ac_ext <<_ACEOF
4153 cat confdefs.h
>>conftest.
$ac_ext
4154 cat >>conftest.
$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4157 # include <limits.h>
4159 # include <assert.h>
4163 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4171 grep -v '^ *+' conftest.er1 >conftest.err
4173 cat conftest.err >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } >/dev/null && {
4176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4177 test ! -s conftest.err
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.$ac_ext >&5
4184 # Broken: fails on valid input.
4188 rm -f conftest.err conftest.$ac_ext
4190 # OK, works on sane cases. Now check whether nonexistent headers
4191 # can be detected and how.
4192 cat >conftest.$ac_ext <<_ACEOF
4195 cat confdefs.h >>conftest.$ac_ext
4196 cat >>conftest.$ac_ext <<_ACEOF
4197 /* end confdefs.h. */
4198 #include <ac_nonexistent.h>
4200 if { (ac_try="$ac_cpp conftest.$ac_ext"
4202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4203 *) ac_try_echo
=$ac_try;;
4205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4208 grep -v '^ *+' conftest.er1
>conftest.err
4210 cat conftest.err
>&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } >/dev
/null
&& {
4213 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4214 test ! -s conftest.err
4216 # Broken: success on invalid input.
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.
$ac_ext >&5
4222 # Passes both tests.
4227 rm -f conftest.err conftest.
$ac_ext
4230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4231 rm -f conftest.err conftest.
$ac_ext
4232 if $ac_preproc_ok; then
4235 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4236 See \`config.log' for more details." >&5
4237 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4238 See \`config.log' for more details." >&2;}
4239 { (exit 1); exit 1; }; }
4243 ac_cpp
='$CPP $CPPFLAGS'
4244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4249 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4250 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4251 if test "${ac_cv_header_stdc+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 cat >conftest.
$ac_ext <<_ACEOF
4257 cat confdefs.h
>>conftest.
$ac_ext
4258 cat >>conftest.
$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4273 rm -f conftest.
$ac_objext
4274 if { (ac_try
="$ac_compile"
4276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4280 (eval "$ac_compile") 2>conftest.er1
4282 grep -v '^ *+' conftest.er1 >conftest.err
4284 cat conftest.err >&5
4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286 (exit $ac_status); } && {
4287 test -z "$ac_c_werror_flag" ||
4288 test ! -s conftest.err
4289 } && test -s conftest.$ac_objext; then
4290 ac_cv_header_stdc=yes
4292 echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.$ac_ext >&5
4295 ac_cv_header_stdc=no
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 if test $ac_cv_header_stdc = yes; then
4301 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4302 cat >conftest.$ac_ext <<_ACEOF
4305 cat confdefs.h >>conftest.$ac_ext
4306 cat >>conftest.$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4312 $EGREP "memchr" >/dev/null 2>&1; then
4315 ac_cv_header_stdc=no
4321 if test $ac_cv_header_stdc = yes; then
4322 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4323 cat >conftest.$ac_ext <<_ACEOF
4326 cat confdefs.h >>conftest.$ac_ext
4327 cat >>conftest.$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333 $EGREP "free" >/dev/null 2>&1; then
4336 ac_cv_header_stdc=no
4342 if test $ac_cv_header_stdc = yes; then
4343 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4344 if test "$cross_compiling" = yes; then
4347 cat >conftest.$ac_ext <<_ACEOF
4350 cat confdefs.h >>conftest.$ac_ext
4351 cat >>conftest.$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4355 #if ((' ' & 0x0FF) == 0x020)
4356 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4357 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4359 # define ISLOWER(c) \
4360 (('a' <= (c) && (c) <= 'i') \
4361 || ('j' <= (c) && (c) <= 'r') \
4362 || ('s' <= (c) && (c) <= 'z'))
4363 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4366 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4371 for (i = 0; i < 256; i++)
4372 if (XOR (islower (i), ISLOWER (i))
4373 || toupper (i) != TOUPPER (i))
4378 rm -f conftest$ac_exeext
4379 if { (ac_try="$ac_link"
4381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4382 *) ac_try_echo
=$ac_try;;
4384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4385 (eval "$ac_link") 2>&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4389 { (case "(($ac_try" in
4390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_try") 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; }; then
4400 echo "$as_me: program exited with status $ac_status" >&5
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.$ac_ext >&5
4405 ac_cv_header_stdc=no
4407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4413 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4414 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4415 if test $ac_cv_header_stdc = yes; then
4417 cat >>confdefs.h <<\_ACEOF
4418 #define STDC_HEADERS 1
4423 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4433 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4434 inttypes.h stdint.h unistd.h
4436 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 cat >conftest.$ac_ext <<_ACEOF
4445 cat confdefs.h >>conftest.$ac_ext
4446 cat >>conftest.$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4448 $ac_includes_default
4450 #include <$ac_header>
4452 rm -f conftest.$ac_objext
4453 if { (ac_try="$ac_compile"
4455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4456 *) ac_try_echo
=$ac_try;;
4458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4459 (eval "$ac_compile") 2>conftest.er1
4461 grep -v '^ *+' conftest.er1
>conftest.err
4463 cat conftest.err
>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } && {
4466 test -z "$ac_c_werror_flag" ||
4467 test ! -s conftest.err
4468 } && test -s conftest.
$ac_objext; then
4469 eval "$as_ac_Header=yes"
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.
$ac_ext >&5
4474 eval "$as_ac_Header=no"
4477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4479 ac_res
=`eval echo '${'$as_ac_Header'}'`
4480 { echo "$as_me:$LINENO: result: $ac_res" >&5
4481 echo "${ECHO_T}$ac_res" >&6; }
4482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4483 cat >>confdefs.h
<<_ACEOF
4484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4493 for ac_header
in dlfcn.h
4495 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4496 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4497 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4499 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 ac_res
=`eval echo '${'$as_ac_Header'}'`
4503 { echo "$as_me:$LINENO: result: $ac_res" >&5
4504 echo "${ECHO_T}$ac_res" >&6; }
4506 # Is the header compilable?
4507 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4509 cat >conftest.
$ac_ext <<_ACEOF
4512 cat confdefs.h
>>conftest.
$ac_ext
4513 cat >>conftest.
$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 $ac_includes_default
4516 #include <$ac_header>
4518 rm -f conftest.
$ac_objext
4519 if { (ac_try
="$ac_compile"
4521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4522 *) ac_try_echo=$ac_try;;
4524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4525 (eval "$ac_compile") 2>conftest.er1
4527 grep -v '^ *+' conftest.er1 >conftest.err
4529 cat conftest.err >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); } && {
4532 test -z "$ac_c_werror_flag" ||
4533 test ! -s conftest.err
4534 } && test -s conftest.$ac_objext; then
4535 ac_header_compiler=yes
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.$ac_ext >&5
4540 ac_header_compiler=no
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4545 echo "${ECHO_T}$ac_header_compiler" >&6; }
4547 # Is the header present?
4548 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4550 cat >conftest.$ac_ext <<_ACEOF
4553 cat confdefs.h >>conftest.$ac_ext
4554 cat >>conftest.$ac_ext <<_ACEOF
4555 /* end confdefs.h. */
4556 #include <$ac_header>
4558 if { (ac_try="$ac_cpp conftest.$ac_ext"
4560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4561 *) ac_try_echo
=$ac_try;;
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4566 grep -v '^ *+' conftest.er1
>conftest.err
4568 cat conftest.err
>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } >/dev
/null
&& {
4571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4572 test ! -s conftest.err
4574 ac_header_preproc
=yes
4576 echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.
$ac_ext >&5
4579 ac_header_preproc
=no
4582 rm -f conftest.err conftest.
$ac_ext
4583 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4584 echo "${ECHO_T}$ac_header_preproc" >&6; }
4586 # So? What about this header?
4587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4592 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4593 ac_header_preproc
=yes
4596 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4597 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4598 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4599 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4600 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4601 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4602 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4603 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4606 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4607 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4609 ## ------------------------- ##
4610 ## Report this to des@des.no ##
4611 ## ------------------------- ##
4613 ) |
sed "s/^/$as_me: WARNING: /" >&2
4616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4618 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 eval "$as_ac_Header=\$ac_header_preproc"
4623 ac_res
=`eval echo '${'$as_ac_Header'}'`
4624 { echo "$as_me:$LINENO: result: $ac_res" >&5
4625 echo "${ECHO_T}$ac_res" >&6; }
4628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4629 cat >>confdefs.h
<<_ACEOF
4630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4638 ac_cpp
='$CXXCPP $CPPFLAGS'
4639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4642 if test -z "$CXX"; then
4643 if test -n "$CCC"; then
4646 if test -n "$ac_tool_prefix"; then
4647 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4650 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4653 if test "${ac_cv_prog_CXX+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$CXX"; then
4657 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 if test -n "$CXX"; then
4678 { echo "$as_me:$LINENO: result: $CXX" >&5
4679 echo "${ECHO_T}$CXX" >&6; }
4681 { echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6; }
4686 test -n "$CXX" && break
4689 if test -z "$CXX"; then
4691 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4693 # Extract the first word of "$ac_prog", so it can be a program name with args.
4694 set dummy
$ac_prog; ac_word
=$2
4695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4697 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4698 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 if test -n "$ac_ct_CXX"; then
4701 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4721 if test -n "$ac_ct_CXX"; then
4722 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4723 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4725 { echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6; }
4730 test -n "$ac_ct_CXX" && break
4733 if test "x$ac_ct_CXX" = x
; then
4736 case $cross_compiling:$ac_tool_warned in
4738 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4739 whose name does not start with the host triplet. If you think this
4740 configuration is useful to you, please write to autoconf@gnu.org." >&5
4741 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4742 whose name does not start with the host triplet. If you think this
4743 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4744 ac_tool_warned
=yes ;;
4752 # Provide some information about the compiler.
4753 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4754 ac_compiler
=`set X $ac_compile; echo $2`
4755 { (ac_try
="$ac_compiler --version >&5"
4757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761 (eval "$ac_compiler --version >&5") 2>&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }
4765 { (ac_try="$ac_compiler -v >&5"
4767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4768 *) ac_try_echo
=$ac_try;;
4770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4771 (eval "$ac_compiler -v >&5") 2>&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }
4775 { (ac_try
="$ac_compiler -V >&5"
4777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4781 (eval "$ac_compiler -V >&5") 2>&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }
4786 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4787 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4788 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4809 rm -f conftest.$ac_objext
4810 if { (ac_try="$ac_compile"
4812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4813 *) ac_try_echo
=$ac_try;;
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_compile") 2>conftest.er1
4818 grep -v '^ *+' conftest.er1
>conftest.err
4820 cat conftest.err
>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } && {
4823 test -z "$ac_cxx_werror_flag" ||
4824 test ! -s conftest.err
4825 } && test -s conftest.
$ac_objext; then
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.
$ac_ext >&5
4834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4835 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4838 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4839 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4840 GXX
=`test $ac_compiler_gnu = yes && echo yes`
4841 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4842 ac_save_CXXFLAGS
=$CXXFLAGS
4843 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4844 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4845 if test "${ac_cv_prog_cxx_g+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4849 ac_cxx_werror_flag
=yes
4852 cat >conftest.
$ac_ext <<_ACEOF
4855 cat confdefs.h
>>conftest.
$ac_ext
4856 cat >>conftest.
$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4867 rm -f conftest.
$ac_objext
4868 if { (ac_try
="$ac_compile"
4870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4874 (eval "$ac_compile") 2>conftest.er1
4876 grep -v '^ *+' conftest.er1 >conftest.err
4878 cat conftest.err >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } && {
4881 test -z "$ac_cxx_werror_flag" ||
4882 test ! -s conftest.err
4883 } && test -s conftest.$ac_objext; then
4884 ac_cv_prog_cxx_g=yes
4886 echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.$ac_ext >&5
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4905 rm -f conftest.$ac_objext
4906 if { (ac_try="$ac_compile"
4908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4909 *) ac_try_echo
=$ac_try;;
4911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4912 (eval "$ac_compile") 2>conftest.er1
4914 grep -v '^ *+' conftest.er1
>conftest.err
4916 cat conftest.err
>&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } && {
4919 test -z "$ac_cxx_werror_flag" ||
4920 test ! -s conftest.err
4921 } && test -s conftest.
$ac_objext; then
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.
$ac_ext >&5
4927 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4929 cat >conftest.
$ac_ext <<_ACEOF
4932 cat confdefs.h
>>conftest.
$ac_ext
4933 cat >>conftest.
$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4944 rm -f conftest.
$ac_objext
4945 if { (ac_try
="$ac_compile"
4947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4948 *) ac_try_echo=$ac_try;;
4950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4951 (eval "$ac_compile") 2>conftest.er1
4953 grep -v '^ *+' conftest.er1 >conftest.err
4955 cat conftest.err >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } && {
4958 test -z "$ac_cxx_werror_flag" ||
4959 test ! -s conftest.err
4960 } && test -s conftest.$ac_objext; then
4961 ac_cv_prog_cxx_g=yes
4963 echo "$as_me: failed program was:" >&5
4964 sed 's/^/| /' conftest.$ac_ext >&5
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4976 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4979 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4980 if test "$ac_test_CXXFLAGS" = set; then
4981 CXXFLAGS=$ac_save_CXXFLAGS
4982 elif test $ac_cv_prog_cxx_g = yes; then
4983 if test "$GXX" = yes; then
4989 if test "$GXX" = yes; then
4996 ac_cpp='$CXXCPP $CPPFLAGS'
4997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5003 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5004 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
5005 (test "X$CXX" != "Xg++"))) ; then
5007 ac_cpp='$CXXCPP $CPPFLAGS'
5008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5011 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5012 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5013 if test -z "$CXXCPP"; then
5014 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 # Double quotes because CXXCPP needs to be expanded
5018 for CXXCPP in "$CXX -E" "/lib/cpp"
5021 for ac_cxx_preproc_warn_flag in '' yes
5023 # Use a header file that comes with gcc, so configuring glibc
5024 # with a fresh cross-compiler works.
5025 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5026 # <limits.h> exists even on freestanding compilers.
5027 # On the NeXT, cc -E runs the code through the compiler's parser,
5028 # not just through cpp. "Syntax error" is here to catch this case.
5029 cat >conftest.$ac_ext <<_ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5036 # include <limits.h>
5038 # include <assert.h>
5042 if { (ac_try="$ac_cpp conftest.$ac_ext"
5044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5045 *) ac_try_echo
=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1
>conftest.err
5052 cat conftest.err
>&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } >/dev
/null
&& {
5055 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5056 test ! -s conftest.err
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.
$ac_ext >&5
5063 # Broken: fails on valid input.
5067 rm -f conftest.err conftest.
$ac_ext
5069 # OK, works on sane cases. Now check whether nonexistent headers
5070 # can be detected and how.
5071 cat >conftest.
$ac_ext <<_ACEOF
5074 cat confdefs.h
>>conftest.
$ac_ext
5075 cat >>conftest.
$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5077 #include <ac_nonexistent.h>
5079 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5082 *) ac_try_echo=$ac_try;;
5084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5087 grep -v '^ *+' conftest.er1 >conftest.err
5089 cat conftest.err >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } >/dev/null && {
5092 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5093 test ! -s conftest.err
5095 # Broken: success on invalid input.
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.$ac_ext >&5
5101 # Passes both tests.
5106 rm -f conftest.err conftest.$ac_ext
5109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5110 rm -f conftest.err conftest.
$ac_ext
5111 if $ac_preproc_ok; then
5116 ac_cv_prog_CXXCPP
=$CXXCPP
5119 CXXCPP
=$ac_cv_prog_CXXCPP
5121 ac_cv_prog_CXXCPP
=$CXXCPP
5123 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5124 echo "${ECHO_T}$CXXCPP" >&6; }
5126 for ac_cxx_preproc_warn_flag
in '' yes
5128 # Use a header file that comes with gcc, so configuring glibc
5129 # with a fresh cross-compiler works.
5130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5131 # <limits.h> exists even on freestanding compilers.
5132 # On the NeXT, cc -E runs the code through the compiler's parser,
5133 # not just through cpp. "Syntax error" is here to catch this case.
5134 cat >conftest.
$ac_ext <<_ACEOF
5137 cat confdefs.h
>>conftest.
$ac_ext
5138 cat >>conftest.
$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5141 # include <limits.h>
5143 # include <assert.h>
5147 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5150 *) ac_try_echo=$ac_try;;
5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5155 grep -v '^ *+' conftest.er1 >conftest.err
5157 cat conftest.err >&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); } >/dev/null && {
5160 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5161 test ! -s conftest.err
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.$ac_ext >&5
5168 # Broken: fails on valid input.
5172 rm -f conftest.err conftest.$ac_ext
5174 # OK, works on sane cases. Now check whether nonexistent headers
5175 # can be detected and how.
5176 cat >conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5182 #include <ac_nonexistent.h>
5184 if { (ac_try="$ac_cpp conftest.$ac_ext"
5186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5187 *) ac_try_echo
=$ac_try;;
5189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5192 grep -v '^ *+' conftest.er1
>conftest.err
5194 cat conftest.err
>&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } >/dev
/null
&& {
5197 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5198 test ! -s conftest.err
5200 # Broken: success on invalid input.
5203 echo "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.
$ac_ext >&5
5206 # Passes both tests.
5211 rm -f conftest.err conftest.
$ac_ext
5214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5215 rm -f conftest.err conftest.
$ac_ext
5216 if $ac_preproc_ok; then
5219 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5220 See \`config.log' for more details." >&5
5221 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5222 See \`config.log' for more details." >&2;}
5223 { (exit 1); exit 1; }; }
5227 ac_cpp
='$CXXCPP $CPPFLAGS'
5228 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5229 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5230 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5236 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5237 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5239 if test -n "$ac_tool_prefix"; then
5240 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
5242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5243 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_F77+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$F77"; then
5250 ac_cv_prog_F77
="$F77" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 if test -n "$F77"; then
5271 { echo "$as_me:$LINENO: result: $F77" >&5
5272 echo "${ECHO_T}$F77" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5279 test -n "$F77" && break
5282 if test -z "$F77"; then
5284 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
5286 # Extract the first word of "$ac_prog", so it can be a program name with args.
5287 set dummy
$ac_prog; ac_word
=$2
5288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5290 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if test -n "$ac_ct_F77"; then
5294 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_ac_ct_F77
="$ac_prog"
5304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5314 if test -n "$ac_ct_F77"; then
5315 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5316 echo "${ECHO_T}$ac_ct_F77" >&6; }
5318 { echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6; }
5323 test -n "$ac_ct_F77" && break
5326 if test "x$ac_ct_F77" = x
; then
5329 case $cross_compiling:$ac_tool_warned in
5331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5332 whose name does not start with the host triplet. If you think this
5333 configuration is useful to you, please write to autoconf@gnu.org." >&5
5334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5335 whose name does not start with the host triplet. If you think this
5336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5337 ac_tool_warned
=yes ;;
5344 # Provide some information about the compiler.
5345 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5346 ac_compiler
=`set X $ac_compile; echo $2`
5347 { (ac_try
="$ac_compiler --version >&5"
5349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5350 *) ac_try_echo=$ac_try;;
5352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5353 (eval "$ac_compiler --version >&5") 2>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }
5357 { (ac_try="$ac_compiler -v >&5"
5359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5360 *) ac_try_echo
=$ac_try;;
5362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5363 (eval "$ac_compiler -v >&5") 2>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); }
5367 { (ac_try
="$ac_compiler -V >&5"
5369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5370 *) ac_try_echo=$ac_try;;
5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373 (eval "$ac_compiler -V >&5") 2>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }
5379 # If we don't use `.F
' as extension, the preprocessor is not run on the
5380 # input file. (Note that this only needs to work for GNU compilers.)
5383 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5384 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5385 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 cat >conftest.$ac_ext <<_ACEOF
5396 rm -f conftest.$ac_objext
5397 if { (ac_try="$ac_compile"
5399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5400 *) ac_try_echo=$ac_try;;
5402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5403 (eval "$ac_compile") 2>conftest.er1
5405 grep -v '^
*+' conftest.er1 >conftest.err
5407 cat conftest.err >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); } && {
5410 test -z "$ac_f77_werror_flag" ||
5411 test ! -s conftest.err
5412 } && test -s conftest.$ac_objext; then
5415 echo "$as_me: failed program was:" >&5
5416 sed 's
/^
/|
/' conftest.$ac_ext >&5
5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5422 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5425 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5426 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5428 ac_test_FFLAGS=${FFLAGS+set}
5429 ac_save_FFLAGS=$FFLAGS
5431 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5432 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5433 if test "${ac_cv_prog_f77_g+set}" = set; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 cat >conftest.$ac_ext <<_ACEOF
5442 rm -f conftest.$ac_objext
5443 if { (ac_try="$ac_compile"
5445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5446 *) ac_try_echo=$ac_try;;
5448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449 (eval "$ac_compile") 2>conftest.er1
5451 grep -v '^
*+' conftest.er1 >conftest.err
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } && {
5456 test -z "$ac_f77_werror_flag" ||
5457 test ! -s conftest.err
5458 } && test -s conftest.$ac_objext; then
5459 ac_cv_prog_f77_g=yes
5461 echo "$as_me: failed program was:" >&5
5462 sed 's
/^
/|
/' conftest.$ac_ext >&5
5467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5470 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5471 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5472 if test "$ac_test_FFLAGS" = set; then
5473 FFLAGS=$ac_save_FFLAGS
5474 elif test $ac_cv_prog_f77_g = yes; then
5475 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5481 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5488 G77=`test $ac_compiler_gnu = yes && echo yes`
5490 ac_cpp='$CPP $CPPFLAGS'
5491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5492 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5497 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
5499 # find the maximum length of command line arguments
5500 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5501 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5502 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5503 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 # On DJGPP, this test can blow up pretty badly due to problems in libc
5511 # (any single argument exceeding 2000 bytes causes a buffer overrun
5512 # during glob expansion). Even if it were fixed, the result of this
5513 # check would be larger than it should be.
5514 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5518 # Under GNU Hurd, this test is not required because there is
5519 # no limit to the length of command line arguments.
5520 # Libtool will interpret -1 as no limit whatsoever
5521 lt_cv_sys_max_cmd_len
=-1;
5525 # On Win9x/ME, this test blows up -- it succeeds, but takes
5526 # about 5 minutes as the teststring grows exponentially.
5527 # Worse, since 9x/ME are not pre-emptively multitasking,
5528 # you end up with a "frozen" computer, even though with patience
5529 # the test eventually succeeds (with a max line length of 256k).
5530 # Instead, let's just punt: use the minimum linelength reported by
5531 # all of the supported platforms: 8192 (on NT/2K/XP).
5532 lt_cv_sys_max_cmd_len
=8192;
5536 # On AmigaOS with pdksh, this test takes hours, literally.
5537 # So we just punt and use a minimum line length of 8192.
5538 lt_cv_sys_max_cmd_len
=8192;
5541 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5542 # This has been around since 386BSD, at least. Likely further.
5543 if test -x /sbin
/sysctl
; then
5544 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5545 elif test -x /usr
/sbin
/sysctl
; then
5546 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5548 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5550 # And add a safety zone
5551 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5552 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5556 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5557 lt_cv_sys_max_cmd_len
=196608
5561 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5562 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5563 # nice to cause kernel panics so lets avoid the loop below.
5564 # First set a reasonable default.
5565 lt_cv_sys_max_cmd_len
=16384
5567 if test -x /sbin
/sysconfig
; then
5568 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5569 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5574 lt_cv_sys_max_cmd_len
=102400
5576 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5577 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5578 if test -n "$kargmax"; then
5579 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5581 lt_cv_sys_max_cmd_len
=32768
5585 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5586 if test -n "$lt_cv_sys_max_cmd_len"; then
5587 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5588 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5590 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5591 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5592 = "XX$teststring") >/dev
/null
2>&1 &&
5593 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5594 lt_cv_sys_max_cmd_len
=$new_result &&
5595 test $i != 17 # 1/2 MB should be enough
5598 teststring
=$teststring$teststring
5601 # Add a significant safety factor because C++ compilers can tack on massive
5602 # amounts of additional arguments before passing them to the linker.
5603 # It appears as though 1/2 is a usable value.
5604 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5611 if test -n $lt_cv_sys_max_cmd_len ; then
5612 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5613 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5615 { echo "$as_me:$LINENO: result: none" >&5
5616 echo "${ECHO_T}none" >&6; }
5623 # Check for command to grab the raw symbol name followed by C symbol from nm.
5624 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5625 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5626 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 # These are sane defaults that work on at least a few old systems.
5631 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5633 # Character class describing NM global symbol codes.
5634 symcode
='[BCDEGRST]'
5636 # Regexp to match symbols that can be accessed directly from C.
5637 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5639 # Transform an extracted symbol line into a proper C declaration
5640 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5642 # Transform an extracted symbol line into symbol name and symbol address
5643 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'"
5645 # Define system-specific variables.
5650 cygwin
* | mingw
* | pw32
*)
5651 symcode
='[ABCDGISTW]'
5653 hpux
*) # Its linker distinguishes data from code symbols
5654 if test "$host_cpu" = ia64
; then
5655 symcode
='[ABCDEGRST]'
5657 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5658 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'"
5660 linux
* | k
*bsd
*-gnu)
5661 if test "$host_cpu" = ia64
; then
5662 symcode
='[ABCDGIRSTW]'
5663 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5664 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'"
5668 symcode
='[BCDEGRST]'
5671 symcode
='[BCDEGQRST]'
5682 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5690 # Handle CRLF in mingw tool chain
5694 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5698 # If we're using GNU nm, then use its standard symbol codes.
5699 case `$NM -V 2>&1` in
5700 *GNU
* |
*'with BFD'*)
5701 symcode
='[ABCDGIRSTW]' ;;
5704 # Try without a prefix undercore, then with it.
5705 for ac_symprfx
in "" "_"; do
5707 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5708 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5710 # Write the raw and C identifiers.
5711 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5713 # Check to see that the pipe works correctly.
5717 cat > conftest.
$ac_ext <<EOF
5722 void nm_test_func(){}
5726 int main(){nm_test_var='a';nm_test_func();return(0);}
5729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); }; then
5734 # Now try to grab the symbols.
5736 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5737 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); } && test -s "$nlist"; then
5741 # Try sorting and uniquifying the output.
5742 if sort "$nlist" |
uniq > "$nlist"T
; then
5743 mv -f "$nlist"T
"$nlist"
5748 # Make sure that we snagged all the symbols we need.
5749 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5750 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5751 cat <<EOF > conftest.$ac_ext
5757 # Now generate the symbol file.
5758 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5760 cat <<EOF >> conftest.$ac_ext
5761 #if defined (__STDC__) && __STDC__
5762 # define lt_ptr_t void *
5764 # define lt_ptr_t char *
5768 /* The mapping between symbol names and symbols. */
5773 lt_preloaded_symbols[] =
5776 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5777 cat <<\EOF
>> conftest.
$ac_ext
5785 # Now try linking the two files.
5786 mv conftest.
$ac_objext conftstm.
$ac_objext
5787 lt_save_LIBS
="$LIBS"
5788 lt_save_CFLAGS
="$CFLAGS"
5789 LIBS
="conftstm.$ac_objext"
5790 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5792 (eval $ac_link) 2>&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
5798 LIBS
="$lt_save_LIBS"
5799 CFLAGS
="$lt_save_CFLAGS"
5801 echo "cannot find nm_test_func in $nlist" >&5
5804 echo "cannot find nm_test_var in $nlist" >&5
5807 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5810 echo "$progname: failed program was:" >&5
5811 cat conftest.
$ac_ext >&5
5813 rm -f conftest
* conftst
*
5815 # Do not use the global_symbol_pipe unless it works.
5816 if test "$pipe_works" = yes; then
5819 lt_cv_sys_global_symbol_pipe
=
5825 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5826 lt_cv_sys_global_symbol_to_cdecl
=
5828 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5829 { echo "$as_me:$LINENO: result: failed" >&5
5830 echo "${ECHO_T}failed" >&6; }
5832 { echo "$as_me:$LINENO: result: ok" >&5
5833 echo "${ECHO_T}ok" >&6; }
5836 { echo "$as_me:$LINENO: checking for objdir" >&5
5837 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5838 if test "${lt_cv_objdir+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 rm -f .libs
2>/dev
/null
5842 mkdir .libs
2>/dev
/null
5843 if test -d .libs
; then
5846 # MS-DOS does not allow filenames that begin with a dot.
5849 rmdir .libs
2>/dev
/null
5851 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5852 echo "${ECHO_T}$lt_cv_objdir" >&6; }
5853 objdir
=$lt_cv_objdir
5861 # AIX sometimes has problems with the GCC collect2 program. For some
5862 # reason, if we set the COLLECT_NAMES environment variable, the problems
5863 # vanish in a puff of smoke.
5864 if test "X${COLLECT_NAMES+set}" != Xset
; then
5866 export COLLECT_NAMES
5871 # Sed substitution that helps us do robust quoting. It backslashifies
5872 # metacharacters that are still active within double-quoted strings.
5873 Xsed
='sed -e 1s/^X//'
5874 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5876 # Same as above, but do not quote variable references.
5877 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5879 # Sed substitution to delay expansion of an escaped shell variable in a
5880 # double_quote_subst'ed string.
5881 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5883 # Sed substitution to avoid accidental globbing in evaled expressions
5884 no_glob_subst
='s/\*/\\\*/g'
5890 default_ofile
=libtool
5891 can_build_shared
=yes
5893 # All known linkers require a `.a' archive for static linking (except MSVC,
5894 # which needs '.lib').
5896 ltmain
="$ac_aux_dir/ltmain.sh"
5897 ofile
="$default_ofile"
5898 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5900 if test -n "$ac_tool_prefix"; then
5901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5902 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5905 if test "${ac_cv_prog_AR+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 if test -n "$AR"; then
5909 ac_cv_prog_AR
="$AR" # Let the user override the test.
5911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5915 test -z "$as_dir" && as_dir
=.
5916 for ac_exec_ext
in '' $ac_executable_extensions; do
5917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5918 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 if test -n "$AR"; then
5930 { echo "$as_me:$LINENO: result: $AR" >&5
5931 echo "${ECHO_T}$AR" >&6; }
5933 { echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6; }
5939 if test -z "$ac_cv_prog_AR"; then
5941 # Extract the first word of "ar", so it can be a program name with args.
5942 set dummy
ar; ac_word
=$2
5943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5945 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 if test -n "$ac_ct_AR"; then
5949 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5955 test -z "$as_dir" && as_dir
=.
5956 for ac_exec_ext
in '' $ac_executable_extensions; do
5957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958 ac_cv_prog_ac_ct_AR
="ar"
5959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5969 if test -n "$ac_ct_AR"; then
5970 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5971 echo "${ECHO_T}$ac_ct_AR" >&6; }
5973 { echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6; }
5977 if test "x$ac_ct_AR" = x
; then
5980 case $cross_compiling:$ac_tool_warned in
5982 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5983 whose name does not start with the host triplet. If you think this
5984 configuration is useful to you, please write to autoconf@gnu.org." >&5
5985 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5986 whose name does not start with the host triplet. If you think this
5987 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5988 ac_tool_warned
=yes ;;
5996 if test -n "$ac_tool_prefix"; then
5997 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5998 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6001 if test "${ac_cv_prog_RANLIB+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 if test -n "$RANLIB"; then
6005 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6011 test -z "$as_dir" && as_dir
=.
6012 for ac_exec_ext
in '' $ac_executable_extensions; do
6013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6014 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 RANLIB
=$ac_cv_prog_RANLIB
6025 if test -n "$RANLIB"; then
6026 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6027 echo "${ECHO_T}$RANLIB" >&6; }
6029 { echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6; }
6035 if test -z "$ac_cv_prog_RANLIB"; then
6036 ac_ct_RANLIB
=$RANLIB
6037 # Extract the first word of "ranlib", so it can be a program name with args.
6038 set dummy ranlib
; ac_word
=$2
6039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6041 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6042 echo $ECHO_N "(cached) $ECHO_C" >&6
6044 if test -n "$ac_ct_RANLIB"; then
6045 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6051 test -z "$as_dir" && as_dir
=.
6052 for ac_exec_ext
in '' $ac_executable_extensions; do
6053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6054 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6065 if test -n "$ac_ct_RANLIB"; then
6066 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6067 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6069 { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6073 if test "x$ac_ct_RANLIB" = x
; then
6076 case $cross_compiling:$ac_tool_warned in
6078 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6079 whose name does not start with the host triplet. If you think this
6080 configuration is useful to you, please write to autoconf@gnu.org." >&5
6081 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6082 whose name does not start with the host triplet. If you think this
6083 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6084 ac_tool_warned
=yes ;;
6086 RANLIB
=$ac_ct_RANLIB
6089 RANLIB
="$ac_cv_prog_RANLIB"
6092 if test -n "$ac_tool_prefix"; then
6093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6094 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6097 if test "${ac_cv_prog_STRIP+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 if test -n "$STRIP"; then
6101 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6107 test -z "$as_dir" && as_dir
=.
6108 for ac_exec_ext
in '' $ac_executable_extensions; do
6109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 STRIP
=$ac_cv_prog_STRIP
6121 if test -n "$STRIP"; then
6122 { echo "$as_me:$LINENO: result: $STRIP" >&5
6123 echo "${ECHO_T}$STRIP" >&6; }
6125 { echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6; }
6131 if test -z "$ac_cv_prog_STRIP"; then
6133 # Extract the first word of "strip", so it can be a program name with args.
6134 set dummy strip
; ac_word
=$2
6135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 if test -n "$ac_ct_STRIP"; then
6141 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6147 test -z "$as_dir" && as_dir
=.
6148 for ac_exec_ext
in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_prog_ac_ct_STRIP
="strip"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6161 if test -n "$ac_ct_STRIP"; then
6162 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6163 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6165 { echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6; }
6169 if test "x$ac_ct_STRIP" = x
; then
6172 case $cross_compiling:$ac_tool_warned in
6174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6175 whose name does not start with the host triplet. If you think this
6176 configuration is useful to you, please write to autoconf@gnu.org." >&5
6177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6178 whose name does not start with the host triplet. If you think this
6179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6180 ac_tool_warned
=yes ;;
6185 STRIP
="$ac_cv_prog_STRIP"
6190 old_CFLAGS
="$CFLAGS"
6192 # Set sane defaults for various variables
6193 test -z "$AR" && AR
=ar
6194 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6195 test -z "$AS" && AS
=as
6196 test -z "$CC" && CC
=cc
6197 test -z "$LTCC" && LTCC
=$CC
6198 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6199 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6200 test -z "$LD" && LD
=ld
6201 test -z "$LN_S" && LN_S
="ln -s"
6202 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6203 test -z "$NM" && NM
=nm
6204 test -z "$SED" && SED
=sed
6205 test -z "$OBJDUMP" && OBJDUMP
=objdump
6206 test -z "$RANLIB" && RANLIB
=:
6207 test -z "$STRIP" && STRIP
=:
6208 test -z "$ac_objext" && ac_objext
=o
6210 # Determine commands to create old-style static archives.
6211 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6212 old_postinstall_cmds
='chmod 644 $oldlib'
6213 old_postuninstall_cmds
=
6215 if test -n "$RANLIB"; then
6218 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6221 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6224 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6227 for cc_temp
in $compiler""; do
6229 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6230 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6235 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6238 # Only perform the check for file, if the check method requires it
6239 case $deplibs_check_method in
6241 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6242 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6243 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6244 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6252 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6253 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6254 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6255 for ac_dir
in $ac_dummy; do
6257 test -z "$ac_dir" && ac_dir
=.
6258 if test -f $ac_dir/${ac_tool_prefix}file; then
6259 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6260 if test -n "$file_magic_test_file"; then
6261 case $deplibs_check_method in
6263 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6264 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6265 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6266 $EGREP "$file_magic_regex" > /dev
/null
; then
6271 *** Warning: the command libtool uses to detect shared libraries,
6272 *** $file_magic_cmd, produces output that libtool cannot recognize.
6273 *** The result is that libtool may fail to recognize shared libraries
6274 *** as such. This will affect the creation of libtool libraries that
6275 *** depend on shared libraries, but programs linked with such libtool
6276 *** libraries will work regardless of this problem. Nevertheless, you
6277 *** may want to report the problem to your system manager and/or to
6278 *** bug-libtool@gnu.org
6288 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6293 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6294 if test -n "$MAGIC_CMD"; then
6295 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6296 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6298 { echo "$as_me:$LINENO: result: no" >&5
6299 echo "${ECHO_T}no" >&6; }
6302 if test -z "$lt_cv_path_MAGIC_CMD"; then
6303 if test -n "$ac_tool_prefix"; then
6304 { echo "$as_me:$LINENO: checking for file" >&5
6305 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6314 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6315 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6316 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6317 for ac_dir
in $ac_dummy; do
6319 test -z "$ac_dir" && ac_dir
=.
6320 if test -f $ac_dir/file; then
6321 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6322 if test -n "$file_magic_test_file"; then
6323 case $deplibs_check_method in
6325 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6326 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6327 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6328 $EGREP "$file_magic_regex" > /dev
/null
; then
6333 *** Warning: the command libtool uses to detect shared libraries,
6334 *** $file_magic_cmd, produces output that libtool cannot recognize.
6335 *** The result is that libtool may fail to recognize shared libraries
6336 *** as such. This will affect the creation of libtool libraries that
6337 *** depend on shared libraries, but programs linked with such libtool
6338 *** libraries will work regardless of this problem. Nevertheless, you
6339 *** may want to report the problem to your system manager and/or to
6340 *** bug-libtool@gnu.org
6350 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6355 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6356 if test -n "$MAGIC_CMD"; then
6357 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6358 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6360 { echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6; }
6376 # Check whether --enable-libtool-lock was given.
6377 if test "${enable_libtool_lock+set}" = set; then
6378 enableval
=$enable_libtool_lock;
6381 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6384 # Check whether --with-pic was given.
6385 if test "${with_pic+set}" = set; then
6386 withval
=$with_pic; pic_mode
="$withval"
6391 test -z "$pic_mode" && pic_mode
=default
6393 # Use C for the default configuration in the libtool script
6397 ac_cpp
='$CPP $CPPFLAGS'
6398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6403 # Source file extension for C test sources.
6406 # Object file extension for compiled C test sources.
6410 # Code to be used in simple compile tests
6411 lt_simple_compile_test_code
="int some_variable = 0;"
6413 # Code to be used in simple link tests
6414 lt_simple_link_test_code
='int main(){return(0);}'
6417 # If no C compiler was specified, use CC.
6420 # If no C compiler flags were specified, use CFLAGS.
6421 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6423 # Allow CC to be a program name with arguments.
6427 # save warnings/boilerplate of simple test code
6428 ac_outfile
=conftest.
$ac_objext
6429 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6430 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6431 _lt_compiler_boilerplate
=`cat conftest.err`
6434 ac_outfile
=conftest.
$ac_objext
6435 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6436 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
6437 _lt_linker_boilerplate
=`cat conftest.err`
6442 lt_prog_compiler_no_builtin_flag
=
6444 if test "$GCC" = yes; then
6445 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6448 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6449 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6450 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6451 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 lt_cv_prog_compiler_rtti_exceptions
=no
6454 ac_outfile
=conftest.
$ac_objext
6455 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6456 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6457 # Insert the option either (1) after the last *FLAGS variable, or
6458 # (2) before a word containing "conftest.", or (3) at the end.
6459 # Note that $ac_compile itself does not contain backslashes and begins
6460 # with a dollar sign (not a hyphen), so the echo should work correctly.
6461 # The option is referenced via a variable to avoid confusing sed.
6462 lt_compile
=`echo "$ac_compile" | $SED \
6463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6465 -e 's:$: $lt_compiler_flag:'`
6466 (eval echo "\"\$as_me:6466: $lt_compile\"" >&5)
6467 (eval "$lt_compile" 2>conftest.err
)
6469 cat conftest.err
>&5
6470 echo "$as_me:6470: \$? = $ac_status" >&5
6471 if (exit $ac_status) && test -s "$ac_outfile"; then
6472 # The compiler can only warn and ignore the option if not recognized
6473 # So say no if there are warnings other than the usual output.
6474 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6475 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6476 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6477 lt_cv_prog_compiler_rtti_exceptions
=yes
6483 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6484 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6486 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6487 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6494 lt_prog_compiler_wl
=
6495 lt_prog_compiler_pic
=
6496 lt_prog_compiler_static
=
6498 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6499 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6501 if test "$GCC" = yes; then
6502 lt_prog_compiler_wl
='-Wl,'
6503 lt_prog_compiler_static
='-static'
6507 # All AIX code is PIC.
6508 if test "$host_cpu" = ia64
; then
6509 # AIX 5 now supports IA64 processor
6510 lt_prog_compiler_static
='-Bstatic'
6515 # FIXME: we need at least 68020 code to build shared libraries, but
6516 # adding the `-m68020' flag to GCC prevents building anything better,
6518 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6521 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6522 # PIC is the default for these OSes.
6525 mingw
* | cygwin
* | pw32
* | os2
*)
6526 # This hack is so that the source file can tell whether it is being
6527 # built for inclusion in a dll (and should export symbols for example).
6528 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6529 # (--disable-auto-import) libraries
6530 lt_prog_compiler_pic
='-DDLL_EXPORT'
6533 darwin
* | rhapsody
*)
6534 # PIC is the default on this platform
6535 # Common symbols not allowed in MH_DYLIB files
6536 lt_prog_compiler_pic
='-fno-common'
6540 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6541 # Instead, we relocate shared libraries at runtime.
6545 # Just because we use GCC doesn't mean we suddenly get shared libraries
6546 # on systems that don't support them.
6547 lt_prog_compiler_can_build_shared
=no
6552 if test -d /usr
/nec
; then
6553 lt_prog_compiler_pic
=-Kconform_pic
6558 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6565 lt_prog_compiler_pic
='-fPIC'
6571 lt_prog_compiler_pic
='-fPIC'
6575 # PORTME Check for flag to pass linker flags through the system compiler.
6578 lt_prog_compiler_wl
='-Wl,'
6579 if test "$host_cpu" = ia64
; then
6580 # AIX 5 now supports IA64 processor
6581 lt_prog_compiler_static
='-Bstatic'
6583 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6587 # PIC is the default on this platform
6588 # Common symbols not allowed in MH_DYLIB files
6589 case $cc_basename in
6591 lt_prog_compiler_pic
='-qnocommon'
6592 lt_prog_compiler_wl
='-Wl,'
6597 mingw
* | cygwin
* | pw32
* | os2
*)
6598 # This hack is so that the source file can tell whether it is being
6599 # built for inclusion in a dll (and should export symbols for example).
6600 lt_prog_compiler_pic
='-DDLL_EXPORT'
6603 hpux9
* | hpux10
* | hpux11
*)
6604 lt_prog_compiler_wl
='-Wl,'
6605 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6612 lt_prog_compiler_pic
='+Z'
6615 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6616 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6619 irix5
* | irix6
* | nonstopux
*)
6620 lt_prog_compiler_wl
='-Wl,'
6621 # PIC (with -KPIC) is the default.
6622 lt_prog_compiler_static
='-non_shared'
6626 lt_prog_compiler_pic
='-KPIC'
6627 lt_prog_compiler_static
='-Bstatic'
6630 linux
* | k
*bsd
*-gnu)
6631 case $cc_basename in
6633 lt_prog_compiler_wl
='-Wl,'
6634 lt_prog_compiler_pic
='-KPIC'
6635 lt_prog_compiler_static
='-static'
6637 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6638 # Portland Group compilers (*not* the Pentium gcc compiler,
6639 # which looks to be a dead project)
6640 lt_prog_compiler_wl
='-Wl,'
6641 lt_prog_compiler_pic
='-fpic'
6642 lt_prog_compiler_static
='-Bstatic'
6645 lt_prog_compiler_wl
='-Wl,'
6646 # All Alpha code is PIC.
6647 lt_prog_compiler_static
='-non_shared'
6650 case `$CC -V 2>&1 | sed 5q` in
6653 lt_prog_compiler_pic
='-KPIC'
6654 lt_prog_compiler_static
='-Bstatic'
6655 lt_prog_compiler_wl
='-Wl,'
6658 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6659 lt_prog_compiler_pic
='-KPIC'
6660 lt_prog_compiler_static
='-Bstatic'
6661 lt_prog_compiler_wl
=''
6668 osf3
* | osf4
* | osf5
*)
6669 lt_prog_compiler_wl
='-Wl,'
6670 # All OSF/1 code is PIC.
6671 lt_prog_compiler_static
='-non_shared'
6675 lt_prog_compiler_static
='-non_shared'
6679 lt_prog_compiler_pic
='-KPIC'
6680 lt_prog_compiler_static
='-Bstatic'
6681 case $cc_basename in
6683 lt_prog_compiler_wl
='-Qoption ld ';;
6685 lt_prog_compiler_wl
='-Wl,';;
6690 lt_prog_compiler_wl
='-Qoption ld '
6691 lt_prog_compiler_pic
='-PIC'
6692 lt_prog_compiler_static
='-Bstatic'
6695 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6696 lt_prog_compiler_wl
='-Wl,'
6697 lt_prog_compiler_pic
='-KPIC'
6698 lt_prog_compiler_static
='-Bstatic'
6702 if test -d /usr
/nec
;then
6703 lt_prog_compiler_pic
='-Kconform_pic'
6704 lt_prog_compiler_static
='-Bstatic'
6708 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6709 lt_prog_compiler_wl
='-Wl,'
6710 lt_prog_compiler_pic
='-KPIC'
6711 lt_prog_compiler_static
='-Bstatic'
6715 lt_prog_compiler_wl
='-Wl,'
6716 lt_prog_compiler_can_build_shared
=no
6720 lt_prog_compiler_pic
='-pic'
6721 lt_prog_compiler_static
='-Bstatic'
6725 lt_prog_compiler_can_build_shared
=no
6730 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6731 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6734 # Check to make sure the PIC flag actually works.
6736 if test -n "$lt_prog_compiler_pic"; then
6738 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6739 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6740 if test "${lt_prog_compiler_pic_works+set}" = set; then
6741 echo $ECHO_N "(cached) $ECHO_C" >&6
6743 lt_prog_compiler_pic_works
=no
6744 ac_outfile
=conftest.
$ac_objext
6745 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6746 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6747 # Insert the option either (1) after the last *FLAGS variable, or
6748 # (2) before a word containing "conftest.", or (3) at the end.
6749 # Note that $ac_compile itself does not contain backslashes and begins
6750 # with a dollar sign (not a hyphen), so the echo should work correctly.
6751 # The option is referenced via a variable to avoid confusing sed.
6752 lt_compile
=`echo "$ac_compile" | $SED \
6753 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6755 -e 's:$: $lt_compiler_flag:'`
6756 (eval echo "\"\$as_me:6756: $lt_compile\"" >&5)
6757 (eval "$lt_compile" 2>conftest.err
)
6759 cat conftest.err
>&5
6760 echo "$as_me:6760: \$? = $ac_status" >&5
6761 if (exit $ac_status) && test -s "$ac_outfile"; then
6762 # The compiler can only warn and ignore the option if not recognized
6763 # So say no if there are warnings other than the usual output.
6764 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6765 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6766 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6767 lt_prog_compiler_pic_works
=yes
6773 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6774 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6776 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6777 case $lt_prog_compiler_pic in
6779 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6782 lt_prog_compiler_pic
=
6783 lt_prog_compiler_can_build_shared
=no
6788 # For platforms which do not support PIC, -DPIC is meaningless:
6790 lt_prog_compiler_pic
=
6793 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6798 # Check to make sure the static flag actually works.
6800 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
6801 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6802 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6803 if test "${lt_prog_compiler_static_works+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 lt_prog_compiler_static_works
=no
6807 save_LDFLAGS
="$LDFLAGS"
6808 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
6809 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
6810 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6811 # The linker can only warn and ignore the option if not recognized
6812 # So say no if there are warnings
6813 if test -s conftest.err
; then
6814 # Append any errors to the config.log.
6815 cat conftest.err
1>&5
6816 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
6817 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6818 if diff conftest.exp conftest.er2
>/dev
/null
; then
6819 lt_prog_compiler_static_works
=yes
6822 lt_prog_compiler_static_works
=yes
6826 LDFLAGS
="$save_LDFLAGS"
6829 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6830 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6832 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6835 lt_prog_compiler_static
=
6839 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6840 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6841 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 lt_cv_prog_compiler_c_o
=no
6845 $rm -r conftest
2>/dev
/null
6849 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6851 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6852 # Insert the option either (1) after the last *FLAGS variable, or
6853 # (2) before a word containing "conftest.", or (3) at the end.
6854 # Note that $ac_compile itself does not contain backslashes and begins
6855 # with a dollar sign (not a hyphen), so the echo should work correctly.
6856 lt_compile
=`echo "$ac_compile" | $SED \
6857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6859 -e 's:$: $lt_compiler_flag:'`
6860 (eval echo "\"\$as_me:6860: $lt_compile\"" >&5)
6861 (eval "$lt_compile" 2>out
/conftest.err
)
6863 cat out
/conftest.err
>&5
6864 echo "$as_me:6864: \$? = $ac_status" >&5
6865 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6867 # The compiler can only warn and ignore the option if not recognized
6868 # So say no if there are warnings
6869 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
6870 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
6871 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6872 lt_cv_prog_compiler_c_o
=yes
6877 # SGI C++ compiler will create directory out/ii_files/ for
6878 # template instantiation
6879 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6880 $rm out
/* && rmdir out
6886 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6887 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6890 hard_links
="nottested"
6891 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6892 # do not overwrite the value of need_locks provided by the user
6893 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6894 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6897 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6899 ln conftest.a conftest.b
2>&5 || hard_links
=no
6900 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6901 { echo "$as_me:$LINENO: result: $hard_links" >&5
6902 echo "${ECHO_T}$hard_links" >&6; }
6903 if test "$hard_links" = no
; then
6904 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6905 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6912 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6913 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6916 allow_undefined_flag
=
6917 enable_shared_with_static_runtimes
=no
6919 archive_expsym_cmds
=
6920 old_archive_From_new_cmds
=
6921 old_archive_from_expsyms_cmds
=
6922 export_dynamic_flag_spec
=
6923 whole_archive_flag_spec
=
6924 thread_safe_flag_spec
=
6925 hardcode_libdir_flag_spec
=
6926 hardcode_libdir_flag_spec_ld
=
6927 hardcode_libdir_separator
=
6930 hardcode_shlibpath_var
=unsupported
6931 link_all_deplibs
=unknown
6932 hardcode_automatic
=no
6935 always_export_symbols
=no
6936 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6937 # include_expsyms should be a list of space-separated symbols to be *always*
6938 # included in the symbol list
6940 # exclude_expsyms can be an extended regexp of symbols to exclude
6941 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6942 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6943 # as well as any symbol that contains `d'.
6944 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6945 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6946 # platforms (ab)use it in PIC code, but their linkers get confused if
6947 # the symbol is explicitly referenced. Since portable code cannot
6948 # rely on this symbol name, it's probably fine to never include it in
6949 # preloaded symbol tables.
6950 extract_expsyms_cmds
=
6951 # Just being paranoid about ensuring that cc_basename is set.
6952 for cc_temp
in $compiler""; do
6954 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6955 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6960 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6963 cygwin
* | mingw
* | pw32
*)
6964 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6965 # When not using gcc, we currently assume that we are using
6966 # Microsoft Visual C++.
6967 if test "$GCC" != yes; then
6972 # we just hope/assume this is gcc and not c89 (= MSVC++)
6981 if test "$with_gnu_ld" = yes; then
6982 # If archive_cmds runs LD, not CC, wlarc should be empty
6985 # Set some defaults for GNU ld with shared library support. These
6986 # are reset later if shared libraries are not supported. Putting them
6987 # here allows them to be overridden if necessary.
6988 runpath_var
=LD_RUN_PATH
6989 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6990 export_dynamic_flag_spec
='${wl}--export-dynamic'
6991 # ancient GNU ld didn't support --whole-archive et. al.
6992 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6993 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6995 whole_archive_flag_spec
=
6997 supports_anon_versioning
=no
6998 case `$LD -v 2>/dev/null` in
6999 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7000 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7001 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7002 *\
2.11.
*) ;; # other 2.11 versions
7003 *) supports_anon_versioning
=yes ;;
7006 # See if GNU ld supports shared libraries.
7008 aix3
* | aix4
* | aix5
*)
7009 # On AIX/PPC, the GNU linker is very broken
7010 if test "$host_cpu" != ia64
; then
7014 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7015 *** to be unable to reliably create shared libraries on AIX.
7016 *** Therefore, libtool is disabling shared libraries support. If you
7017 *** really care for shared libraries, you may want to modify your PATH
7018 *** so that a non-GNU linker is found, and then restart.
7025 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)'
7026 hardcode_libdir_flag_spec
='-L$libdir'
7027 hardcode_minus_L
=yes
7029 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7030 # that the semantics of dynamic libraries on AmigaOS, at least up
7031 # to version 4, is to share data among multiple programs linked
7032 # with the same dynamic library. Since this doesn't match the
7033 # behavior of shared libraries on other platforms, we can't use
7039 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7040 allow_undefined_flag
=unsupported
7041 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7042 # support --undefined. This deserves some investigation. FIXME
7043 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7049 cygwin
* | mingw
* | pw32
*)
7050 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7051 # as there is no search path for DLLs.
7052 hardcode_libdir_flag_spec
='-L$libdir'
7053 allow_undefined_flag
=unsupported
7054 always_export_symbols
=no
7055 enable_shared_with_static_runtimes
=yes
7056 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7058 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7059 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7060 # If the export-symbols file already is a .def file (1st line
7061 # is EXPORTS), use it as is; otherwise, prepend...
7062 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7063 cp $export_symbols $output_objdir/$soname.def;
7065 echo EXPORTS > $output_objdir/$soname.def;
7066 cat $export_symbols >> $output_objdir/$soname.def;
7068 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7076 hardcode_shlibpath_var
=no
7077 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7078 export_dynamic_flag_spec
='${wl}-E'
7079 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7080 # Instead, shared libraries are loaded at an image base (0x10000000 by
7081 # default) and relocated if they conflict, which is a slow very memory
7082 # consuming and fragmenting process. To avoid this, we pick a random,
7083 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7084 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7085 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7086 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'
7089 gnu
* | linux
* | k
*bsd
*-gnu)
7090 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7092 case $cc_basename,$host_cpu in
7093 pgcc
*) # Portland Group C compiler
7094 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'
7095 tmp_addflag
=' $pic_flag'
7097 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7098 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'
7099 tmp_addflag
=' $pic_flag -Mnomain' ;;
7100 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7101 tmp_addflag
=' -i_dynamic' ;;
7102 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7103 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7104 ifc
* | ifort
*) # Intel Fortran compiler
7105 tmp_addflag
=' -nofor_main' ;;
7107 case `$CC -V 2>&1 | sed 5q` in
7108 *Sun\ C
*) # Sun C 5.9
7109 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7110 tmp_sharedflag
='-G' ;;
7111 *Sun\ F
*) # Sun Fortran 8.3
7112 tmp_sharedflag
='-G' ;;
7114 tmp_sharedflag
='-shared' ;;
7116 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7118 if test $supports_anon_versioning = yes; then
7119 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7120 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7121 $echo "local: *; };" >> $output_objdir/$libname.ver~
7122 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7130 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7131 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7134 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7135 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7140 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7144 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7145 *** create shared libraries on Solaris systems. Therefore, libtool
7146 *** is disabling shared libraries support. We urge you to upgrade GNU
7147 *** binutils to release 2.9.1 or newer. Another option is to modify
7148 *** your PATH or compiler configuration so that the native linker is
7149 *** used, and then restart.
7152 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7153 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7154 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7160 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7161 case `$LD -v 2>&1` in
7162 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7166 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7167 *** reliably create shared libraries on SCO systems. Therefore, libtool
7168 *** is disabling shared libraries support. We urge you to upgrade GNU
7169 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7170 *** your PATH or compiler configuration so that the native linker is
7171 *** used, and then restart.
7176 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7177 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7178 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7179 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7188 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7191 hardcode_shlibpath_var
=no
7195 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7196 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7197 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7204 if test "$ld_shlibs" = no
; then
7206 hardcode_libdir_flag_spec
=
7207 export_dynamic_flag_spec
=
7208 whole_archive_flag_spec
=
7211 # PORTME fill in a description of your system's linker (not GNU ld)
7214 allow_undefined_flag
=unsupported
7215 always_export_symbols
=yes
7216 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'
7217 # Note: this linker hardcodes the directories in LIBPATH if there
7218 # are no directories specified by -L.
7219 hardcode_minus_L
=yes
7220 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7221 # Neither direct hardcoding nor static linking is supported with a
7223 hardcode_direct
=unsupported
7228 if test "$host_cpu" = ia64
; then
7229 # On IA64, the linker does run time linking by default, so we don't
7230 # have to do anything special.
7231 aix_use_runtimelinking
=no
7232 exp_sym_flag
='-Bexport'
7235 # If we're using GNU nm, then we don't want the "-C" option.
7236 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7237 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7238 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'
7240 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'
7242 aix_use_runtimelinking
=no
7244 # Test if we are trying to use run time linking or normal
7245 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7246 # need to do runtime linking.
7247 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7248 for ld_flag
in $LDFLAGS; do
7249 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7250 aix_use_runtimelinking
=yes
7257 exp_sym_flag
='-bexport'
7258 no_entry_flag
='-bnoentry'
7261 # When large executables or shared objects are built, AIX ld can
7262 # have problems creating the table of contents. If linking a library
7263 # or program results in "error TOC overflow" add -mminimal-toc to
7264 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7265 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7269 hardcode_libdir_separator
=':'
7270 link_all_deplibs
=yes
7272 if test "$GCC" = yes; then
7273 case $host_os in aix4.
[012]|aix4.
[012].
*)
7274 # We only want to do this on AIX 4.2 and lower, the check
7275 # below for broken collect2 doesn't work under 4.3+
7276 collect2name
=`${CC} -print-prog-name=collect2`
7277 if test -f "$collect2name" && \
7278 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7280 # We have reworked collect2
7283 # We have old collect2
7284 hardcode_direct
=unsupported
7285 # It fails to find uninstalled libraries when the uninstalled
7286 # path is not listed in the libpath. Setting hardcode_minus_L
7287 # to unsupported forces relinking
7288 hardcode_minus_L
=yes
7289 hardcode_libdir_flag_spec
='-L$libdir'
7290 hardcode_libdir_separator
=
7294 shared_flag
='-shared'
7295 if test "$aix_use_runtimelinking" = yes; then
7296 shared_flag
="$shared_flag "'${wl}-G'
7300 if test "$host_cpu" = ia64
; then
7301 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7302 # chokes on -Wl,-G. The following line is correct:
7305 if test "$aix_use_runtimelinking" = yes; then
7306 shared_flag
='${wl}-G'
7308 shared_flag
='${wl}-bM:SRE'
7313 # It seems that -bexpall does not export symbols beginning with
7314 # underscore (_), so it is better to generate a list of symbols to export.
7315 always_export_symbols
=yes
7316 if test "$aix_use_runtimelinking" = yes; then
7317 # Warning - without using the other runtime loading flags (-brtl),
7318 # -berok will link without error, but may produce a broken library.
7319 allow_undefined_flag
='-berok'
7320 # Determine the default libpath from the value encoded in an empty executable.
7321 cat >conftest.
$ac_ext <<_ACEOF
7324 cat confdefs.h
>>conftest.
$ac_ext
7325 cat >>conftest.
$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7336 rm -f conftest.
$ac_objext conftest
$ac_exeext
7337 if { (ac_try
="$ac_link"
7339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7340 *) ac_try_echo=$ac_try;;
7342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7343 (eval "$ac_link") 2>conftest.er1
7345 grep -v '^ *+' conftest.er1 >conftest.err
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } && {
7350 test -z "$ac_c_werror_flag" ||
7351 test ! -s conftest.err
7352 } && test -s conftest$ac_exeext &&
7353 $as_test_x conftest$ac_exeext; then
7355 lt_aix_libpath_sed='
7356 /Import File Strings/,/^$/ {
7362 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7363 # Check for a 64-bit object if we didn't find anything.
7364 if test -z "$aix_libpath"; then
7365 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5
7374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7375 conftest$ac_exeext conftest.$ac_ext
7376 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7378 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7379 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"
7381 if test "$host_cpu" = ia64; then
7382 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7383 allow_undefined_flag="-z nodefs"
7384 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"
7386 # Determine the default libpath from the value encoded in an empty executable.
7387 cat >conftest.$ac_ext <<_ACEOF
7390 cat confdefs.h >>conftest.$ac_ext
7391 cat >>conftest.$ac_ext <<_ACEOF
7392 /* end confdefs.h. */
7402 rm -f conftest.$ac_objext conftest$ac_exeext
7403 if { (ac_try="$ac_link"
7405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7406 *) ac_try_echo
=$ac_try;;
7408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7409 (eval "$ac_link") 2>conftest.er1
7411 grep -v '^ *+' conftest.er1
>conftest.err
7413 cat conftest.err
>&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } && {
7416 test -z "$ac_c_werror_flag" ||
7417 test ! -s conftest.err
7418 } && test -s conftest
$ac_exeext &&
7419 $as_test_x conftest
$ac_exeext; then
7421 lt_aix_libpath_sed
='
7422 /Import File Strings/,/^$/ {
7428 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7429 # Check for a 64-bit object if we didn't find anything.
7430 if test -z "$aix_libpath"; then
7431 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7434 echo "$as_me: failed program was:" >&5
7435 sed 's/^/| /' conftest.
$ac_ext >&5
7440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7441 conftest
$ac_exeext conftest.
$ac_ext
7442 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7444 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7445 # Warning - without using the other run time loading flags,
7446 # -berok will link without error, but may produce a broken library.
7447 no_undefined_flag
=' ${wl}-bernotok'
7448 allow_undefined_flag
=' ${wl}-berok'
7449 # Exported symbols can be pulled into shared objects from archives
7450 whole_archive_flag_spec
='$convenience'
7451 archive_cmds_need_lc
=yes
7452 # This is similar to how AIX traditionally builds its shared libraries.
7453 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'
7459 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)'
7460 hardcode_libdir_flag_spec
='-L$libdir'
7461 hardcode_minus_L
=yes
7462 # see comment about different semantics on the GNU ld section
7467 export_dynamic_flag_spec
=-rdynamic
7470 cygwin
* | mingw
* | pw32
*)
7471 # When not using gcc, we currently assume that we are using
7472 # Microsoft Visual C++.
7473 # hardcode_libdir_flag_spec is actually meaningless, as there is
7474 # no search path for DLLs.
7475 hardcode_libdir_flag_spec
=' '
7476 allow_undefined_flag
=unsupported
7477 # Tell ltmain to make .lib files, not .a files.
7479 # Tell ltmain to make .dll files, not .so files.
7481 # FIXME: Setting linknames here is a bad hack.
7482 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7483 # The linker will automatically build a .lib file if we build a DLL.
7484 old_archive_From_new_cmds
='true'
7485 # FIXME: Should let the user specify the lib program.
7486 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7487 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7488 enable_shared_with_static_runtimes
=yes
7491 darwin
* | rhapsody
*)
7493 rhapsody
* | darwin1.
[012])
7494 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7497 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7498 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7500 case ${MACOSX_DEPLOYMENT_TARGET} in
7502 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7505 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7511 archive_cmds_need_lc
=no
7513 hardcode_automatic
=yes
7514 hardcode_shlibpath_var
=unsupported
7515 whole_archive_flag_spec
=''
7516 link_all_deplibs
=yes
7517 if test "$GCC" = yes ; then
7518 output_verbose_link_cmd
='echo'
7519 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7520 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7521 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7522 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}'
7523 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}'
7525 case $cc_basename in
7527 output_verbose_link_cmd
='echo'
7528 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7529 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7530 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7531 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7532 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}'
7542 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7543 hardcode_libdir_flag_spec
='-L$libdir'
7544 hardcode_shlibpath_var
=no
7551 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7552 # support. Future versions do this automatically, but an explicit c++rt0.o
7553 # does not break anything, and helps significantly (at the cost of a little
7556 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7557 hardcode_libdir_flag_spec
='-R$libdir'
7559 hardcode_shlibpath_var
=no
7562 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7564 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7566 hardcode_minus_L
=yes
7567 hardcode_shlibpath_var
=no
7570 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7571 freebsd
* | dragonfly
*)
7572 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7573 hardcode_libdir_flag_spec
='-R$libdir'
7575 hardcode_shlibpath_var
=no
7579 if test "$GCC" = yes; then
7580 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'
7582 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'
7584 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7585 hardcode_libdir_separator
=:
7588 # hardcode_minus_L: Not really in the search PATH,
7589 # but as the default location of the library.
7590 hardcode_minus_L
=yes
7591 export_dynamic_flag_spec
='${wl}-E'
7595 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7596 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7598 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7600 if test "$with_gnu_ld" = no
; then
7601 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7602 hardcode_libdir_separator
=:
7605 export_dynamic_flag_spec
='${wl}-E'
7607 # hardcode_minus_L: Not really in the search PATH,
7608 # but as the default location of the library.
7609 hardcode_minus_L
=yes
7614 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7617 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7620 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7623 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7629 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7632 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7635 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7639 if test "$with_gnu_ld" = no
; then
7640 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7641 hardcode_libdir_separator
=:
7645 hardcode_libdir_flag_spec_ld
='+b $libdir'
7647 hardcode_shlibpath_var
=no
7651 export_dynamic_flag_spec
='${wl}-E'
7653 # hardcode_minus_L: Not really in the search PATH,
7654 # but as the default location of the library.
7655 hardcode_minus_L
=yes
7661 irix5
* | irix6
* | nonstopux
*)
7662 if test "$GCC" = yes; then
7663 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'
7665 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'
7666 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7668 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7669 hardcode_libdir_separator
=:
7670 link_all_deplibs
=yes
7674 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7675 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7677 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7679 hardcode_libdir_flag_spec
='-R$libdir'
7681 hardcode_shlibpath_var
=no
7685 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7687 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7688 hardcode_libdir_separator
=:
7689 hardcode_shlibpath_var
=no
7693 if test -f /usr
/libexec
/ld.so
; then
7695 hardcode_shlibpath_var
=no
7696 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7697 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7698 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7699 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7700 export_dynamic_flag_spec
='${wl}-E'
7703 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7704 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7705 hardcode_libdir_flag_spec
='-R$libdir'
7708 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7709 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7719 hardcode_libdir_flag_spec
='-L$libdir'
7720 hardcode_minus_L
=yes
7721 allow_undefined_flag
=unsupported
7722 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'
7723 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7727 if test "$GCC" = yes; then
7728 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7729 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'
7731 allow_undefined_flag
=' -expect_unresolved \*'
7732 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'
7734 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7735 hardcode_libdir_separator
=:
7738 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7739 if test "$GCC" = yes; then
7740 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7741 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'
7742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7744 allow_undefined_flag
=' -expect_unresolved \*'
7745 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'
7746 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7747 $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'
7749 # Both c and cxx compiler support -rpath directly
7750 hardcode_libdir_flag_spec
='-rpath $libdir'
7752 hardcode_libdir_separator
=:
7756 no_undefined_flag
=' -z text'
7757 if test "$GCC" = yes; then
7759 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7760 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7761 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7764 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7765 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7766 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7768 hardcode_libdir_flag_spec
='-R$libdir'
7769 hardcode_shlibpath_var
=no
7771 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7773 # The compiler driver will combine and reorder linker options,
7774 # but understands `-z linker_flag'. GCC discards it without `$wl',
7775 # but is careful enough not to reorder.
7776 # Supported since Solaris 2.6 (maybe 2.5.1?)
7777 if test "$GCC" = yes; then
7778 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7780 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
7784 link_all_deplibs
=yes
7788 if test "x$host_vendor" = xsequent
; then
7789 # Use $CC to link under sequent, because it throws in some extra .o
7790 # files that make .init and .fini sections work.
7791 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7793 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7795 hardcode_libdir_flag_spec
='-L$libdir'
7797 hardcode_minus_L
=yes
7798 hardcode_shlibpath_var
=no
7802 case $host_vendor in
7804 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7805 hardcode_direct
=yes # is this really true???
7808 ## LD is ld it makes a PLAMLIB
7809 ## CC just makes a GrossModule.
7810 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7811 reload_cmds
='$CC -r -o $output$reload_objs'
7815 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7816 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7819 runpath_var
='LD_RUN_PATH'
7820 hardcode_shlibpath_var
=no
7824 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7825 hardcode_shlibpath_var
=no
7826 export_dynamic_flag_spec
='-Bexport'
7830 if test -d /usr
/nec
; then
7831 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7832 hardcode_shlibpath_var
=no
7833 runpath_var
=LD_RUN_PATH
7834 hardcode_runpath_var
=yes
7839 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
7840 no_undefined_flag
='${wl}-z,text'
7841 archive_cmds_need_lc
=no
7842 hardcode_shlibpath_var
=no
7843 runpath_var
='LD_RUN_PATH'
7845 if test "$GCC" = yes; then
7846 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7847 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7849 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7850 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7854 sysv5
* | sco3.2v5
* | sco5v6
*)
7855 # Note: We can NOT use -z defs as we might desire, because we do not
7856 # link with -lc, and that would cause any symbols used from libc to
7857 # always be unresolved, which means just about no library would
7858 # ever link correctly. If we're not using GNU ld we use -z text
7859 # though, which does catch some bad symbols but isn't as heavy-handed
7861 no_undefined_flag
='${wl}-z,text'
7862 allow_undefined_flag
='${wl}-z,nodefs'
7863 archive_cmds_need_lc
=no
7864 hardcode_shlibpath_var
=no
7865 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7866 hardcode_libdir_separator
=':'
7867 link_all_deplibs
=yes
7868 export_dynamic_flag_spec
='${wl}-Bexport'
7869 runpath_var
='LD_RUN_PATH'
7871 if test "$GCC" = yes; then
7872 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7873 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7875 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7876 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7881 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7882 hardcode_libdir_flag_spec
='-L$libdir'
7883 hardcode_shlibpath_var
=no
7892 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7893 echo "${ECHO_T}$ld_shlibs" >&6; }
7894 test "$ld_shlibs" = no
&& can_build_shared
=no
7897 # Do we need to explicitly link libc?
7899 case "x$archive_cmds_need_lc" in
7901 # Assume -lc should be added
7902 archive_cmds_need_lc
=yes
7904 if test "$enable_shared" = yes && test "$GCC" = yes; then
7905 case $archive_cmds in
7907 # FIXME: we may have to deal with multi-command sequences.
7910 # Test whether the compiler implicitly links with -lc since on some
7911 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7912 # to ld, don't add -lc before -lgcc.
7913 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7914 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7916 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7919 (eval $ac_compile) 2>&5
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); } 2>conftest.err
; then
7925 libobjs
=conftest.
$ac_objext
7927 wl
=$lt_prog_compiler_wl
7928 pic_flag
=$lt_prog_compiler_pic
7934 lt_save_allow_undefined_flag
=$allow_undefined_flag
7935 allow_undefined_flag
=
7936 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7937 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }
7942 archive_cmds_need_lc
=no
7944 archive_cmds_need_lc
=yes
7946 allow_undefined_flag
=$lt_save_allow_undefined_flag
7948 cat conftest.err
1>&5
7951 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7952 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7959 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7960 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7962 libname_spec
='lib$name'
7970 shlibpath_overrides_runpath
=unknown
7972 dynamic_linker
="$host_os ld.so"
7973 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7975 if test "$GCC" = yes; then
7977 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
7978 *) lt_awk_arg
="/^libraries:/" ;;
7980 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7981 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
7982 # if the path contains ";" then we assume it to be the separator
7983 # otherwise default to the standard path separator (i.e. ":") - it is
7984 # assumed that no part of a normal pathname contains ";" but that should
7985 # okay in the real world where ";" in dirpaths is itself problematic.
7986 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7988 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7990 # Ok, now we have the path, separated by spaces, we can step through it
7991 # and add multilib dir if necessary.
7992 lt_tmp_lt_search_path_spec
=
7993 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7994 for lt_sys_path
in $lt_search_path_spec; do
7995 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7996 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7998 test -d "$lt_sys_path" && \
7999 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8002 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8003 BEGIN {RS=" "; FS="/|\n";} {
8006 for (lt_i = NF; lt_i > 0; lt_i--) {
8007 if ($lt_i != "" && $lt_i != ".") {
8008 if ($lt_i == "..") {
8011 if (lt_count == 0) {
8012 lt_foo="/" $lt_i lt_foo;
8019 if (lt_foo != "") { lt_freq[lt_foo]++; }
8020 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8022 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8024 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8026 need_lib_prefix
=unknown
8027 hardcode_into_libs
=no
8029 # when you set need_version to no, make sure it does not cause -set_version
8030 # flags to be left without arguments
8031 need_version
=unknown
8036 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8037 shlibpath_var
=LIBPATH
8039 # AIX 3 has no versioning support, so we append a major version to the name.
8040 soname_spec
='${libname}${release}${shared_ext}$major'
8047 hardcode_into_libs
=yes
8048 if test "$host_cpu" = ia64
; then
8049 # AIX 5 supports IA64
8050 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8051 shlibpath_var
=LD_LIBRARY_PATH
8053 # With GCC up to 2.95.x, collect2 would create an import file
8054 # for dependence libraries. The import file would start with
8055 # the line `#! .'. This would cause the generated library to
8056 # depend on `.', always an invalid library. This was fixed in
8057 # development snapshots of GCC prior to 3.0.
8059 aix4 | aix4.
[01] | aix4.
[01].
*)
8060 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8062 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8069 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8070 # soname into executable. Probably we can add versioning support to
8071 # collect2, so additional links can be useful in future.
8072 if test "$aix_use_runtimelinking" = yes; then
8073 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8074 # instead of lib<name>.a to let people know that these are not
8075 # typical AIX shared libraries.
8076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8078 # We preserve .a as extension for shared libraries through AIX4.2
8079 # and later when we are not doing run time linking.
8080 library_names_spec
='${libname}${release}.a $libname.a'
8081 soname_spec
='${libname}${release}${shared_ext}$major'
8083 shlibpath_var
=LIBPATH
8088 library_names_spec
='$libname.ixlibrary $libname.a'
8089 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8090 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'
8094 library_names_spec
='${libname}${shared_ext}'
8095 dynamic_linker
="$host_os ld.so"
8096 shlibpath_var
=LIBRARY_PATH
8102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8103 soname_spec
='${libname}${release}${shared_ext}$major'
8104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8105 shlibpath_var
=LD_LIBRARY_PATH
8106 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8107 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8108 # the default ld.so.conf also contains /usr/contrib/lib and
8109 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8110 # libtool to hard-code these into programs
8113 cygwin
* | mingw
* | pw32
*)
8114 version_type
=windows
8119 case $GCC,$host_os in
8120 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8121 library_names_spec
='$libname.dll.a'
8122 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8123 postinstall_cmds
='base_file=`basename \${file}`~
8124 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8125 dldir=$destdir/`dirname \$dlpath`~
8126 test -d \$dldir || mkdir -p \$dldir~
8127 $install_prog $dir/$dlname \$dldir/$dlname~
8128 chmod a+x \$dldir/$dlname'
8129 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8130 dlpath=$dir/\$dldll~
8132 shlibpath_overrides_runpath
=yes
8136 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8137 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8138 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8141 # MinGW DLLs use traditional 'lib' prefix
8142 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8143 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8144 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8145 # It is most probably a Windows format PATH printed by
8146 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8147 # path with ; separators, and with drive letters. We can handle the
8148 # drive letters (cygwin fileutils understands them), so leave them,
8149 # especially as we might pass files found there to a mingw objdump,
8150 # which wouldn't understand a cygwinified path. Ahh.
8151 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8153 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8157 # pw32 DLLs use 'pw' prefix rather than 'lib'
8158 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8164 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8167 dynamic_linker
='Win32 ld.exe'
8168 # FIXME: first we should search . and the directory the executable is in
8172 darwin
* | rhapsody
*)
8173 dynamic_linker
="$host_os dyld"
8177 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8178 soname_spec
='${libname}${release}${major}$shared_ext'
8179 shlibpath_overrides_runpath
=yes
8180 shlibpath_var
=DYLD_LIBRARY_PATH
8181 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8183 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8184 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8192 soname_spec
='${libname}${release}${shared_ext}$major'
8193 shlibpath_var
=LD_LIBRARY_PATH
8200 freebsd
* | dragonfly
*)
8201 # DragonFly does not have aout. When/if they implement a new
8202 # versioning mechanism, adjust this.
8203 if test -x /usr
/bin
/objformat
; then
8204 objformat
=`/usr/bin/objformat`
8207 freebsd
[123]*) objformat
=aout
;;
8211 version_type
=freebsd-
$objformat
8212 case $version_type in
8214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8219 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8223 shlibpath_var
=LD_LIBRARY_PATH
8226 shlibpath_overrides_runpath
=yes
8228 freebsd3.
[01]* | freebsdelf3.
[01]*)
8229 shlibpath_overrides_runpath
=yes
8230 hardcode_into_libs
=yes
8232 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8233 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8234 shlibpath_overrides_runpath
=no
8235 hardcode_into_libs
=yes
8237 *) # from 4.6 on, and DragonFly
8238 shlibpath_overrides_runpath
=yes
8239 hardcode_into_libs
=yes
8248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8249 soname_spec
='${libname}${release}${shared_ext}$major'
8250 shlibpath_var
=LD_LIBRARY_PATH
8251 hardcode_into_libs
=yes
8254 hpux9
* | hpux10
* | hpux11
*)
8255 # Give a soname corresponding to the major version so that dld.sl refuses to
8256 # link against other versions.
8263 hardcode_into_libs
=yes
8264 dynamic_linker
="$host_os dld.so"
8265 shlibpath_var
=LD_LIBRARY_PATH
8266 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8268 soname_spec
='${libname}${release}${shared_ext}$major'
8269 if test "X$HPUX_IA64_MODE" = X32
; then
8270 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8272 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8274 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8278 hardcode_into_libs
=yes
8279 dynamic_linker
="$host_os dld.sl"
8280 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8281 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8283 soname_spec
='${libname}${release}${shared_ext}$major'
8284 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8285 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8289 dynamic_linker
="$host_os dld.sl"
8290 shlibpath_var
=SHLIB_PATH
8291 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8293 soname_spec
='${libname}${release}${shared_ext}$major'
8296 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8297 postinstall_cmds
='chmod 555 $lib'
8304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8305 soname_spec
='${libname}${release}${shared_ext}$major'
8306 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8307 shlibpath_var
=LD_LIBRARY_PATH
8308 shlibpath_overrides_runpath
=no
8309 hardcode_into_libs
=yes
8312 irix5
* | irix6
* | nonstopux
*)
8314 nonstopux
*) version_type
=nonstopux
;;
8316 if test "$lt_cv_prog_gnu_ld" = yes; then
8324 soname_spec
='${libname}${release}${shared_ext}$major'
8325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8327 irix5
* | nonstopux
*)
8331 case $LD in # libtool.m4 will add one of these switches to LD
8332 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8333 libsuff
= shlibsuff
= libmagic
=32-bit;;
8334 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8335 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8336 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8337 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8338 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8342 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8343 shlibpath_overrides_runpath
=no
8344 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8345 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8346 hardcode_into_libs
=yes
8349 # No shared lib support for Linux oldld, aout, or coff.
8350 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8354 # This must be Linux ELF.
8355 linux
* | k
*bsd
*-gnu)
8359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8360 soname_spec
='${libname}${release}${shared_ext}$major'
8361 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8362 shlibpath_var
=LD_LIBRARY_PATH
8363 shlibpath_overrides_runpath
=no
8364 # This implies no fast_install, which is unacceptable.
8365 # Some rework will be needed to allow for fast_install
8366 # before this can be enabled.
8367 hardcode_into_libs
=yes
8369 # Append ld.so.conf contents to the search path
8370 if test -f /etc
/ld.so.conf
; then
8371 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8372 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8375 # We used to test for /lib/ld.so.1 and disable shared libraries on
8376 # powerpc, because MkLinux only supported shared libraries with the
8377 # GNU dynamic linker. Since this was broken with cross compilers,
8378 # most powerpc-linux boxes support dynamic linking these days and
8379 # people can always --disable-shared, the test was removed, and we
8380 # assume the GNU/Linux dynamic linker is in use.
8381 dynamic_linker
='GNU/Linux ld.so'
8388 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8390 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8391 dynamic_linker
='NetBSD (a.out) ld.so'
8393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8394 soname_spec
='${libname}${release}${shared_ext}$major'
8395 dynamic_linker
='NetBSD ld.elf_so'
8397 shlibpath_var
=LD_LIBRARY_PATH
8398 shlibpath_overrides_runpath
=yes
8399 hardcode_into_libs
=yes
8404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8405 shlibpath_var
=LD_LIBRARY_PATH
8406 shlibpath_overrides_runpath
=yes
8413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8414 soname_spec
='${libname}${release}${shared_ext}$major'
8415 shlibpath_var
=LD_LIBRARY_PATH
8416 shlibpath_overrides_runpath
=yes
8421 sys_lib_dlsearch_path_spec
="/usr/lib"
8423 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8425 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8426 *) need_version
=no
;;
8428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8429 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8430 shlibpath_var
=LD_LIBRARY_PATH
8431 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8433 openbsd2.
[89] | openbsd2.
[89].
*)
8434 shlibpath_overrides_runpath
=no
8437 shlibpath_overrides_runpath
=yes
8441 shlibpath_overrides_runpath
=yes
8446 libname_spec
='$name'
8449 library_names_spec
='$libname${shared_ext} $libname.a'
8450 dynamic_linker
='OS/2 ld.exe'
8451 shlibpath_var
=LIBPATH
8454 osf3
* | osf4
* | osf5
*)
8458 soname_spec
='${libname}${release}${shared_ext}$major'
8459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8460 shlibpath_var
=LD_LIBRARY_PATH
8461 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8462 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8474 soname_spec
='${libname}${release}${shared_ext}$major'
8475 shlibpath_var
=LD_LIBRARY_PATH
8476 shlibpath_overrides_runpath
=yes
8477 hardcode_into_libs
=yes
8478 # ldd complains unless libraries are executable
8479 postinstall_cmds
='chmod +x $lib'
8484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8485 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8486 shlibpath_var
=LD_LIBRARY_PATH
8487 shlibpath_overrides_runpath
=yes
8488 if test "$with_gnu_ld" = yes; then
8496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8497 soname_spec
='${libname}${release}${shared_ext}$major'
8498 shlibpath_var
=LD_LIBRARY_PATH
8499 case $host_vendor in
8501 shlibpath_overrides_runpath
=no
8503 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8504 runpath_var
=LD_RUN_PATH
8512 shlibpath_overrides_runpath
=no
8513 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8519 if test -d /usr
/nec
;then
8521 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8522 soname_spec
='$libname${shared_ext}.$major'
8523 shlibpath_var
=LD_LIBRARY_PATH
8527 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8528 version_type
=freebsd-elf
8531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8532 soname_spec
='${libname}${release}${shared_ext}$major'
8533 shlibpath_var
=LD_LIBRARY_PATH
8534 hardcode_into_libs
=yes
8535 if test "$with_gnu_ld" = yes; then
8536 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8537 shlibpath_overrides_runpath
=no
8539 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
8540 shlibpath_overrides_runpath
=yes
8543 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
8547 sys_lib_dlsearch_path_spec
='/usr/lib'
8552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8553 soname_spec
='${libname}${release}${shared_ext}$major'
8554 shlibpath_var
=LD_LIBRARY_PATH
8561 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8562 echo "${ECHO_T}$dynamic_linker" >&6; }
8563 test "$dynamic_linker" = no
&& can_build_shared
=no
8565 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8566 if test "$GCC" = yes; then
8567 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8570 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8571 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8573 if test -n "$hardcode_libdir_flag_spec" || \
8574 test -n "$runpath_var" || \
8575 test "X$hardcode_automatic" = "Xyes" ; then
8577 # We can hardcode non-existant directories.
8578 if test "$hardcode_direct" != no
&&
8579 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8580 # have to relink, otherwise we might link with an installed library
8581 # when we should be linking with a yet-to-be-installed one
8582 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8583 test "$hardcode_minus_L" != no
; then
8584 # Linking always hardcodes the temporary library directory.
8585 hardcode_action
=relink
8587 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8588 hardcode_action
=immediate
8591 # We cannot hardcode anything, or else we can only hardcode existing
8593 hardcode_action
=unsupported
8595 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
8596 echo "${ECHO_T}$hardcode_action" >&6; }
8598 if test "$hardcode_action" = relink
; then
8599 # Fast installation is not supported
8600 enable_fast_install
=no
8601 elif test "$shlibpath_overrides_runpath" = yes ||
8602 test "$enable_shared" = no
; then
8603 # Fast installation is not necessary
8604 enable_fast_install
=needless
8609 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8610 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8611 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8612 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8613 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8614 { echo "$as_me:$LINENO: result: yes" >&5
8615 echo "${ECHO_T}yes" >&6; }
8617 # FIXME - insert some real tests, host_os isn't really good enough
8620 if test -n "$STRIP" ; then
8621 striplib
="$STRIP -x"
8622 old_striplib
="$STRIP -S"
8623 { echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6; }
8626 { echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6; }
8631 { echo "$as_me:$LINENO: result: no" >&5
8632 echo "${ECHO_T}no" >&6; }
8637 if test "x$enable_dlopen" != xyes
; then
8638 enable_dlopen
=unknown
8639 enable_dlopen_self
=unknown
8640 enable_dlopen_self_static
=unknown
8647 lt_cv_dlopen
="load_add_on"
8649 lt_cv_dlopen_self
=yes
8653 lt_cv_dlopen
="LoadLibrary"
8658 lt_cv_dlopen
="dlopen"
8663 # if libdl is installed we need to link against it
8664 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8665 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8666 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8667 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 ac_check_lib_save_LIBS
=$LIBS
8671 cat >conftest.
$ac_ext <<_ACEOF
8674 cat confdefs.h
>>conftest.
$ac_ext
8675 cat >>conftest.
$ac_ext <<_ACEOF
8676 /* end confdefs.h. */
8678 /* Override any GCC internal prototype to avoid an error.
8679 Use char because int might match the return type of a GCC
8680 builtin and then its argument prototype would still apply. */
8693 rm -f conftest.
$ac_objext conftest
$ac_exeext
8694 if { (ac_try
="$ac_link"
8696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_link") 2>conftest.er1
8702 grep -v '^ *+' conftest.er1 >conftest.err
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } && {
8707 test -z "$ac_c_werror_flag" ||
8708 test ! -s conftest.err
8709 } && test -s conftest$ac_exeext &&
8710 $as_test_x conftest$ac_exeext; then
8711 ac_cv_lib_dl_dlopen=yes
8713 echo "$as_me: failed program was:" >&5
8714 sed 's/^/| /' conftest.$ac_ext >&5
8716 ac_cv_lib_dl_dlopen=no
8719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8720 conftest$ac_exeext conftest.$ac_ext
8721 LIBS=$ac_check_lib_save_LIBS
8723 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8724 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8725 if test $ac_cv_lib_dl_dlopen = yes; then
8726 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8731 lt_cv_dlopen_self=yes
8738 { echo "$as_me:$LINENO: checking for shl_load" >&5
8739 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8740 if test "${ac_cv_func_shl_load+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 cat >conftest.$ac_ext <<_ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8749 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8751 #define shl_load innocuous_shl_load
8753 /* System header to define __stub macros and hopefully few prototypes,
8754 which can conflict with char shl_load (); below.
8755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8756 <limits.h> exists even on freestanding compilers. */
8759 # include <limits.h>
8761 # include <assert.h>
8766 /* Override any GCC internal prototype to avoid an error.
8767 Use char because int might match the return type of a GCC
8768 builtin and then its argument prototype would still apply. */
8773 /* The GNU C library defines this for functions which it implements
8774 to always fail with ENOSYS. Some functions are actually named
8775 something starting with __ and the normal name is an alias. */
8776 #if defined __stub_shl_load || defined __stub___shl_load
8788 rm -f conftest.$ac_objext conftest$ac_exeext
8789 if { (ac_try="$ac_link"
8791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8792 *) ac_try_echo
=$ac_try;;
8794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8795 (eval "$ac_link") 2>conftest.er1
8797 grep -v '^ *+' conftest.er1
>conftest.err
8799 cat conftest.err
>&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } && {
8802 test -z "$ac_c_werror_flag" ||
8803 test ! -s conftest.err
8804 } && test -s conftest
$ac_exeext &&
8805 $as_test_x conftest
$ac_exeext; then
8806 ac_cv_func_shl_load
=yes
8808 echo "$as_me: failed program was:" >&5
8809 sed 's/^/| /' conftest.
$ac_ext >&5
8811 ac_cv_func_shl_load
=no
8814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8815 conftest
$ac_exeext conftest.
$ac_ext
8817 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8818 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8819 if test $ac_cv_func_shl_load = yes; then
8820 lt_cv_dlopen
="shl_load"
8822 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8823 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8824 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 ac_check_lib_save_LIBS
=$LIBS
8829 cat >conftest.
$ac_ext <<_ACEOF
8832 cat confdefs.h
>>conftest.
$ac_ext
8833 cat >>conftest.
$ac_ext <<_ACEOF
8834 /* end confdefs.h. */
8836 /* Override any GCC internal prototype to avoid an error.
8837 Use char because int might match the return type of a GCC
8838 builtin and then its argument prototype would still apply. */
8851 rm -f conftest.
$ac_objext conftest
$ac_exeext
8852 if { (ac_try
="$ac_link"
8854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_link") 2>conftest.er1
8860 grep -v '^ *+' conftest.er1 >conftest.err
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest$ac_exeext &&
8868 $as_test_x conftest$ac_exeext; then
8869 ac_cv_lib_dld_shl_load=yes
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8874 ac_cv_lib_dld_shl_load=no
8877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8878 conftest$ac_exeext conftest.$ac_ext
8879 LIBS=$ac_check_lib_save_LIBS
8881 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8882 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8883 if test $ac_cv_lib_dld_shl_load = yes; then
8884 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8886 { echo "$as_me:$LINENO: checking for dlopen" >&5
8887 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8888 if test "${ac_cv_func_dlopen+set}" = set; then
8889 echo $ECHO_N "(cached) $ECHO_C" >&6
8891 cat >conftest.$ac_ext <<_ACEOF
8894 cat confdefs.h >>conftest.$ac_ext
8895 cat >>conftest.$ac_ext <<_ACEOF
8896 /* end confdefs.h. */
8897 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8899 #define dlopen innocuous_dlopen
8901 /* System header to define __stub macros and hopefully few prototypes,
8902 which can conflict with char dlopen (); below.
8903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8904 <limits.h> exists even on freestanding compilers. */
8907 # include <limits.h>
8909 # include <assert.h>
8914 /* Override any GCC internal prototype to avoid an error.
8915 Use char because int might match the return type of a GCC
8916 builtin and then its argument prototype would still apply. */
8921 /* The GNU C library defines this for functions which it implements
8922 to always fail with ENOSYS. Some functions are actually named
8923 something starting with __ and the normal name is an alias. */
8924 #if defined __stub_dlopen || defined __stub___dlopen
8936 rm -f conftest.$ac_objext conftest$ac_exeext
8937 if { (ac_try="$ac_link"
8939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8940 *) ac_try_echo
=$ac_try;;
8942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8943 (eval "$ac_link") 2>conftest.er1
8945 grep -v '^ *+' conftest.er1
>conftest.err
8947 cat conftest.err
>&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); } && {
8950 test -z "$ac_c_werror_flag" ||
8951 test ! -s conftest.err
8952 } && test -s conftest
$ac_exeext &&
8953 $as_test_x conftest
$ac_exeext; then
8954 ac_cv_func_dlopen
=yes
8956 echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.
$ac_ext >&5
8959 ac_cv_func_dlopen
=no
8962 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8963 conftest
$ac_exeext conftest.
$ac_ext
8965 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8966 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8967 if test $ac_cv_func_dlopen = yes; then
8968 lt_cv_dlopen
="dlopen"
8970 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8971 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8972 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 ac_check_lib_save_LIBS
=$LIBS
8977 cat >conftest.
$ac_ext <<_ACEOF
8980 cat confdefs.h
>>conftest.
$ac_ext
8981 cat >>conftest.
$ac_ext <<_ACEOF
8982 /* end confdefs.h. */
8984 /* Override any GCC internal prototype to avoid an error.
8985 Use char because int might match the return type of a GCC
8986 builtin and then its argument prototype would still apply. */
8999 rm -f conftest.
$ac_objext conftest
$ac_exeext
9000 if { (ac_try
="$ac_link"
9002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9003 *) ac_try_echo=$ac_try;;
9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9006 (eval "$ac_link") 2>conftest.er1
9008 grep -v '^ *+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } && {
9013 test -z "$ac_c_werror_flag" ||
9014 test ! -s conftest.err
9015 } && test -s conftest$ac_exeext &&
9016 $as_test_x conftest$ac_exeext; then
9017 ac_cv_lib_dl_dlopen=yes
9019 echo "$as_me: failed program was:" >&5
9020 sed 's/^/| /' conftest.$ac_ext >&5
9022 ac_cv_lib_dl_dlopen=no
9025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9026 conftest$ac_exeext conftest.$ac_ext
9027 LIBS=$ac_check_lib_save_LIBS
9029 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9030 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9031 if test $ac_cv_lib_dl_dlopen = yes; then
9032 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9034 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9035 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9036 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 ac_check_lib_save_LIBS=$LIBS
9041 cat >conftest.$ac_ext <<_ACEOF
9044 cat confdefs.h >>conftest.$ac_ext
9045 cat >>conftest.$ac_ext <<_ACEOF
9046 /* end confdefs.h. */
9048 /* Override any GCC internal prototype to avoid an error.
9049 Use char because int might match the return type of a GCC
9050 builtin and then its argument prototype would still apply. */
9063 rm -f conftest.$ac_objext conftest$ac_exeext
9064 if { (ac_try="$ac_link"
9066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9067 *) ac_try_echo
=$ac_try;;
9069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9070 (eval "$ac_link") 2>conftest.er1
9072 grep -v '^ *+' conftest.er1
>conftest.err
9074 cat conftest.err
>&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); } && {
9077 test -z "$ac_c_werror_flag" ||
9078 test ! -s conftest.err
9079 } && test -s conftest
$ac_exeext &&
9080 $as_test_x conftest
$ac_exeext; then
9081 ac_cv_lib_svld_dlopen
=yes
9083 echo "$as_me: failed program was:" >&5
9084 sed 's/^/| /' conftest.
$ac_ext >&5
9086 ac_cv_lib_svld_dlopen
=no
9089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9090 conftest
$ac_exeext conftest.
$ac_ext
9091 LIBS
=$ac_check_lib_save_LIBS
9093 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9094 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9095 if test $ac_cv_lib_svld_dlopen = yes; then
9096 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9098 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9099 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9100 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 ac_check_lib_save_LIBS
=$LIBS
9105 cat >conftest.
$ac_ext <<_ACEOF
9108 cat confdefs.h
>>conftest.
$ac_ext
9109 cat >>conftest.
$ac_ext <<_ACEOF
9110 /* end confdefs.h. */
9112 /* Override any GCC internal prototype to avoid an error.
9113 Use char because int might match the return type of a GCC
9114 builtin and then its argument prototype would still apply. */
9127 rm -f conftest.
$ac_objext conftest
$ac_exeext
9128 if { (ac_try
="$ac_link"
9130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9131 *) ac_try_echo=$ac_try;;
9133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134 (eval "$ac_link") 2>conftest.er1
9136 grep -v '^ *+' conftest.er1 >conftest.err
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } && {
9141 test -z "$ac_c_werror_flag" ||
9142 test ! -s conftest.err
9143 } && test -s conftest$ac_exeext &&
9144 $as_test_x conftest$ac_exeext; then
9145 ac_cv_lib_dld_dld_link=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.$ac_ext >&5
9150 ac_cv_lib_dld_dld_link=no
9153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9154 conftest$ac_exeext conftest.$ac_ext
9155 LIBS=$ac_check_lib_save_LIBS
9157 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9158 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9159 if test $ac_cv_lib_dld_dld_link = yes; then
9160 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9181 if test "x$lt_cv_dlopen" != xno; then
9187 case $lt_cv_dlopen in
9189 save_CPPFLAGS="$CPPFLAGS"
9190 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9192 save_LDFLAGS="$LDFLAGS"
9193 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9196 LIBS="$lt_cv_dlopen_libs $LIBS"
9198 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9199 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9200 if test "${lt_cv_dlopen_self+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 if test "$cross_compiling" = yes; then :
9204 lt_cv_dlopen_self=cross
9206 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9207 lt_status=$lt_dlunknown
9208 cat > conftest.$ac_ext <<EOF
9209 #line 9209 "configure"
9210 #include "confdefs.h"
9219 # define LT_DLGLOBAL RTLD_GLOBAL
9222 # define LT_DLGLOBAL DL_GLOBAL
9224 # define LT_DLGLOBAL 0
9228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9229 find out it does not work in some platform. */
9230 #ifndef LT_DLLAZY_OR_NOW
9232 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9235 # define LT_DLLAZY_OR_NOW DL_LAZY
9238 # define LT_DLLAZY_OR_NOW RTLD_NOW
9241 # define LT_DLLAZY_OR_NOW DL_NOW
9243 # define LT_DLLAZY_OR_NOW 0
9251 extern "C" void exit (int);
9254 void fnord() { int i=42;}
9257 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9258 int status = $lt_dlunknown;
9262 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9263 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9264 /* dlclose (self); */
9272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9273 (eval $ac_link) 2>&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9277 (./conftest; exit; ) >&5 2>/dev/null
9280 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9281 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9282 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9285 # compilation failed
9286 lt_cv_dlopen_self=no
9293 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9294 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9296 if test "x$lt_cv_dlopen_self" = xyes; then
9297 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9298 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9299 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9300 if test "${lt_cv_dlopen_self_static+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 if test "$cross_compiling" = yes; then :
9304 lt_cv_dlopen_self_static=cross
9306 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9307 lt_status=$lt_dlunknown
9308 cat > conftest.$ac_ext <<EOF
9309 #line 9309 "configure"
9310 #include "confdefs.h"
9319 # define LT_DLGLOBAL RTLD_GLOBAL
9322 # define LT_DLGLOBAL DL_GLOBAL
9324 # define LT_DLGLOBAL 0
9328 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9329 find out it does not work in some platform. */
9330 #ifndef LT_DLLAZY_OR_NOW
9332 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9335 # define LT_DLLAZY_OR_NOW DL_LAZY
9338 # define LT_DLLAZY_OR_NOW RTLD_NOW
9341 # define LT_DLLAZY_OR_NOW DL_NOW
9343 # define LT_DLLAZY_OR_NOW 0
9351 extern "C" void exit (int);
9354 void fnord() { int i=42;}
9357 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9358 int status = $lt_dlunknown;
9362 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9363 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9364 /* dlclose (self); */
9372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9373 (eval $ac_link) 2>&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9377 (./conftest; exit; ) >&5 2>/dev/null
9380 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9381 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9382 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9385 # compilation failed
9386 lt_cv_dlopen_self_static=no
9393 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9394 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9397 CPPFLAGS="$save_CPPFLAGS"
9398 LDFLAGS="$save_LDFLAGS"
9403 case $lt_cv_dlopen_self in
9404 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9405 *) enable_dlopen_self=unknown ;;
9408 case $lt_cv_dlopen_self_static in
9409 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9410 *) enable_dlopen_self_static=unknown ;;
9415 # Report which library types will actually be built
9416 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9417 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9418 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9419 echo "${ECHO_T}$can_build_shared" >&6; }
9421 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9422 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9423 test "$can_build_shared" = "no" && enable_shared=no
9425 # On AIX, shared libraries and static libraries use the same namespace, and
9426 # are all built from PIC.
9429 test "$enable_shared" = yes && enable_static=no
9430 if test -n "$RANLIB"; then
9431 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9432 postinstall_cmds='$RANLIB $lib'
9437 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9438 test "$enable_shared" = yes && enable_static=no
9442 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9443 echo "${ECHO_T}$enable_shared" >&6; }
9445 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9446 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9447 # Make sure either enable_shared or enable_static is yes.
9448 test "$enable_shared" = yes || enable_static=yes
9449 { echo "$as_me:$LINENO: result: $enable_static" >&5
9450 echo "${ECHO_T}$enable_static" >&6; }
9452 # The else clause should only fire when bootstrapping the
9453 # libtool distribution, otherwise you forgot to ship ltmain.sh
9454 # with your package, and you will get complaints that there are
9455 # no rules to generate ltmain.sh.
9456 if test -f "$ltmain"; then
9457 # See if we are running on zsh, and set the options which allow our commands through
9458 # without removal of \ escapes.
9459 if test -n "${ZSH_VERSION+set}" ; then
9460 setopt NO_GLOB_SUBST
9462 # Now quote all the things that may contain metacharacters while being
9463 # careful not to overquote the AC_SUBSTed values. We take copies of the
9464 # variables and quote the copies for generation of the libtool script.
9465 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9467 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9468 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9469 deplibs_check_method reload_flag reload_cmds need_locks \
9470 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9471 lt_cv_sys_global_symbol_to_c_name_address \
9472 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9473 old_postinstall_cmds old_postuninstall_cmds \
9477 lt_prog_compiler_wl \
9478 lt_prog_compiler_pic \
9479 lt_prog_compiler_static \
9480 lt_prog_compiler_no_builtin_flag \
9481 export_dynamic_flag_spec \
9482 thread_safe_flag_spec \
9483 whole_archive_flag_spec \
9484 enable_shared_with_static_runtimes \
9486 old_archive_from_new_cmds \
9491 compiler_lib_search_path \
9493 archive_expsym_cmds \
9495 postuninstall_cmds \
9496 old_archive_from_expsyms_cmds \
9497 allow_undefined_flag \
9499 export_symbols_cmds \
9500 hardcode_libdir_flag_spec \
9501 hardcode_libdir_flag_spec_ld \
9502 hardcode_libdir_separator \
9503 hardcode_automatic \
9505 module_expsym_cmds \
9506 lt_cv_prog_compiler_c_o \
9512 old_archive_cmds | \
9513 old_archive_from_new_cmds | \
9515 archive_expsym_cmds | \
9517 module_expsym_cmds | \
9518 old_archive_from_expsyms_cmds | \
9519 export_symbols_cmds | \
9520 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9521 postinstall_cmds | postuninstall_cmds | \
9522 old_postinstall_cmds | old_postuninstall_cmds | \
9523 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9524 # Double-quote double-evaled strings.
9525 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
9528 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
9534 *'\$0 --fallback-echo"')
9535 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9540 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9542 { echo "$as_me:$LINENO: creating $ofile" >&5
9543 echo "$as_me: creating $ofile" >&6;}
9545 cat <<__EOF__ >> "$cfgfile"
9548 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
9549 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9550 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9552 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
9553 # Free Software Foundation, Inc.
9555 # This file is part of GNU Libtool:
9556 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9558 # This program is free software; you can redistribute it and/or modify
9559 # it under the terms of the GNU General Public License as published by
9560 # the Free Software Foundation; either version 2 of the License, or
9561 # (at your option) any later version.
9563 # This program is distributed in the hope that it will be useful, but
9564 # WITHOUT ANY WARRANTY; without even the implied warranty of
9565 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9566 # General Public License for more details.
9568 # You should have received a copy of the GNU General Public License
9569 # along with this program; if not, write to the Free Software
9570 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9572 # As a special exception to the GNU General Public License, if you
9573 # distribute this file as part of a program that contains a
9574 # configuration script generated by Autoconf, you may include it under
9575 # the same distribution terms that you use for the rest of that program.
9577 # A sed program that does not truncate output.
9580 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9581 Xsed="$SED -e 1s/^X//"
9583 # The HP-UX ksh and POSIX shell print the target directory to stdout
9585 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9587 # The names of the tagged configurations supported by this script.
9590 # ### BEGIN LIBTOOL CONFIG
9592 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
9594 # Shell to use when invoking shell scripts.
9597 # Whether or not to build shared libraries.
9598 build_libtool_libs=$enable_shared
9600 # Whether or not to build static libraries.
9601 build_old_libs=$enable_static
9603 # Whether or not to add -lc for building shared libraries.
9604 build_libtool_need_lc=$archive_cmds_need_lc
9606 # Whether or not to disallow shared libs when runtime libs are static
9607 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9609 # Whether or not to optimize for fast installation.
9610 fast_install=$enable_fast_install
9613 host_alias=$host_alias
9618 build_alias=$build_alias
9622 # An echo program that does not interpret backslashes.
9627 AR_FLAGS=$lt_AR_FLAGS
9632 # LTCC compiler flags.
9633 LTCFLAGS=$lt_LTCFLAGS
9635 # A language-specific compiler.
9638 # Is the compiler the GNU C compiler?
9644 # The linker used to build libraries.
9647 # Whether we need hard or soft links.
9650 # A BSD-compatible nm program.
9653 # A symbol stripping program
9656 # Used to examine libraries when file_magic_cmd begins "file"
9657 MAGIC_CMD=$MAGIC_CMD
9659 # Used on cygwin: DLL creation program.
9662 # Used on cygwin: object dumper.
9665 # Used on cygwin: assembler.
9668 # The name of the directory that contains temporary libtool files.
9671 # How to create reloadable object files.
9672 reload_flag=$lt_reload_flag
9673 reload_cmds=$lt_reload_cmds
9675 # How to pass a linker flag through the compiler.
9676 wl=$lt_lt_prog_compiler_wl
9678 # Object file suffix (normally "o").
9681 # Old archive suffix (normally "a").
9684 # Shared library suffix (normally ".so").
9685 shrext_cmds='$shrext_cmds'
9687 # Executable file suffix (normally "").
9690 # Additional compiler flags for building library objects.
9691 pic_flag=$lt_lt_prog_compiler_pic
9694 # What is the maximum length of a command?
9695 max_cmd_len=$lt_cv_sys_max_cmd_len
9697 # Does compiler simultaneously support -c and -o options?
9698 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9700 # Must we lock files when doing compilation?
9701 need_locks=$lt_need_locks
9703 # Do we need the lib prefix for modules?
9704 need_lib_prefix=$need_lib_prefix
9706 # Do we need a version for libraries?
9707 need_version=$need_version
9709 # Whether dlopen is supported.
9710 dlopen_support=$enable_dlopen
9712 # Whether dlopen of programs is supported.
9713 dlopen_self=$enable_dlopen_self
9715 # Whether dlopen of statically linked programs is supported.
9716 dlopen_self_static=$enable_dlopen_self_static
9718 # Compiler flag to prevent dynamic linking.
9719 link_static_flag=$lt_lt_prog_compiler_static
9721 # Compiler flag to turn off builtin functions.
9722 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9724 # Compiler flag to allow reflexive dlopens.
9725 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9727 # Compiler flag to generate shared objects directly from archives.
9728 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9730 # Compiler flag to generate thread-safe objects.
9731 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9733 # Library versioning type.
9734 version_type=$version_type
9736 # Format of library name prefix.
9737 libname_spec=$lt_libname_spec
9739 # List of archive names. First name is the real one, the rest are links.
9740 # The last name is the one that the linker finds with -lNAME.
9741 library_names_spec=$lt_library_names_spec
9743 # The coded name of the library, if different from the real name.
9744 soname_spec=$lt_soname_spec
9746 # Commands used to build and install an old-style archive.
9748 old_archive_cmds=$lt_old_archive_cmds
9749 old_postinstall_cmds=$lt_old_postinstall_cmds
9750 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9752 # Create an old-style archive from a shared archive.
9753 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9755 # Create a temporary old-style archive to link instead of a shared archive.
9756 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9758 # Commands used to build and install a shared archive.
9759 archive_cmds=$lt_archive_cmds
9760 archive_expsym_cmds=$lt_archive_expsym_cmds
9761 postinstall_cmds=$lt_postinstall_cmds
9762 postuninstall_cmds=$lt_postuninstall_cmds
9764 # Commands used to build a loadable module (assumed same as above if empty)
9765 module_cmds=$lt_module_cmds
9766 module_expsym_cmds=$lt_module_expsym_cmds
9768 # Commands to strip libraries.
9769 old_striplib=$lt_old_striplib
9770 striplib=$lt_striplib
9772 # Dependencies to place before the objects being linked to create a
9774 predep_objects=$lt_predep_objects
9776 # Dependencies to place after the objects being linked to create a
9778 postdep_objects=$lt_postdep_objects
9780 # Dependencies to place before the objects being linked to create a
9784 # Dependencies to place after the objects being linked to create a
9786 postdeps=$lt_postdeps
9788 # The library search path used internally by the compiler when linking
9790 compiler_lib_search_path=$lt_compiler_lib_search_path
9792 # Method to check whether dependent libraries are shared objects.
9793 deplibs_check_method=$lt_deplibs_check_method
9795 # Command to use when deplibs_check_method == file_magic.
9796 file_magic_cmd=$lt_file_magic_cmd
9798 # Flag that allows shared libraries with undefined symbols to be built.
9799 allow_undefined_flag=$lt_allow_undefined_flag
9801 # Flag that forces no undefined symbols.
9802 no_undefined_flag=$lt_no_undefined_flag
9804 # Commands used to finish a libtool library installation in a directory.
9805 finish_cmds=$lt_finish_cmds
9807 # Same as above, but a single script fragment to be evaled but not shown.
9808 finish_eval=$lt_finish_eval
9810 # Take the output of nm and produce a listing of raw symbols and C names.
9811 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9813 # Transform the output of nm in a proper C declaration
9814 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9816 # Transform the output of nm in a C name address pair
9817 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9819 # This is the shared library runtime path variable.
9820 runpath_var=$runpath_var
9822 # This is the shared library path variable.
9823 shlibpath_var=$shlibpath_var
9825 # Is shlibpath searched before the hard-coded library search path?
9826 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9828 # How to hardcode a shared library path into an executable.
9829 hardcode_action=$hardcode_action
9831 # Whether we should hardcode library paths into libraries.
9832 hardcode_into_libs=$hardcode_into_libs
9834 # Flag to hardcode \$libdir into a binary during linking.
9835 # This must work even if \$libdir does not exist.
9836 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9838 # If ld is used when linking, flag to hardcode \$libdir into
9839 # a binary during linking. This must work even if \$libdir does
9841 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9843 # Whether we need a single -rpath flag with a separated argument.
9844 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9846 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9848 hardcode_direct=$hardcode_direct
9850 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9852 hardcode_minus_L=$hardcode_minus_L
9854 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9855 # the resulting binary.
9856 hardcode_shlibpath_var=$hardcode_shlibpath_var
9858 # Set to yes if building a shared library automatically hardcodes DIR into the library
9859 # and all subsequent libraries and executables linked against it.
9860 hardcode_automatic=$hardcode_automatic
9862 # Variables whose values should be saved in libtool wrapper scripts and
9863 # restored at relink time.
9864 variables_saved_for_relink="$variables_saved_for_relink"
9866 # Whether libtool must link a program against all its dependency libraries.
9867 link_all_deplibs=$link_all_deplibs
9869 # Compile-time system search path for libraries
9870 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9872 # Run-time system search path for libraries
9873 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9875 # Fix the shell variable \$srcfile for the compiler.
9876 fix_srcfile_path=$lt_fix_srcfile_path
9878 # Set to yes if exported symbols are required.
9879 always_export_symbols=$always_export_symbols
9881 # The commands to list exported symbols.
9882 export_symbols_cmds=$lt_export_symbols_cmds
9884 # The commands to extract the exported symbol list from a shared archive.
9885 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9887 # Symbols that should not be listed in the preloaded symbols.
9888 exclude_expsyms=$lt_exclude_expsyms
9890 # Symbols that must always be exported.
9891 include_expsyms=$lt_include_expsyms
9893 # ### END LIBTOOL CONFIG
9900 cat <<\EOF >> "$cfgfile"
9902 # AIX sometimes has problems with the GCC collect2 program. For some
9903 # reason, if we set the COLLECT_NAMES environment variable, the problems
9904 # vanish in a puff of smoke.
9905 if test "X${COLLECT_NAMES+set}" != Xset; then
9907 export COLLECT_NAMES
9913 # We use sed instead of cat because bash on DJGPP gets confused if
9914 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9915 # text mode, it properly converts lines to CR/LF. This bash problem
9916 # is reportedly fixed, but why not run on old versions too?
9917 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9919 mv -f "$cfgfile" "$ofile" || \
9920 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9924 # If there is no Makefile yet, we rely on a make rule to execute
9925 # `config.status
--recheck' to rerun these tests and create the
9926 # libtool script then.
9927 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
9928 if test -f "$ltmain_in"; then
9929 test -f Makefile && make "$ltmain"
9935 ac_cpp='$CPP $CPPFLAGS'
9936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9937 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9943 # Check whether --with-tags was given.
9944 if test "${with_tags+set}" = set; then
9945 withval=$with_tags; tagnames="$withval"
9949 if test -f "$ltmain" && test -n "$tagnames"; then
9950 if test ! -f "${ofile}"; then
9951 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
9952 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
9955 if test -z "$LTCC"; then
9956 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
9957 if test -z "$LTCC"; then
9958 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9959 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
9961 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
9962 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
9965 if test -z "$LTCFLAGS"; then
9966 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
9969 # Extract list of available tagged configurations in $ofile.
9970 # Note that this assumes the entire list is on one line.
9971 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9973 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9974 for tagname in $tagnames; do
9976 # Check whether tagname contains only valid characters
9977 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9979 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9980 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9981 { (exit 1); exit 1; }; }
9985 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9987 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9988 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9989 { (exit 1); exit 1; }; }
9992 # Update the list of available tags.
9993 if test -n "$tagname"; then
9994 echo appending configuration tag \"$tagname\" to $ofile
9998 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9999 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10000 (test "X$CXX" != "Xg++"))) ; then
10002 ac_cpp='$CXXCPP $CPPFLAGS'
10003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10010 archive_cmds_need_lc_CXX=no
10011 allow_undefined_flag_CXX=
10012 always_export_symbols_CXX=no
10013 archive_expsym_cmds_CXX=
10014 export_dynamic_flag_spec_CXX=
10015 hardcode_direct_CXX=no
10016 hardcode_libdir_flag_spec_CXX=
10017 hardcode_libdir_flag_spec_ld_CXX=
10018 hardcode_libdir_separator_CXX=
10019 hardcode_minus_L_CXX=no
10020 hardcode_shlibpath_var_CXX=unsupported
10021 hardcode_automatic_CXX=no
10023 module_expsym_cmds_CXX=
10024 link_all_deplibs_CXX=unknown
10025 old_archive_cmds_CXX=$old_archive_cmds
10026 no_undefined_flag_CXX=
10027 whole_archive_flag_spec_CXX=
10028 enable_shared_with_static_runtimes_CXX=no
10030 # Dependencies to place before and after the object being linked:
10031 predep_objects_CXX=
10032 postdep_objects_CXX=
10035 compiler_lib_search_path_CXX=
10037 # Source file extension for C++ test sources.
10040 # Object file extension for compiled C++ test sources.
10044 # Code to be used in simple compile tests
10045 lt_simple_compile_test_code="int some_variable = 0;"
10047 # Code to be used in simple link tests
10048 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10050 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10052 # If no C compiler was specified, use CC.
10055 # If no C compiler flags were specified, use CFLAGS.
10056 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10058 # Allow CC to be a program name with arguments.
10062 # save warnings/boilerplate of simple test code
10063 ac_outfile=conftest.$ac_objext
10064 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10065 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10066 _lt_compiler_boilerplate=`cat conftest.err
`
10069 ac_outfile=conftest.$ac_objext
10070 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10071 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10072 _lt_linker_boilerplate=`cat conftest.err
`
10076 # Allow CC to be a program name with arguments.
10081 lt_save_with_gnu_ld=$with_gnu_ld
10082 lt_save_path_LD=$lt_cv_path_LD
10083 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10084 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10086 $as_unset lt_cv_prog_gnu_ld
10088 if test -n "${lt_cv_path_LDCXX+set}"; then
10089 lt_cv_path_LD=$lt_cv_path_LDCXX
10091 $as_unset lt_cv_path_LD
10093 test -z "${LDCXX+set}" || LD=$LDCXX
10097 for cc_temp in $compiler""; do
10099 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10100 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10105 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10108 # We don't want -fno-exception wen compiling C++ code, so set the
10109 # no_builtin_flag separately
10110 if test "$GXX" = yes; then
10111 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10113 lt_prog_compiler_no_builtin_flag_CXX=
10116 if test "$GXX" = yes; then
10117 # Set up default GNU C++ configuration
10120 # Check whether --with-gnu-ld was given.
10121 if test "${with_gnu_ld+set}" = set; then
10122 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10128 if test "$GCC" = yes; then
10129 # Check if gcc -print-prog-name=ld gives a path.
10130 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10131 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10134 # gcc leaves a trailing carriage return which upsets mingw
10135 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10137 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10140 # Accept absolute paths.
10142 re_direlt='/[^/][^/]*/\.\./'
10143 # Canonicalize the pathname of ld
10144 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10145 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10146 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10148 test -z "$LD" && LD="$ac_prog"
10151 # If it fails, then pretend we aren't using GCC.
10155 # If it is relative, then search for the first ld in PATH.
10156 with_gnu_ld=unknown
10159 elif test "$with_gnu_ld" = yes; then
10160 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10161 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10163 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10164 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10166 if test "${lt_cv_path_LD+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 if test -z "$LD"; then
10170 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10171 for ac_dir in $PATH; do
10173 test -z "$ac_dir" && ac_dir=.
10174 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10175 lt_cv_path_LD="$ac_dir/$ac_prog"
10176 # Check to see if the program is GNU ld. I'd rather use --version,
10177 # but apparently some variants of GNU ld only accept -v.
10178 # Break only if it was the GNU/non-GNU ld that we prefer.
10179 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10180 *GNU* | *'with BFD'*)
10181 test "$with_gnu_ld" != no && break
10184 test "$with_gnu_ld" != yes && break
10191 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10195 LD="$lt_cv_path_LD"
10196 if test -n "$LD"; then
10197 { echo "$as_me:$LINENO: result: $LD" >&5
10198 echo "${ECHO_T}$LD" >&6; }
10200 { echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6; }
10203 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10204 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10205 { (exit 1); exit 1; }; }
10206 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10207 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10208 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10209 echo $ECHO_N "(cached) $ECHO_C" >&6
10211 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10212 case `$LD -v 2>&1 </dev
/null
` in
10213 *GNU* | *'with BFD'*)
10214 lt_cv_prog_gnu_ld=yes
10217 lt_cv_prog_gnu_ld=no
10221 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10222 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10223 with_gnu_ld=$lt_cv_prog_gnu_ld
10227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10228 # archiving commands below assume that GNU ld is being used.
10229 if test "$with_gnu_ld" = yes; then
10230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10231 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'
10233 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10236 # If archive_cmds runs LD, not CC, wlarc should be empty
10237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10238 # investigate it a little bit more. (MM)
10241 # ancient GNU ld didn't support --whole-archive et. al.
10242 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10243 grep 'no-whole-archive' > /dev/null; then
10244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10246 whole_archive_flag_spec_CXX=
10252 # A generic and very simple default shared library creation
10253 # command for GNU C++ for the case where it uses the native
10254 # linker, instead of GNU ld. If possible, this setting should
10255 # overridden to take advantage of the native linker features on
10256 # the platform it is being used on.
10257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10260 # Commands to make compiler produce verbose output that lists
10261 # what "hidden" libraries, object files and flags are used when
10262 # linking a shared library.
10263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10271 # PORTME: fill in a description of your system's C++ link characteristics
10272 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10273 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10277 # FIXME: insert proper C++ library support
10281 if test "$host_cpu" = ia64; then
10282 # On IA64, the linker does run time linking by default, so we don't
10283 # have to do anything special.
10284 aix_use_runtimelinking=no
10285 exp_sym_flag='-Bexport'
10288 aix_use_runtimelinking=no
10290 # Test if we are trying to use run time linking or normal
10291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10292 # need to do runtime linking.
10293 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10294 for ld_flag in $LDFLAGS; do
10297 aix_use_runtimelinking=yes
10305 exp_sym_flag='-bexport'
10306 no_entry_flag='-bnoentry'
10309 # When large executables or shared objects are built, AIX ld can
10310 # have problems creating the table of contents. If linking a library
10311 # or program results in "error TOC overflow" add -mminimal-toc to
10312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10315 archive_cmds_CXX=''
10316 hardcode_direct_CXX=yes
10317 hardcode_libdir_separator_CXX=':'
10318 link_all_deplibs_CXX=yes
10320 if test "$GXX" = yes; then
10321 case $host_os in aix4.[012]|aix4.[012].*)
10322 # We only want to do this on AIX 4.2 and lower, the check
10323 # below for broken collect2 doesn't work under 4.3+
10324 collect2name=`${CC} -print-prog-name=collect2
`
10325 if test -f "$collect2name" && \
10326 strings "$collect2name" | grep resolve_lib_name >/dev/null
10328 # We have reworked collect2
10331 # We have old collect2
10332 hardcode_direct_CXX=unsupported
10333 # It fails to find uninstalled libraries when the uninstalled
10334 # path is not listed in the libpath. Setting hardcode_minus_L
10335 # to unsupported forces relinking
10336 hardcode_minus_L_CXX=yes
10337 hardcode_libdir_flag_spec_CXX='-L$libdir'
10338 hardcode_libdir_separator_CXX=
10342 shared_flag='-shared'
10343 if test "$aix_use_runtimelinking" = yes; then
10344 shared_flag="$shared_flag "'${wl}-G'
10348 if test "$host_cpu" = ia64; then
10349 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10350 # chokes on -Wl,-G. The following line is correct:
10353 if test "$aix_use_runtimelinking" = yes; then
10354 shared_flag='${wl}-G'
10356 shared_flag='${wl}-bM:SRE'
10361 # It seems that -bexpall does not export symbols beginning with
10362 # underscore (_), so it is better to generate a list of symbols to export.
10363 always_export_symbols_CXX=yes
10364 if test "$aix_use_runtimelinking" = yes; then
10365 # Warning - without using the other runtime loading flags (-brtl),
10366 # -berok will link without error, but may produce a broken library.
10367 allow_undefined_flag_CXX='-berok'
10368 # Determine the default libpath from the value encoded in an empty executable.
10369 cat >conftest.$ac_ext <<_ACEOF
10372 cat confdefs.h >>conftest.$ac_ext
10373 cat >>conftest.$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10384 rm -f conftest.$ac_objext conftest$ac_exeext
10385 if { (ac_try="$ac_link"
10386 case "(($ac_try" in
10387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10388 *) ac_try_echo
=$ac_try;;
10390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10391 (eval "$ac_link") 2>conftest.er1
10393 grep -v '^ *+' conftest.er1
>conftest.err
10395 cat conftest.err
>&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } && {
10398 test -z "$ac_cxx_werror_flag" ||
10399 test ! -s conftest.err
10400 } && test -s conftest
$ac_exeext &&
10401 $as_test_x conftest
$ac_exeext; then
10403 lt_aix_libpath_sed
='
10404 /Import File Strings/,/^$/ {
10410 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10411 # Check for a 64-bit object if we didn't find anything.
10412 if test -z "$aix_libpath"; then
10413 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10416 echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.
$ac_ext >&5
10422 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10423 conftest
$ac_exeext conftest.
$ac_ext
10424 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10426 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10428 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"
10430 if test "$host_cpu" = ia64
; then
10431 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
10432 allow_undefined_flag_CXX
="-z nodefs"
10433 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"
10435 # Determine the default libpath from the value encoded in an empty executable.
10436 cat >conftest.
$ac_ext <<_ACEOF
10439 cat confdefs.h
>>conftest.
$ac_ext
10440 cat >>conftest.
$ac_ext <<_ACEOF
10441 /* end confdefs.h. */
10451 rm -f conftest.
$ac_objext conftest
$ac_exeext
10452 if { (ac_try
="$ac_link"
10453 case "(($ac_try" in
10454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10455 *) ac_try_echo=$ac_try;;
10457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10458 (eval "$ac_link") 2>conftest.er1
10460 grep -v '^ *+' conftest.er1 >conftest.err
10462 cat conftest.err >&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } && {
10465 test -z "$ac_cxx_werror_flag" ||
10466 test ! -s conftest.err
10467 } && test -s conftest$ac_exeext &&
10468 $as_test_x conftest$ac_exeext; then
10470 lt_aix_libpath_sed='
10471 /Import File Strings/,/^$/ {
10477 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10478 # Check for a 64-bit object if we didn't find anything.
10479 if test -z "$aix_libpath"; then
10480 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10490 conftest$ac_exeext conftest.$ac_ext
10491 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10493 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10494 # Warning - without using the other run time loading flags,
10495 # -berok will link without error, but may produce a broken library.
10496 no_undefined_flag_CXX=' ${wl}-bernotok'
10497 allow_undefined_flag_CXX=' ${wl}-berok'
10498 # Exported symbols can be pulled into shared objects from archives
10499 whole_archive_flag_spec_CXX='$convenience'
10500 archive_cmds_need_lc_CXX=yes
10501 # This is similar to how AIX traditionally builds its shared libraries.
10502 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'
10508 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10509 allow_undefined_flag_CXX=unsupported
10510 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10511 # support --undefined. This deserves some investigation. FIXME
10512 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10519 case $cc_basename in
10521 # FIXME: insert proper C++ library support
10527 cygwin* | mingw* | pw32*)
10528 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10529 # as there is no search path for DLLs.
10530 hardcode_libdir_flag_spec_CXX='-L$libdir'
10531 allow_undefined_flag_CXX=unsupported
10532 always_export_symbols_CXX=no
10533 enable_shared_with_static_runtimes_CXX=yes
10535 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10536 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'
10537 # If the export-symbols file already is a .def file (1st line
10538 # is EXPORTS), use it as is; otherwise, prepend...
10539 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
10540 cp $export_symbols $output_objdir/$soname.def;
10542 echo EXPORTS > $output_objdir/$soname.def;
10543 cat $export_symbols >> $output_objdir/$soname.def;
10545 $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'
10550 darwin* | rhapsody*)
10552 rhapsody* | darwin1.[012])
10553 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10556 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10557 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10559 case ${MACOSX_DEPLOYMENT_TARGET} in
10561 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10564 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10570 archive_cmds_need_lc_CXX=no
10571 hardcode_direct_CXX=no
10572 hardcode_automatic_CXX=yes
10573 hardcode_shlibpath_var_CXX=unsupported
10574 whole_archive_flag_spec_CXX=''
10575 link_all_deplibs_CXX=yes
10577 if test "$GXX" = yes ; then
10578 lt_int_apple_cc_single_mod=no
10579 output_verbose_link_cmd='echo'
10580 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10581 lt_int_apple_cc_single_mod=yes
10583 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10584 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10586 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'
10588 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10589 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10590 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10591 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}'
10593 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}'
10595 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}'
10597 case $cc_basename in
10599 output_verbose_link_cmd='echo'
10600 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10601 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10602 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10603 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10604 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}'
10614 case $cc_basename in
10616 # FIXME: insert proper C++ library support
10620 # Green Hills C++ Compiler
10621 # FIXME: insert proper C++ library support
10625 # FIXME: insert proper C++ library support
10631 # C++ shared libraries reported to be fairly broken before switch to ELF
10635 archive_cmds_need_lc_CXX=no
10637 freebsd* | dragonfly*)
10638 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10645 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10646 hardcode_libdir_separator_CXX=:
10647 export_dynamic_flag_spec_CXX='${wl}-E'
10648 hardcode_direct_CXX=yes
10649 hardcode_minus_L_CXX=yes # Not in the search PATH,
10650 # but as the default
10651 # location of the library.
10653 case $cc_basename in
10655 # FIXME: insert proper C++ library support
10659 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'
10660 # Commands to make compiler produce verbose output that lists
10661 # what "hidden" libraries, object files and flags are used when
10662 # linking a shared library.
10664 # There doesn't appear to be a way to prevent this compiler from
10665 # explicitly linking system object files so we need to strip them
10666 # from the output so that they don't get included in the library
10668 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'
10671 if test "$GXX" = yes; then
10672 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'
10674 # FIXME: insert proper C++ library support
10681 if test $with_gnu_ld = no; then
10682 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10683 hardcode_libdir_separator_CXX=:
10688 export_dynamic_flag_spec_CXX='${wl}-E'
10694 hardcode_direct_CXX=no
10695 hardcode_shlibpath_var_CXX=no
10698 hardcode_direct_CXX=yes
10699 hardcode_minus_L_CXX=yes # Not in the search PATH,
10700 # but as the default
10701 # location of the library.
10705 case $cc_basename in
10707 # FIXME: insert proper C++ library support
10713 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10716 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10719 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10722 # Commands to make compiler produce verbose output that lists
10723 # what "hidden" libraries, object files and flags are used when
10724 # linking a shared library.
10726 # There doesn't appear to be a way to prevent this compiler from
10727 # explicitly linking system object files so we need to strip them
10728 # from the output so that they don't get included in the library
10730 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'
10733 if test "$GXX" = yes; then
10734 if test $with_gnu_ld = no; then
10737 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10740 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10743 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'
10748 # FIXME: insert proper C++ library support
10755 hardcode_direct_CXX=no
10756 hardcode_shlibpath_var_CXX=no
10757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10758 export_dynamic_flag_spec_CXX='${wl}-E'
10759 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10760 # Instead, shared libraries are loaded at an image base (0x10000000 by
10761 # default) and relocated if they conflict, which is a slow very memory
10762 # consuming and fragmenting process. To avoid this, we pick a random,
10763 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10764 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10765 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'
10766 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'
10769 case $cc_basename in
10772 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'
10774 # Archives containing C++ object files must be created using
10775 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10776 # necessary to make sure instantiated templates are included
10778 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10781 if test "$GXX" = yes; then
10782 if test "$with_gnu_ld" = no; then
10783 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'
10785 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'
10788 link_all_deplibs_CXX=yes
10791 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10792 hardcode_libdir_separator_CXX=:
10794 linux* | k*bsd*-gnu)
10795 case $cc_basename in
10797 # Kuck and Associates, Inc. (KAI) C++ Compiler
10799 # KCC will only create a shared library if the output file
10800 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10801 # to its proper name (with version) after linking.
10802 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'
10803 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'
10804 # Commands to make compiler produce verbose output that lists
10805 # what "hidden" libraries, object files and flags are used when
10806 # linking a shared library.
10808 # There doesn't appear to be a way to prevent this compiler from
10809 # explicitly linking system object files so we need to strip them
10810 # from the output so that they don't get included in the library
10812 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'
10814 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
10815 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10817 # Archives containing C++ object files must be created using
10818 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10819 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10824 # version 8.0 and above of icpc choke on multiply defined symbols
10825 # if we add $predep_objects and $postdep_objects, however 7.1 and
10826 # earlier do not add the objects themselves.
10827 case `$CC -V 2>&1` in
10829 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10830 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'
10832 *) # Version 8.0 or newer
10835 ia64
*) tmp_idyn
=' -i_dynamic';;
10837 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10838 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'
10841 archive_cmds_need_lc_CXX
=no
10842 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10843 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10844 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10847 # Portland Group C++ compiler
10848 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10849 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'
10851 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10852 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10853 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'
10857 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10858 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'
10860 runpath_var
=LD_RUN_PATH
10861 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
10862 hardcode_libdir_separator_CXX
=:
10864 # Commands to make compiler produce verbose output that lists
10865 # what "hidden" libraries, object files and flags are used when
10866 # linking a shared library.
10868 # There doesn't appear to be a way to prevent this compiler from
10869 # explicitly linking system object files so we need to strip them
10870 # from the output so that they don't get included in the library
10872 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'
10875 case `$CC -V 2>&1 | sed 5q` in
10878 no_undefined_flag_CXX
=' -zdefs'
10879 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10880 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
10881 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10882 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10884 # Not sure whether something based on
10885 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
10887 output_verbose_link_cmd
='echo'
10889 # Archives containing C++ object files must be created using
10890 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10891 # necessary to make sure instantiated templates are included
10893 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
10900 # FIXME: insert proper C++ library support
10904 # FIXME: insert proper C++ library support
10908 case $cc_basename in
10910 # FIXME: insert proper C++ library support
10914 # FIXME: insert proper C++ library support
10920 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10921 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10923 hardcode_libdir_flag_spec_CXX
='-R$libdir'
10924 hardcode_direct_CXX
=yes
10925 hardcode_shlibpath_var_CXX
=no
10927 # Workaround some broken pre-1.5 toolchains
10928 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10931 # C++ shared libraries are fairly broken
10935 if test -f /usr
/libexec
/ld.so
; then
10936 hardcode_direct_CXX
=yes
10937 hardcode_shlibpath_var_CXX
=no
10938 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10939 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10941 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10942 export_dynamic_flag_spec_CXX
='${wl}-E'
10943 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10945 output_verbose_link_cmd
='echo'
10951 case $cc_basename in
10953 # Kuck and Associates, Inc. (KAI) C++ Compiler
10955 # KCC will only create a shared library if the output file
10956 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10957 # to its proper name (with version) after linking.
10958 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'
10960 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
10961 hardcode_libdir_separator_CXX
=:
10963 # Archives containing C++ object files must be created using
10964 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10965 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
10969 # Rational C++ 2.4.1
10970 # FIXME: insert proper C++ library support
10974 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10975 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'
10977 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10978 hardcode_libdir_separator_CXX
=:
10980 # Commands to make compiler produce verbose output that lists
10981 # what "hidden" libraries, object files and flags are used when
10982 # linking a shared library.
10984 # There doesn't appear to be a way to prevent this compiler from
10985 # explicitly linking system object files so we need to strip them
10986 # from the output so that they don't get included in the library
10988 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'
10991 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
10992 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
10993 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'
10995 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
10996 hardcode_libdir_separator_CXX
=:
10998 # Commands to make compiler produce verbose output that lists
10999 # what "hidden" libraries, object files and flags are used when
11000 # linking a shared library.
11001 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11004 # FIXME: insert proper C++ library support
11011 case $cc_basename in
11013 # Kuck and Associates, Inc. (KAI) C++ Compiler
11015 # KCC will only create a shared library if the output file
11016 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11017 # to its proper name (with version) after linking.
11018 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'
11020 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11021 hardcode_libdir_separator_CXX
=:
11023 # Archives containing C++ object files must be created using
11024 # the KAI C++ compiler.
11025 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11028 # Rational C++ 2.4.1
11029 # FIXME: insert proper C++ library support
11033 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11034 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'
11035 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11036 echo "-hidden">> $lib.exp~
11037 $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~
11040 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11041 hardcode_libdir_separator_CXX
=:
11043 # Commands to make compiler produce verbose output that lists
11044 # what "hidden" libraries, object files and flags are used when
11045 # linking a shared library.
11047 # There doesn't appear to be a way to prevent this compiler from
11048 # explicitly linking system object files so we need to strip them
11049 # from the output so that they don't get included in the library
11051 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'
11054 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11055 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11056 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'
11058 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11059 hardcode_libdir_separator_CXX
=:
11061 # Commands to make compiler produce verbose output that lists
11062 # what "hidden" libraries, object files and flags are used when
11063 # linking a shared library.
11064 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11067 # FIXME: insert proper C++ library support
11074 # FIXME: insert proper C++ library support
11078 case $cc_basename in
11081 # FIXME: insert proper C++ library support
11086 # FIXME: insert proper C++ library support
11090 # FIXME: insert proper C++ library support
11096 case $cc_basename in
11098 # Sun C++ 4.2, 5.x and Centerline C++
11099 archive_cmds_need_lc_CXX
=yes
11100 no_undefined_flag_CXX
=' -zdefs'
11101 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11102 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11103 $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'
11105 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11106 hardcode_shlibpath_var_CXX
=no
11108 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11110 # The compiler driver will combine and reorder linker options,
11111 # but understands `-z linker_flag'.
11112 # Supported since Solaris 2.6 (maybe 2.5.1?)
11113 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11116 link_all_deplibs_CXX
=yes
11118 output_verbose_link_cmd
='echo'
11120 # Archives containing C++ object files must be created using
11121 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11122 # necessary to make sure instantiated templates are included
11124 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11127 # Green Hills C++ Compiler
11128 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11130 # The C++ compiler must be used to create the archive.
11131 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11134 # GNU C++ compiler with Solaris linker
11135 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11136 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11137 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11138 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11139 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11140 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11142 # Commands to make compiler produce verbose output that lists
11143 # what "hidden" libraries, object files and flags are used when
11144 # linking a shared library.
11145 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11147 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11149 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11150 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11151 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11153 # Commands to make compiler produce verbose output that lists
11154 # what "hidden" libraries, object files and flags are used when
11155 # linking a shared library.
11156 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11159 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11161 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11163 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11170 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11171 no_undefined_flag_CXX
='${wl}-z,text'
11172 archive_cmds_need_lc_CXX
=no
11173 hardcode_shlibpath_var_CXX
=no
11174 runpath_var
='LD_RUN_PATH'
11176 case $cc_basename in
11178 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11179 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11182 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11183 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11187 sysv5
* | sco3.2v5
* | sco5v6
*)
11188 # Note: We can NOT use -z defs as we might desire, because we do not
11189 # link with -lc, and that would cause any symbols used from libc to
11190 # always be unresolved, which means just about no library would
11191 # ever link correctly. If we're not using GNU ld we use -z text
11192 # though, which does catch some bad symbols but isn't as heavy-handed
11194 # For security reasons, it is highly recommended that you always
11195 # use absolute paths for naming shared libraries, and exclude the
11196 # DT_RUNPATH tag from executables and libraries. But doing so
11197 # requires that you compile everything twice, which is a pain.
11198 # So that behaviour is only enabled if SCOABSPATH is set to a
11199 # non-empty value in the environment. Most likely only useful for
11200 # creating official distributions of packages.
11201 # This is a hack until libtool officially supports absolute path
11202 # names for shared libraries.
11203 no_undefined_flag_CXX
='${wl}-z,text'
11204 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11205 archive_cmds_need_lc_CXX
=no
11206 hardcode_shlibpath_var_CXX
=no
11207 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11208 hardcode_libdir_separator_CXX
=':'
11209 link_all_deplibs_CXX
=yes
11210 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11211 runpath_var
='LD_RUN_PATH'
11213 case $cc_basename in
11215 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11216 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11219 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11220 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11225 case $cc_basename in
11227 # NonStop-UX NCC 3.20
11228 # FIXME: insert proper C++ library support
11232 # FIXME: insert proper C++ library support
11238 # FIXME: insert proper C++ library support
11242 # FIXME: insert proper C++ library support
11246 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11247 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11248 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11254 cat > conftest.
$ac_ext <<EOF
11258 Foo (void) { a = 0; }
11264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11265 (eval $ac_compile) 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; then
11269 # Parse the compiler output and extract the necessary
11270 # objects, libraries and library flags.
11272 # Sentinel used to keep track of whether or not we are before
11273 # the conftest object file.
11274 pre_test_object_deps_done
=no
11276 # The `*' in the case matches for architectures that use `case' in
11277 # $output_verbose_cmd can trigger glob expansion during the loop
11278 # eval without this substitution.
11279 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11281 for p
in `eval $output_verbose_link_cmd`; do
11285 # Some compilers place space between "-{L,R}" and the path.
11286 # Remove the space.
11287 if test $p = "-L" \
11288 ||
test $p = "-R"; then
11295 if test "$pre_test_object_deps_done" = no
; then
11298 # Internal compiler library paths should come after those
11299 # provided the user. The postdeps already come after the
11300 # user supplied libs so there is no need to process them.
11301 if test -z "$compiler_lib_search_path_CXX"; then
11302 compiler_lib_search_path_CXX
="${prev}${p}"
11304 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11307 # The "-l" case would never come before the object being
11308 # linked, so don't bother handling this case.
11311 if test -z "$postdeps_CXX"; then
11312 postdeps_CXX
="${prev}${p}"
11314 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11320 # This assumes that the test object file only shows up
11321 # once in the compiler output.
11322 if test "$p" = "conftest.$objext"; then
11323 pre_test_object_deps_done
=yes
11327 if test "$pre_test_object_deps_done" = no
; then
11328 if test -z "$predep_objects_CXX"; then
11329 predep_objects_CXX
="$p"
11331 predep_objects_CXX
="$predep_objects_CXX $p"
11334 if test -z "$postdep_objects_CXX"; then
11335 postdep_objects_CXX
="$p"
11337 postdep_objects_CXX
="$postdep_objects_CXX $p"
11342 *) ;; # Ignore the rest.
11350 echo "libtool.m4: error: problem compiling CXX test program"
11353 $rm -f confest.
$objext
11355 # PORTME: override above test on systems where it is broken
11358 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11359 # hack all around it, let's just trust "g++" to DTRT.
11360 predep_objects_CXX
=
11361 postdep_objects_CXX
=
11366 case `$CC -V 2>&1 | sed 5q` in
11370 # The more standards-conforming stlport4 library is
11371 # incompatible with the Cstd library. Avoid specifying
11372 # it if it's in CXXFLAGS. Ignore libCrun as
11373 # -library=stlport4 depends on it.
11374 case " $CXX $CXXFLAGS " in
11375 *" -library=stlport4 "*)
11376 solaris_use_stlport4
=yes
11379 if test "$solaris_use_stlport4" != yes; then
11380 postdeps_CXX
='-library=Cstd -library=Crun'
11387 case $cc_basename in
11389 # The more standards-conforming stlport4 library is
11390 # incompatible with the Cstd library. Avoid specifying
11391 # it if it's in CXXFLAGS. Ignore libCrun as
11392 # -library=stlport4 depends on it.
11393 case " $CXX $CXXFLAGS " in
11394 *" -library=stlport4 "*)
11395 solaris_use_stlport4
=yes
11399 # Adding this requires a known-good setup of shared libraries for
11400 # Sun compiler versions before 5.6, else PIC objects from an old
11401 # archive will be linked into the output, leading to subtle bugs.
11402 if test "$solaris_use_stlport4" != yes; then
11403 postdeps_CXX
='-library=Cstd -library=Crun'
11411 case " $postdeps_CXX " in
11412 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11415 lt_prog_compiler_wl_CXX
=
11416 lt_prog_compiler_pic_CXX
=
11417 lt_prog_compiler_static_CXX
=
11419 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11420 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11422 # C++ specific cases for pic, static, wl, etc.
11423 if test "$GXX" = yes; then
11424 lt_prog_compiler_wl_CXX
='-Wl,'
11425 lt_prog_compiler_static_CXX
='-static'
11429 # All AIX code is PIC.
11430 if test "$host_cpu" = ia64
; then
11431 # AIX 5 now supports IA64 processor
11432 lt_prog_compiler_static_CXX
='-Bstatic'
11436 # FIXME: we need at least 68020 code to build shared libraries, but
11437 # adding the `-m68020' flag to GCC prevents building anything better,
11439 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11441 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11442 # PIC is the default for these OSes.
11444 mingw
* | cygwin
* | os2
* | pw32
*)
11445 # This hack is so that the source file can tell whether it is being
11446 # built for inclusion in a dll (and should export symbols for example).
11447 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11448 # (--disable-auto-import) libraries
11449 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11451 darwin
* | rhapsody
*)
11452 # PIC is the default on this platform
11453 # Common symbols not allowed in MH_DYLIB files
11454 lt_prog_compiler_pic_CXX
='-fno-common'
11457 # DJGPP does not support shared libraries at all
11458 lt_prog_compiler_pic_CXX
=
11461 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11462 # Instead, we relocate shared libraries at runtime.
11465 if test -d /usr
/nec
; then
11466 lt_prog_compiler_pic_CXX
=-Kconform_pic
11470 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11471 # not for PA HP-UX.
11476 lt_prog_compiler_pic_CXX
='-fPIC'
11481 lt_prog_compiler_pic_CXX
='-fPIC'
11487 # All AIX code is PIC.
11488 if test "$host_cpu" = ia64
; then
11489 # AIX 5 now supports IA64 processor
11490 lt_prog_compiler_static_CXX
='-Bstatic'
11492 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11496 case $cc_basename in
11498 # Green Hills C++ Compiler
11499 # _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"
11504 # PIC is the default on this platform
11505 # Common symbols not allowed in MH_DYLIB files
11506 case $cc_basename in
11508 lt_prog_compiler_pic_CXX
='-qnocommon'
11509 lt_prog_compiler_wl_CXX
='-Wl,'
11514 case $cc_basename in
11516 lt_prog_compiler_pic_CXX
='-KPIC'
11519 # Green Hills C++ Compiler
11520 lt_prog_compiler_pic_CXX
='-pic'
11526 freebsd
* | dragonfly
*)
11527 # FreeBSD uses GNU C++
11529 hpux9
* | hpux10
* | hpux11
*)
11530 case $cc_basename in
11532 lt_prog_compiler_wl_CXX
='-Wl,'
11533 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11534 if test "$host_cpu" != ia64
; then
11535 lt_prog_compiler_pic_CXX
='+Z'
11539 lt_prog_compiler_wl_CXX
='-Wl,'
11540 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
11546 lt_prog_compiler_pic_CXX
='+Z'
11555 # This is c89, which is MS Visual C++ (no shared libs)
11556 # Anyone wants to do a port?
11558 irix5
* | irix6
* | nonstopux
*)
11559 case $cc_basename in
11561 lt_prog_compiler_wl_CXX
='-Wl,'
11562 lt_prog_compiler_static_CXX
='-non_shared'
11563 # CC pic flag -KPIC is the default.
11569 linux
* | k
*bsd
*-gnu)
11570 case $cc_basename in
11573 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11574 lt_prog_compiler_pic_CXX
='-fPIC'
11578 lt_prog_compiler_wl_CXX
='-Wl,'
11579 lt_prog_compiler_pic_CXX
='-KPIC'
11580 lt_prog_compiler_static_CXX
='-static'
11583 # Portland Group C++ compiler.
11584 lt_prog_compiler_wl_CXX
='-Wl,'
11585 lt_prog_compiler_pic_CXX
='-fpic'
11586 lt_prog_compiler_static_CXX
='-Bstatic'
11590 # Make sure the PIC flag is empty. It appears that all Alpha
11591 # Linux and Compaq Tru64 Unix objects are PIC.
11592 lt_prog_compiler_pic_CXX
=
11593 lt_prog_compiler_static_CXX
='-non_shared'
11596 case `$CC -V 2>&1 | sed 5q` in
11599 lt_prog_compiler_pic_CXX
='-KPIC'
11600 lt_prog_compiler_static_CXX
='-Bstatic'
11601 lt_prog_compiler_wl_CXX
='-Qoption ld '
11612 case $cc_basename in
11614 lt_prog_compiler_pic_CXX
='-W c,exportall'
11622 osf3
* | osf4
* | osf5
*)
11623 case $cc_basename in
11625 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11628 # Rational C++ 2.4.1
11629 lt_prog_compiler_pic_CXX
='-pic'
11632 # Digital/Compaq C++
11633 lt_prog_compiler_wl_CXX
='-Wl,'
11634 # Make sure the PIC flag is empty. It appears that all Alpha
11635 # Linux and Compaq Tru64 Unix objects are PIC.
11636 lt_prog_compiler_pic_CXX
=
11637 lt_prog_compiler_static_CXX
='-non_shared'
11646 case $cc_basename in
11648 # Sun C++ 4.2, 5.x and Centerline C++
11649 lt_prog_compiler_pic_CXX
='-KPIC'
11650 lt_prog_compiler_static_CXX
='-Bstatic'
11651 lt_prog_compiler_wl_CXX
='-Qoption ld '
11654 # Green Hills C++ Compiler
11655 lt_prog_compiler_pic_CXX
='-PIC'
11662 case $cc_basename in
11665 lt_prog_compiler_pic_CXX
='-pic'
11666 lt_prog_compiler_static_CXX
='-Bstatic'
11670 lt_prog_compiler_pic_CXX
='-pic'
11677 case $cc_basename in
11679 # NonStop-UX NCC 3.20
11680 lt_prog_compiler_pic_CXX
='-KPIC'
11686 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11687 case $cc_basename in
11689 lt_prog_compiler_wl_CXX
='-Wl,'
11690 lt_prog_compiler_pic_CXX
='-KPIC'
11691 lt_prog_compiler_static_CXX
='-Bstatic'
11698 lt_prog_compiler_can_build_shared_CXX
=no
11703 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11704 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11707 # Check to make sure the PIC flag actually works.
11709 if test -n "$lt_prog_compiler_pic_CXX"; then
11711 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11712 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11713 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 lt_prog_compiler_pic_works_CXX
=no
11717 ac_outfile
=conftest.
$ac_objext
11718 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11719 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11720 # Insert the option either (1) after the last *FLAGS variable, or
11721 # (2) before a word containing "conftest.", or (3) at the end.
11722 # Note that $ac_compile itself does not contain backslashes and begins
11723 # with a dollar sign (not a hyphen), so the echo should work correctly.
11724 # The option is referenced via a variable to avoid confusing sed.
11725 lt_compile
=`echo "$ac_compile" | $SED \
11726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11728 -e 's:$: $lt_compiler_flag:'`
11729 (eval echo "\"\$as_me:11729: $lt_compile\"" >&5)
11730 (eval "$lt_compile" 2>conftest.err
)
11732 cat conftest.err
>&5
11733 echo "$as_me:11733: \$? = $ac_status" >&5
11734 if (exit $ac_status) && test -s "$ac_outfile"; then
11735 # The compiler can only warn and ignore the option if not recognized
11736 # So say no if there are warnings other than the usual output.
11737 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
11738 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11739 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11740 lt_prog_compiler_pic_works_CXX
=yes
11746 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11747 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11749 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
11750 case $lt_prog_compiler_pic_CXX in
11752 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
11755 lt_prog_compiler_pic_CXX
=
11756 lt_prog_compiler_can_build_shared_CXX
=no
11761 # For platforms which do not support PIC, -DPIC is meaningless:
11763 lt_prog_compiler_pic_CXX
=
11766 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
11771 # Check to make sure the static flag actually works.
11773 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
11774 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11775 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11776 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11779 lt_prog_compiler_static_works_CXX
=no
11780 save_LDFLAGS
="$LDFLAGS"
11781 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11782 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11783 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11784 # The linker can only warn and ignore the option if not recognized
11785 # So say no if there are warnings
11786 if test -s conftest.err
; then
11787 # Append any errors to the config.log.
11788 cat conftest.err
1>&5
11789 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
11790 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11791 if diff conftest.exp conftest.er2
>/dev
/null
; then
11792 lt_prog_compiler_static_works_CXX
=yes
11795 lt_prog_compiler_static_works_CXX
=yes
11799 LDFLAGS
="$save_LDFLAGS"
11802 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11803 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11805 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
11808 lt_prog_compiler_static_CXX
=
11812 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11813 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 lt_cv_prog_compiler_c_o_CXX
=no
11818 $rm -r conftest
2>/dev
/null
11822 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11824 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11825 # Insert the option either (1) after the last *FLAGS variable, or
11826 # (2) before a word containing "conftest.", or (3) at the end.
11827 # Note that $ac_compile itself does not contain backslashes and begins
11828 # with a dollar sign (not a hyphen), so the echo should work correctly.
11829 lt_compile
=`echo "$ac_compile" | $SED \
11830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11832 -e 's:$: $lt_compiler_flag:'`
11833 (eval echo "\"\$as_me:11833: $lt_compile\"" >&5)
11834 (eval "$lt_compile" 2>out
/conftest.err
)
11836 cat out
/conftest.err
>&5
11837 echo "$as_me:11837: \$? = $ac_status" >&5
11838 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11840 # The compiler can only warn and ignore the option if not recognized
11841 # So say no if there are warnings
11842 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
11843 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11844 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11845 lt_cv_prog_compiler_c_o_CXX
=yes
11850 # SGI C++ compiler will create directory out/ii_files/ for
11851 # template instantiation
11852 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
11853 $rm out
/* && rmdir out
11859 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11860 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11863 hard_links
="nottested"
11864 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
11865 # do not overwrite the value of need_locks provided by the user
11866 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11867 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11870 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11872 ln conftest.a conftest.b
2>&5 || hard_links
=no
11873 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11874 { echo "$as_me:$LINENO: result: $hard_links" >&5
11875 echo "${ECHO_T}$hard_links" >&6; }
11876 if test "$hard_links" = no
; then
11877 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11878 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11885 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11886 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11888 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11891 # If we're using GNU nm, then we don't want the "-C" option.
11892 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11893 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
11894 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'
11896 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'
11900 export_symbols_cmds_CXX
="$ltdll_cmds"
11903 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'
11906 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11910 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11911 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11912 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11915 # Do we need to explicitly link libc?
11917 case "x$archive_cmds_need_lc_CXX" in
11919 # Assume -lc should be added
11920 archive_cmds_need_lc_CXX
=yes
11922 if test "$enable_shared" = yes && test "$GCC" = yes; then
11923 case $archive_cmds_CXX in
11925 # FIXME: we may have to deal with multi-command sequences.
11928 # Test whether the compiler implicitly links with -lc since on some
11929 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11930 # to ld, don't add -lc before -lgcc.
11931 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11932 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11934 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11937 (eval $ac_compile) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } 2>conftest.err
; then
11943 libobjs
=conftest.
$ac_objext
11945 wl
=$lt_prog_compiler_wl_CXX
11946 pic_flag
=$lt_prog_compiler_pic_CXX
11952 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
11953 allow_undefined_flag_CXX
=
11954 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11955 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }
11960 archive_cmds_need_lc_CXX
=no
11962 archive_cmds_need_lc_CXX
=yes
11964 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
11966 cat conftest.err
1>&5
11969 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11970 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11977 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11978 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11979 library_names_spec
=
11980 libname_spec
='lib$name'
11984 postuninstall_cmds
=
11988 shlibpath_overrides_runpath
=unknown
11990 dynamic_linker
="$host_os ld.so"
11991 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11993 need_lib_prefix
=unknown
11994 hardcode_into_libs
=no
11996 # when you set need_version to no, make sure it does not cause -set_version
11997 # flags to be left without arguments
11998 need_version
=unknown
12003 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12004 shlibpath_var
=LIBPATH
12006 # AIX 3 has no versioning support, so we append a major version to the name.
12007 soname_spec
='${libname}${release}${shared_ext}$major'
12014 hardcode_into_libs
=yes
12015 if test "$host_cpu" = ia64
; then
12016 # AIX 5 supports IA64
12017 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12018 shlibpath_var
=LD_LIBRARY_PATH
12020 # With GCC up to 2.95.x, collect2 would create an import file
12021 # for dependence libraries. The import file would start with
12022 # the line `#! .'. This would cause the generated library to
12023 # depend on `.', always an invalid library. This was fixed in
12024 # development snapshots of GCC prior to 3.0.
12026 aix4 | aix4.
[01] | aix4.
[01].
*)
12027 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12029 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12032 can_build_shared
=no
12036 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12037 # soname into executable. Probably we can add versioning support to
12038 # collect2, so additional links can be useful in future.
12039 if test "$aix_use_runtimelinking" = yes; then
12040 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12041 # instead of lib<name>.a to let people know that these are not
12042 # typical AIX shared libraries.
12043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12045 # We preserve .a as extension for shared libraries through AIX4.2
12046 # and later when we are not doing run time linking.
12047 library_names_spec
='${libname}${release}.a $libname.a'
12048 soname_spec
='${libname}${release}${shared_ext}$major'
12050 shlibpath_var
=LIBPATH
12055 library_names_spec
='$libname.ixlibrary $libname.a'
12056 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12057 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'
12061 library_names_spec
='${libname}${shared_ext}'
12062 dynamic_linker
="$host_os ld.so"
12063 shlibpath_var
=LIBRARY_PATH
12069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12070 soname_spec
='${libname}${release}${shared_ext}$major'
12071 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12072 shlibpath_var
=LD_LIBRARY_PATH
12073 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12074 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12075 # the default ld.so.conf also contains /usr/contrib/lib and
12076 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12077 # libtool to hard-code these into programs
12080 cygwin
* | mingw
* | pw32
*)
12081 version_type
=windows
12086 case $GCC,$host_os in
12087 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12088 library_names_spec
='$libname.dll.a'
12089 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12090 postinstall_cmds
='base_file=`basename \${file}`~
12091 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12092 dldir=$destdir/`dirname \$dlpath`~
12093 test -d \$dldir || mkdir -p \$dldir~
12094 $install_prog $dir/$dlname \$dldir/$dlname~
12095 chmod a+x \$dldir/$dlname'
12096 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12097 dlpath=$dir/\$dldll~
12099 shlibpath_overrides_runpath
=yes
12103 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12104 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12105 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12108 # MinGW DLLs use traditional 'lib' prefix
12109 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12110 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12111 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12112 # It is most probably a Windows format PATH printed by
12113 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12114 # path with ; separators, and with drive letters. We can handle the
12115 # drive letters (cygwin fileutils understands them), so leave them,
12116 # especially as we might pass files found there to a mingw objdump,
12117 # which wouldn't understand a cygwinified path. Ahh.
12118 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12120 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12124 # pw32 DLLs use 'pw' prefix rather than 'lib'
12125 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12131 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12134 dynamic_linker
='Win32 ld.exe'
12135 # FIXME: first we should search . and the directory the executable is in
12139 darwin
* | rhapsody
*)
12140 dynamic_linker
="$host_os dyld"
12141 version_type
=darwin
12144 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12145 soname_spec
='${libname}${release}${major}$shared_ext'
12146 shlibpath_overrides_runpath
=yes
12147 shlibpath_var
=DYLD_LIBRARY_PATH
12148 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12150 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12158 soname_spec
='${libname}${release}${shared_ext}$major'
12159 shlibpath_var
=LD_LIBRARY_PATH
12166 freebsd
* | dragonfly
*)
12167 # DragonFly does not have aout. When/if they implement a new
12168 # versioning mechanism, adjust this.
12169 if test -x /usr
/bin
/objformat
; then
12170 objformat
=`/usr/bin/objformat`
12173 freebsd
[123]*) objformat
=aout
;;
12174 *) objformat
=elf
;;
12177 version_type
=freebsd-
$objformat
12178 case $version_type in
12180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12185 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12189 shlibpath_var
=LD_LIBRARY_PATH
12192 shlibpath_overrides_runpath
=yes
12194 freebsd3.
[01]* | freebsdelf3.
[01]*)
12195 shlibpath_overrides_runpath
=yes
12196 hardcode_into_libs
=yes
12198 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12199 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12200 shlibpath_overrides_runpath
=no
12201 hardcode_into_libs
=yes
12203 *) # from 4.6 on, and DragonFly
12204 shlibpath_overrides_runpath
=yes
12205 hardcode_into_libs
=yes
12214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12215 soname_spec
='${libname}${release}${shared_ext}$major'
12216 shlibpath_var
=LD_LIBRARY_PATH
12217 hardcode_into_libs
=yes
12220 hpux9
* | hpux10
* | hpux11
*)
12221 # Give a soname corresponding to the major version so that dld.sl refuses to
12222 # link against other versions.
12229 hardcode_into_libs
=yes
12230 dynamic_linker
="$host_os dld.so"
12231 shlibpath_var
=LD_LIBRARY_PATH
12232 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12234 soname_spec
='${libname}${release}${shared_ext}$major'
12235 if test "X$HPUX_IA64_MODE" = X32
; then
12236 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12238 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12240 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12244 hardcode_into_libs
=yes
12245 dynamic_linker
="$host_os dld.sl"
12246 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12247 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12249 soname_spec
='${libname}${release}${shared_ext}$major'
12250 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12251 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12255 dynamic_linker
="$host_os dld.sl"
12256 shlibpath_var
=SHLIB_PATH
12257 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12259 soname_spec
='${libname}${release}${shared_ext}$major'
12262 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12263 postinstall_cmds
='chmod 555 $lib'
12270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12271 soname_spec
='${libname}${release}${shared_ext}$major'
12272 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12273 shlibpath_var
=LD_LIBRARY_PATH
12274 shlibpath_overrides_runpath
=no
12275 hardcode_into_libs
=yes
12278 irix5
* | irix6
* | nonstopux
*)
12280 nonstopux
*) version_type
=nonstopux
;;
12282 if test "$lt_cv_prog_gnu_ld" = yes; then
12290 soname_spec
='${libname}${release}${shared_ext}$major'
12291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12293 irix5
* | nonstopux
*)
12294 libsuff
= shlibsuff
=
12297 case $LD in # libtool.m4 will add one of these switches to LD
12298 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12299 libsuff
= shlibsuff
= libmagic
=32-bit;;
12300 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12301 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12302 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12303 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12304 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12308 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12309 shlibpath_overrides_runpath
=no
12310 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12311 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12312 hardcode_into_libs
=yes
12315 # No shared lib support for Linux oldld, aout, or coff.
12316 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12320 # This must be Linux ELF.
12321 linux
* | k
*bsd
*-gnu)
12325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12326 soname_spec
='${libname}${release}${shared_ext}$major'
12327 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12328 shlibpath_var
=LD_LIBRARY_PATH
12329 shlibpath_overrides_runpath
=no
12330 # This implies no fast_install, which is unacceptable.
12331 # Some rework will be needed to allow for fast_install
12332 # before this can be enabled.
12333 hardcode_into_libs
=yes
12335 # Append ld.so.conf contents to the search path
12336 if test -f /etc
/ld.so.conf
; then
12337 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12338 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12341 # We used to test for /lib/ld.so.1 and disable shared libraries on
12342 # powerpc, because MkLinux only supported shared libraries with the
12343 # GNU dynamic linker. Since this was broken with cross compilers,
12344 # most powerpc-linux boxes support dynamic linking these days and
12345 # people can always --disable-shared, the test was removed, and we
12346 # assume the GNU/Linux dynamic linker is in use.
12347 dynamic_linker
='GNU/Linux ld.so'
12354 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12356 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12357 dynamic_linker
='NetBSD (a.out) ld.so'
12359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12360 soname_spec
='${libname}${release}${shared_ext}$major'
12361 dynamic_linker
='NetBSD ld.elf_so'
12363 shlibpath_var
=LD_LIBRARY_PATH
12364 shlibpath_overrides_runpath
=yes
12365 hardcode_into_libs
=yes
12370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12371 shlibpath_var
=LD_LIBRARY_PATH
12372 shlibpath_overrides_runpath
=yes
12379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12380 soname_spec
='${libname}${release}${shared_ext}$major'
12381 shlibpath_var
=LD_LIBRARY_PATH
12382 shlibpath_overrides_runpath
=yes
12387 sys_lib_dlsearch_path_spec
="/usr/lib"
12389 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12391 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12392 *) need_version
=no
;;
12394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12395 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12396 shlibpath_var
=LD_LIBRARY_PATH
12397 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12399 openbsd2.
[89] | openbsd2.
[89].
*)
12400 shlibpath_overrides_runpath
=no
12403 shlibpath_overrides_runpath
=yes
12407 shlibpath_overrides_runpath
=yes
12412 libname_spec
='$name'
12415 library_names_spec
='$libname${shared_ext} $libname.a'
12416 dynamic_linker
='OS/2 ld.exe'
12417 shlibpath_var
=LIBPATH
12420 osf3
* | osf4
* | osf5
*)
12424 soname_spec
='${libname}${release}${shared_ext}$major'
12425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12426 shlibpath_var
=LD_LIBRARY_PATH
12427 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12428 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12440 soname_spec
='${libname}${release}${shared_ext}$major'
12441 shlibpath_var
=LD_LIBRARY_PATH
12442 shlibpath_overrides_runpath
=yes
12443 hardcode_into_libs
=yes
12444 # ldd complains unless libraries are executable
12445 postinstall_cmds
='chmod +x $lib'
12450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12451 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12452 shlibpath_var
=LD_LIBRARY_PATH
12453 shlibpath_overrides_runpath
=yes
12454 if test "$with_gnu_ld" = yes; then
12462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12463 soname_spec
='${libname}${release}${shared_ext}$major'
12464 shlibpath_var
=LD_LIBRARY_PATH
12465 case $host_vendor in
12467 shlibpath_overrides_runpath
=no
12469 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12470 runpath_var
=LD_RUN_PATH
12478 shlibpath_overrides_runpath
=no
12479 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12485 if test -d /usr
/nec
;then
12487 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12488 soname_spec
='$libname${shared_ext}.$major'
12489 shlibpath_var
=LD_LIBRARY_PATH
12493 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12494 version_type
=freebsd-elf
12497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12498 soname_spec
='${libname}${release}${shared_ext}$major'
12499 shlibpath_var
=LD_LIBRARY_PATH
12500 hardcode_into_libs
=yes
12501 if test "$with_gnu_ld" = yes; then
12502 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12503 shlibpath_overrides_runpath
=no
12505 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12506 shlibpath_overrides_runpath
=yes
12509 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12513 sys_lib_dlsearch_path_spec
='/usr/lib'
12518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12519 soname_spec
='${libname}${release}${shared_ext}$major'
12520 shlibpath_var
=LD_LIBRARY_PATH
12527 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12528 echo "${ECHO_T}$dynamic_linker" >&6; }
12529 test "$dynamic_linker" = no
&& can_build_shared
=no
12531 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12532 if test "$GCC" = yes; then
12533 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12536 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12537 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12538 hardcode_action_CXX
=
12539 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12540 test -n "$runpath_var_CXX" || \
12541 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12543 # We can hardcode non-existant directories.
12544 if test "$hardcode_direct_CXX" != no
&&
12545 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12546 # have to relink, otherwise we might link with an installed library
12547 # when we should be linking with a yet-to-be-installed one
12548 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12549 test "$hardcode_minus_L_CXX" != no
; then
12550 # Linking always hardcodes the temporary library directory.
12551 hardcode_action_CXX
=relink
12553 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12554 hardcode_action_CXX
=immediate
12557 # We cannot hardcode anything, or else we can only hardcode existing
12559 hardcode_action_CXX
=unsupported
12561 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12562 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12564 if test "$hardcode_action_CXX" = relink
; then
12565 # Fast installation is not supported
12566 enable_fast_install
=no
12567 elif test "$shlibpath_overrides_runpath" = yes ||
12568 test "$enable_shared" = no
; then
12569 # Fast installation is not necessary
12570 enable_fast_install
=needless
12574 # The else clause should only fire when bootstrapping the
12575 # libtool distribution, otherwise you forgot to ship ltmain.sh
12576 # with your package, and you will get complaints that there are
12577 # no rules to generate ltmain.sh.
12578 if test -f "$ltmain"; then
12579 # See if we are running on zsh, and set the options which allow our commands through
12580 # without removal of \ escapes.
12581 if test -n "${ZSH_VERSION+set}" ; then
12582 setopt NO_GLOB_SUBST
12584 # Now quote all the things that may contain metacharacters while being
12585 # careful not to overquote the AC_SUBSTed values. We take copies of the
12586 # variables and quote the copies for generation of the libtool script.
12587 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12589 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12590 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12591 deplibs_check_method reload_flag reload_cmds need_locks \
12592 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12593 lt_cv_sys_global_symbol_to_c_name_address \
12594 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12595 old_postinstall_cmds old_postuninstall_cmds \
12599 lt_prog_compiler_wl_CXX \
12600 lt_prog_compiler_pic_CXX \
12601 lt_prog_compiler_static_CXX \
12602 lt_prog_compiler_no_builtin_flag_CXX \
12603 export_dynamic_flag_spec_CXX \
12604 thread_safe_flag_spec_CXX \
12605 whole_archive_flag_spec_CXX \
12606 enable_shared_with_static_runtimes_CXX \
12607 old_archive_cmds_CXX \
12608 old_archive_from_new_cmds_CXX \
12609 predep_objects_CXX \
12610 postdep_objects_CXX \
12613 compiler_lib_search_path_CXX \
12615 archive_expsym_cmds_CXX \
12616 postinstall_cmds_CXX \
12617 postuninstall_cmds_CXX \
12618 old_archive_from_expsyms_cmds_CXX \
12619 allow_undefined_flag_CXX \
12620 no_undefined_flag_CXX \
12621 export_symbols_cmds_CXX \
12622 hardcode_libdir_flag_spec_CXX \
12623 hardcode_libdir_flag_spec_ld_CXX \
12624 hardcode_libdir_separator_CXX \
12625 hardcode_automatic_CXX \
12627 module_expsym_cmds_CXX \
12628 lt_cv_prog_compiler_c_o_CXX \
12629 fix_srcfile_path_CXX \
12630 exclude_expsyms_CXX \
12631 include_expsyms_CXX
; do
12634 old_archive_cmds_CXX | \
12635 old_archive_from_new_cmds_CXX | \
12636 archive_cmds_CXX | \
12637 archive_expsym_cmds_CXX | \
12638 module_cmds_CXX | \
12639 module_expsym_cmds_CXX | \
12640 old_archive_from_expsyms_cmds_CXX | \
12641 export_symbols_cmds_CXX | \
12642 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12643 postinstall_cmds | postuninstall_cmds | \
12644 old_postinstall_cmds | old_postuninstall_cmds | \
12645 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12646 # Double-quote double-evaled strings.
12647 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12650 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12656 *'\$0 --fallback-echo"')
12657 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12663 cat <<__EOF__ >> "$cfgfile"
12664 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12666 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12668 # Shell to use when invoking shell scripts.
12671 # Whether or not to build shared libraries.
12672 build_libtool_libs=$enable_shared
12674 # Whether or not to build static libraries.
12675 build_old_libs=$enable_static
12677 # Whether or not to add -lc for building shared libraries.
12678 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12680 # Whether or not to disallow shared libs when runtime libs are static
12681 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12683 # Whether or not to optimize for fast installation.
12684 fast_install=$enable_fast_install
12687 host_alias=$host_alias
12691 # The build system.
12692 build_alias=$build_alias
12696 # An echo program that does not interpret backslashes.
12701 AR_FLAGS=$lt_AR_FLAGS
12706 # LTCC compiler flags.
12707 LTCFLAGS=$lt_LTCFLAGS
12709 # A language-specific compiler.
12710 CC=$lt_compiler_CXX
12712 # Is the compiler the GNU C compiler?
12718 # The linker used to build libraries.
12721 # Whether we need hard or soft links.
12724 # A BSD-compatible nm program.
12727 # A symbol stripping program
12730 # Used to examine libraries when file_magic_cmd begins "file"
12731 MAGIC_CMD=$MAGIC_CMD
12733 # Used on cygwin: DLL creation program.
12736 # Used on cygwin: object dumper.
12739 # Used on cygwin: assembler.
12742 # The name of the directory that contains temporary libtool files.
12745 # How to create reloadable object files.
12746 reload_flag=$lt_reload_flag
12747 reload_cmds=$lt_reload_cmds
12749 # How to pass a linker flag through the compiler.
12750 wl=$lt_lt_prog_compiler_wl_CXX
12752 # Object file suffix (normally "o").
12753 objext="$ac_objext"
12755 # Old archive suffix (normally "a").
12758 # Shared library suffix (normally ".so").
12759 shrext_cmds='$shrext_cmds'
12761 # Executable file suffix (normally "").
12764 # Additional compiler flags for building library objects.
12765 pic_flag=$lt_lt_prog_compiler_pic_CXX
12768 # What is the maximum length of a command?
12769 max_cmd_len=$lt_cv_sys_max_cmd_len
12771 # Does compiler simultaneously support -c and -o options?
12772 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12774 # Must we lock files when doing compilation?
12775 need_locks=$lt_need_locks
12777 # Do we need the lib prefix for modules?
12778 need_lib_prefix=$need_lib_prefix
12780 # Do we need a version for libraries?
12781 need_version=$need_version
12783 # Whether dlopen is supported.
12784 dlopen_support=$enable_dlopen
12786 # Whether dlopen of programs is supported.
12787 dlopen_self=$enable_dlopen_self
12789 # Whether dlopen of statically linked programs is supported.
12790 dlopen_self_static=$enable_dlopen_self_static
12792 # Compiler flag to prevent dynamic linking.
12793 link_static_flag=$lt_lt_prog_compiler_static_CXX
12795 # Compiler flag to turn off builtin functions.
12796 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12798 # Compiler flag to allow reflexive dlopens.
12799 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12801 # Compiler flag to generate shared objects directly from archives.
12802 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12804 # Compiler flag to generate thread-safe objects.
12805 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12807 # Library versioning type.
12808 version_type=$version_type
12810 # Format of library name prefix.
12811 libname_spec=$lt_libname_spec
12813 # List of archive names. First name is the real one, the rest are links.
12814 # The last name is the one that the linker finds with -lNAME.
12815 library_names_spec=$lt_library_names_spec
12817 # The coded name of the library, if different from the real name.
12818 soname_spec=$lt_soname_spec
12820 # Commands used to build and install an old-style archive.
12822 old_archive_cmds=$lt_old_archive_cmds_CXX
12823 old_postinstall_cmds=$lt_old_postinstall_cmds
12824 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12826 # Create an old-style archive from a shared archive.
12827 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12829 # Create a temporary old-style archive to link instead of a shared archive.
12830 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12832 # Commands used to build and install a shared archive.
12833 archive_cmds=$lt_archive_cmds_CXX
12834 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12835 postinstall_cmds=$lt_postinstall_cmds
12836 postuninstall_cmds=$lt_postuninstall_cmds
12838 # Commands used to build a loadable module (assumed same as above if empty)
12839 module_cmds=$lt_module_cmds_CXX
12840 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12842 # Commands to strip libraries.
12843 old_striplib=$lt_old_striplib
12844 striplib=$lt_striplib
12846 # Dependencies to place before the objects being linked to create a
12848 predep_objects=$lt_predep_objects_CXX
12850 # Dependencies to place after the objects being linked to create a
12852 postdep_objects=$lt_postdep_objects_CXX
12854 # Dependencies to place before the objects being linked to create a
12856 predeps=$lt_predeps_CXX
12858 # Dependencies to place after the objects being linked to create a
12860 postdeps=$lt_postdeps_CXX
12862 # The library search path used internally by the compiler when linking
12863 # a shared library.
12864 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12866 # Method to check whether dependent libraries are shared objects.
12867 deplibs_check_method=$lt_deplibs_check_method
12869 # Command to use when deplibs_check_method == file_magic.
12870 file_magic_cmd=$lt_file_magic_cmd
12872 # Flag that allows shared libraries with undefined symbols to be built.
12873 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12875 # Flag that forces no undefined symbols.
12876 no_undefined_flag=$lt_no_undefined_flag_CXX
12878 # Commands used to finish a libtool library installation in a directory.
12879 finish_cmds=$lt_finish_cmds
12881 # Same as above, but a single script fragment to be evaled but not shown.
12882 finish_eval=$lt_finish_eval
12884 # Take the output of nm and produce a listing of raw symbols and C names.
12885 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12887 # Transform the output of nm in a proper C declaration
12888 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12890 # Transform the output of nm in a C name address pair
12891 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12893 # This is the shared library runtime path variable.
12894 runpath_var=$runpath_var
12896 # This is the shared library path variable.
12897 shlibpath_var=$shlibpath_var
12899 # Is shlibpath searched before the hard-coded library search path?
12900 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12902 # How to hardcode a shared library path into an executable.
12903 hardcode_action=$hardcode_action_CXX
12905 # Whether we should hardcode library paths into libraries.
12906 hardcode_into_libs=$hardcode_into_libs
12908 # Flag to hardcode \$libdir into a binary during linking.
12909 # This must work even if \$libdir does not exist.
12910 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12912 # If ld is used when linking, flag to hardcode \$libdir into
12913 # a binary during linking. This must work even if \$libdir does
12915 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12917 # Whether we need a single -rpath flag with a separated argument.
12918 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12920 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12921 # resulting binary.
12922 hardcode_direct=$hardcode_direct_CXX
12924 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12925 # resulting binary.
12926 hardcode_minus_L=$hardcode_minus_L_CXX
12928 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12929 # the resulting binary.
12930 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12932 # Set to yes if building a shared library automatically hardcodes DIR into the library
12933 # and all subsequent libraries and executables linked against it.
12934 hardcode_automatic=$hardcode_automatic_CXX
12936 # Variables whose values should be saved in libtool wrapper scripts and
12937 # restored at relink time.
12938 variables_saved_for_relink="$variables_saved_for_relink"
12940 # Whether libtool must link a program against all its dependency libraries.
12941 link_all_deplibs=$link_all_deplibs_CXX
12943 # Compile-time system search path for libraries
12944 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12946 # Run-time system search path for libraries
12947 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12949 # Fix the shell variable \$srcfile for the compiler.
12950 fix_srcfile_path=$lt_fix_srcfile_path
12952 # Set to yes if exported symbols are required.
12953 always_export_symbols=$always_export_symbols_CXX
12955 # The commands to list exported symbols.
12956 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12958 # The commands to extract the exported symbol list from a shared archive.
12959 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12961 # Symbols that should not be listed in the preloaded symbols.
12962 exclude_expsyms=$lt_exclude_expsyms_CXX
12964 # Symbols that must always be exported.
12965 include_expsyms=$lt_include_expsyms_CXX
12967 # ### END LIBTOOL TAG CONFIG: $tagname
12973 # If there is no Makefile yet, we rely on a make rule to execute
12974 # `config.status --recheck' to rerun these tests and create the
12975 # libtool script then.
12976 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12977 if test -f "$ltmain_in"; then
12978 test -f Makefile
&& make "$ltmain"
12984 ac_cpp
='$CPP $CPPFLAGS'
12985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12993 with_gnu_ldcxx
=$with_gnu_ld
12994 with_gnu_ld
=$lt_save_with_gnu_ld
12995 lt_cv_path_LDCXX
=$lt_cv_path_LD
12996 lt_cv_path_LD
=$lt_save_path_LD
12997 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
12998 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13006 if test -n "$F77" && test "X$F77" != "Xno"; then
13009 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13010 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13011 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13014 archive_cmds_need_lc_F77
=no
13015 allow_undefined_flag_F77
=
13016 always_export_symbols_F77
=no
13017 archive_expsym_cmds_F77
=
13018 export_dynamic_flag_spec_F77
=
13019 hardcode_direct_F77
=no
13020 hardcode_libdir_flag_spec_F77
=
13021 hardcode_libdir_flag_spec_ld_F77
=
13022 hardcode_libdir_separator_F77
=
13023 hardcode_minus_L_F77
=no
13024 hardcode_automatic_F77
=no
13026 module_expsym_cmds_F77
=
13027 link_all_deplibs_F77
=unknown
13028 old_archive_cmds_F77
=$old_archive_cmds
13029 no_undefined_flag_F77
=
13030 whole_archive_flag_spec_F77
=
13031 enable_shared_with_static_runtimes_F77
=no
13033 # Source file extension for f77 test sources.
13036 # Object file extension for compiled f77 test sources.
13040 # Code to be used in simple compile tests
13041 lt_simple_compile_test_code
="\
13047 # Code to be used in simple link tests
13048 lt_simple_link_test_code
="\
13053 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13055 # If no C compiler was specified, use CC.
13058 # If no C compiler flags were specified, use CFLAGS.
13059 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13061 # Allow CC to be a program name with arguments.
13065 # save warnings/boilerplate of simple test code
13066 ac_outfile
=conftest.
$ac_objext
13067 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13068 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13069 _lt_compiler_boilerplate
=`cat conftest.err`
13072 ac_outfile
=conftest.
$ac_objext
13073 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13074 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13075 _lt_linker_boilerplate
=`cat conftest.err`
13079 # Allow CC to be a program name with arguments.
13084 for cc_temp
in $compiler""; do
13086 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13087 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13092 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13095 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13096 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13097 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13098 echo "${ECHO_T}$can_build_shared" >&6; }
13100 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13101 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13102 test "$can_build_shared" = "no" && enable_shared
=no
13104 # On AIX, shared libraries and static libraries use the same namespace, and
13105 # are all built from PIC.
13108 test "$enable_shared" = yes && enable_static
=no
13109 if test -n "$RANLIB"; then
13110 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13111 postinstall_cmds
='$RANLIB $lib'
13115 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13116 test "$enable_shared" = yes && enable_static
=no
13120 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13121 echo "${ECHO_T}$enable_shared" >&6; }
13123 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13124 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13125 # Make sure either enable_shared or enable_static is yes.
13126 test "$enable_shared" = yes || enable_static
=yes
13127 { echo "$as_me:$LINENO: result: $enable_static" >&5
13128 echo "${ECHO_T}$enable_static" >&6; }
13133 lt_prog_compiler_wl_F77
=
13134 lt_prog_compiler_pic_F77
=
13135 lt_prog_compiler_static_F77
=
13137 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13138 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13140 if test "$GCC" = yes; then
13141 lt_prog_compiler_wl_F77
='-Wl,'
13142 lt_prog_compiler_static_F77
='-static'
13146 # All AIX code is PIC.
13147 if test "$host_cpu" = ia64
; then
13148 # AIX 5 now supports IA64 processor
13149 lt_prog_compiler_static_F77
='-Bstatic'
13154 # FIXME: we need at least 68020 code to build shared libraries, but
13155 # adding the `-m68020' flag to GCC prevents building anything better,
13157 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13160 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13161 # PIC is the default for these OSes.
13164 mingw
* | cygwin
* | pw32
* | os2
*)
13165 # This hack is so that the source file can tell whether it is being
13166 # built for inclusion in a dll (and should export symbols for example).
13167 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13168 # (--disable-auto-import) libraries
13169 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13172 darwin
* | rhapsody
*)
13173 # PIC is the default on this platform
13174 # Common symbols not allowed in MH_DYLIB files
13175 lt_prog_compiler_pic_F77
='-fno-common'
13179 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13180 # Instead, we relocate shared libraries at runtime.
13184 # Just because we use GCC doesn't mean we suddenly get shared libraries
13185 # on systems that don't support them.
13186 lt_prog_compiler_can_build_shared_F77
=no
13191 if test -d /usr
/nec
; then
13192 lt_prog_compiler_pic_F77
=-Kconform_pic
13197 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13198 # not for PA HP-UX.
13204 lt_prog_compiler_pic_F77
='-fPIC'
13210 lt_prog_compiler_pic_F77
='-fPIC'
13214 # PORTME Check for flag to pass linker flags through the system compiler.
13217 lt_prog_compiler_wl_F77
='-Wl,'
13218 if test "$host_cpu" = ia64
; then
13219 # AIX 5 now supports IA64 processor
13220 lt_prog_compiler_static_F77
='-Bstatic'
13222 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13226 # PIC is the default on this platform
13227 # Common symbols not allowed in MH_DYLIB files
13228 case $cc_basename in
13230 lt_prog_compiler_pic_F77
='-qnocommon'
13231 lt_prog_compiler_wl_F77
='-Wl,'
13236 mingw
* | cygwin
* | pw32
* | os2
*)
13237 # This hack is so that the source file can tell whether it is being
13238 # built for inclusion in a dll (and should export symbols for example).
13239 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13242 hpux9
* | hpux10
* | hpux11
*)
13243 lt_prog_compiler_wl_F77
='-Wl,'
13244 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13245 # not for PA HP-UX.
13251 lt_prog_compiler_pic_F77
='+Z'
13254 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13255 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13258 irix5
* | irix6
* | nonstopux
*)
13259 lt_prog_compiler_wl_F77
='-Wl,'
13260 # PIC (with -KPIC) is the default.
13261 lt_prog_compiler_static_F77
='-non_shared'
13265 lt_prog_compiler_pic_F77
='-KPIC'
13266 lt_prog_compiler_static_F77
='-Bstatic'
13269 linux
* | k
*bsd
*-gnu)
13270 case $cc_basename in
13272 lt_prog_compiler_wl_F77
='-Wl,'
13273 lt_prog_compiler_pic_F77
='-KPIC'
13274 lt_prog_compiler_static_F77
='-static'
13276 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13277 # Portland Group compilers (*not* the Pentium gcc compiler,
13278 # which looks to be a dead project)
13279 lt_prog_compiler_wl_F77
='-Wl,'
13280 lt_prog_compiler_pic_F77
='-fpic'
13281 lt_prog_compiler_static_F77
='-Bstatic'
13284 lt_prog_compiler_wl_F77
='-Wl,'
13285 # All Alpha code is PIC.
13286 lt_prog_compiler_static_F77
='-non_shared'
13289 case `$CC -V 2>&1 | sed 5q` in
13292 lt_prog_compiler_pic_F77
='-KPIC'
13293 lt_prog_compiler_static_F77
='-Bstatic'
13294 lt_prog_compiler_wl_F77
='-Wl,'
13297 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13298 lt_prog_compiler_pic_F77
='-KPIC'
13299 lt_prog_compiler_static_F77
='-Bstatic'
13300 lt_prog_compiler_wl_F77
=''
13307 osf3
* | osf4
* | osf5
*)
13308 lt_prog_compiler_wl_F77
='-Wl,'
13309 # All OSF/1 code is PIC.
13310 lt_prog_compiler_static_F77
='-non_shared'
13314 lt_prog_compiler_static_F77
='-non_shared'
13318 lt_prog_compiler_pic_F77
='-KPIC'
13319 lt_prog_compiler_static_F77
='-Bstatic'
13320 case $cc_basename in
13321 f77
* | f90
* | f95
*)
13322 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13324 lt_prog_compiler_wl_F77
='-Wl,';;
13329 lt_prog_compiler_wl_F77
='-Qoption ld '
13330 lt_prog_compiler_pic_F77
='-PIC'
13331 lt_prog_compiler_static_F77
='-Bstatic'
13334 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13335 lt_prog_compiler_wl_F77
='-Wl,'
13336 lt_prog_compiler_pic_F77
='-KPIC'
13337 lt_prog_compiler_static_F77
='-Bstatic'
13341 if test -d /usr
/nec
;then
13342 lt_prog_compiler_pic_F77
='-Kconform_pic'
13343 lt_prog_compiler_static_F77
='-Bstatic'
13347 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13348 lt_prog_compiler_wl_F77
='-Wl,'
13349 lt_prog_compiler_pic_F77
='-KPIC'
13350 lt_prog_compiler_static_F77
='-Bstatic'
13354 lt_prog_compiler_wl_F77
='-Wl,'
13355 lt_prog_compiler_can_build_shared_F77
=no
13359 lt_prog_compiler_pic_F77
='-pic'
13360 lt_prog_compiler_static_F77
='-Bstatic'
13364 lt_prog_compiler_can_build_shared_F77
=no
13369 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13370 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13373 # Check to make sure the PIC flag actually works.
13375 if test -n "$lt_prog_compiler_pic_F77"; then
13377 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13378 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13379 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 lt_prog_compiler_pic_works_F77
=no
13383 ac_outfile
=conftest.
$ac_objext
13384 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13385 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13386 # Insert the option either (1) after the last *FLAGS variable, or
13387 # (2) before a word containing "conftest.", or (3) at the end.
13388 # Note that $ac_compile itself does not contain backslashes and begins
13389 # with a dollar sign (not a hyphen), so the echo should work correctly.
13390 # The option is referenced via a variable to avoid confusing sed.
13391 lt_compile
=`echo "$ac_compile" | $SED \
13392 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13393 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13394 -e 's:$: $lt_compiler_flag:'`
13395 (eval echo "\"\$as_me:13395: $lt_compile\"" >&5)
13396 (eval "$lt_compile" 2>conftest.err
)
13398 cat conftest.err
>&5
13399 echo "$as_me:13399: \$? = $ac_status" >&5
13400 if (exit $ac_status) && test -s "$ac_outfile"; then
13401 # The compiler can only warn and ignore the option if not recognized
13402 # So say no if there are warnings other than the usual output.
13403 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13404 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13405 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13406 lt_prog_compiler_pic_works_F77
=yes
13412 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13413 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13415 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13416 case $lt_prog_compiler_pic_F77 in
13418 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13421 lt_prog_compiler_pic_F77
=
13422 lt_prog_compiler_can_build_shared_F77
=no
13427 # For platforms which do not support PIC, -DPIC is meaningless:
13429 lt_prog_compiler_pic_F77
=
13432 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13437 # Check to make sure the static flag actually works.
13439 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13440 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13441 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13442 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13445 lt_prog_compiler_static_works_F77
=no
13446 save_LDFLAGS
="$LDFLAGS"
13447 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13448 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13449 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13450 # The linker can only warn and ignore the option if not recognized
13451 # So say no if there are warnings
13452 if test -s conftest.err
; then
13453 # Append any errors to the config.log.
13454 cat conftest.err
1>&5
13455 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13456 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13457 if diff conftest.exp conftest.er2
>/dev
/null
; then
13458 lt_prog_compiler_static_works_F77
=yes
13461 lt_prog_compiler_static_works_F77
=yes
13465 LDFLAGS
="$save_LDFLAGS"
13468 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13469 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13471 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
13474 lt_prog_compiler_static_F77
=
13478 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13479 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13480 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 lt_cv_prog_compiler_c_o_F77
=no
13484 $rm -r conftest
2>/dev
/null
13488 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13490 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13491 # Insert the option either (1) after the last *FLAGS variable, or
13492 # (2) before a word containing "conftest.", or (3) at the end.
13493 # Note that $ac_compile itself does not contain backslashes and begins
13494 # with a dollar sign (not a hyphen), so the echo should work correctly.
13495 lt_compile
=`echo "$ac_compile" | $SED \
13496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13498 -e 's:$: $lt_compiler_flag:'`
13499 (eval echo "\"\$as_me:13499: $lt_compile\"" >&5)
13500 (eval "$lt_compile" 2>out
/conftest.err
)
13502 cat out
/conftest.err
>&5
13503 echo "$as_me:13503: \$? = $ac_status" >&5
13504 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13506 # The compiler can only warn and ignore the option if not recognized
13507 # So say no if there are warnings
13508 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13509 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13510 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13511 lt_cv_prog_compiler_c_o_F77
=yes
13516 # SGI C++ compiler will create directory out/ii_files/ for
13517 # template instantiation
13518 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13519 $rm out
/* && rmdir out
13525 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13526 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13529 hard_links
="nottested"
13530 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
13531 # do not overwrite the value of need_locks provided by the user
13532 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13533 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13536 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13538 ln conftest.a conftest.b
2>&5 || hard_links
=no
13539 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13540 { echo "$as_me:$LINENO: result: $hard_links" >&5
13541 echo "${ECHO_T}$hard_links" >&6; }
13542 if test "$hard_links" = no
; then
13543 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13544 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13551 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13552 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13555 allow_undefined_flag_F77
=
13556 enable_shared_with_static_runtimes_F77
=no
13558 archive_expsym_cmds_F77
=
13559 old_archive_From_new_cmds_F77
=
13560 old_archive_from_expsyms_cmds_F77
=
13561 export_dynamic_flag_spec_F77
=
13562 whole_archive_flag_spec_F77
=
13563 thread_safe_flag_spec_F77
=
13564 hardcode_libdir_flag_spec_F77
=
13565 hardcode_libdir_flag_spec_ld_F77
=
13566 hardcode_libdir_separator_F77
=
13567 hardcode_direct_F77
=no
13568 hardcode_minus_L_F77
=no
13569 hardcode_shlibpath_var_F77
=unsupported
13570 link_all_deplibs_F77
=unknown
13571 hardcode_automatic_F77
=no
13573 module_expsym_cmds_F77
=
13574 always_export_symbols_F77
=no
13575 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13576 # include_expsyms should be a list of space-separated symbols to be *always*
13577 # included in the symbol list
13578 include_expsyms_F77
=
13579 # exclude_expsyms can be an extended regexp of symbols to exclude
13580 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13581 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13582 # as well as any symbol that contains `d'.
13583 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
13584 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13585 # platforms (ab)use it in PIC code, but their linkers get confused if
13586 # the symbol is explicitly referenced. Since portable code cannot
13587 # rely on this symbol name, it's probably fine to never include it in
13588 # preloaded symbol tables.
13589 extract_expsyms_cmds
=
13590 # Just being paranoid about ensuring that cc_basename is set.
13591 for cc_temp
in $compiler""; do
13593 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13594 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13599 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13602 cygwin
* | mingw
* | pw32
*)
13603 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13604 # When not using gcc, we currently assume that we are using
13605 # Microsoft Visual C++.
13606 if test "$GCC" != yes; then
13611 # we just hope/assume this is gcc and not c89 (= MSVC++)
13620 if test "$with_gnu_ld" = yes; then
13621 # If archive_cmds runs LD, not CC, wlarc should be empty
13624 # Set some defaults for GNU ld with shared library support. These
13625 # are reset later if shared libraries are not supported. Putting them
13626 # here allows them to be overridden if necessary.
13627 runpath_var
=LD_RUN_PATH
13628 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
13629 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
13630 # ancient GNU ld didn't support --whole-archive et. al.
13631 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
13632 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13634 whole_archive_flag_spec_F77
=
13636 supports_anon_versioning
=no
13637 case `$LD -v 2>/dev/null` in
13638 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13639 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13640 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13641 *\
2.11.
*) ;; # other 2.11 versions
13642 *) supports_anon_versioning
=yes ;;
13645 # See if GNU ld supports shared libraries.
13647 aix3
* | aix4
* | aix5
*)
13648 # On AIX/PPC, the GNU linker is very broken
13649 if test "$host_cpu" != ia64
; then
13653 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13654 *** to be unable to reliably create shared libraries on AIX.
13655 *** Therefore, libtool is disabling shared libraries support. If you
13656 *** really care for shared libraries, you may want to modify your PATH
13657 *** so that a non-GNU linker is found, and then restart.
13664 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)'
13665 hardcode_libdir_flag_spec_F77
='-L$libdir'
13666 hardcode_minus_L_F77
=yes
13668 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13669 # that the semantics of dynamic libraries on AmigaOS, at least up
13670 # to version 4, is to share data among multiple programs linked
13671 # with the same dynamic library. Since this doesn't match the
13672 # behavior of shared libraries on other platforms, we can't use
13678 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13679 allow_undefined_flag_F77
=unsupported
13680 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13681 # support --undefined. This deserves some investigation. FIXME
13682 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13688 cygwin
* | mingw
* | pw32
*)
13689 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13690 # as there is no search path for DLLs.
13691 hardcode_libdir_flag_spec_F77
='-L$libdir'
13692 allow_undefined_flag_F77
=unsupported
13693 always_export_symbols_F77
=no
13694 enable_shared_with_static_runtimes_F77
=yes
13695 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13697 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
13698 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13699 # If the export-symbols file already is a .def file (1st line
13700 # is EXPORTS), use it as is; otherwise, prepend...
13701 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13702 cp $export_symbols $output_objdir/$soname.def;
13704 echo EXPORTS > $output_objdir/$soname.def;
13705 cat $export_symbols >> $output_objdir/$soname.def;
13707 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13714 hardcode_direct_F77
=no
13715 hardcode_shlibpath_var_F77
=no
13716 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
13717 export_dynamic_flag_spec_F77
='${wl}-E'
13718 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13719 # Instead, shared libraries are loaded at an image base (0x10000000 by
13720 # default) and relocated if they conflict, which is a slow very memory
13721 # consuming and fragmenting process. To avoid this, we pick a random,
13722 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13723 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13724 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'
13725 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'
13728 gnu
* | linux
* | k
*bsd
*-gnu)
13729 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13731 case $cc_basename,$host_cpu in
13732 pgcc
*) # Portland Group C compiler
13733 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'
13734 tmp_addflag
=' $pic_flag'
13736 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
13737 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'
13738 tmp_addflag
=' $pic_flag -Mnomain' ;;
13739 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13740 tmp_addflag
=' -i_dynamic' ;;
13741 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13742 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13743 ifc
* | ifort
*) # Intel Fortran compiler
13744 tmp_addflag
=' -nofor_main' ;;
13746 case `$CC -V 2>&1 | sed 5q` in
13747 *Sun\ C
*) # Sun C 5.9
13748 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
13749 tmp_sharedflag
='-G' ;;
13750 *Sun\ F
*) # Sun Fortran 8.3
13751 tmp_sharedflag
='-G' ;;
13753 tmp_sharedflag
='-shared' ;;
13755 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13757 if test $supports_anon_versioning = yes; then
13758 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
13759 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13760 $echo "local: *; };" >> $output_objdir/$libname.ver~
13761 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13769 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13770 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13773 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13774 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13779 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
13783 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13784 *** create shared libraries on Solaris systems. Therefore, libtool
13785 *** is disabling shared libraries support. We urge you to upgrade GNU
13786 *** binutils to release 2.9.1 or newer. Another option is to modify
13787 *** your PATH or compiler configuration so that the native linker is
13788 *** used, and then restart.
13791 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13792 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13793 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13799 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13800 case `$LD -v 2>&1` in
13801 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13805 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13806 *** reliably create shared libraries on SCO systems. Therefore, libtool
13807 *** is disabling shared libraries support. We urge you to upgrade GNU
13808 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13809 *** your PATH or compiler configuration so that the native linker is
13810 *** used, and then restart.
13815 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13816 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
13817 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
13818 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
13827 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13829 hardcode_direct_F77
=yes
13830 hardcode_shlibpath_var_F77
=no
13834 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
13835 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13836 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13843 if test "$ld_shlibs_F77" = no
; then
13845 hardcode_libdir_flag_spec_F77
=
13846 export_dynamic_flag_spec_F77
=
13847 whole_archive_flag_spec_F77
=
13850 # PORTME fill in a description of your system's linker (not GNU ld)
13853 allow_undefined_flag_F77
=unsupported
13854 always_export_symbols_F77
=yes
13855 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'
13856 # Note: this linker hardcodes the directories in LIBPATH if there
13857 # are no directories specified by -L.
13858 hardcode_minus_L_F77
=yes
13859 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13860 # Neither direct hardcoding nor static linking is supported with a
13862 hardcode_direct_F77
=unsupported
13867 if test "$host_cpu" = ia64
; then
13868 # On IA64, the linker does run time linking by default, so we don't
13869 # have to do anything special.
13870 aix_use_runtimelinking
=no
13871 exp_sym_flag
='-Bexport'
13874 # If we're using GNU nm, then we don't want the "-C" option.
13875 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13876 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13877 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'
13879 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'
13881 aix_use_runtimelinking
=no
13883 # Test if we are trying to use run time linking or normal
13884 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13885 # need to do runtime linking.
13886 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
13887 for ld_flag
in $LDFLAGS; do
13888 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13889 aix_use_runtimelinking
=yes
13896 exp_sym_flag
='-bexport'
13897 no_entry_flag
='-bnoentry'
13900 # When large executables or shared objects are built, AIX ld can
13901 # have problems creating the table of contents. If linking a library
13902 # or program results in "error TOC overflow" add -mminimal-toc to
13903 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13904 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13906 archive_cmds_F77
=''
13907 hardcode_direct_F77
=yes
13908 hardcode_libdir_separator_F77
=':'
13909 link_all_deplibs_F77
=yes
13911 if test "$GCC" = yes; then
13912 case $host_os in aix4.
[012]|aix4.
[012].
*)
13913 # We only want to do this on AIX 4.2 and lower, the check
13914 # below for broken collect2 doesn't work under 4.3+
13915 collect2name
=`${CC} -print-prog-name=collect2`
13916 if test -f "$collect2name" && \
13917 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
13919 # We have reworked collect2
13922 # We have old collect2
13923 hardcode_direct_F77
=unsupported
13924 # It fails to find uninstalled libraries when the uninstalled
13925 # path is not listed in the libpath. Setting hardcode_minus_L
13926 # to unsupported forces relinking
13927 hardcode_minus_L_F77
=yes
13928 hardcode_libdir_flag_spec_F77
='-L$libdir'
13929 hardcode_libdir_separator_F77
=
13933 shared_flag
='-shared'
13934 if test "$aix_use_runtimelinking" = yes; then
13935 shared_flag
="$shared_flag "'${wl}-G'
13939 if test "$host_cpu" = ia64
; then
13940 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13941 # chokes on -Wl,-G. The following line is correct:
13944 if test "$aix_use_runtimelinking" = yes; then
13945 shared_flag
='${wl}-G'
13947 shared_flag
='${wl}-bM:SRE'
13952 # It seems that -bexpall does not export symbols beginning with
13953 # underscore (_), so it is better to generate a list of symbols to export.
13954 always_export_symbols_F77
=yes
13955 if test "$aix_use_runtimelinking" = yes; then
13956 # Warning - without using the other runtime loading flags (-brtl),
13957 # -berok will link without error, but may produce a broken library.
13958 allow_undefined_flag_F77
='-berok'
13959 # Determine the default libpath from the value encoded in an empty executable.
13960 cat >conftest.
$ac_ext <<_ACEOF
13965 rm -f conftest.
$ac_objext conftest
$ac_exeext
13966 if { (ac_try
="$ac_link"
13967 case "(($ac_try" in
13968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13969 *) ac_try_echo=$ac_try;;
13971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13972 (eval "$ac_link") 2>conftest.er1
13974 grep -v '^ *+' conftest.er1 >conftest.err
13976 cat conftest.err >&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); } && {
13979 test -z "$ac_f77_werror_flag" ||
13980 test ! -s conftest.err
13981 } && test -s conftest$ac_exeext &&
13982 $as_test_x conftest$ac_exeext; then
13984 lt_aix_libpath_sed='
13985 /Import File Strings/,/^$/ {
13991 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13992 # Check for a 64-bit object if we didn't find anything.
13993 if test -z "$aix_libpath"; then
13994 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13997 echo "$as_me: failed program was:" >&5
13998 sed 's/^/| /' conftest.$ac_ext >&5
14003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14004 conftest$ac_exeext conftest.$ac_ext
14005 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14007 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14008 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"
14010 if test "$host_cpu" = ia64; then
14011 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14012 allow_undefined_flag_F77="-z nodefs"
14013 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"
14015 # Determine the default libpath from the value encoded in an empty executable.
14016 cat >conftest.$ac_ext <<_ACEOF
14021 rm -f conftest.$ac_objext conftest$ac_exeext
14022 if { (ac_try="$ac_link"
14023 case "(($ac_try" in
14024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14025 *) ac_try_echo
=$ac_try;;
14027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14028 (eval "$ac_link") 2>conftest.er1
14030 grep -v '^ *+' conftest.er1
>conftest.err
14032 cat conftest.err
>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } && {
14035 test -z "$ac_f77_werror_flag" ||
14036 test ! -s conftest.err
14037 } && test -s conftest
$ac_exeext &&
14038 $as_test_x conftest
$ac_exeext; then
14040 lt_aix_libpath_sed
='
14041 /Import File Strings/,/^$/ {
14047 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14048 # Check for a 64-bit object if we didn't find anything.
14049 if test -z "$aix_libpath"; then
14050 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14053 echo "$as_me: failed program was:" >&5
14054 sed 's/^/| /' conftest.
$ac_ext >&5
14059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14060 conftest
$ac_exeext conftest.
$ac_ext
14061 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14063 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14064 # Warning - without using the other run time loading flags,
14065 # -berok will link without error, but may produce a broken library.
14066 no_undefined_flag_F77
=' ${wl}-bernotok'
14067 allow_undefined_flag_F77
=' ${wl}-berok'
14068 # Exported symbols can be pulled into shared objects from archives
14069 whole_archive_flag_spec_F77
='$convenience'
14070 archive_cmds_need_lc_F77
=yes
14071 # This is similar to how AIX traditionally builds its shared libraries.
14072 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'
14078 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)'
14079 hardcode_libdir_flag_spec_F77
='-L$libdir'
14080 hardcode_minus_L_F77
=yes
14081 # see comment about different semantics on the GNU ld section
14086 export_dynamic_flag_spec_F77
=-rdynamic
14089 cygwin
* | mingw
* | pw32
*)
14090 # When not using gcc, we currently assume that we are using
14091 # Microsoft Visual C++.
14092 # hardcode_libdir_flag_spec is actually meaningless, as there is
14093 # no search path for DLLs.
14094 hardcode_libdir_flag_spec_F77
=' '
14095 allow_undefined_flag_F77
=unsupported
14096 # Tell ltmain to make .lib files, not .a files.
14098 # Tell ltmain to make .dll files, not .so files.
14100 # FIXME: Setting linknames here is a bad hack.
14101 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14102 # The linker will automatically build a .lib file if we build a DLL.
14103 old_archive_From_new_cmds_F77
='true'
14104 # FIXME: Should let the user specify the lib program.
14105 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14106 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14107 enable_shared_with_static_runtimes_F77
=yes
14110 darwin
* | rhapsody
*)
14112 rhapsody
* | darwin1.
[012])
14113 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14116 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14117 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14119 case ${MACOSX_DEPLOYMENT_TARGET} in
14121 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14124 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14130 archive_cmds_need_lc_F77
=no
14131 hardcode_direct_F77
=no
14132 hardcode_automatic_F77
=yes
14133 hardcode_shlibpath_var_F77
=unsupported
14134 whole_archive_flag_spec_F77
=''
14135 link_all_deplibs_F77
=yes
14136 if test "$GCC" = yes ; then
14137 output_verbose_link_cmd
='echo'
14138 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14139 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14140 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14141 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}'
14142 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}'
14144 case $cc_basename in
14146 output_verbose_link_cmd
='echo'
14147 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14148 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14149 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14150 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14151 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}'
14161 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14162 hardcode_libdir_flag_spec_F77
='-L$libdir'
14163 hardcode_shlibpath_var_F77
=no
14170 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14171 # support. Future versions do this automatically, but an explicit c++rt0.o
14172 # does not break anything, and helps significantly (at the cost of a little
14175 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14176 hardcode_libdir_flag_spec_F77
='-R$libdir'
14177 hardcode_direct_F77
=yes
14178 hardcode_shlibpath_var_F77
=no
14181 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14183 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14184 hardcode_direct_F77
=yes
14185 hardcode_minus_L_F77
=yes
14186 hardcode_shlibpath_var_F77
=no
14189 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14190 freebsd
* | dragonfly
*)
14191 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14192 hardcode_libdir_flag_spec_F77
='-R$libdir'
14193 hardcode_direct_F77
=yes
14194 hardcode_shlibpath_var_F77
=no
14198 if test "$GCC" = yes; then
14199 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'
14201 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'
14203 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14204 hardcode_libdir_separator_F77
=:
14205 hardcode_direct_F77
=yes
14207 # hardcode_minus_L: Not really in the search PATH,
14208 # but as the default location of the library.
14209 hardcode_minus_L_F77
=yes
14210 export_dynamic_flag_spec_F77
='${wl}-E'
14214 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14215 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14217 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14219 if test "$with_gnu_ld" = no
; then
14220 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14221 hardcode_libdir_separator_F77
=:
14223 hardcode_direct_F77
=yes
14224 export_dynamic_flag_spec_F77
='${wl}-E'
14226 # hardcode_minus_L: Not really in the search PATH,
14227 # but as the default location of the library.
14228 hardcode_minus_L_F77
=yes
14233 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14236 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14239 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14242 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14248 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14251 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14254 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14258 if test "$with_gnu_ld" = no
; then
14259 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14260 hardcode_libdir_separator_F77
=:
14264 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14265 hardcode_direct_F77
=no
14266 hardcode_shlibpath_var_F77
=no
14269 hardcode_direct_F77
=yes
14270 export_dynamic_flag_spec_F77
='${wl}-E'
14272 # hardcode_minus_L: Not really in the search PATH,
14273 # but as the default location of the library.
14274 hardcode_minus_L_F77
=yes
14280 irix5
* | irix6
* | nonstopux
*)
14281 if test "$GCC" = yes; then
14282 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'
14284 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'
14285 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14287 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14288 hardcode_libdir_separator_F77
=:
14289 link_all_deplibs_F77
=yes
14293 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14294 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14296 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14298 hardcode_libdir_flag_spec_F77
='-R$libdir'
14299 hardcode_direct_F77
=yes
14300 hardcode_shlibpath_var_F77
=no
14304 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14305 hardcode_direct_F77
=yes
14306 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14307 hardcode_libdir_separator_F77
=:
14308 hardcode_shlibpath_var_F77
=no
14312 if test -f /usr
/libexec
/ld.so
; then
14313 hardcode_direct_F77
=yes
14314 hardcode_shlibpath_var_F77
=no
14315 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14316 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14317 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14318 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14319 export_dynamic_flag_spec_F77
='${wl}-E'
14322 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14323 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14324 hardcode_libdir_flag_spec_F77
='-R$libdir'
14327 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14328 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14338 hardcode_libdir_flag_spec_F77
='-L$libdir'
14339 hardcode_minus_L_F77
=yes
14340 allow_undefined_flag_F77
=unsupported
14341 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'
14342 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14346 if test "$GCC" = yes; then
14347 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14348 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'
14350 allow_undefined_flag_F77
=' -expect_unresolved \*'
14351 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'
14353 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14354 hardcode_libdir_separator_F77
=:
14357 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14358 if test "$GCC" = yes; then
14359 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14360 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'
14361 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14363 allow_undefined_flag_F77
=' -expect_unresolved \*'
14364 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'
14365 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~
14366 $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'
14368 # Both c and cxx compiler support -rpath directly
14369 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14371 hardcode_libdir_separator_F77
=:
14375 no_undefined_flag_F77
=' -z text'
14376 if test "$GCC" = yes; then
14378 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14379 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14380 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14383 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14384 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14385 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14387 hardcode_libdir_flag_spec_F77
='-R$libdir'
14388 hardcode_shlibpath_var_F77
=no
14390 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14392 # The compiler driver will combine and reorder linker options,
14393 # but understands `-z linker_flag'. GCC discards it without `$wl',
14394 # but is careful enough not to reorder.
14395 # Supported since Solaris 2.6 (maybe 2.5.1?)
14396 if test "$GCC" = yes; then
14397 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14399 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
14403 link_all_deplibs_F77
=yes
14407 if test "x$host_vendor" = xsequent
; then
14408 # Use $CC to link under sequent, because it throws in some extra .o
14409 # files that make .init and .fini sections work.
14410 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14412 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14414 hardcode_libdir_flag_spec_F77
='-L$libdir'
14415 hardcode_direct_F77
=yes
14416 hardcode_minus_L_F77
=yes
14417 hardcode_shlibpath_var_F77
=no
14421 case $host_vendor in
14423 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14424 hardcode_direct_F77
=yes # is this really true???
14427 ## LD is ld it makes a PLAMLIB
14428 ## CC just makes a GrossModule.
14429 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14430 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14431 hardcode_direct_F77
=no
14434 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14435 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14438 runpath_var
='LD_RUN_PATH'
14439 hardcode_shlibpath_var_F77
=no
14443 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14444 hardcode_shlibpath_var_F77
=no
14445 export_dynamic_flag_spec_F77
='-Bexport'
14449 if test -d /usr
/nec
; then
14450 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14451 hardcode_shlibpath_var_F77
=no
14452 runpath_var
=LD_RUN_PATH
14453 hardcode_runpath_var
=yes
14458 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14459 no_undefined_flag_F77
='${wl}-z,text'
14460 archive_cmds_need_lc_F77
=no
14461 hardcode_shlibpath_var_F77
=no
14462 runpath_var
='LD_RUN_PATH'
14464 if test "$GCC" = yes; then
14465 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14466 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14468 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14469 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14473 sysv5
* | sco3.2v5
* | sco5v6
*)
14474 # Note: We can NOT use -z defs as we might desire, because we do not
14475 # link with -lc, and that would cause any symbols used from libc to
14476 # always be unresolved, which means just about no library would
14477 # ever link correctly. If we're not using GNU ld we use -z text
14478 # though, which does catch some bad symbols but isn't as heavy-handed
14480 no_undefined_flag_F77
='${wl}-z,text'
14481 allow_undefined_flag_F77
='${wl}-z,nodefs'
14482 archive_cmds_need_lc_F77
=no
14483 hardcode_shlibpath_var_F77
=no
14484 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
14485 hardcode_libdir_separator_F77
=':'
14486 link_all_deplibs_F77
=yes
14487 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14488 runpath_var
='LD_RUN_PATH'
14490 if test "$GCC" = yes; then
14491 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14492 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14494 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14495 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
14500 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14501 hardcode_libdir_flag_spec_F77
='-L$libdir'
14502 hardcode_shlibpath_var_F77
=no
14511 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14512 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14513 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14516 # Do we need to explicitly link libc?
14518 case "x$archive_cmds_need_lc_F77" in
14520 # Assume -lc should be added
14521 archive_cmds_need_lc_F77
=yes
14523 if test "$enable_shared" = yes && test "$GCC" = yes; then
14524 case $archive_cmds_F77 in
14526 # FIXME: we may have to deal with multi-command sequences.
14529 # Test whether the compiler implicitly links with -lc since on some
14530 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14531 # to ld, don't add -lc before -lgcc.
14532 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14533 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14535 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } 2>conftest.err
; then
14544 libobjs
=conftest.
$ac_objext
14546 wl
=$lt_prog_compiler_wl_F77
14547 pic_flag
=$lt_prog_compiler_pic_F77
14553 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
14554 allow_undefined_flag_F77
=
14555 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14556 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }
14561 archive_cmds_need_lc_F77
=no
14563 archive_cmds_need_lc_F77
=yes
14565 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
14567 cat conftest.err
1>&5
14570 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14571 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14578 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14579 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14580 library_names_spec
=
14581 libname_spec
='lib$name'
14585 postuninstall_cmds
=
14589 shlibpath_overrides_runpath
=unknown
14591 dynamic_linker
="$host_os ld.so"
14592 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14594 need_lib_prefix
=unknown
14595 hardcode_into_libs
=no
14597 # when you set need_version to no, make sure it does not cause -set_version
14598 # flags to be left without arguments
14599 need_version
=unknown
14604 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14605 shlibpath_var
=LIBPATH
14607 # AIX 3 has no versioning support, so we append a major version to the name.
14608 soname_spec
='${libname}${release}${shared_ext}$major'
14615 hardcode_into_libs
=yes
14616 if test "$host_cpu" = ia64
; then
14617 # AIX 5 supports IA64
14618 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14619 shlibpath_var
=LD_LIBRARY_PATH
14621 # With GCC up to 2.95.x, collect2 would create an import file
14622 # for dependence libraries. The import file would start with
14623 # the line `#! .'. This would cause the generated library to
14624 # depend on `.', always an invalid library. This was fixed in
14625 # development snapshots of GCC prior to 3.0.
14627 aix4 | aix4.
[01] | aix4.
[01].
*)
14628 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14630 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
14633 can_build_shared
=no
14637 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14638 # soname into executable. Probably we can add versioning support to
14639 # collect2, so additional links can be useful in future.
14640 if test "$aix_use_runtimelinking" = yes; then
14641 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14642 # instead of lib<name>.a to let people know that these are not
14643 # typical AIX shared libraries.
14644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646 # We preserve .a as extension for shared libraries through AIX4.2
14647 # and later when we are not doing run time linking.
14648 library_names_spec
='${libname}${release}.a $libname.a'
14649 soname_spec
='${libname}${release}${shared_ext}$major'
14651 shlibpath_var
=LIBPATH
14656 library_names_spec
='$libname.ixlibrary $libname.a'
14657 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14658 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'
14662 library_names_spec
='${libname}${shared_ext}'
14663 dynamic_linker
="$host_os ld.so"
14664 shlibpath_var
=LIBRARY_PATH
14670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec
='${libname}${release}${shared_ext}$major'
14672 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14673 shlibpath_var
=LD_LIBRARY_PATH
14674 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14675 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14676 # the default ld.so.conf also contains /usr/contrib/lib and
14677 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14678 # libtool to hard-code these into programs
14681 cygwin
* | mingw
* | pw32
*)
14682 version_type
=windows
14687 case $GCC,$host_os in
14688 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14689 library_names_spec
='$libname.dll.a'
14690 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14691 postinstall_cmds
='base_file=`basename \${file}`~
14692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14693 dldir=$destdir/`dirname \$dlpath`~
14694 test -d \$dldir || mkdir -p \$dldir~
14695 $install_prog $dir/$dlname \$dldir/$dlname~
14696 chmod a+x \$dldir/$dlname'
14697 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14698 dlpath=$dir/\$dldll~
14700 shlibpath_overrides_runpath
=yes
14704 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14705 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14706 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14709 # MinGW DLLs use traditional 'lib' prefix
14710 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14711 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14712 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
14713 # It is most probably a Windows format PATH printed by
14714 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14715 # path with ; separators, and with drive letters. We can handle the
14716 # drive letters (cygwin fileutils understands them), so leave them,
14717 # especially as we might pass files found there to a mingw objdump,
14718 # which wouldn't understand a cygwinified path. Ahh.
14719 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14721 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14725 # pw32 DLLs use 'pw' prefix rather than 'lib'
14726 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14732 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14735 dynamic_linker
='Win32 ld.exe'
14736 # FIXME: first we should search . and the directory the executable is in
14740 darwin
* | rhapsody
*)
14741 dynamic_linker
="$host_os dyld"
14742 version_type
=darwin
14745 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14746 soname_spec
='${libname}${release}${major}$shared_ext'
14747 shlibpath_overrides_runpath
=yes
14748 shlibpath_var
=DYLD_LIBRARY_PATH
14749 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14751 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14759 soname_spec
='${libname}${release}${shared_ext}$major'
14760 shlibpath_var
=LD_LIBRARY_PATH
14767 freebsd
* | dragonfly
*)
14768 # DragonFly does not have aout. When/if they implement a new
14769 # versioning mechanism, adjust this.
14770 if test -x /usr
/bin
/objformat
; then
14771 objformat
=`/usr/bin/objformat`
14774 freebsd
[123]*) objformat
=aout
;;
14775 *) objformat
=elf
;;
14778 version_type
=freebsd-
$objformat
14779 case $version_type in
14781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14786 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14790 shlibpath_var
=LD_LIBRARY_PATH
14793 shlibpath_overrides_runpath
=yes
14795 freebsd3.
[01]* | freebsdelf3.
[01]*)
14796 shlibpath_overrides_runpath
=yes
14797 hardcode_into_libs
=yes
14799 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14800 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14801 shlibpath_overrides_runpath
=no
14802 hardcode_into_libs
=yes
14804 *) # from 4.6 on, and DragonFly
14805 shlibpath_overrides_runpath
=yes
14806 hardcode_into_libs
=yes
14815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14816 soname_spec
='${libname}${release}${shared_ext}$major'
14817 shlibpath_var
=LD_LIBRARY_PATH
14818 hardcode_into_libs
=yes
14821 hpux9
* | hpux10
* | hpux11
*)
14822 # Give a soname corresponding to the major version so that dld.sl refuses to
14823 # link against other versions.
14830 hardcode_into_libs
=yes
14831 dynamic_linker
="$host_os dld.so"
14832 shlibpath_var
=LD_LIBRARY_PATH
14833 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835 soname_spec
='${libname}${release}${shared_ext}$major'
14836 if test "X$HPUX_IA64_MODE" = X32
; then
14837 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14839 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14841 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14845 hardcode_into_libs
=yes
14846 dynamic_linker
="$host_os dld.sl"
14847 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14848 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14850 soname_spec
='${libname}${release}${shared_ext}$major'
14851 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14852 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14856 dynamic_linker
="$host_os dld.sl"
14857 shlibpath_var
=SHLIB_PATH
14858 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14860 soname_spec
='${libname}${release}${shared_ext}$major'
14863 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14864 postinstall_cmds
='chmod 555 $lib'
14871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14872 soname_spec
='${libname}${release}${shared_ext}$major'
14873 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14874 shlibpath_var
=LD_LIBRARY_PATH
14875 shlibpath_overrides_runpath
=no
14876 hardcode_into_libs
=yes
14879 irix5
* | irix6
* | nonstopux
*)
14881 nonstopux
*) version_type
=nonstopux
;;
14883 if test "$lt_cv_prog_gnu_ld" = yes; then
14891 soname_spec
='${libname}${release}${shared_ext}$major'
14892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14894 irix5
* | nonstopux
*)
14895 libsuff
= shlibsuff
=
14898 case $LD in # libtool.m4 will add one of these switches to LD
14899 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14900 libsuff
= shlibsuff
= libmagic
=32-bit;;
14901 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14902 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14903 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14904 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14905 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14909 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14910 shlibpath_overrides_runpath
=no
14911 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14912 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14913 hardcode_into_libs
=yes
14916 # No shared lib support for Linux oldld, aout, or coff.
14917 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14921 # This must be Linux ELF.
14922 linux
* | k
*bsd
*-gnu)
14926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14927 soname_spec
='${libname}${release}${shared_ext}$major'
14928 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14929 shlibpath_var
=LD_LIBRARY_PATH
14930 shlibpath_overrides_runpath
=no
14931 # This implies no fast_install, which is unacceptable.
14932 # Some rework will be needed to allow for fast_install
14933 # before this can be enabled.
14934 hardcode_into_libs
=yes
14936 # Append ld.so.conf contents to the search path
14937 if test -f /etc
/ld.so.conf
; then
14938 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14939 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14942 # We used to test for /lib/ld.so.1 and disable shared libraries on
14943 # powerpc, because MkLinux only supported shared libraries with the
14944 # GNU dynamic linker. Since this was broken with cross compilers,
14945 # most powerpc-linux boxes support dynamic linking these days and
14946 # people can always --disable-shared, the test was removed, and we
14947 # assume the GNU/Linux dynamic linker is in use.
14948 dynamic_linker
='GNU/Linux ld.so'
14955 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14957 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14958 dynamic_linker
='NetBSD (a.out) ld.so'
14960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14961 soname_spec
='${libname}${release}${shared_ext}$major'
14962 dynamic_linker
='NetBSD ld.elf_so'
14964 shlibpath_var
=LD_LIBRARY_PATH
14965 shlibpath_overrides_runpath
=yes
14966 hardcode_into_libs
=yes
14971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14972 shlibpath_var
=LD_LIBRARY_PATH
14973 shlibpath_overrides_runpath
=yes
14980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14981 soname_spec
='${libname}${release}${shared_ext}$major'
14982 shlibpath_var
=LD_LIBRARY_PATH
14983 shlibpath_overrides_runpath
=yes
14988 sys_lib_dlsearch_path_spec
="/usr/lib"
14990 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14992 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14993 *) need_version
=no
;;
14995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14996 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14997 shlibpath_var
=LD_LIBRARY_PATH
14998 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15000 openbsd2.
[89] | openbsd2.
[89].
*)
15001 shlibpath_overrides_runpath
=no
15004 shlibpath_overrides_runpath
=yes
15008 shlibpath_overrides_runpath
=yes
15013 libname_spec
='$name'
15016 library_names_spec
='$libname${shared_ext} $libname.a'
15017 dynamic_linker
='OS/2 ld.exe'
15018 shlibpath_var
=LIBPATH
15021 osf3
* | osf4
* | osf5
*)
15025 soname_spec
='${libname}${release}${shared_ext}$major'
15026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15027 shlibpath_var
=LD_LIBRARY_PATH
15028 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15029 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec
='${libname}${release}${shared_ext}$major'
15042 shlibpath_var
=LD_LIBRARY_PATH
15043 shlibpath_overrides_runpath
=yes
15044 hardcode_into_libs
=yes
15045 # ldd complains unless libraries are executable
15046 postinstall_cmds
='chmod +x $lib'
15051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15052 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15053 shlibpath_var
=LD_LIBRARY_PATH
15054 shlibpath_overrides_runpath
=yes
15055 if test "$with_gnu_ld" = yes; then
15063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15064 soname_spec
='${libname}${release}${shared_ext}$major'
15065 shlibpath_var
=LD_LIBRARY_PATH
15066 case $host_vendor in
15068 shlibpath_overrides_runpath
=no
15070 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15071 runpath_var
=LD_RUN_PATH
15079 shlibpath_overrides_runpath
=no
15080 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15086 if test -d /usr
/nec
;then
15088 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15089 soname_spec
='$libname${shared_ext}.$major'
15090 shlibpath_var
=LD_LIBRARY_PATH
15094 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15095 version_type
=freebsd-elf
15098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15099 soname_spec
='${libname}${release}${shared_ext}$major'
15100 shlibpath_var
=LD_LIBRARY_PATH
15101 hardcode_into_libs
=yes
15102 if test "$with_gnu_ld" = yes; then
15103 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15104 shlibpath_overrides_runpath
=no
15106 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15107 shlibpath_overrides_runpath
=yes
15110 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15114 sys_lib_dlsearch_path_spec
='/usr/lib'
15119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15120 soname_spec
='${libname}${release}${shared_ext}$major'
15121 shlibpath_var
=LD_LIBRARY_PATH
15128 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15129 echo "${ECHO_T}$dynamic_linker" >&6; }
15130 test "$dynamic_linker" = no
&& can_build_shared
=no
15132 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15133 if test "$GCC" = yes; then
15134 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15137 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15138 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15139 hardcode_action_F77
=
15140 if test -n "$hardcode_libdir_flag_spec_F77" || \
15141 test -n "$runpath_var_F77" || \
15142 test "X$hardcode_automatic_F77" = "Xyes" ; then
15144 # We can hardcode non-existant directories.
15145 if test "$hardcode_direct_F77" != no
&&
15146 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15147 # have to relink, otherwise we might link with an installed library
15148 # when we should be linking with a yet-to-be-installed one
15149 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15150 test "$hardcode_minus_L_F77" != no
; then
15151 # Linking always hardcodes the temporary library directory.
15152 hardcode_action_F77
=relink
15154 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15155 hardcode_action_F77
=immediate
15158 # We cannot hardcode anything, or else we can only hardcode existing
15160 hardcode_action_F77
=unsupported
15162 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15163 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15165 if test "$hardcode_action_F77" = relink
; then
15166 # Fast installation is not supported
15167 enable_fast_install
=no
15168 elif test "$shlibpath_overrides_runpath" = yes ||
15169 test "$enable_shared" = no
; then
15170 # Fast installation is not necessary
15171 enable_fast_install
=needless
15175 # The else clause should only fire when bootstrapping the
15176 # libtool distribution, otherwise you forgot to ship ltmain.sh
15177 # with your package, and you will get complaints that there are
15178 # no rules to generate ltmain.sh.
15179 if test -f "$ltmain"; then
15180 # See if we are running on zsh, and set the options which allow our commands through
15181 # without removal of \ escapes.
15182 if test -n "${ZSH_VERSION+set}" ; then
15183 setopt NO_GLOB_SUBST
15185 # Now quote all the things that may contain metacharacters while being
15186 # careful not to overquote the AC_SUBSTed values. We take copies of the
15187 # variables and quote the copies for generation of the libtool script.
15188 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15190 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15191 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15192 deplibs_check_method reload_flag reload_cmds need_locks \
15193 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15194 lt_cv_sys_global_symbol_to_c_name_address \
15195 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15196 old_postinstall_cmds old_postuninstall_cmds \
15200 lt_prog_compiler_wl_F77 \
15201 lt_prog_compiler_pic_F77 \
15202 lt_prog_compiler_static_F77 \
15203 lt_prog_compiler_no_builtin_flag_F77 \
15204 export_dynamic_flag_spec_F77 \
15205 thread_safe_flag_spec_F77 \
15206 whole_archive_flag_spec_F77 \
15207 enable_shared_with_static_runtimes_F77 \
15208 old_archive_cmds_F77 \
15209 old_archive_from_new_cmds_F77 \
15210 predep_objects_F77 \
15211 postdep_objects_F77 \
15214 compiler_lib_search_path_F77 \
15216 archive_expsym_cmds_F77 \
15217 postinstall_cmds_F77 \
15218 postuninstall_cmds_F77 \
15219 old_archive_from_expsyms_cmds_F77 \
15220 allow_undefined_flag_F77 \
15221 no_undefined_flag_F77 \
15222 export_symbols_cmds_F77 \
15223 hardcode_libdir_flag_spec_F77 \
15224 hardcode_libdir_flag_spec_ld_F77 \
15225 hardcode_libdir_separator_F77 \
15226 hardcode_automatic_F77 \
15228 module_expsym_cmds_F77 \
15229 lt_cv_prog_compiler_c_o_F77 \
15230 fix_srcfile_path_F77 \
15231 exclude_expsyms_F77 \
15232 include_expsyms_F77
; do
15235 old_archive_cmds_F77 | \
15236 old_archive_from_new_cmds_F77 | \
15237 archive_cmds_F77 | \
15238 archive_expsym_cmds_F77 | \
15239 module_cmds_F77 | \
15240 module_expsym_cmds_F77 | \
15241 old_archive_from_expsyms_cmds_F77 | \
15242 export_symbols_cmds_F77 | \
15243 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15244 postinstall_cmds | postuninstall_cmds | \
15245 old_postinstall_cmds | old_postuninstall_cmds | \
15246 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15247 # Double-quote double-evaled strings.
15248 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15251 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15257 *'\$0 --fallback-echo"')
15258 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15264 cat <<__EOF__ >> "$cfgfile"
15265 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15267 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15269 # Shell to use when invoking shell scripts.
15272 # Whether or not to build shared libraries.
15273 build_libtool_libs=$enable_shared
15275 # Whether or not to build static libraries.
15276 build_old_libs=$enable_static
15278 # Whether or not to add -lc for building shared libraries.
15279 build_libtool_need_lc=$archive_cmds_need_lc_F77
15281 # Whether or not to disallow shared libs when runtime libs are static
15282 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15284 # Whether or not to optimize for fast installation.
15285 fast_install=$enable_fast_install
15288 host_alias=$host_alias
15292 # The build system.
15293 build_alias=$build_alias
15297 # An echo program that does not interpret backslashes.
15302 AR_FLAGS=$lt_AR_FLAGS
15307 # LTCC compiler flags.
15308 LTCFLAGS=$lt_LTCFLAGS
15310 # A language-specific compiler.
15311 CC=$lt_compiler_F77
15313 # Is the compiler the GNU C compiler?
15319 # The linker used to build libraries.
15322 # Whether we need hard or soft links.
15325 # A BSD-compatible nm program.
15328 # A symbol stripping program
15331 # Used to examine libraries when file_magic_cmd begins "file"
15332 MAGIC_CMD=$MAGIC_CMD
15334 # Used on cygwin: DLL creation program.
15337 # Used on cygwin: object dumper.
15340 # Used on cygwin: assembler.
15343 # The name of the directory that contains temporary libtool files.
15346 # How to create reloadable object files.
15347 reload_flag=$lt_reload_flag
15348 reload_cmds=$lt_reload_cmds
15350 # How to pass a linker flag through the compiler.
15351 wl=$lt_lt_prog_compiler_wl_F77
15353 # Object file suffix (normally "o").
15354 objext="$ac_objext"
15356 # Old archive suffix (normally "a").
15359 # Shared library suffix (normally ".so").
15360 shrext_cmds='$shrext_cmds'
15362 # Executable file suffix (normally "").
15365 # Additional compiler flags for building library objects.
15366 pic_flag=$lt_lt_prog_compiler_pic_F77
15369 # What is the maximum length of a command?
15370 max_cmd_len=$lt_cv_sys_max_cmd_len
15372 # Does compiler simultaneously support -c and -o options?
15373 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15375 # Must we lock files when doing compilation?
15376 need_locks=$lt_need_locks
15378 # Do we need the lib prefix for modules?
15379 need_lib_prefix=$need_lib_prefix
15381 # Do we need a version for libraries?
15382 need_version=$need_version
15384 # Whether dlopen is supported.
15385 dlopen_support=$enable_dlopen
15387 # Whether dlopen of programs is supported.
15388 dlopen_self=$enable_dlopen_self
15390 # Whether dlopen of statically linked programs is supported.
15391 dlopen_self_static=$enable_dlopen_self_static
15393 # Compiler flag to prevent dynamic linking.
15394 link_static_flag=$lt_lt_prog_compiler_static_F77
15396 # Compiler flag to turn off builtin functions.
15397 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15399 # Compiler flag to allow reflexive dlopens.
15400 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15402 # Compiler flag to generate shared objects directly from archives.
15403 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15405 # Compiler flag to generate thread-safe objects.
15406 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15408 # Library versioning type.
15409 version_type=$version_type
15411 # Format of library name prefix.
15412 libname_spec=$lt_libname_spec
15414 # List of archive names. First name is the real one, the rest are links.
15415 # The last name is the one that the linker finds with -lNAME.
15416 library_names_spec=$lt_library_names_spec
15418 # The coded name of the library, if different from the real name.
15419 soname_spec=$lt_soname_spec
15421 # Commands used to build and install an old-style archive.
15423 old_archive_cmds=$lt_old_archive_cmds_F77
15424 old_postinstall_cmds=$lt_old_postinstall_cmds
15425 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15427 # Create an old-style archive from a shared archive.
15428 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15430 # Create a temporary old-style archive to link instead of a shared archive.
15431 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15433 # Commands used to build and install a shared archive.
15434 archive_cmds=$lt_archive_cmds_F77
15435 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15436 postinstall_cmds=$lt_postinstall_cmds
15437 postuninstall_cmds=$lt_postuninstall_cmds
15439 # Commands used to build a loadable module (assumed same as above if empty)
15440 module_cmds=$lt_module_cmds_F77
15441 module_expsym_cmds=$lt_module_expsym_cmds_F77
15443 # Commands to strip libraries.
15444 old_striplib=$lt_old_striplib
15445 striplib=$lt_striplib
15447 # Dependencies to place before the objects being linked to create a
15449 predep_objects=$lt_predep_objects_F77
15451 # Dependencies to place after the objects being linked to create a
15453 postdep_objects=$lt_postdep_objects_F77
15455 # Dependencies to place before the objects being linked to create a
15457 predeps=$lt_predeps_F77
15459 # Dependencies to place after the objects being linked to create a
15461 postdeps=$lt_postdeps_F77
15463 # The library search path used internally by the compiler when linking
15464 # a shared library.
15465 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15467 # Method to check whether dependent libraries are shared objects.
15468 deplibs_check_method=$lt_deplibs_check_method
15470 # Command to use when deplibs_check_method == file_magic.
15471 file_magic_cmd=$lt_file_magic_cmd
15473 # Flag that allows shared libraries with undefined symbols to be built.
15474 allow_undefined_flag=$lt_allow_undefined_flag_F77
15476 # Flag that forces no undefined symbols.
15477 no_undefined_flag=$lt_no_undefined_flag_F77
15479 # Commands used to finish a libtool library installation in a directory.
15480 finish_cmds=$lt_finish_cmds
15482 # Same as above, but a single script fragment to be evaled but not shown.
15483 finish_eval=$lt_finish_eval
15485 # Take the output of nm and produce a listing of raw symbols and C names.
15486 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15488 # Transform the output of nm in a proper C declaration
15489 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15491 # Transform the output of nm in a C name address pair
15492 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15494 # This is the shared library runtime path variable.
15495 runpath_var=$runpath_var
15497 # This is the shared library path variable.
15498 shlibpath_var=$shlibpath_var
15500 # Is shlibpath searched before the hard-coded library search path?
15501 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15503 # How to hardcode a shared library path into an executable.
15504 hardcode_action=$hardcode_action_F77
15506 # Whether we should hardcode library paths into libraries.
15507 hardcode_into_libs=$hardcode_into_libs
15509 # Flag to hardcode \$libdir into a binary during linking.
15510 # This must work even if \$libdir does not exist.
15511 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
15513 # If ld is used when linking, flag to hardcode \$libdir into
15514 # a binary during linking. This must work even if \$libdir does
15516 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
15518 # Whether we need a single -rpath flag with a separated argument.
15519 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
15521 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15522 # resulting binary.
15523 hardcode_direct=$hardcode_direct_F77
15525 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15526 # resulting binary.
15527 hardcode_minus_L=$hardcode_minus_L_F77
15529 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15530 # the resulting binary.
15531 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15533 # Set to yes if building a shared library automatically hardcodes DIR into the library
15534 # and all subsequent libraries and executables linked against it.
15535 hardcode_automatic=$hardcode_automatic_F77
15537 # Variables whose values should be saved in libtool wrapper scripts and
15538 # restored at relink time.
15539 variables_saved_for_relink="$variables_saved_for_relink"
15541 # Whether libtool must link a program against all its dependency libraries.
15542 link_all_deplibs=$link_all_deplibs_F77
15544 # Compile-time system search path for libraries
15545 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15547 # Run-time system search path for libraries
15548 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15550 # Fix the shell variable \$srcfile for the compiler.
15551 fix_srcfile_path=$lt_fix_srcfile_path
15553 # Set to yes if exported symbols are required.
15554 always_export_symbols=$always_export_symbols_F77
15556 # The commands to list exported symbols.
15557 export_symbols_cmds=$lt_export_symbols_cmds_F77
15559 # The commands to extract the exported symbol list from a shared archive.
15560 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15562 # Symbols that should not be listed in the preloaded symbols.
15563 exclude_expsyms=$lt_exclude_expsyms_F77
15565 # Symbols that must always be exported.
15566 include_expsyms=$lt_include_expsyms_F77
15568 # ### END LIBTOOL TAG CONFIG: $tagname
15574 # If there is no Makefile yet, we rely on a make rule to execute
15575 # `config.status --recheck' to rerun these tests and create the
15576 # libtool script then.
15577 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15578 if test -f "$ltmain_in"; then
15579 test -f Makefile
&& make "$ltmain"
15585 ac_cpp
='$CPP $CPPFLAGS'
15586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15598 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15601 # Source file extension for Java test sources.
15604 # Object file extension for compiled Java test sources.
15608 # Code to be used in simple compile tests
15609 lt_simple_compile_test_code
="class foo {}"
15611 # Code to be used in simple link tests
15612 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
15614 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15616 # If no C compiler was specified, use CC.
15619 # If no C compiler flags were specified, use CFLAGS.
15620 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15622 # Allow CC to be a program name with arguments.
15626 # save warnings/boilerplate of simple test code
15627 ac_outfile
=conftest.
$ac_objext
15628 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15629 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15630 _lt_compiler_boilerplate
=`cat conftest.err`
15633 ac_outfile
=conftest.
$ac_objext
15634 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15635 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15636 _lt_linker_boilerplate
=`cat conftest.err`
15640 # Allow CC to be a program name with arguments.
15645 for cc_temp
in $compiler""; do
15647 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15648 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15653 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15656 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15657 archive_cmds_need_lc_GCJ
=no
15659 old_archive_cmds_GCJ
=$old_archive_cmds
15662 lt_prog_compiler_no_builtin_flag_GCJ
=
15664 if test "$GCC" = yes; then
15665 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15668 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15669 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15670 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 lt_cv_prog_compiler_rtti_exceptions
=no
15674 ac_outfile
=conftest.
$ac_objext
15675 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15676 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15677 # Insert the option either (1) after the last *FLAGS variable, or
15678 # (2) before a word containing "conftest.", or (3) at the end.
15679 # Note that $ac_compile itself does not contain backslashes and begins
15680 # with a dollar sign (not a hyphen), so the echo should work correctly.
15681 # The option is referenced via a variable to avoid confusing sed.
15682 lt_compile
=`echo "$ac_compile" | $SED \
15683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15685 -e 's:$: $lt_compiler_flag:'`
15686 (eval echo "\"\$as_me:15686: $lt_compile\"" >&5)
15687 (eval "$lt_compile" 2>conftest.err
)
15689 cat conftest.err
>&5
15690 echo "$as_me:15690: \$? = $ac_status" >&5
15691 if (exit $ac_status) && test -s "$ac_outfile"; then
15692 # The compiler can only warn and ignore the option if not recognized
15693 # So say no if there are warnings other than the usual output.
15694 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15695 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15696 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15697 lt_cv_prog_compiler_rtti_exceptions
=yes
15703 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15704 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15706 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15707 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15714 lt_prog_compiler_wl_GCJ
=
15715 lt_prog_compiler_pic_GCJ
=
15716 lt_prog_compiler_static_GCJ
=
15718 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15719 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15721 if test "$GCC" = yes; then
15722 lt_prog_compiler_wl_GCJ
='-Wl,'
15723 lt_prog_compiler_static_GCJ
='-static'
15727 # All AIX code is PIC.
15728 if test "$host_cpu" = ia64
; then
15729 # AIX 5 now supports IA64 processor
15730 lt_prog_compiler_static_GCJ
='-Bstatic'
15735 # FIXME: we need at least 68020 code to build shared libraries, but
15736 # adding the `-m68020' flag to GCC prevents building anything better,
15738 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15741 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15742 # PIC is the default for these OSes.
15745 mingw
* | cygwin
* | pw32
* | os2
*)
15746 # This hack is so that the source file can tell whether it is being
15747 # built for inclusion in a dll (and should export symbols for example).
15748 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15749 # (--disable-auto-import) libraries
15750 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15753 darwin
* | rhapsody
*)
15754 # PIC is the default on this platform
15755 # Common symbols not allowed in MH_DYLIB files
15756 lt_prog_compiler_pic_GCJ
='-fno-common'
15760 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15761 # Instead, we relocate shared libraries at runtime.
15765 # Just because we use GCC doesn't mean we suddenly get shared libraries
15766 # on systems that don't support them.
15767 lt_prog_compiler_can_build_shared_GCJ
=no
15772 if test -d /usr
/nec
; then
15773 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15778 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15779 # not for PA HP-UX.
15785 lt_prog_compiler_pic_GCJ
='-fPIC'
15791 lt_prog_compiler_pic_GCJ
='-fPIC'
15795 # PORTME Check for flag to pass linker flags through the system compiler.
15798 lt_prog_compiler_wl_GCJ
='-Wl,'
15799 if test "$host_cpu" = ia64
; then
15800 # AIX 5 now supports IA64 processor
15801 lt_prog_compiler_static_GCJ
='-Bstatic'
15803 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15807 # PIC is the default on this platform
15808 # Common symbols not allowed in MH_DYLIB files
15809 case $cc_basename in
15811 lt_prog_compiler_pic_GCJ
='-qnocommon'
15812 lt_prog_compiler_wl_GCJ
='-Wl,'
15817 mingw
* | cygwin
* | pw32
* | os2
*)
15818 # This hack is so that the source file can tell whether it is being
15819 # built for inclusion in a dll (and should export symbols for example).
15820 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15823 hpux9
* | hpux10
* | hpux11
*)
15824 lt_prog_compiler_wl_GCJ
='-Wl,'
15825 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15826 # not for PA HP-UX.
15832 lt_prog_compiler_pic_GCJ
='+Z'
15835 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15836 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15839 irix5
* | irix6
* | nonstopux
*)
15840 lt_prog_compiler_wl_GCJ
='-Wl,'
15841 # PIC (with -KPIC) is the default.
15842 lt_prog_compiler_static_GCJ
='-non_shared'
15846 lt_prog_compiler_pic_GCJ
='-KPIC'
15847 lt_prog_compiler_static_GCJ
='-Bstatic'
15850 linux
* | k
*bsd
*-gnu)
15851 case $cc_basename in
15853 lt_prog_compiler_wl_GCJ
='-Wl,'
15854 lt_prog_compiler_pic_GCJ
='-KPIC'
15855 lt_prog_compiler_static_GCJ
='-static'
15857 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15858 # Portland Group compilers (*not* the Pentium gcc compiler,
15859 # which looks to be a dead project)
15860 lt_prog_compiler_wl_GCJ
='-Wl,'
15861 lt_prog_compiler_pic_GCJ
='-fpic'
15862 lt_prog_compiler_static_GCJ
='-Bstatic'
15865 lt_prog_compiler_wl_GCJ
='-Wl,'
15866 # All Alpha code is PIC.
15867 lt_prog_compiler_static_GCJ
='-non_shared'
15870 case `$CC -V 2>&1 | sed 5q` in
15873 lt_prog_compiler_pic_GCJ
='-KPIC'
15874 lt_prog_compiler_static_GCJ
='-Bstatic'
15875 lt_prog_compiler_wl_GCJ
='-Wl,'
15878 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15879 lt_prog_compiler_pic_GCJ
='-KPIC'
15880 lt_prog_compiler_static_GCJ
='-Bstatic'
15881 lt_prog_compiler_wl_GCJ
=''
15888 osf3
* | osf4
* | osf5
*)
15889 lt_prog_compiler_wl_GCJ
='-Wl,'
15890 # All OSF/1 code is PIC.
15891 lt_prog_compiler_static_GCJ
='-non_shared'
15895 lt_prog_compiler_static_GCJ
='-non_shared'
15899 lt_prog_compiler_pic_GCJ
='-KPIC'
15900 lt_prog_compiler_static_GCJ
='-Bstatic'
15901 case $cc_basename in
15902 f77
* | f90
* | f95
*)
15903 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15905 lt_prog_compiler_wl_GCJ
='-Wl,';;
15910 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15911 lt_prog_compiler_pic_GCJ
='-PIC'
15912 lt_prog_compiler_static_GCJ
='-Bstatic'
15915 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15916 lt_prog_compiler_wl_GCJ
='-Wl,'
15917 lt_prog_compiler_pic_GCJ
='-KPIC'
15918 lt_prog_compiler_static_GCJ
='-Bstatic'
15922 if test -d /usr
/nec
;then
15923 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15924 lt_prog_compiler_static_GCJ
='-Bstatic'
15928 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15929 lt_prog_compiler_wl_GCJ
='-Wl,'
15930 lt_prog_compiler_pic_GCJ
='-KPIC'
15931 lt_prog_compiler_static_GCJ
='-Bstatic'
15935 lt_prog_compiler_wl_GCJ
='-Wl,'
15936 lt_prog_compiler_can_build_shared_GCJ
=no
15940 lt_prog_compiler_pic_GCJ
='-pic'
15941 lt_prog_compiler_static_GCJ
='-Bstatic'
15945 lt_prog_compiler_can_build_shared_GCJ
=no
15950 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15951 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15954 # Check to make sure the PIC flag actually works.
15956 if test -n "$lt_prog_compiler_pic_GCJ"; then
15958 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15959 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
15960 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 lt_prog_compiler_pic_works_GCJ
=no
15964 ac_outfile
=conftest.
$ac_objext
15965 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15966 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
15967 # Insert the option either (1) after the last *FLAGS variable, or
15968 # (2) before a word containing "conftest.", or (3) at the end.
15969 # Note that $ac_compile itself does not contain backslashes and begins
15970 # with a dollar sign (not a hyphen), so the echo should work correctly.
15971 # The option is referenced via a variable to avoid confusing sed.
15972 lt_compile
=`echo "$ac_compile" | $SED \
15973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15975 -e 's:$: $lt_compiler_flag:'`
15976 (eval echo "\"\$as_me:15976: $lt_compile\"" >&5)
15977 (eval "$lt_compile" 2>conftest.err
)
15979 cat conftest.err
>&5
15980 echo "$as_me:15980: \$? = $ac_status" >&5
15981 if (exit $ac_status) && test -s "$ac_outfile"; then
15982 # The compiler can only warn and ignore the option if not recognized
15983 # So say no if there are warnings other than the usual output.
15984 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15985 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15986 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15987 lt_prog_compiler_pic_works_GCJ
=yes
15993 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15994 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
15996 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
15997 case $lt_prog_compiler_pic_GCJ in
15999 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16002 lt_prog_compiler_pic_GCJ
=
16003 lt_prog_compiler_can_build_shared_GCJ
=no
16008 # For platforms which do not support PIC, -DPIC is meaningless:
16010 lt_prog_compiler_pic_GCJ
=
16013 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16018 # Check to make sure the static flag actually works.
16020 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16021 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16022 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16023 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16024 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 lt_prog_compiler_static_works_GCJ
=no
16027 save_LDFLAGS
="$LDFLAGS"
16028 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16029 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16030 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16031 # The linker can only warn and ignore the option if not recognized
16032 # So say no if there are warnings
16033 if test -s conftest.err
; then
16034 # Append any errors to the config.log.
16035 cat conftest.err
1>&5
16036 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16037 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16038 if diff conftest.exp conftest.er2
>/dev
/null
; then
16039 lt_prog_compiler_static_works_GCJ
=yes
16042 lt_prog_compiler_static_works_GCJ
=yes
16046 LDFLAGS
="$save_LDFLAGS"
16049 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16050 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16052 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16055 lt_prog_compiler_static_GCJ
=
16059 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16060 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16061 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16062 echo $ECHO_N "(cached) $ECHO_C" >&6
16064 lt_cv_prog_compiler_c_o_GCJ
=no
16065 $rm -r conftest
2>/dev
/null
16069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16071 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16072 # Insert the option either (1) after the last *FLAGS variable, or
16073 # (2) before a word containing "conftest.", or (3) at the end.
16074 # Note that $ac_compile itself does not contain backslashes and begins
16075 # with a dollar sign (not a hyphen), so the echo should work correctly.
16076 lt_compile
=`echo "$ac_compile" | $SED \
16077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16079 -e 's:$: $lt_compiler_flag:'`
16080 (eval echo "\"\$as_me:16080: $lt_compile\"" >&5)
16081 (eval "$lt_compile" 2>out
/conftest.err
)
16083 cat out
/conftest.err
>&5
16084 echo "$as_me:16084: \$? = $ac_status" >&5
16085 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16087 # The compiler can only warn and ignore the option if not recognized
16088 # So say no if there are warnings
16089 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16090 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16091 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16092 lt_cv_prog_compiler_c_o_GCJ
=yes
16097 # SGI C++ compiler will create directory out/ii_files/ for
16098 # template instantiation
16099 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16100 $rm out
/* && rmdir out
16106 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16107 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16110 hard_links
="nottested"
16111 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16112 # do not overwrite the value of need_locks provided by the user
16113 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16114 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16117 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16119 ln conftest.a conftest.b
2>&5 || hard_links
=no
16120 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16121 { echo "$as_me:$LINENO: result: $hard_links" >&5
16122 echo "${ECHO_T}$hard_links" >&6; }
16123 if test "$hard_links" = no
; then
16124 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16125 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16132 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16133 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16136 allow_undefined_flag_GCJ
=
16137 enable_shared_with_static_runtimes_GCJ
=no
16139 archive_expsym_cmds_GCJ
=
16140 old_archive_From_new_cmds_GCJ
=
16141 old_archive_from_expsyms_cmds_GCJ
=
16142 export_dynamic_flag_spec_GCJ
=
16143 whole_archive_flag_spec_GCJ
=
16144 thread_safe_flag_spec_GCJ
=
16145 hardcode_libdir_flag_spec_GCJ
=
16146 hardcode_libdir_flag_spec_ld_GCJ
=
16147 hardcode_libdir_separator_GCJ
=
16148 hardcode_direct_GCJ
=no
16149 hardcode_minus_L_GCJ
=no
16150 hardcode_shlibpath_var_GCJ
=unsupported
16151 link_all_deplibs_GCJ
=unknown
16152 hardcode_automatic_GCJ
=no
16154 module_expsym_cmds_GCJ
=
16155 always_export_symbols_GCJ
=no
16156 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16157 # include_expsyms should be a list of space-separated symbols to be *always*
16158 # included in the symbol list
16159 include_expsyms_GCJ
=
16160 # exclude_expsyms can be an extended regexp of symbols to exclude
16161 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16162 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16163 # as well as any symbol that contains `d'.
16164 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16165 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16166 # platforms (ab)use it in PIC code, but their linkers get confused if
16167 # the symbol is explicitly referenced. Since portable code cannot
16168 # rely on this symbol name, it's probably fine to never include it in
16169 # preloaded symbol tables.
16170 extract_expsyms_cmds
=
16171 # Just being paranoid about ensuring that cc_basename is set.
16172 for cc_temp
in $compiler""; do
16174 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16175 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16180 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16183 cygwin
* | mingw
* | pw32
*)
16184 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16185 # When not using gcc, we currently assume that we are using
16186 # Microsoft Visual C++.
16187 if test "$GCC" != yes; then
16192 # we just hope/assume this is gcc and not c89 (= MSVC++)
16201 if test "$with_gnu_ld" = yes; then
16202 # If archive_cmds runs LD, not CC, wlarc should be empty
16205 # Set some defaults for GNU ld with shared library support. These
16206 # are reset later if shared libraries are not supported. Putting them
16207 # here allows them to be overridden if necessary.
16208 runpath_var
=LD_RUN_PATH
16209 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16210 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16211 # ancient GNU ld didn't support --whole-archive et. al.
16212 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16213 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16215 whole_archive_flag_spec_GCJ
=
16217 supports_anon_versioning
=no
16218 case `$LD -v 2>/dev/null` in
16219 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16220 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16221 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16222 *\
2.11.
*) ;; # other 2.11 versions
16223 *) supports_anon_versioning
=yes ;;
16226 # See if GNU ld supports shared libraries.
16228 aix3
* | aix4
* | aix5
*)
16229 # On AIX/PPC, the GNU linker is very broken
16230 if test "$host_cpu" != ia64
; then
16234 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16235 *** to be unable to reliably create shared libraries on AIX.
16236 *** Therefore, libtool is disabling shared libraries support. If you
16237 *** really care for shared libraries, you may want to modify your PATH
16238 *** so that a non-GNU linker is found, and then restart.
16245 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)'
16246 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16247 hardcode_minus_L_GCJ
=yes
16249 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16250 # that the semantics of dynamic libraries on AmigaOS, at least up
16251 # to version 4, is to share data among multiple programs linked
16252 # with the same dynamic library. Since this doesn't match the
16253 # behavior of shared libraries on other platforms, we can't use
16259 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16260 allow_undefined_flag_GCJ
=unsupported
16261 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16262 # support --undefined. This deserves some investigation. FIXME
16263 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16269 cygwin
* | mingw
* | pw32
*)
16270 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16271 # as there is no search path for DLLs.
16272 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16273 allow_undefined_flag_GCJ
=unsupported
16274 always_export_symbols_GCJ
=no
16275 enable_shared_with_static_runtimes_GCJ
=yes
16276 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16278 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16279 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16280 # If the export-symbols file already is a .def file (1st line
16281 # is EXPORTS), use it as is; otherwise, prepend...
16282 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16283 cp $export_symbols $output_objdir/$soname.def;
16285 echo EXPORTS > $output_objdir/$soname.def;
16286 cat $export_symbols >> $output_objdir/$soname.def;
16288 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16295 hardcode_direct_GCJ
=no
16296 hardcode_shlibpath_var_GCJ
=no
16297 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16298 export_dynamic_flag_spec_GCJ
='${wl}-E'
16299 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16300 # Instead, shared libraries are loaded at an image base (0x10000000 by
16301 # default) and relocated if they conflict, which is a slow very memory
16302 # consuming and fragmenting process. To avoid this, we pick a random,
16303 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16304 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16305 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'
16306 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'
16309 gnu
* | linux
* | k
*bsd
*-gnu)
16310 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16312 case $cc_basename,$host_cpu in
16313 pgcc
*) # Portland Group C compiler
16314 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'
16315 tmp_addflag
=' $pic_flag'
16317 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16318 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'
16319 tmp_addflag
=' $pic_flag -Mnomain' ;;
16320 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16321 tmp_addflag
=' -i_dynamic' ;;
16322 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16323 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16324 ifc
* | ifort
*) # Intel Fortran compiler
16325 tmp_addflag
=' -nofor_main' ;;
16327 case `$CC -V 2>&1 | sed 5q` in
16328 *Sun\ C
*) # Sun C 5.9
16329 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16330 tmp_sharedflag
='-G' ;;
16331 *Sun\ F
*) # Sun Fortran 8.3
16332 tmp_sharedflag
='-G' ;;
16334 tmp_sharedflag
='-shared' ;;
16336 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16338 if test $supports_anon_versioning = yes; then
16339 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16341 $echo "local: *; };" >> $output_objdir/$libname.ver~
16342 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16350 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16351 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16354 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16355 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16360 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16364 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16365 *** create shared libraries on Solaris systems. Therefore, libtool
16366 *** is disabling shared libraries support. We urge you to upgrade GNU
16367 *** binutils to release 2.9.1 or newer. Another option is to modify
16368 *** your PATH or compiler configuration so that the native linker is
16369 *** used, and then restart.
16372 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16373 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16374 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16380 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16381 case `$LD -v 2>&1` in
16382 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16386 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16387 *** reliably create shared libraries on SCO systems. Therefore, libtool
16388 *** is disabling shared libraries support. We urge you to upgrade GNU
16389 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16390 *** your PATH or compiler configuration so that the native linker is
16391 *** used, and then restart.
16396 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16397 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16398 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16399 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16408 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16410 hardcode_direct_GCJ
=yes
16411 hardcode_shlibpath_var_GCJ
=no
16415 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16416 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16417 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16424 if test "$ld_shlibs_GCJ" = no
; then
16426 hardcode_libdir_flag_spec_GCJ
=
16427 export_dynamic_flag_spec_GCJ
=
16428 whole_archive_flag_spec_GCJ
=
16431 # PORTME fill in a description of your system's linker (not GNU ld)
16434 allow_undefined_flag_GCJ
=unsupported
16435 always_export_symbols_GCJ
=yes
16436 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'
16437 # Note: this linker hardcodes the directories in LIBPATH if there
16438 # are no directories specified by -L.
16439 hardcode_minus_L_GCJ
=yes
16440 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16441 # Neither direct hardcoding nor static linking is supported with a
16443 hardcode_direct_GCJ
=unsupported
16448 if test "$host_cpu" = ia64
; then
16449 # On IA64, the linker does run time linking by default, so we don't
16450 # have to do anything special.
16451 aix_use_runtimelinking
=no
16452 exp_sym_flag
='-Bexport'
16455 # If we're using GNU nm, then we don't want the "-C" option.
16456 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16457 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16458 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'
16460 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'
16462 aix_use_runtimelinking
=no
16464 # Test if we are trying to use run time linking or normal
16465 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16466 # need to do runtime linking.
16467 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16468 for ld_flag
in $LDFLAGS; do
16469 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16470 aix_use_runtimelinking
=yes
16477 exp_sym_flag
='-bexport'
16478 no_entry_flag
='-bnoentry'
16481 # When large executables or shared objects are built, AIX ld can
16482 # have problems creating the table of contents. If linking a library
16483 # or program results in "error TOC overflow" add -mminimal-toc to
16484 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16485 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16487 archive_cmds_GCJ
=''
16488 hardcode_direct_GCJ
=yes
16489 hardcode_libdir_separator_GCJ
=':'
16490 link_all_deplibs_GCJ
=yes
16492 if test "$GCC" = yes; then
16493 case $host_os in aix4.
[012]|aix4.
[012].
*)
16494 # We only want to do this on AIX 4.2 and lower, the check
16495 # below for broken collect2 doesn't work under 4.3+
16496 collect2name
=`${CC} -print-prog-name=collect2`
16497 if test -f "$collect2name" && \
16498 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16500 # We have reworked collect2
16503 # We have old collect2
16504 hardcode_direct_GCJ
=unsupported
16505 # It fails to find uninstalled libraries when the uninstalled
16506 # path is not listed in the libpath. Setting hardcode_minus_L
16507 # to unsupported forces relinking
16508 hardcode_minus_L_GCJ
=yes
16509 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16510 hardcode_libdir_separator_GCJ
=
16514 shared_flag
='-shared'
16515 if test "$aix_use_runtimelinking" = yes; then
16516 shared_flag
="$shared_flag "'${wl}-G'
16520 if test "$host_cpu" = ia64
; then
16521 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16522 # chokes on -Wl,-G. The following line is correct:
16525 if test "$aix_use_runtimelinking" = yes; then
16526 shared_flag
='${wl}-G'
16528 shared_flag
='${wl}-bM:SRE'
16533 # It seems that -bexpall does not export symbols beginning with
16534 # underscore (_), so it is better to generate a list of symbols to export.
16535 always_export_symbols_GCJ
=yes
16536 if test "$aix_use_runtimelinking" = yes; then
16537 # Warning - without using the other runtime loading flags (-brtl),
16538 # -berok will link without error, but may produce a broken library.
16539 allow_undefined_flag_GCJ
='-berok'
16540 # Determine the default libpath from the value encoded in an empty executable.
16541 cat >conftest.
$ac_ext <<_ACEOF
16544 cat confdefs.h
>>conftest.
$ac_ext
16545 cat >>conftest.
$ac_ext <<_ACEOF
16546 /* end confdefs.h. */
16556 rm -f conftest.
$ac_objext conftest
$ac_exeext
16557 if { (ac_try
="$ac_link"
16558 case "(($ac_try" in
16559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16560 *) ac_try_echo=$ac_try;;
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_link") 2>conftest.er1
16565 grep -v '^ *+' conftest.er1 >conftest.err
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } && {
16570 test -z "$ac_c_werror_flag" ||
16571 test ! -s conftest.err
16572 } && test -s conftest$ac_exeext &&
16573 $as_test_x conftest$ac_exeext; then
16575 lt_aix_libpath_sed='
16576 /Import File Strings/,/^$/ {
16582 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16583 # Check for a 64-bit object if we didn't find anything.
16584 if test -z "$aix_libpath"; then
16585 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16595 conftest$ac_exeext conftest.$ac_ext
16596 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16598 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
16599 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"
16601 if test "$host_cpu" = ia64; then
16602 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
16603 allow_undefined_flag_GCJ="-z nodefs"
16604 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"
16606 # Determine the default libpath from the value encoded in an empty executable.
16607 cat >conftest.$ac_ext <<_ACEOF
16610 cat confdefs.h >>conftest.$ac_ext
16611 cat >>conftest.$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16622 rm -f conftest.$ac_objext conftest$ac_exeext
16623 if { (ac_try="$ac_link"
16624 case "(($ac_try" in
16625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16626 *) ac_try_echo
=$ac_try;;
16628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16629 (eval "$ac_link") 2>conftest.er1
16631 grep -v '^ *+' conftest.er1
>conftest.err
16633 cat conftest.err
>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } && {
16636 test -z "$ac_c_werror_flag" ||
16637 test ! -s conftest.err
16638 } && test -s conftest
$ac_exeext &&
16639 $as_test_x conftest
$ac_exeext; then
16641 lt_aix_libpath_sed
='
16642 /Import File Strings/,/^$/ {
16648 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16649 # Check for a 64-bit object if we didn't find anything.
16650 if test -z "$aix_libpath"; then
16651 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16661 conftest
$ac_exeext conftest.
$ac_ext
16662 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16664 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16665 # Warning - without using the other run time loading flags,
16666 # -berok will link without error, but may produce a broken library.
16667 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16668 allow_undefined_flag_GCJ
=' ${wl}-berok'
16669 # Exported symbols can be pulled into shared objects from archives
16670 whole_archive_flag_spec_GCJ
='$convenience'
16671 archive_cmds_need_lc_GCJ
=yes
16672 # This is similar to how AIX traditionally builds its shared libraries.
16673 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'
16679 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)'
16680 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16681 hardcode_minus_L_GCJ
=yes
16682 # see comment about different semantics on the GNU ld section
16687 export_dynamic_flag_spec_GCJ
=-rdynamic
16690 cygwin
* | mingw
* | pw32
*)
16691 # When not using gcc, we currently assume that we are using
16692 # Microsoft Visual C++.
16693 # hardcode_libdir_flag_spec is actually meaningless, as there is
16694 # no search path for DLLs.
16695 hardcode_libdir_flag_spec_GCJ
=' '
16696 allow_undefined_flag_GCJ
=unsupported
16697 # Tell ltmain to make .lib files, not .a files.
16699 # Tell ltmain to make .dll files, not .so files.
16701 # FIXME: Setting linknames here is a bad hack.
16702 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16703 # The linker will automatically build a .lib file if we build a DLL.
16704 old_archive_From_new_cmds_GCJ
='true'
16705 # FIXME: Should let the user specify the lib program.
16706 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16707 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16708 enable_shared_with_static_runtimes_GCJ
=yes
16711 darwin
* | rhapsody
*)
16713 rhapsody
* | darwin1.
[012])
16714 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16717 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16718 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16720 case ${MACOSX_DEPLOYMENT_TARGET} in
16722 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16725 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16731 archive_cmds_need_lc_GCJ
=no
16732 hardcode_direct_GCJ
=no
16733 hardcode_automatic_GCJ
=yes
16734 hardcode_shlibpath_var_GCJ
=unsupported
16735 whole_archive_flag_spec_GCJ
=''
16736 link_all_deplibs_GCJ
=yes
16737 if test "$GCC" = yes ; then
16738 output_verbose_link_cmd
='echo'
16739 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16740 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16741 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16742 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}'
16743 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}'
16745 case $cc_basename in
16747 output_verbose_link_cmd
='echo'
16748 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16749 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16750 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16751 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16752 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}'
16762 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16763 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16764 hardcode_shlibpath_var_GCJ
=no
16771 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16772 # support. Future versions do this automatically, but an explicit c++rt0.o
16773 # does not break anything, and helps significantly (at the cost of a little
16776 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16777 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16778 hardcode_direct_GCJ
=yes
16779 hardcode_shlibpath_var_GCJ
=no
16782 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16784 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16785 hardcode_direct_GCJ
=yes
16786 hardcode_minus_L_GCJ
=yes
16787 hardcode_shlibpath_var_GCJ
=no
16790 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16791 freebsd
* | dragonfly
*)
16792 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16793 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16794 hardcode_direct_GCJ
=yes
16795 hardcode_shlibpath_var_GCJ
=no
16799 if test "$GCC" = yes; then
16800 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'
16802 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'
16804 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16805 hardcode_libdir_separator_GCJ
=:
16806 hardcode_direct_GCJ
=yes
16808 # hardcode_minus_L: Not really in the search PATH,
16809 # but as the default location of the library.
16810 hardcode_minus_L_GCJ
=yes
16811 export_dynamic_flag_spec_GCJ
='${wl}-E'
16815 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16816 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16818 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16820 if test "$with_gnu_ld" = no
; then
16821 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16822 hardcode_libdir_separator_GCJ
=:
16824 hardcode_direct_GCJ
=yes
16825 export_dynamic_flag_spec_GCJ
='${wl}-E'
16827 # hardcode_minus_L: Not really in the search PATH,
16828 # but as the default location of the library.
16829 hardcode_minus_L_GCJ
=yes
16834 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16837 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16840 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16843 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16849 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16852 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16855 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16859 if test "$with_gnu_ld" = no
; then
16860 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16861 hardcode_libdir_separator_GCJ
=:
16865 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16866 hardcode_direct_GCJ
=no
16867 hardcode_shlibpath_var_GCJ
=no
16870 hardcode_direct_GCJ
=yes
16871 export_dynamic_flag_spec_GCJ
='${wl}-E'
16873 # hardcode_minus_L: Not really in the search PATH,
16874 # but as the default location of the library.
16875 hardcode_minus_L_GCJ
=yes
16881 irix5
* | irix6
* | nonstopux
*)
16882 if test "$GCC" = yes; then
16883 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'
16885 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'
16886 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
16888 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16889 hardcode_libdir_separator_GCJ
=:
16890 link_all_deplibs_GCJ
=yes
16894 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16895 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16897 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16899 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16900 hardcode_direct_GCJ
=yes
16901 hardcode_shlibpath_var_GCJ
=no
16905 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16906 hardcode_direct_GCJ
=yes
16907 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16908 hardcode_libdir_separator_GCJ
=:
16909 hardcode_shlibpath_var_GCJ
=no
16913 if test -f /usr
/libexec
/ld.so
; then
16914 hardcode_direct_GCJ
=yes
16915 hardcode_shlibpath_var_GCJ
=no
16916 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16917 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16918 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16919 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16920 export_dynamic_flag_spec_GCJ
='${wl}-E'
16923 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
16924 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16925 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16928 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16929 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16939 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16940 hardcode_minus_L_GCJ
=yes
16941 allow_undefined_flag_GCJ
=unsupported
16942 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'
16943 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16947 if test "$GCC" = yes; then
16948 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16949 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'
16951 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16952 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'
16954 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16955 hardcode_libdir_separator_GCJ
=:
16958 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16959 if test "$GCC" = yes; then
16960 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
16961 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'
16962 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16964 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
16965 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'
16966 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~
16967 $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'
16969 # Both c and cxx compiler support -rpath directly
16970 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
16972 hardcode_libdir_separator_GCJ
=:
16976 no_undefined_flag_GCJ
=' -z text'
16977 if test "$GCC" = yes; then
16979 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16980 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16981 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16984 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16985 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16986 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16988 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16989 hardcode_shlibpath_var_GCJ
=no
16991 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16993 # The compiler driver will combine and reorder linker options,
16994 # but understands `-z linker_flag'. GCC discards it without `$wl',
16995 # but is careful enough not to reorder.
16996 # Supported since Solaris 2.6 (maybe 2.5.1?)
16997 if test "$GCC" = yes; then
16998 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17000 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17004 link_all_deplibs_GCJ
=yes
17008 if test "x$host_vendor" = xsequent
; then
17009 # Use $CC to link under sequent, because it throws in some extra .o
17010 # files that make .init and .fini sections work.
17011 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17013 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17015 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17016 hardcode_direct_GCJ
=yes
17017 hardcode_minus_L_GCJ
=yes
17018 hardcode_shlibpath_var_GCJ
=no
17022 case $host_vendor in
17024 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17025 hardcode_direct_GCJ
=yes # is this really true???
17028 ## LD is ld it makes a PLAMLIB
17029 ## CC just makes a GrossModule.
17030 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17031 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17032 hardcode_direct_GCJ
=no
17035 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17036 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17039 runpath_var
='LD_RUN_PATH'
17040 hardcode_shlibpath_var_GCJ
=no
17044 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17045 hardcode_shlibpath_var_GCJ
=no
17046 export_dynamic_flag_spec_GCJ
='-Bexport'
17050 if test -d /usr
/nec
; then
17051 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17052 hardcode_shlibpath_var_GCJ
=no
17053 runpath_var
=LD_RUN_PATH
17054 hardcode_runpath_var
=yes
17059 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17060 no_undefined_flag_GCJ
='${wl}-z,text'
17061 archive_cmds_need_lc_GCJ
=no
17062 hardcode_shlibpath_var_GCJ
=no
17063 runpath_var
='LD_RUN_PATH'
17065 if test "$GCC" = yes; then
17066 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17067 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17069 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17070 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17074 sysv5
* | sco3.2v5
* | sco5v6
*)
17075 # Note: We can NOT use -z defs as we might desire, because we do not
17076 # link with -lc, and that would cause any symbols used from libc to
17077 # always be unresolved, which means just about no library would
17078 # ever link correctly. If we're not using GNU ld we use -z text
17079 # though, which does catch some bad symbols but isn't as heavy-handed
17081 no_undefined_flag_GCJ
='${wl}-z,text'
17082 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17083 archive_cmds_need_lc_GCJ
=no
17084 hardcode_shlibpath_var_GCJ
=no
17085 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17086 hardcode_libdir_separator_GCJ
=':'
17087 link_all_deplibs_GCJ
=yes
17088 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17089 runpath_var
='LD_RUN_PATH'
17091 if test "$GCC" = yes; then
17092 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17093 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17095 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17096 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17101 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17102 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17103 hardcode_shlibpath_var_GCJ
=no
17112 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17113 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17114 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17117 # Do we need to explicitly link libc?
17119 case "x$archive_cmds_need_lc_GCJ" in
17121 # Assume -lc should be added
17122 archive_cmds_need_lc_GCJ
=yes
17124 if test "$enable_shared" = yes && test "$GCC" = yes; then
17125 case $archive_cmds_GCJ in
17127 # FIXME: we may have to deal with multi-command sequences.
17130 # Test whether the compiler implicitly links with -lc since on some
17131 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17132 # to ld, don't add -lc before -lgcc.
17133 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17134 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17136 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17139 (eval $ac_compile) 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } 2>conftest.err
; then
17145 libobjs
=conftest.
$ac_objext
17147 wl
=$lt_prog_compiler_wl_GCJ
17148 pic_flag
=$lt_prog_compiler_pic_GCJ
17154 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17155 allow_undefined_flag_GCJ
=
17156 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17157 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }
17162 archive_cmds_need_lc_GCJ
=no
17164 archive_cmds_need_lc_GCJ
=yes
17166 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17168 cat conftest.err
1>&5
17171 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17172 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17179 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17180 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17181 library_names_spec
=
17182 libname_spec
='lib$name'
17186 postuninstall_cmds
=
17190 shlibpath_overrides_runpath
=unknown
17192 dynamic_linker
="$host_os ld.so"
17193 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17195 need_lib_prefix
=unknown
17196 hardcode_into_libs
=no
17198 # when you set need_version to no, make sure it does not cause -set_version
17199 # flags to be left without arguments
17200 need_version
=unknown
17205 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17206 shlibpath_var
=LIBPATH
17208 # AIX 3 has no versioning support, so we append a major version to the name.
17209 soname_spec
='${libname}${release}${shared_ext}$major'
17216 hardcode_into_libs
=yes
17217 if test "$host_cpu" = ia64
; then
17218 # AIX 5 supports IA64
17219 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17220 shlibpath_var
=LD_LIBRARY_PATH
17222 # With GCC up to 2.95.x, collect2 would create an import file
17223 # for dependence libraries. The import file would start with
17224 # the line `#! .'. This would cause the generated library to
17225 # depend on `.', always an invalid library. This was fixed in
17226 # development snapshots of GCC prior to 3.0.
17228 aix4 | aix4.
[01] | aix4.
[01].
*)
17229 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17231 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17234 can_build_shared
=no
17238 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17239 # soname into executable. Probably we can add versioning support to
17240 # collect2, so additional links can be useful in future.
17241 if test "$aix_use_runtimelinking" = yes; then
17242 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17243 # instead of lib<name>.a to let people know that these are not
17244 # typical AIX shared libraries.
17245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17247 # We preserve .a as extension for shared libraries through AIX4.2
17248 # and later when we are not doing run time linking.
17249 library_names_spec
='${libname}${release}.a $libname.a'
17250 soname_spec
='${libname}${release}${shared_ext}$major'
17252 shlibpath_var
=LIBPATH
17257 library_names_spec
='$libname.ixlibrary $libname.a'
17258 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17259 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'
17263 library_names_spec
='${libname}${shared_ext}'
17264 dynamic_linker
="$host_os ld.so"
17265 shlibpath_var
=LIBRARY_PATH
17271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17272 soname_spec
='${libname}${release}${shared_ext}$major'
17273 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17274 shlibpath_var
=LD_LIBRARY_PATH
17275 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17276 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17277 # the default ld.so.conf also contains /usr/contrib/lib and
17278 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17279 # libtool to hard-code these into programs
17282 cygwin
* | mingw
* | pw32
*)
17283 version_type
=windows
17288 case $GCC,$host_os in
17289 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17290 library_names_spec
='$libname.dll.a'
17291 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17292 postinstall_cmds
='base_file=`basename \${file}`~
17293 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17294 dldir=$destdir/`dirname \$dlpath`~
17295 test -d \$dldir || mkdir -p \$dldir~
17296 $install_prog $dir/$dlname \$dldir/$dlname~
17297 chmod a+x \$dldir/$dlname'
17298 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17299 dlpath=$dir/\$dldll~
17301 shlibpath_overrides_runpath
=yes
17305 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17306 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17307 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17310 # MinGW DLLs use traditional 'lib' prefix
17311 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17312 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17313 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17314 # It is most probably a Windows format PATH printed by
17315 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17316 # path with ; separators, and with drive letters. We can handle the
17317 # drive letters (cygwin fileutils understands them), so leave them,
17318 # especially as we might pass files found there to a mingw objdump,
17319 # which wouldn't understand a cygwinified path. Ahh.
17320 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17322 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17326 # pw32 DLLs use 'pw' prefix rather than 'lib'
17327 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17333 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17336 dynamic_linker
='Win32 ld.exe'
17337 # FIXME: first we should search . and the directory the executable is in
17341 darwin
* | rhapsody
*)
17342 dynamic_linker
="$host_os dyld"
17343 version_type
=darwin
17346 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17347 soname_spec
='${libname}${release}${major}$shared_ext'
17348 shlibpath_overrides_runpath
=yes
17349 shlibpath_var
=DYLD_LIBRARY_PATH
17350 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17352 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17360 soname_spec
='${libname}${release}${shared_ext}$major'
17361 shlibpath_var
=LD_LIBRARY_PATH
17368 freebsd
* | dragonfly
*)
17369 # DragonFly does not have aout. When/if they implement a new
17370 # versioning mechanism, adjust this.
17371 if test -x /usr
/bin
/objformat
; then
17372 objformat
=`/usr/bin/objformat`
17375 freebsd
[123]*) objformat
=aout
;;
17376 *) objformat
=elf
;;
17379 version_type
=freebsd-
$objformat
17380 case $version_type in
17382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17387 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17391 shlibpath_var
=LD_LIBRARY_PATH
17394 shlibpath_overrides_runpath
=yes
17396 freebsd3.
[01]* | freebsdelf3.
[01]*)
17397 shlibpath_overrides_runpath
=yes
17398 hardcode_into_libs
=yes
17400 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17401 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17402 shlibpath_overrides_runpath
=no
17403 hardcode_into_libs
=yes
17405 *) # from 4.6 on, and DragonFly
17406 shlibpath_overrides_runpath
=yes
17407 hardcode_into_libs
=yes
17416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17417 soname_spec
='${libname}${release}${shared_ext}$major'
17418 shlibpath_var
=LD_LIBRARY_PATH
17419 hardcode_into_libs
=yes
17422 hpux9
* | hpux10
* | hpux11
*)
17423 # Give a soname corresponding to the major version so that dld.sl refuses to
17424 # link against other versions.
17431 hardcode_into_libs
=yes
17432 dynamic_linker
="$host_os dld.so"
17433 shlibpath_var
=LD_LIBRARY_PATH
17434 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17436 soname_spec
='${libname}${release}${shared_ext}$major'
17437 if test "X$HPUX_IA64_MODE" = X32
; then
17438 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17440 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17442 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17446 hardcode_into_libs
=yes
17447 dynamic_linker
="$host_os dld.sl"
17448 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17449 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17451 soname_spec
='${libname}${release}${shared_ext}$major'
17452 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17453 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17457 dynamic_linker
="$host_os dld.sl"
17458 shlibpath_var
=SHLIB_PATH
17459 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17461 soname_spec
='${libname}${release}${shared_ext}$major'
17464 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17465 postinstall_cmds
='chmod 555 $lib'
17472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17473 soname_spec
='${libname}${release}${shared_ext}$major'
17474 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17475 shlibpath_var
=LD_LIBRARY_PATH
17476 shlibpath_overrides_runpath
=no
17477 hardcode_into_libs
=yes
17480 irix5
* | irix6
* | nonstopux
*)
17482 nonstopux
*) version_type
=nonstopux
;;
17484 if test "$lt_cv_prog_gnu_ld" = yes; then
17492 soname_spec
='${libname}${release}${shared_ext}$major'
17493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17495 irix5
* | nonstopux
*)
17496 libsuff
= shlibsuff
=
17499 case $LD in # libtool.m4 will add one of these switches to LD
17500 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17501 libsuff
= shlibsuff
= libmagic
=32-bit;;
17502 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17503 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17504 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17505 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17506 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17510 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17511 shlibpath_overrides_runpath
=no
17512 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17513 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17514 hardcode_into_libs
=yes
17517 # No shared lib support for Linux oldld, aout, or coff.
17518 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17522 # This must be Linux ELF.
17523 linux
* | k
*bsd
*-gnu)
17527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17528 soname_spec
='${libname}${release}${shared_ext}$major'
17529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17530 shlibpath_var
=LD_LIBRARY_PATH
17531 shlibpath_overrides_runpath
=no
17532 # This implies no fast_install, which is unacceptable.
17533 # Some rework will be needed to allow for fast_install
17534 # before this can be enabled.
17535 hardcode_into_libs
=yes
17537 # Append ld.so.conf contents to the search path
17538 if test -f /etc
/ld.so.conf
; then
17539 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17540 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17543 # We used to test for /lib/ld.so.1 and disable shared libraries on
17544 # powerpc, because MkLinux only supported shared libraries with the
17545 # GNU dynamic linker. Since this was broken with cross compilers,
17546 # most powerpc-linux boxes support dynamic linking these days and
17547 # people can always --disable-shared, the test was removed, and we
17548 # assume the GNU/Linux dynamic linker is in use.
17549 dynamic_linker
='GNU/Linux ld.so'
17556 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17558 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17559 dynamic_linker
='NetBSD (a.out) ld.so'
17561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17562 soname_spec
='${libname}${release}${shared_ext}$major'
17563 dynamic_linker
='NetBSD ld.elf_so'
17565 shlibpath_var
=LD_LIBRARY_PATH
17566 shlibpath_overrides_runpath
=yes
17567 hardcode_into_libs
=yes
17572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17573 shlibpath_var
=LD_LIBRARY_PATH
17574 shlibpath_overrides_runpath
=yes
17581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17582 soname_spec
='${libname}${release}${shared_ext}$major'
17583 shlibpath_var
=LD_LIBRARY_PATH
17584 shlibpath_overrides_runpath
=yes
17589 sys_lib_dlsearch_path_spec
="/usr/lib"
17591 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17593 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17594 *) need_version
=no
;;
17596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17598 shlibpath_var
=LD_LIBRARY_PATH
17599 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17601 openbsd2.
[89] | openbsd2.
[89].
*)
17602 shlibpath_overrides_runpath
=no
17605 shlibpath_overrides_runpath
=yes
17609 shlibpath_overrides_runpath
=yes
17614 libname_spec
='$name'
17617 library_names_spec
='$libname${shared_ext} $libname.a'
17618 dynamic_linker
='OS/2 ld.exe'
17619 shlibpath_var
=LIBPATH
17622 osf3
* | osf4
* | osf5
*)
17626 soname_spec
='${libname}${release}${shared_ext}$major'
17627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17628 shlibpath_var
=LD_LIBRARY_PATH
17629 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17630 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17642 soname_spec
='${libname}${release}${shared_ext}$major'
17643 shlibpath_var
=LD_LIBRARY_PATH
17644 shlibpath_overrides_runpath
=yes
17645 hardcode_into_libs
=yes
17646 # ldd complains unless libraries are executable
17647 postinstall_cmds
='chmod +x $lib'
17652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17653 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17654 shlibpath_var
=LD_LIBRARY_PATH
17655 shlibpath_overrides_runpath
=yes
17656 if test "$with_gnu_ld" = yes; then
17664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17665 soname_spec
='${libname}${release}${shared_ext}$major'
17666 shlibpath_var
=LD_LIBRARY_PATH
17667 case $host_vendor in
17669 shlibpath_overrides_runpath
=no
17671 export_dynamic_flag_spec
='${wl}-Blargedynsym'
17672 runpath_var
=LD_RUN_PATH
17680 shlibpath_overrides_runpath
=no
17681 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17687 if test -d /usr
/nec
;then
17689 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17690 soname_spec
='$libname${shared_ext}.$major'
17691 shlibpath_var
=LD_LIBRARY_PATH
17695 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17696 version_type
=freebsd-elf
17699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17700 soname_spec
='${libname}${release}${shared_ext}$major'
17701 shlibpath_var
=LD_LIBRARY_PATH
17702 hardcode_into_libs
=yes
17703 if test "$with_gnu_ld" = yes; then
17704 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17705 shlibpath_overrides_runpath
=no
17707 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17708 shlibpath_overrides_runpath
=yes
17711 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17715 sys_lib_dlsearch_path_spec
='/usr/lib'
17720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17721 soname_spec
='${libname}${release}${shared_ext}$major'
17722 shlibpath_var
=LD_LIBRARY_PATH
17729 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17730 echo "${ECHO_T}$dynamic_linker" >&6; }
17731 test "$dynamic_linker" = no
&& can_build_shared
=no
17733 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17734 if test "$GCC" = yes; then
17735 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17738 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17739 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17740 hardcode_action_GCJ
=
17741 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17742 test -n "$runpath_var_GCJ" || \
17743 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17745 # We can hardcode non-existant directories.
17746 if test "$hardcode_direct_GCJ" != no
&&
17747 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17748 # have to relink, otherwise we might link with an installed library
17749 # when we should be linking with a yet-to-be-installed one
17750 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
17751 test "$hardcode_minus_L_GCJ" != no
; then
17752 # Linking always hardcodes the temporary library directory.
17753 hardcode_action_GCJ
=relink
17755 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17756 hardcode_action_GCJ
=immediate
17759 # We cannot hardcode anything, or else we can only hardcode existing
17761 hardcode_action_GCJ
=unsupported
17763 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17764 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17766 if test "$hardcode_action_GCJ" = relink
; then
17767 # Fast installation is not supported
17768 enable_fast_install
=no
17769 elif test "$shlibpath_overrides_runpath" = yes ||
17770 test "$enable_shared" = no
; then
17771 # Fast installation is not necessary
17772 enable_fast_install
=needless
17776 # The else clause should only fire when bootstrapping the
17777 # libtool distribution, otherwise you forgot to ship ltmain.sh
17778 # with your package, and you will get complaints that there are
17779 # no rules to generate ltmain.sh.
17780 if test -f "$ltmain"; then
17781 # See if we are running on zsh, and set the options which allow our commands through
17782 # without removal of \ escapes.
17783 if test -n "${ZSH_VERSION+set}" ; then
17784 setopt NO_GLOB_SUBST
17786 # Now quote all the things that may contain metacharacters while being
17787 # careful not to overquote the AC_SUBSTed values. We take copies of the
17788 # variables and quote the copies for generation of the libtool script.
17789 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17791 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17792 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17793 deplibs_check_method reload_flag reload_cmds need_locks \
17794 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17795 lt_cv_sys_global_symbol_to_c_name_address \
17796 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17797 old_postinstall_cmds old_postuninstall_cmds \
17801 lt_prog_compiler_wl_GCJ \
17802 lt_prog_compiler_pic_GCJ \
17803 lt_prog_compiler_static_GCJ \
17804 lt_prog_compiler_no_builtin_flag_GCJ \
17805 export_dynamic_flag_spec_GCJ \
17806 thread_safe_flag_spec_GCJ \
17807 whole_archive_flag_spec_GCJ \
17808 enable_shared_with_static_runtimes_GCJ \
17809 old_archive_cmds_GCJ \
17810 old_archive_from_new_cmds_GCJ \
17811 predep_objects_GCJ \
17812 postdep_objects_GCJ \
17815 compiler_lib_search_path_GCJ \
17817 archive_expsym_cmds_GCJ \
17818 postinstall_cmds_GCJ \
17819 postuninstall_cmds_GCJ \
17820 old_archive_from_expsyms_cmds_GCJ \
17821 allow_undefined_flag_GCJ \
17822 no_undefined_flag_GCJ \
17823 export_symbols_cmds_GCJ \
17824 hardcode_libdir_flag_spec_GCJ \
17825 hardcode_libdir_flag_spec_ld_GCJ \
17826 hardcode_libdir_separator_GCJ \
17827 hardcode_automatic_GCJ \
17829 module_expsym_cmds_GCJ \
17830 lt_cv_prog_compiler_c_o_GCJ \
17831 fix_srcfile_path_GCJ \
17832 exclude_expsyms_GCJ \
17833 include_expsyms_GCJ
; do
17836 old_archive_cmds_GCJ | \
17837 old_archive_from_new_cmds_GCJ | \
17838 archive_cmds_GCJ | \
17839 archive_expsym_cmds_GCJ | \
17840 module_cmds_GCJ | \
17841 module_expsym_cmds_GCJ | \
17842 old_archive_from_expsyms_cmds_GCJ | \
17843 export_symbols_cmds_GCJ | \
17844 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17845 postinstall_cmds | postuninstall_cmds | \
17846 old_postinstall_cmds | old_postuninstall_cmds | \
17847 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
17848 # Double-quote double-evaled strings.
17849 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17852 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17858 *'\$0 --fallback-echo"')
17859 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17865 cat <<__EOF__ >> "$cfgfile"
17866 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17868 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17870 # Shell to use when invoking shell scripts.
17873 # Whether or not to build shared libraries.
17874 build_libtool_libs=$enable_shared
17876 # Whether or not to build static libraries.
17877 build_old_libs=$enable_static
17879 # Whether or not to add -lc for building shared libraries.
17880 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17882 # Whether or not to disallow shared libs when runtime libs are static
17883 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17885 # Whether or not to optimize for fast installation.
17886 fast_install=$enable_fast_install
17889 host_alias=$host_alias
17893 # The build system.
17894 build_alias=$build_alias
17898 # An echo program that does not interpret backslashes.
17903 AR_FLAGS=$lt_AR_FLAGS
17908 # LTCC compiler flags.
17909 LTCFLAGS=$lt_LTCFLAGS
17911 # A language-specific compiler.
17912 CC=$lt_compiler_GCJ
17914 # Is the compiler the GNU C compiler?
17920 # The linker used to build libraries.
17923 # Whether we need hard or soft links.
17926 # A BSD-compatible nm program.
17929 # A symbol stripping program
17932 # Used to examine libraries when file_magic_cmd begins "file"
17933 MAGIC_CMD=$MAGIC_CMD
17935 # Used on cygwin: DLL creation program.
17938 # Used on cygwin: object dumper.
17941 # Used on cygwin: assembler.
17944 # The name of the directory that contains temporary libtool files.
17947 # How to create reloadable object files.
17948 reload_flag=$lt_reload_flag
17949 reload_cmds=$lt_reload_cmds
17951 # How to pass a linker flag through the compiler.
17952 wl=$lt_lt_prog_compiler_wl_GCJ
17954 # Object file suffix (normally "o").
17955 objext="$ac_objext"
17957 # Old archive suffix (normally "a").
17960 # Shared library suffix (normally ".so").
17961 shrext_cmds='$shrext_cmds'
17963 # Executable file suffix (normally "").
17966 # Additional compiler flags for building library objects.
17967 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17970 # What is the maximum length of a command?
17971 max_cmd_len=$lt_cv_sys_max_cmd_len
17973 # Does compiler simultaneously support -c and -o options?
17974 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17976 # Must we lock files when doing compilation?
17977 need_locks=$lt_need_locks
17979 # Do we need the lib prefix for modules?
17980 need_lib_prefix=$need_lib_prefix
17982 # Do we need a version for libraries?
17983 need_version=$need_version
17985 # Whether dlopen is supported.
17986 dlopen_support=$enable_dlopen
17988 # Whether dlopen of programs is supported.
17989 dlopen_self=$enable_dlopen_self
17991 # Whether dlopen of statically linked programs is supported.
17992 dlopen_self_static=$enable_dlopen_self_static
17994 # Compiler flag to prevent dynamic linking.
17995 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17997 # Compiler flag to turn off builtin functions.
17998 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18000 # Compiler flag to allow reflexive dlopens.
18001 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18003 # Compiler flag to generate shared objects directly from archives.
18004 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18006 # Compiler flag to generate thread-safe objects.
18007 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18009 # Library versioning type.
18010 version_type=$version_type
18012 # Format of library name prefix.
18013 libname_spec=$lt_libname_spec
18015 # List of archive names. First name is the real one, the rest are links.
18016 # The last name is the one that the linker finds with -lNAME.
18017 library_names_spec=$lt_library_names_spec
18019 # The coded name of the library, if different from the real name.
18020 soname_spec=$lt_soname_spec
18022 # Commands used to build and install an old-style archive.
18024 old_archive_cmds=$lt_old_archive_cmds_GCJ
18025 old_postinstall_cmds=$lt_old_postinstall_cmds
18026 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18028 # Create an old-style archive from a shared archive.
18029 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18031 # Create a temporary old-style archive to link instead of a shared archive.
18032 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18034 # Commands used to build and install a shared archive.
18035 archive_cmds=$lt_archive_cmds_GCJ
18036 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18037 postinstall_cmds=$lt_postinstall_cmds
18038 postuninstall_cmds=$lt_postuninstall_cmds
18040 # Commands used to build a loadable module (assumed same as above if empty)
18041 module_cmds=$lt_module_cmds_GCJ
18042 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18044 # Commands to strip libraries.
18045 old_striplib=$lt_old_striplib
18046 striplib=$lt_striplib
18048 # Dependencies to place before the objects being linked to create a
18050 predep_objects=$lt_predep_objects_GCJ
18052 # Dependencies to place after the objects being linked to create a
18054 postdep_objects=$lt_postdep_objects_GCJ
18056 # Dependencies to place before the objects being linked to create a
18058 predeps=$lt_predeps_GCJ
18060 # Dependencies to place after the objects being linked to create a
18062 postdeps=$lt_postdeps_GCJ
18064 # The library search path used internally by the compiler when linking
18065 # a shared library.
18066 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18068 # Method to check whether dependent libraries are shared objects.
18069 deplibs_check_method=$lt_deplibs_check_method
18071 # Command to use when deplibs_check_method == file_magic.
18072 file_magic_cmd=$lt_file_magic_cmd
18074 # Flag that allows shared libraries with undefined symbols to be built.
18075 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18077 # Flag that forces no undefined symbols.
18078 no_undefined_flag=$lt_no_undefined_flag_GCJ
18080 # Commands used to finish a libtool library installation in a directory.
18081 finish_cmds=$lt_finish_cmds
18083 # Same as above, but a single script fragment to be evaled but not shown.
18084 finish_eval=$lt_finish_eval
18086 # Take the output of nm and produce a listing of raw symbols and C names.
18087 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18089 # Transform the output of nm in a proper C declaration
18090 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18092 # Transform the output of nm in a C name address pair
18093 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18095 # This is the shared library runtime path variable.
18096 runpath_var=$runpath_var
18098 # This is the shared library path variable.
18099 shlibpath_var=$shlibpath_var
18101 # Is shlibpath searched before the hard-coded library search path?
18102 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18104 # How to hardcode a shared library path into an executable.
18105 hardcode_action=$hardcode_action_GCJ
18107 # Whether we should hardcode library paths into libraries.
18108 hardcode_into_libs=$hardcode_into_libs
18110 # Flag to hardcode \$libdir into a binary during linking.
18111 # This must work even if \$libdir does not exist.
18112 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18114 # If ld is used when linking, flag to hardcode \$libdir into
18115 # a binary during linking. This must work even if \$libdir does
18117 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18119 # Whether we need a single -rpath flag with a separated argument.
18120 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18122 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18123 # resulting binary.
18124 hardcode_direct=$hardcode_direct_GCJ
18126 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18127 # resulting binary.
18128 hardcode_minus_L=$hardcode_minus_L_GCJ
18130 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18131 # the resulting binary.
18132 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18134 # Set to yes if building a shared library automatically hardcodes DIR into the library
18135 # and all subsequent libraries and executables linked against it.
18136 hardcode_automatic=$hardcode_automatic_GCJ
18138 # Variables whose values should be saved in libtool wrapper scripts and
18139 # restored at relink time.
18140 variables_saved_for_relink="$variables_saved_for_relink"
18142 # Whether libtool must link a program against all its dependency libraries.
18143 link_all_deplibs=$link_all_deplibs_GCJ
18145 # Compile-time system search path for libraries
18146 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18148 # Run-time system search path for libraries
18149 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18151 # Fix the shell variable \$srcfile for the compiler.
18152 fix_srcfile_path=$lt_fix_srcfile_path
18154 # Set to yes if exported symbols are required.
18155 always_export_symbols=$always_export_symbols_GCJ
18157 # The commands to list exported symbols.
18158 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18160 # The commands to extract the exported symbol list from a shared archive.
18161 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18163 # Symbols that should not be listed in the preloaded symbols.
18164 exclude_expsyms=$lt_exclude_expsyms_GCJ
18166 # Symbols that must always be exported.
18167 include_expsyms=$lt_include_expsyms_GCJ
18169 # ### END LIBTOOL TAG CONFIG: $tagname
18175 # If there is no Makefile yet, we rely on a make rule to execute
18176 # `config.status --recheck' to rerun these tests and create the
18177 # libtool script then.
18178 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18179 if test -f "$ltmain_in"; then
18180 test -f Makefile
&& make "$ltmain"
18186 ac_cpp
='$CPP $CPPFLAGS'
18187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18201 # Source file extension for RC test sources.
18204 # Object file extension for compiled RC test sources.
18208 # Code to be used in simple compile tests
18209 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18211 # Code to be used in simple link tests
18212 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18214 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18216 # If no C compiler was specified, use CC.
18219 # If no C compiler flags were specified, use CFLAGS.
18220 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18222 # Allow CC to be a program name with arguments.
18226 # save warnings/boilerplate of simple test code
18227 ac_outfile
=conftest.
$ac_objext
18228 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18229 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18230 _lt_compiler_boilerplate
=`cat conftest.err`
18233 ac_outfile
=conftest.
$ac_objext
18234 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18235 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18236 _lt_linker_boilerplate
=`cat conftest.err`
18240 # Allow CC to be a program name with arguments.
18245 for cc_temp
in $compiler""; do
18247 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18248 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18253 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18255 lt_cv_prog_compiler_c_o_RC
=yes
18257 # The else clause should only fire when bootstrapping the
18258 # libtool distribution, otherwise you forgot to ship ltmain.sh
18259 # with your package, and you will get complaints that there are
18260 # no rules to generate ltmain.sh.
18261 if test -f "$ltmain"; then
18262 # See if we are running on zsh, and set the options which allow our commands through
18263 # without removal of \ escapes.
18264 if test -n "${ZSH_VERSION+set}" ; then
18265 setopt NO_GLOB_SUBST
18267 # Now quote all the things that may contain metacharacters while being
18268 # careful not to overquote the AC_SUBSTed values. We take copies of the
18269 # variables and quote the copies for generation of the libtool script.
18270 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18272 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18273 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18274 deplibs_check_method reload_flag reload_cmds need_locks \
18275 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18276 lt_cv_sys_global_symbol_to_c_name_address \
18277 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18278 old_postinstall_cmds old_postuninstall_cmds \
18282 lt_prog_compiler_wl_RC \
18283 lt_prog_compiler_pic_RC \
18284 lt_prog_compiler_static_RC \
18285 lt_prog_compiler_no_builtin_flag_RC \
18286 export_dynamic_flag_spec_RC \
18287 thread_safe_flag_spec_RC \
18288 whole_archive_flag_spec_RC \
18289 enable_shared_with_static_runtimes_RC \
18290 old_archive_cmds_RC \
18291 old_archive_from_new_cmds_RC \
18292 predep_objects_RC \
18293 postdep_objects_RC \
18296 compiler_lib_search_path_RC \
18298 archive_expsym_cmds_RC \
18299 postinstall_cmds_RC \
18300 postuninstall_cmds_RC \
18301 old_archive_from_expsyms_cmds_RC \
18302 allow_undefined_flag_RC \
18303 no_undefined_flag_RC \
18304 export_symbols_cmds_RC \
18305 hardcode_libdir_flag_spec_RC \
18306 hardcode_libdir_flag_spec_ld_RC \
18307 hardcode_libdir_separator_RC \
18308 hardcode_automatic_RC \
18310 module_expsym_cmds_RC \
18311 lt_cv_prog_compiler_c_o_RC \
18312 fix_srcfile_path_RC \
18313 exclude_expsyms_RC \
18314 include_expsyms_RC
; do
18317 old_archive_cmds_RC | \
18318 old_archive_from_new_cmds_RC | \
18319 archive_cmds_RC | \
18320 archive_expsym_cmds_RC | \
18322 module_expsym_cmds_RC | \
18323 old_archive_from_expsyms_cmds_RC | \
18324 export_symbols_cmds_RC | \
18325 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18326 postinstall_cmds | postuninstall_cmds | \
18327 old_postinstall_cmds | old_postuninstall_cmds | \
18328 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18329 # Double-quote double-evaled strings.
18330 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18333 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18339 *'\$0 --fallback-echo"')
18340 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18346 cat <<__EOF__ >> "$cfgfile"
18347 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18349 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18351 # Shell to use when invoking shell scripts.
18354 # Whether or not to build shared libraries.
18355 build_libtool_libs=$enable_shared
18357 # Whether or not to build static libraries.
18358 build_old_libs=$enable_static
18360 # Whether or not to add -lc for building shared libraries.
18361 build_libtool_need_lc=$archive_cmds_need_lc_RC
18363 # Whether or not to disallow shared libs when runtime libs are static
18364 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18366 # Whether or not to optimize for fast installation.
18367 fast_install=$enable_fast_install
18370 host_alias=$host_alias
18374 # The build system.
18375 build_alias=$build_alias
18379 # An echo program that does not interpret backslashes.
18384 AR_FLAGS=$lt_AR_FLAGS
18389 # LTCC compiler flags.
18390 LTCFLAGS=$lt_LTCFLAGS
18392 # A language-specific compiler.
18395 # Is the compiler the GNU C compiler?
18401 # The linker used to build libraries.
18404 # Whether we need hard or soft links.
18407 # A BSD-compatible nm program.
18410 # A symbol stripping program
18413 # Used to examine libraries when file_magic_cmd begins "file"
18414 MAGIC_CMD=$MAGIC_CMD
18416 # Used on cygwin: DLL creation program.
18419 # Used on cygwin: object dumper.
18422 # Used on cygwin: assembler.
18425 # The name of the directory that contains temporary libtool files.
18428 # How to create reloadable object files.
18429 reload_flag=$lt_reload_flag
18430 reload_cmds=$lt_reload_cmds
18432 # How to pass a linker flag through the compiler.
18433 wl=$lt_lt_prog_compiler_wl_RC
18435 # Object file suffix (normally "o").
18436 objext="$ac_objext"
18438 # Old archive suffix (normally "a").
18441 # Shared library suffix (normally ".so").
18442 shrext_cmds='$shrext_cmds'
18444 # Executable file suffix (normally "").
18447 # Additional compiler flags for building library objects.
18448 pic_flag=$lt_lt_prog_compiler_pic_RC
18451 # What is the maximum length of a command?
18452 max_cmd_len=$lt_cv_sys_max_cmd_len
18454 # Does compiler simultaneously support -c and -o options?
18455 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18457 # Must we lock files when doing compilation?
18458 need_locks=$lt_need_locks
18460 # Do we need the lib prefix for modules?
18461 need_lib_prefix=$need_lib_prefix
18463 # Do we need a version for libraries?
18464 need_version=$need_version
18466 # Whether dlopen is supported.
18467 dlopen_support=$enable_dlopen
18469 # Whether dlopen of programs is supported.
18470 dlopen_self=$enable_dlopen_self
18472 # Whether dlopen of statically linked programs is supported.
18473 dlopen_self_static=$enable_dlopen_self_static
18475 # Compiler flag to prevent dynamic linking.
18476 link_static_flag=$lt_lt_prog_compiler_static_RC
18478 # Compiler flag to turn off builtin functions.
18479 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18481 # Compiler flag to allow reflexive dlopens.
18482 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18484 # Compiler flag to generate shared objects directly from archives.
18485 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18487 # Compiler flag to generate thread-safe objects.
18488 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18490 # Library versioning type.
18491 version_type=$version_type
18493 # Format of library name prefix.
18494 libname_spec=$lt_libname_spec
18496 # List of archive names. First name is the real one, the rest are links.
18497 # The last name is the one that the linker finds with -lNAME.
18498 library_names_spec=$lt_library_names_spec
18500 # The coded name of the library, if different from the real name.
18501 soname_spec=$lt_soname_spec
18503 # Commands used to build and install an old-style archive.
18505 old_archive_cmds=$lt_old_archive_cmds_RC
18506 old_postinstall_cmds=$lt_old_postinstall_cmds
18507 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18509 # Create an old-style archive from a shared archive.
18510 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18512 # Create a temporary old-style archive to link instead of a shared archive.
18513 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18515 # Commands used to build and install a shared archive.
18516 archive_cmds=$lt_archive_cmds_RC
18517 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18518 postinstall_cmds=$lt_postinstall_cmds
18519 postuninstall_cmds=$lt_postuninstall_cmds
18521 # Commands used to build a loadable module (assumed same as above if empty)
18522 module_cmds=$lt_module_cmds_RC
18523 module_expsym_cmds=$lt_module_expsym_cmds_RC
18525 # Commands to strip libraries.
18526 old_striplib=$lt_old_striplib
18527 striplib=$lt_striplib
18529 # Dependencies to place before the objects being linked to create a
18531 predep_objects=$lt_predep_objects_RC
18533 # Dependencies to place after the objects being linked to create a
18535 postdep_objects=$lt_postdep_objects_RC
18537 # Dependencies to place before the objects being linked to create a
18539 predeps=$lt_predeps_RC
18541 # Dependencies to place after the objects being linked to create a
18543 postdeps=$lt_postdeps_RC
18545 # The library search path used internally by the compiler when linking
18546 # a shared library.
18547 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18549 # Method to check whether dependent libraries are shared objects.
18550 deplibs_check_method=$lt_deplibs_check_method
18552 # Command to use when deplibs_check_method == file_magic.
18553 file_magic_cmd=$lt_file_magic_cmd
18555 # Flag that allows shared libraries with undefined symbols to be built.
18556 allow_undefined_flag=$lt_allow_undefined_flag_RC
18558 # Flag that forces no undefined symbols.
18559 no_undefined_flag=$lt_no_undefined_flag_RC
18561 # Commands used to finish a libtool library installation in a directory.
18562 finish_cmds=$lt_finish_cmds
18564 # Same as above, but a single script fragment to be evaled but not shown.
18565 finish_eval=$lt_finish_eval
18567 # Take the output of nm and produce a listing of raw symbols and C names.
18568 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18570 # Transform the output of nm in a proper C declaration
18571 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18573 # Transform the output of nm in a C name address pair
18574 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18576 # This is the shared library runtime path variable.
18577 runpath_var=$runpath_var
18579 # This is the shared library path variable.
18580 shlibpath_var=$shlibpath_var
18582 # Is shlibpath searched before the hard-coded library search path?
18583 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18585 # How to hardcode a shared library path into an executable.
18586 hardcode_action=$hardcode_action_RC
18588 # Whether we should hardcode library paths into libraries.
18589 hardcode_into_libs=$hardcode_into_libs
18591 # Flag to hardcode \$libdir into a binary during linking.
18592 # This must work even if \$libdir does not exist.
18593 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18595 # If ld is used when linking, flag to hardcode \$libdir into
18596 # a binary during linking. This must work even if \$libdir does
18598 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18600 # Whether we need a single -rpath flag with a separated argument.
18601 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18603 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18604 # resulting binary.
18605 hardcode_direct=$hardcode_direct_RC
18607 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18608 # resulting binary.
18609 hardcode_minus_L=$hardcode_minus_L_RC
18611 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18612 # the resulting binary.
18613 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18615 # Set to yes if building a shared library automatically hardcodes DIR into the library
18616 # and all subsequent libraries and executables linked against it.
18617 hardcode_automatic=$hardcode_automatic_RC
18619 # Variables whose values should be saved in libtool wrapper scripts and
18620 # restored at relink time.
18621 variables_saved_for_relink="$variables_saved_for_relink"
18623 # Whether libtool must link a program against all its dependency libraries.
18624 link_all_deplibs=$link_all_deplibs_RC
18626 # Compile-time system search path for libraries
18627 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18629 # Run-time system search path for libraries
18630 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18632 # Fix the shell variable \$srcfile for the compiler.
18633 fix_srcfile_path=$lt_fix_srcfile_path
18635 # Set to yes if exported symbols are required.
18636 always_export_symbols=$always_export_symbols_RC
18638 # The commands to list exported symbols.
18639 export_symbols_cmds=$lt_export_symbols_cmds_RC
18641 # The commands to extract the exported symbol list from a shared archive.
18642 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18644 # Symbols that should not be listed in the preloaded symbols.
18645 exclude_expsyms=$lt_exclude_expsyms_RC
18647 # Symbols that must always be exported.
18648 include_expsyms=$lt_include_expsyms_RC
18650 # ### END LIBTOOL TAG CONFIG: $tagname
18656 # If there is no Makefile yet, we rely on a make rule to execute
18657 # `config.status --recheck' to rerun these tests and create the
18658 # libtool script then.
18659 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18660 if test -f "$ltmain_in"; then
18661 test -f Makefile
&& make "$ltmain"
18667 ac_cpp
='$CPP $CPPFLAGS'
18668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18677 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18678 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18679 { (exit 1); exit 1; }; }
18683 # Append the new tag name to the list of available tags.
18684 if test -n "$tagname" ; then
18685 available_tags
="$available_tags $tagname"
18691 # Now substitute the updated list of available tags.
18692 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18693 mv "${ofile}T" "$ofile"
18697 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18698 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18699 { (exit 1); exit 1; }; }
18705 # This can be used to rebuild libtool when needed
18706 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
18708 # Always use our own libtool.
18709 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
18711 # Prevent multiple expansion
18732 am__api_version
="1.9"
18733 # Find a good install program. We prefer a C program (faster),
18734 # so one script is as good as another. But avoid the broken or
18735 # incompatible versions:
18736 # SysV /etc/install, /usr/sbin/install
18737 # SunOS /usr/etc/install
18738 # IRIX /sbin/install
18740 # AmigaOS /C/install, which installs bootblocks on floppy discs
18741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
18743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18744 # OS/2's system install, which has a completely different semantic
18745 # ./install, which can be erroneously created by make from ./install.sh.
18746 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18747 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
18748 if test -z "$INSTALL"; then
18749 if test "${ac_cv_path_install+set}" = set; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18753 for as_dir
in $PATH
18756 test -z "$as_dir" && as_dir
=.
18757 # Account for people who put trailing slashes in PATH elements.
18759 .
/ | .
// |
/cC
/* | \
18760 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
18761 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
18764 # OSF1 and SCO ODT 3.0 have their own names for install.
18765 # Don't use installbsd from OSF since it installs stuff as root
18767 for ac_prog
in ginstall scoinst
install; do
18768 for ac_exec_ext
in '' $ac_executable_extensions; do
18769 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
18770 if test $ac_prog = install &&
18771 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
18772 # AIX install. It has an incompatible calling convention.
18774 elif test $ac_prog = install &&
18775 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
18776 # program-specific install script used by HP pwplus--don't use.
18779 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
18792 if test "${ac_cv_path_install+set}" = set; then
18793 INSTALL
=$ac_cv_path_install
18795 # As a last resort, use the slow shell script. Don't cache a
18796 # value for INSTALL within a source directory, because that will
18797 # break other packages using the cache if that directory is
18798 # removed, or if the value is a relative name.
18799 INSTALL
=$ac_install_sh
18802 { echo "$as_me:$LINENO: result: $INSTALL" >&5
18803 echo "${ECHO_T}$INSTALL" >&6; }
18805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18806 # It thinks the first close brace ends the variable substitution.
18807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
18809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
18811 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
18813 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
18814 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
18817 echo timestamp
> conftest.
file
18818 # Do `set' in a subshell so we don't clobber the current shell's
18819 # arguments. Must try -L first in case configure is actually a
18820 # symlink; some systems play weird games with the mod time of symlinks
18821 # (eg FreeBSD returns the mod time of the symlink's containing
18824 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
18825 if test "$*" = "X"; then
18827 set X
`ls -t $srcdir/configure conftest.file`
18829 rm -f conftest.
file
18830 if test "$*" != "X $srcdir/configure conftest.file" \
18831 && test "$*" != "X conftest.file $srcdir/configure"; then
18833 # If neither matched, then we have a broken ls. This can happen
18834 # if, for instance, CONFIG_SHELL is bash and it inherits a
18835 # broken ls alias from the environment. This has actually
18836 # happened. Such a system could not be considered "sane".
18837 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
18838 alias in your environment" >&5
18839 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
18840 alias in your environment" >&2;}
18841 { (exit 1); exit 1; }; }
18844 test "$2" = conftest.
file
18850 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
18851 Check your system clock" >&5
18852 echo "$as_me: error: newly created file is older than distributed files!
18853 Check your system clock" >&2;}
18854 { (exit 1); exit 1; }; }
18856 { echo "$as_me:$LINENO: result: yes" >&5
18857 echo "${ECHO_T}yes" >&6; }
18858 test "$program_prefix" != NONE
&&
18859 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
18860 # Use a double $ so make ignores it.
18861 test "$program_suffix" != NONE
&&
18862 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
18863 # Double any \ or $. echo might interpret backslashes.
18864 # By default was `s,x,x', remove it if useless.
18865 cat <<\_ACEOF
>conftest.
sed
18866 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
18868 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
18871 # expand $ac_aux_dir to an absolute path
18872 am_aux_dir
=`cd $ac_aux_dir && pwd`
18874 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
18875 # Use eval to expand $SHELL
18876 if eval "$MISSING --run true"; then
18877 am_missing_run
="$MISSING --run "
18880 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
18881 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
18884 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
18885 # We used to keeping the `.' as first argument, in order to
18886 # allow $(mkdir_p) to be used without argument. As in
18887 # $(mkdir_p) $(somedir)
18888 # where $(somedir) is conditionally defined. However this is wrong
18890 # 1. if the package is installed by a user who cannot write `.'
18891 # make install will fail,
18892 # 2. the above comment should most certainly read
18893 # $(mkdir_p) $(DESTDIR)$(somedir)
18894 # so it does not work when $(somedir) is undefined and
18895 # $(DESTDIR) is not.
18896 # To support the latter case, we have to write
18897 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
18898 # so the `.' trick is pointless.
18899 mkdir_p
='mkdir -p --'
18901 # On NextStep and OpenStep, the `mkdir' command does not
18902 # recognize any option. It will interpret all options as
18903 # directories to create, and then abort because `.' already
18905 for d
in .
/-p .
/--version;
18907 test -d $d && rmdir $d
18909 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
18910 if test -f "$ac_aux_dir/mkinstalldirs"; then
18911 mkdir_p
='$(mkinstalldirs)'
18913 mkdir_p
='$(install_sh) -d'
18917 for ac_prog
in gawk mawk nawk
awk
18919 # Extract the first word of "$ac_prog", so it can be a program name with args.
18920 set dummy
$ac_prog; ac_word
=$2
18921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18923 if test "${ac_cv_prog_AWK+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 if test -n "$AWK"; then
18927 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
18929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18930 for as_dir
in $PATH
18933 test -z "$as_dir" && as_dir
=.
18934 for ac_exec_ext
in '' $ac_executable_extensions; do
18935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18936 ac_cv_prog_AWK
="$ac_prog"
18937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18946 AWK
=$ac_cv_prog_AWK
18947 if test -n "$AWK"; then
18948 { echo "$as_me:$LINENO: result: $AWK" >&5
18949 echo "${ECHO_T}$AWK" >&6; }
18951 { echo "$as_me:$LINENO: result: no" >&5
18952 echo "${ECHO_T}no" >&6; }
18956 test -n "$AWK" && break
18959 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
18960 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
18961 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
18962 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 cat >conftest.
make <<\_ACEOF
18968 @
echo '@@@%%%=$(MAKE)=@@@%%%'
18970 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18971 case `${MAKE-make} -f conftest.make 2>/dev/null` in
18972 *@@@
%%%=?
*=@@@
%%%*)
18973 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
18975 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
18977 rm -f conftest.
make
18979 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
18980 { echo "$as_me:$LINENO: result: yes" >&5
18981 echo "${ECHO_T}yes" >&6; }
18984 { echo "$as_me:$LINENO: result: no" >&5
18985 echo "${ECHO_T}no" >&6; }
18986 SET_MAKE
="MAKE=${MAKE-make}"
18989 rm -rf .tst
2>/dev
/null
18990 mkdir .tst
2>/dev
/null
18991 if test -d .tst
; then
18996 rmdir .tst
2>/dev
/null
18998 DEPDIR
="${am__leading_dot}deps"
19000 ac_config_commands
="$ac_config_commands depfiles"
19003 am_make
=${MAKE-make}
19004 cat > confinc
<< 'END'
19009 # If we don't find an include directive, just comment out the code.
19010 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
19011 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
19015 # First try GNU make style include.
19016 echo "include confinc" > confmf
19017 # We grep out `Entering directory' and `Leaving directory'
19018 # messages which can occur if `w' ends up in MAKEFLAGS.
19019 # In particular we don't look at `^make:' because GNU make might
19020 # be invoked under some other name (usually "gmake"), in which
19021 # case it prints its new name instead of `make'.
19022 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
19023 am__include
=include
19027 # Now try BSD make style include.
19028 if test "$am__include" = "#"; then
19029 echo '.include "confinc"' > confmf
19030 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
19031 am__include
=.include
19038 { echo "$as_me:$LINENO: result: $_am_result" >&5
19039 echo "${ECHO_T}$_am_result" >&6; }
19040 rm -f confinc confmf
19042 # Check whether --enable-dependency-tracking was given.
19043 if test "${enable_dependency_tracking+set}" = set; then
19044 enableval
=$enable_dependency_tracking;
19047 if test "x$enable_dependency_tracking" != xno
; then
19048 am_depcomp
="$ac_aux_dir/depcomp"
19053 if test "x$enable_dependency_tracking" != xno; then
19063 # test to see if srcdir already configured
19064 if test "`cd $srcdir && pwd`" != "`pwd`" &&
19065 test -f $srcdir/config.status
; then
19066 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
19067 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
19068 { (exit 1); exit 1; }; }
19071 # test whether we have cygpath
19072 if test -z "$CYGPATH_W"; then
19073 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
19074 CYGPATH_W
='cygpath -w'
19081 # Define the identity of the package.
19086 cat >>confdefs.h
<<_ACEOF
19087 #define PACKAGE "$PACKAGE"
19091 cat >>confdefs.h
<<_ACEOF
19092 #define VERSION "$VERSION"
19095 # Some tools Automake needs.
19097 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
19100 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
19103 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
19106 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
19109 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
19111 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
19113 # Installed binaries are usually stripped using `strip' when the user
19114 # run `make install-strip'. However `strip' might not be the right
19115 # tool to use in cross-compilation environments, therefore Automake
19116 # will honor the `STRIP' environment variable to overrule this program.
19117 if test "$cross_compiling" != no
; then
19118 if test -n "$ac_tool_prefix"; then
19119 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19120 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
19121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19123 if test "${ac_cv_prog_STRIP+set}" = set; then
19124 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 if test -n "$STRIP"; then
19127 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
19129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19130 for as_dir
in $PATH
19133 test -z "$as_dir" && as_dir
=.
19134 for ac_exec_ext
in '' $ac_executable_extensions; do
19135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19136 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
19137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19146 STRIP
=$ac_cv_prog_STRIP
19147 if test -n "$STRIP"; then
19148 { echo "$as_me:$LINENO: result: $STRIP" >&5
19149 echo "${ECHO_T}$STRIP" >&6; }
19151 { echo "$as_me:$LINENO: result: no" >&5
19152 echo "${ECHO_T}no" >&6; }
19157 if test -z "$ac_cv_prog_STRIP"; then
19159 # Extract the first word of "strip", so it can be a program name with args.
19160 set dummy strip
; ac_word
=$2
19161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19163 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19166 if test -n "$ac_ct_STRIP"; then
19167 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
19169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19170 for as_dir
in $PATH
19173 test -z "$as_dir" && as_dir
=.
19174 for ac_exec_ext
in '' $ac_executable_extensions; do
19175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19176 ac_cv_prog_ac_ct_STRIP
="strip"
19177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19186 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
19187 if test -n "$ac_ct_STRIP"; then
19188 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19189 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19191 { echo "$as_me:$LINENO: result: no" >&5
19192 echo "${ECHO_T}no" >&6; }
19195 if test "x$ac_ct_STRIP" = x
; then
19198 case $cross_compiling:$ac_tool_warned in
19200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19201 whose name does not start with the host triplet. If you think this
19202 configuration is useful to you, please write to autoconf@gnu.org." >&5
19203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19204 whose name does not start with the host triplet. If you think this
19205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19206 ac_tool_warned
=yes ;;
19211 STRIP
="$ac_cv_prog_STRIP"
19215 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
19217 # We need awk for the "check" target. The system "awk" is bad on
19219 # Always define AMTAR for backward compatibility.
19221 AMTAR
=${AMTAR-"${am_missing_run}tar"}
19223 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
19228 depcc
="$CC" am_compiler_list
=
19230 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19231 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19232 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19236 # We make a subdir and do the tests there. Otherwise we can end up
19237 # making bogus files that we don't know about and never remove. For
19238 # instance it was reported that on HP-UX the gcc test will end up
19239 # making a dummy file named `D' -- because `-MD' means `put the output
19242 # Copy depcomp to subdir because otherwise we won't find it if we're
19243 # using a relative directory.
19244 cp "$am_depcomp" conftest.dir
19246 # We will build objects and dependencies in a subdirectory because
19247 # it helps to detect inapplicable dependency modes. For instance
19248 # both Tru64's cc and ICC support -MD to output dependencies as a
19249 # side effect of compilation, but ICC will put the dependencies in
19250 # the current directory while Tru64 will put them in the object
19254 am_cv_CC_dependencies_compiler_type
=none
19255 if test "$am_compiler_list" = ""; then
19256 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19258 for depmode
in $am_compiler_list; do
19259 # Setup a source with many dependencies, because some compilers
19260 # like to wrap large dependency lists on column 80 (with \), and
19261 # we should not choose a depcomp mode which is confused by this.
19263 # We need to recreate these files for each test, as the compiler may
19264 # overwrite some of them when testing with obscure command lines.
19265 # This happens at least with the AIX C compiler.
19267 for i
in 1 2 3 4 5 6; do
19268 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
19269 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
19270 # Solaris 8's {/usr,}/bin/sh.
19271 touch sub
/conftst
$i.h
19273 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19277 # after this tag, mechanisms are not by side-effect, so they'll
19278 # only be used when explicitly requested
19279 if test "x$enable_dependency_tracking" = xyes
; then
19287 # We check with `-c' and `-o' for the sake of the "dashmstdout"
19288 # mode. It turns out that the SunPro C++ compiler does not properly
19289 # handle `-M -o', and we need to detect this.
19290 if depmode
=$depmode \
19291 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
19292 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
19293 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
19294 >/dev
/null
2>conftest.err
&&
19295 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
19296 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
19297 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
19298 # icc doesn't choke on unknown options, it will just issue warnings
19299 # or remarks (even with -Werror). So we grep stderr for any message
19300 # that says an option was ignored or not supported.
19301 # When given -MP, icc 7.0 and 7.1 complain thusly:
19302 # icc: Command line warning: ignoring option '-M'; no argument required
19303 # The diagnosis changed in icc 8.0:
19304 # icc: Command line remark: option '-MP' not supported
19305 if (grep 'ignoring option' conftest.err ||
19306 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
19307 am_cv_CC_dependencies_compiler_type
=$depmode
19314 rm -rf conftest.dir
19316 am_cv_CC_dependencies_compiler_type
=none
19320 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
19321 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
19322 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
19327 test "x$enable_dependency_tracking" != xno \
19328 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
19329 am__fastdepCC_TRUE
=
19330 am__fastdepCC_FALSE
='#'
19332 am__fastdepCC_TRUE
='#'
19333 am__fastdepCC_FALSE
=
19337 depcc
="$CXX" am_compiler_list
=
19339 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19340 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19341 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19344 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19345 # We make a subdir and do the tests there. Otherwise we can end up
19346 # making bogus files that we don't know about and never remove. For
19347 # instance it was reported that on HP-UX the gcc test will end up
19348 # making a dummy file named `D' -- because `-MD' means `put the output
19351 # Copy depcomp to subdir because otherwise we won't find it if we're
19352 # using a relative directory.
19353 cp "$am_depcomp" conftest.dir
19355 # We will build objects and dependencies in a subdirectory because
19356 # it helps to detect inapplicable dependency modes. For instance
19357 # both Tru64's cc and ICC support -MD to output dependencies as a
19358 # side effect of compilation, but ICC will put the dependencies in
19359 # the current directory while Tru64 will put them in the object
19363 am_cv_CXX_dependencies_compiler_type
=none
19364 if test "$am_compiler_list" = ""; then
19365 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19367 for depmode
in $am_compiler_list; do
19368 # Setup a source with many dependencies, because some compilers
19369 # like to wrap large dependency lists on column 80 (with \), and
19370 # we should not choose a depcomp mode which is confused by this.
19372 # We need to recreate these files for each test, as the compiler may
19373 # overwrite some of them when testing with obscure command lines.
19374 # This happens at least with the AIX C compiler.
19376 for i
in 1 2 3 4 5 6; do
19377 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
19378 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
19379 # Solaris 8's {/usr,}/bin/sh.
19380 touch sub
/conftst
$i.h
19382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19386 # after this tag, mechanisms are not by side-effect, so they'll
19387 # only be used when explicitly requested
19388 if test "x$enable_dependency_tracking" = xyes
; then
19396 # We check with `-c' and `-o' for the sake of the "dashmstdout"
19397 # mode. It turns out that the SunPro C++ compiler does not properly
19398 # handle `-M -o', and we need to detect this.
19399 if depmode
=$depmode \
19400 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
19401 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
19402 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
19403 >/dev
/null
2>conftest.err
&&
19404 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
19405 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
19406 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
19407 # icc doesn't choke on unknown options, it will just issue warnings
19408 # or remarks (even with -Werror). So we grep stderr for any message
19409 # that says an option was ignored or not supported.
19410 # When given -MP, icc 7.0 and 7.1 complain thusly:
19411 # icc: Command line warning: ignoring option '-M'; no argument required
19412 # The diagnosis changed in icc 8.0:
19413 # icc: Command line remark: option '-MP' not supported
19414 if (grep 'ignoring option' conftest.err ||
19415 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
19416 am_cv_CXX_dependencies_compiler_type
=$depmode
19423 rm -rf conftest.dir
19425 am_cv_CXX_dependencies_compiler_type
=none
19429 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
19430 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
19431 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
19436 test "x$enable_dependency_tracking" != xno \
19437 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
19438 am__fastdepCXX_TRUE
=
19439 am__fastdepCXX_FALSE
='#'
19441 am__fastdepCXX_TRUE
='#'
19442 am__fastdepCXX_FALSE
=
19451 cat >>confdefs.h
<<_ACEOF
19452 #define LIB_MAJ $LIB_MAJ
19456 # Check whether --enable-debug was given.
19457 if test "${enable_debug+set}" = set; then
19458 enableval
=$enable_debug;
19459 cat >>confdefs.h
<<\_ACEOF
19460 #define OPENPAM_DEBUG 1
19466 { echo "$as_me:$LINENO: checking whether loading unversioned modules support is enabled" >&5
19467 echo $ECHO_N "checking whether loading unversioned modules support is enabled... $ECHO_C" >&6; }
19468 # Check whether --enable-unversioned-modules was given.
19469 if test "${enable_unversioned_modules+set}" = set; then
19470 enableval
=$enable_unversioned_modules; if test "$enableval" = "no"; then
19472 cat >>confdefs.h
<<\_ACEOF
19473 #define DISABLE_UNVERSIONED_MODULES 1
19477 { echo "$as_me:$LINENO: result: no" >&5
19478 echo "${ECHO_T}no" >&6; }
19480 { echo "$as_me:$LINENO: result: yes" >&5
19481 echo "${ECHO_T}yes" >&6; }
19485 { echo "$as_me:$LINENO: checking for modules directory support" >&5
19486 echo $ECHO_N "checking for modules directory support... $ECHO_C" >&6; }
19488 # Check whether --with-modules-dir was given.
19489 if test "${with_modules_dir+set}" = set; then
19490 withval
=$with_modules_dir; if test "$withval" != "no"; then
19491 OPENPAM_MODULES_DIR
="$withval"
19493 cat >>confdefs.h
<<_ACEOF
19494 #define OPENPAM_MODULES_DIR "$OPENPAM_MODULES_DIR"
19497 { echo "$as_me:$LINENO: result: $OPENPAM_MODULES_DIR" >&5
19498 echo "${ECHO_T}$OPENPAM_MODULES_DIR" >&6; }
19500 OPENPAM_MODULES_DIR
="$libdir"
19501 { echo "$as_me:$LINENO: result: no" >&5
19502 echo "${ECHO_T}no" >&6; }
19505 OPENPAM_MODULES_DIR
="$libdir"
19506 { echo "$as_me:$LINENO: result: no" >&5
19507 echo "${ECHO_T}no" >&6; }
19512 { echo "$as_me:$LINENO: checking whether to build the documentation" >&5
19513 echo $ECHO_N "checking whether to build the documentation... $ECHO_C" >&6; }
19515 # Check whether --with-doc was given.
19516 if test "${with_doc+set}" = set; then
19522 { echo "$as_me:$LINENO: result: $with_doc" >&5
19523 echo "${ECHO_T}$with_doc" >&6; }
19525 { echo "$as_me:$LINENO: checking whether to build example version of pam_unix.so" >&5
19526 echo $ECHO_N "checking whether to build example version of pam_unix.so... $ECHO_C" >&6; }
19528 # Check whether --with-pam-unix was given.
19529 if test "${with_pam_unix+set}" = set; then
19530 withval
=$with_pam_unix;
19535 { echo "$as_me:$LINENO: result: $with_pam_unix" >&5
19536 echo "${ECHO_T}$with_pam_unix" >&6; }
19538 { echo "$as_me:$LINENO: checking whether to build example version of su(1)" >&5
19539 echo $ECHO_N "checking whether to build example version of su(1)... $ECHO_C" >&6; }
19541 # Check whether --with-su was given.
19542 if test "${with_su+set}" = set; then
19548 { echo "$as_me:$LINENO: result: $with_su" >&5
19549 echo "${ECHO_T}$with_su" >&6; }
19553 if test "x$with_doc" = "xyes"; then
19563 if test "x$with_pam_unix" = "xyes"; then
19564 WITH_PAM_UNIX_TRUE
=
19565 WITH_PAM_UNIX_FALSE
='#'
19567 WITH_PAM_UNIX_TRUE
='#'
19568 WITH_PAM_UNIX_FALSE
=
19573 if test "x$with_su" = "xyes"; then
19582 # Find a good install program. We prefer a C program (faster),
19583 # so one script is as good as another. But avoid the broken or
19584 # incompatible versions:
19585 # SysV /etc/install, /usr/sbin/install
19586 # SunOS /usr/etc/install
19587 # IRIX /sbin/install
19589 # AmigaOS /C/install, which installs bootblocks on floppy discs
19590 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19591 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19592 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19593 # OS/2's system install, which has a completely different semantic
19594 # ./install, which can be erroneously created by make from ./install.sh.
19595 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19596 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19597 if test -z "$INSTALL"; then
19598 if test "${ac_cv_path_install+set}" = set; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19602 for as_dir
in $PATH
19605 test -z "$as_dir" && as_dir
=.
19606 # Account for people who put trailing slashes in PATH elements.
19608 .
/ | .
// |
/cC
/* | \
19609 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
19610 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
19613 # OSF1 and SCO ODT 3.0 have their own names for install.
19614 # Don't use installbsd from OSF since it installs stuff as root
19616 for ac_prog
in ginstall scoinst
install; do
19617 for ac_exec_ext
in '' $ac_executable_extensions; do
19618 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19619 if test $ac_prog = install &&
19620 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
19621 # AIX install. It has an incompatible calling convention.
19623 elif test $ac_prog = install &&
19624 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
19625 # program-specific install script used by HP pwplus--don't use.
19628 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
19641 if test "${ac_cv_path_install+set}" = set; then
19642 INSTALL
=$ac_cv_path_install
19644 # As a last resort, use the slow shell script. Don't cache a
19645 # value for INSTALL within a source directory, because that will
19646 # break other packages using the cache if that directory is
19647 # removed, or if the value is a relative name.
19648 INSTALL
=$ac_install_sh
19651 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19652 echo "${ECHO_T}$INSTALL" >&6; }
19654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19655 # It thinks the first close brace ends the variable substitution.
19656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
19658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
19660 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
19664 for ac_header
in crypt.h
19666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19667 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19670 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 ac_res
=`eval echo '${'$as_ac_Header'}'`
19674 { echo "$as_me:$LINENO: result: $ac_res" >&5
19675 echo "${ECHO_T}$ac_res" >&6; }
19677 # Is the header compilable?
19678 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19680 cat >conftest.
$ac_ext <<_ACEOF
19683 cat confdefs.h
>>conftest.
$ac_ext
19684 cat >>conftest.
$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19687 #include <$ac_header>
19689 rm -f conftest.
$ac_objext
19690 if { (ac_try
="$ac_compile"
19691 case "(($ac_try" in
19692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_compile") 2>conftest.er1
19698 grep -v '^ *+' conftest.er1 >conftest.err
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } && {
19703 test -z "$ac_c_werror_flag" ||
19704 test ! -s conftest.err
19705 } && test -s conftest.$ac_objext; then
19706 ac_header_compiler=yes
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19711 ac_header_compiler=no
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19716 echo "${ECHO_T}$ac_header_compiler" >&6; }
19718 # Is the header present?
19719 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19721 cat >conftest.$ac_ext <<_ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 #include <$ac_header>
19729 if { (ac_try="$ac_cpp conftest.$ac_ext"
19730 case "(($ac_try" in
19731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19732 *) ac_try_echo
=$ac_try;;
19734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19737 grep -v '^ *+' conftest.er1
>conftest.err
19739 cat conftest.err
>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } >/dev
/null
&& {
19742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19743 test ! -s conftest.err
19745 ac_header_preproc
=yes
19747 echo "$as_me: failed program was:" >&5
19748 sed 's/^/| /' conftest.
$ac_ext >&5
19750 ac_header_preproc
=no
19753 rm -f conftest.err conftest.
$ac_ext
19754 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19755 echo "${ECHO_T}$ac_header_preproc" >&6; }
19757 # So? What about this header?
19758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19764 ac_header_preproc
=yes
19767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19780 ## ------------------------- ##
19781 ## Report this to des@des.no ##
19782 ## ------------------------- ##
19784 ) |
sed "s/^/$as_me: WARNING: /" >&2
19787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19789 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 eval "$as_ac_Header=\$ac_header_preproc"
19794 ac_res
=`eval echo '${'$as_ac_Header'}'`
19795 { echo "$as_me:$LINENO: result: $ac_res" >&5
19796 echo "${ECHO_T}$ac_res" >&6; }
19799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19800 cat >>confdefs.h
<<_ACEOF
19801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19810 for ac_func
in fpurge
19812 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19815 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19826 #define $ac_func innocuous_$ac_func
19828 /* System header to define __stub macros and hopefully few prototypes,
19829 which can conflict with char $ac_func (); below.
19830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19831 <limits.h> exists even on freestanding compilers. */
19834 # include <limits.h>
19836 # include <assert.h>
19841 /* Override any GCC internal prototype to avoid an error.
19842 Use char because int might match the return type of a GCC
19843 builtin and then its argument prototype would still apply. */
19848 /* The GNU C library defines this for functions which it implements
19849 to always fail with ENOSYS. Some functions are actually named
19850 something starting with __ and the normal name is an alias. */
19851 #if defined __stub_$ac_func || defined __stub___$ac_func
19858 return $ac_func ();
19863 rm -f conftest.
$ac_objext conftest
$ac_exeext
19864 if { (ac_try
="$ac_link"
19865 case "(($ac_try" in
19866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_link") 2>conftest.er1
19872 grep -v '^ *+' conftest.er1 >conftest.err
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_c_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest$ac_exeext &&
19880 $as_test_x conftest$ac_exeext; then
19881 eval "$as_ac_var=yes"
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19886 eval "$as_ac_var=no"
19889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19890 conftest$ac_exeext conftest.$ac_ext
19892 ac_res=`eval echo '${'$as_ac_var'}'`
19893 { echo "$as_me:$LINENO: result: $ac_res" >&5
19894 echo "${ECHO_T}$ac_res" >&6; }
19895 if test `eval echo '${'$as_ac_var'}'` = yes; then
19896 cat >>confdefs.h <<_ACEOF
19897 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19905 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19906 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
19907 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19910 ac_check_lib_save_LIBS=$LIBS
19912 cat >conftest.$ac_ext <<_ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19919 /* Override any GCC internal prototype to avoid an error.
19920 Use char because int might match the return type of a GCC
19921 builtin and then its argument prototype would still apply. */
19934 rm -f conftest.$ac_objext conftest$ac_exeext
19935 if { (ac_try="$ac_link"
19936 case "(($ac_try" in
19937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19938 *) ac_try_echo
=$ac_try;;
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_link") 2>conftest.er1
19943 grep -v '^ *+' conftest.er1
>conftest.err
19945 cat conftest.err
>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest
$ac_exeext &&
19951 $as_test_x conftest
$ac_exeext; then
19952 ac_cv_lib_dl_dlopen
=yes
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.
$ac_ext >&5
19957 ac_cv_lib_dl_dlopen
=no
19960 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19961 conftest
$ac_exeext conftest.
$ac_ext
19962 LIBS
=$ac_check_lib_save_LIBS
19964 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19965 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19966 if test $ac_cv_lib_dl_dlopen = yes; then
19973 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
19974 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
19975 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 ac_check_lib_save_LIBS
=$LIBS
19979 LIBS
="-lcrypt $LIBS"
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19987 /* Override any GCC internal prototype to avoid an error.
19988 Use char because int might match the return type of a GCC
19989 builtin and then its argument prototype would still apply. */
20002 rm -f conftest.
$ac_objext conftest
$ac_exeext
20003 if { (ac_try
="$ac_link"
20004 case "(($ac_try" in
20005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_link") 2>conftest.er1
20011 grep -v '^ *+' conftest.er1 >conftest.err
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } && {
20016 test -z "$ac_c_werror_flag" ||
20017 test ! -s conftest.err
20018 } && test -s conftest$ac_exeext &&
20019 $as_test_x conftest$ac_exeext; then
20020 ac_cv_lib_crypt_crypt=yes
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.$ac_ext >&5
20025 ac_cv_lib_crypt_crypt=no
20028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20029 conftest$ac_exeext conftest.$ac_ext
20030 LIBS=$ac_check_lib_save_LIBS
20032 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
20033 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
20034 if test $ac_cv_lib_crypt_crypt = yes; then
20040 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
20042 # This corresponds to FreeBSD's WARNS level 6
20043 DEVELOPER_CFLAGS="-Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wformat"
20045 # Check whether --enable-developer-warnings was given.
20046 if test "${enable_developer_warnings+set}" = set; then
20047 enableval=$enable_developer_warnings; CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}"
20050 # Check whether --enable-debugging-symbols was given.
20051 if test "${enable_debugging_symbols+set}" = set; then
20052 enableval=$enable_debugging_symbols; CFLAGS="${CFLAGS} -O0 -g -fno-inline"
20055 # Check whether --enable-werror was given.
20056 if test "${enable_werror+set}" = set; then
20057 enableval=$enable_werror; CFLAGS="${CFLAGS} -Werror"
20061 ac_config_files="$ac_config_files bin/Makefile bin/su/Makefile include/Makefile include/security/Makefile lib/Makefile modules/Makefile modules/pam_unix/Makefile modules/pam_deny/Makefile modules/pam_permit/Makefile doc/Makefile doc/man/Makefile Makefile"
20063 cat >confcache <<\_ACEOF
20064 # This file is a shell script that caches the results of configure
20065 # tests run on this system so they can be shared between configure
20066 # scripts and configure runs, see configure's option --config-cache.
20067 # It is not useful on other systems. If it contains results you don't
20068 # want to keep, you may remove or edit it.
20070 # config.status only pays attention to the cache file if you give it
20071 # the --recheck option to rerun configure.
20073 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20074 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20075 # following values.
20079 # The following way of writing the cache mishandles newlines in values,
20080 # but we know of no workaround that is simple, portable, and efficient.
20081 # So, we kill variables containing newlines.
20082 # Ultrix sh set writes to stderr and can't be redirected directly,
20083 # and sets the high bit in the cache file unless we assign to the vars.
20085 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20086 eval ac_val
=\$
$ac_var
20090 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20091 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20094 _ | IFS | as_nl
) ;; #(
20095 *) $as_unset $ac_var ;;
20101 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20102 *${as_nl}ac_space
=\
*)
20103 # `set' does not quote correctly, so add quotes (double-quote
20104 # substitution turns \\\\ into \\, and sed turns \\ into \).
20107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20110 # `set' quotes correctly as required by POSIX, so do not add quotes.
20111 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20120 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20122 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20124 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20125 if test -w "$cache_file"; then
20126 test "x$cache_file" != "x/dev/null" &&
20127 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20128 echo "$as_me: updating cache $cache_file" >&6;}
20129 cat confcache
>$cache_file
20131 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20132 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20137 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20138 # Let make expand exec_prefix.
20139 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20141 DEFS
=-DHAVE_CONFIG_H
20145 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20146 # 1. Remove the extension, and $U if already installed.
20147 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20148 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20149 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20150 # will be set to the directory where LIBOBJS objects are built.
20151 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20152 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20154 LIBOBJS
=$ac_libobjs
20156 LTLIBOBJS
=$ac_ltlibobjs
20159 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20160 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20161 Usually this means the macro was only invoked conditionally." >&5
20162 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20163 Usually this means the macro was only invoked conditionally." >&2;}
20164 { (exit 1); exit 1; }; }
20166 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20167 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20168 Usually this means the macro was only invoked conditionally." >&5
20169 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20170 Usually this means the macro was only invoked conditionally." >&2;}
20171 { (exit 1); exit 1; }; }
20173 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20174 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20175 Usually this means the macro was only invoked conditionally." >&5
20176 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20177 Usually this means the macro was only invoked conditionally." >&2;}
20178 { (exit 1); exit 1; }; }
20180 if test -z "${WITH_DOC_TRUE}" && test -z "${WITH_DOC_FALSE}"; then
20181 { { echo "$as_me:$LINENO: error: conditional \"WITH_DOC\" was never defined.
20182 Usually this means the macro was only invoked conditionally." >&5
20183 echo "$as_me: error: conditional \"WITH_DOC\" was never defined.
20184 Usually this means the macro was only invoked conditionally." >&2;}
20185 { (exit 1); exit 1; }; }
20187 if test -z "${WITH_PAM_UNIX_TRUE}" && test -z "${WITH_PAM_UNIX_FALSE}"; then
20188 { { echo "$as_me:$LINENO: error: conditional \"WITH_PAM_UNIX\" was never defined.
20189 Usually this means the macro was only invoked conditionally." >&5
20190 echo "$as_me: error: conditional \"WITH_PAM_UNIX\" was never defined.
20191 Usually this means the macro was only invoked conditionally." >&2;}
20192 { (exit 1); exit 1; }; }
20194 if test -z "${WITH_SU_TRUE}" && test -z "${WITH_SU_FALSE}"; then
20195 { { echo "$as_me:$LINENO: error: conditional \"WITH_SU\" was never defined.
20196 Usually this means the macro was only invoked conditionally." >&5
20197 echo "$as_me: error: conditional \"WITH_SU\" was never defined.
20198 Usually this means the macro was only invoked conditionally." >&2;}
20199 { (exit 1); exit 1; }; }
20202 : ${CONFIG_STATUS=./config.status}
20203 ac_clean_files_save
=$ac_clean_files
20204 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20205 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20206 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20207 cat >$CONFIG_STATUS <<_ACEOF
20209 # Generated by $as_me.
20210 # Run this file to recreate the current configuration.
20211 # Compiler output produced by configure, useful for debugging
20212 # configure, is in config.log if it exists.
20215 ac_cs_recheck=false
20217 SHELL=\${CONFIG_SHELL-$SHELL}
20220 cat >>$CONFIG_STATUS <<\_ACEOF
20221 ## --------------------- ##
20222 ## M4sh Initialization. ##
20223 ## --------------------- ##
20225 # Be more Bourne compatible
20226 DUALCASE
=1; export DUALCASE
# for MKS sh
20227 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20230 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20231 # is contrary to our usage. Disable this feature.
20232 alias -g '${1+"$@"}'='"$@"'
20233 setopt NO_GLOB_SUBST
20235 case `(set -o) 2>/dev/null` in
20236 *posix
*) set -o posix
;;
20245 # Avoid depending upon Character Ranges.
20246 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20247 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20248 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20249 as_cr_digits
='0123456789'
20250 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20252 # The user is always right.
20253 if test "${PATH_SEPARATOR+set}" != set; then
20254 echo "#! /bin/sh" >conf$$.sh
20255 echo "exit 0" >>conf$$.sh
20257 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20265 # Support unset when possible.
20266 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20274 # We need space, tab and new line, in precisely that order. Quoting is
20275 # there to prevent editors from complaining about space-tab.
20276 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20277 # splitting by setting IFS to empty value.)
20282 # Find who we are. Look in the path if we contain no directory separator.
20284 *[\\/]* ) as_myself
=$0 ;;
20285 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20286 for as_dir
in $PATH
20289 test -z "$as_dir" && as_dir
=.
20290 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20296 # We did not find ourselves, most probably we were run as `sh COMMAND'
20297 # in which case we are not to be found in the path.
20298 if test "x$as_myself" = x
; then
20301 if test ! -f "$as_myself"; then
20302 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20303 { (exit 1); exit 1; }
20306 # Work around bugs in pre-3.0 UWIN ksh.
20307 for as_var
in ENV MAIL MAILPATH
20308 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20316 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20317 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20318 LC_TELEPHONE LC_TIME
20320 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20321 eval $as_var=C
; export $as_var
20323 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20327 # Required to use basename.
20328 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20329 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20335 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20336 as_basename
=basename
20342 # Name of the executable.
20343 as_me
=`$as_basename -- "$0" ||
20344 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20345 X"$0" : 'X\(//\)$' \| \
20346 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20348 sed '/^.*\/\([^/][^/]*\)\/*$/{
20367 as_lineno_1
=$LINENO
20368 as_lineno_2
=$LINENO
20369 test "x$as_lineno_1" != "x$as_lineno_2" &&
20370 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20372 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20373 # uniformly replaced by the line number. The first 'sed' inserts a
20374 # line-number line after each line using $LINENO; the second 'sed'
20375 # does the real work. The second script uses 'N' to pair each
20376 # line-number line with the line containing $LINENO, and appends
20377 # trailing '-' during substitution so that $LINENO is not a special
20378 # case at line end.
20379 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20380 # scripts with optimization help from Paolo Bonzini. Blame Lee
20381 # E. McMahon (1931-1989) for sed's syntax. :-)
20393 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20396 ' >$as_me.lineno
&&
20397 chmod +x
"$as_me.lineno" ||
20398 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20399 { (exit 1); exit 1; }; }
20401 # Don't try to exec as it changes $[0], causing all sort of problems
20402 # (the dirname of $[0] is not the place where we might find the
20403 # original and so on. Autoconf is especially sensitive to this).
20404 .
"./$as_me.lineno"
20405 # Exit status is that of the last command.
20410 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20416 ECHO_C
= ECHO_N
= ECHO_T
=
20417 case `echo -n x` in
20419 case `echo 'x\c'` in
20420 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20434 rm -f conf$$ conf$$.exe conf$$.
file
20435 if test -d conf$$.dir
; then
20436 rm -f conf$$.dir
/conf$$.
file
20442 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20444 # ... but there are two gotchas:
20445 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20446 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20447 # In both cases, we have to default to `cp -p'.
20448 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20450 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20455 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20456 rmdir conf$$.dir
2>/dev
/null
20458 if mkdir
-p .
2>/dev
/null
; then
20461 test -d .
/-p && rmdir .
/-p
20465 if test -x / >/dev
/null
2>&1; then
20466 as_test_x
='test -x'
20468 if ls -dL / >/dev
/null
2>&1; then
20475 if test -d "$1"; then
20481 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20482 ???[sx]*):;;*)false;;esac;fi
20486 as_executable_p
=$as_test_x
20488 # Sed expression to map a string onto a valid CPP name.
20489 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20491 # Sed expression to map a string onto a valid variable name.
20492 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20497 # Save the log message, to keep $[0] and so on meaningful, and to
20498 # report actual input values of CONFIG_FILES etc. instead of their
20499 # values after options handling.
20501 This file was extended by OpenPAM $as_me 20071221, which was
20502 generated by GNU Autoconf 2.61. Invocation command line was
20504 CONFIG_FILES = $CONFIG_FILES
20505 CONFIG_HEADERS = $CONFIG_HEADERS
20506 CONFIG_LINKS = $CONFIG_LINKS
20507 CONFIG_COMMANDS = $CONFIG_COMMANDS
20510 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20515 cat >>$CONFIG_STATUS <<_ACEOF
20516 # Files that config.status was made for.
20517 config_files="$ac_config_files"
20518 config_headers="$ac_config_headers"
20519 config_commands="$ac_config_commands"
20523 cat >>$CONFIG_STATUS <<\_ACEOF
20525 \`$as_me' instantiates files from templates according to the
20526 current configuration.
20528 Usage: $0 [OPTIONS] [FILE]...
20530 -h, --help print this help, then exit
20531 -V, --version print version number and configuration settings, then exit
20532 -q, --quiet do not print progress messages
20533 -d, --debug don't remove temporary files
20534 --recheck update $as_me by reconfiguring in the same conditions
20535 --file=FILE[:TEMPLATE]
20536 instantiate the configuration file FILE
20537 --header=FILE[:TEMPLATE]
20538 instantiate the configuration header FILE
20540 Configuration files:
20543 Configuration headers:
20546 Configuration commands:
20549 Report bugs to <bug-autoconf@gnu.org>."
20552 cat >>$CONFIG_STATUS <<_ACEOF
20554 OpenPAM config.status 20071221
20555 configured by $0, generated by GNU Autoconf 2.61,
20556 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20558 Copyright (C) 2006 Free Software Foundation, Inc.
20559 This config.status script is free software; the Free Software Foundation
20560 gives unlimited permission to copy, distribute and modify it."
20567 cat >>$CONFIG_STATUS <<\_ACEOF
20568 # If no file are specified by the user, then we need to provide default
20569 # value. By we need to know if files were specified by the user.
20575 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20576 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20587 # Handling of the options.
20588 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20590 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20591 echo "$ac_cs_version"; exit ;;
20592 --debug |
--debu |
--deb |
--de |
--d |
-d )
20594 --file |
--fil |
--fi |
--f )
20596 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20597 ac_need_defaults
=false
;;
20598 --header |
--heade |
--head |
--hea )
20600 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20601 ac_need_defaults
=false
;;
20603 # Conflict between --help and --header
20604 { echo "$as_me: error: ambiguous option: $1
20605 Try \`$0 --help' for more information." >&2
20606 { (exit 1); exit 1; }; };;
20607 --help |
--hel |
-h )
20608 echo "$ac_cs_usage"; exit ;;
20609 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20610 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20613 # This is an error.
20614 -*) { echo "$as_me: error: unrecognized option: $1
20615 Try \`$0 --help' for more information." >&2
20616 { (exit 1); exit 1; }; } ;;
20618 *) ac_config_targets
="$ac_config_targets $1"
20619 ac_need_defaults
=false
;;
20625 ac_configure_extra_args
=
20627 if $ac_cs_silent; then
20629 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20633 cat >>$CONFIG_STATUS <<_ACEOF
20634 if \$ac_cs_recheck; then
20635 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20636 CONFIG_SHELL=$SHELL
20637 export CONFIG_SHELL
20638 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20642 cat >>$CONFIG_STATUS <<\_ACEOF
20646 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20647 ## Running $as_me. ##
20653 cat >>$CONFIG_STATUS <<_ACEOF
20657 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20661 cat >>$CONFIG_STATUS <<\_ACEOF
20663 # Handling of arguments.
20664 for ac_config_target
in $ac_config_targets
20666 case $ac_config_target in
20667 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20668 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20669 "bin/Makefile") CONFIG_FILES
="$CONFIG_FILES bin/Makefile" ;;
20670 "bin/su/Makefile") CONFIG_FILES
="$CONFIG_FILES bin/su/Makefile" ;;
20671 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20672 "include/security/Makefile") CONFIG_FILES
="$CONFIG_FILES include/security/Makefile" ;;
20673 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20674 "modules/Makefile") CONFIG_FILES
="$CONFIG_FILES modules/Makefile" ;;
20675 "modules/pam_unix/Makefile") CONFIG_FILES
="$CONFIG_FILES modules/pam_unix/Makefile" ;;
20676 "modules/pam_deny/Makefile") CONFIG_FILES
="$CONFIG_FILES modules/pam_deny/Makefile" ;;
20677 "modules/pam_permit/Makefile") CONFIG_FILES
="$CONFIG_FILES modules/pam_permit/Makefile" ;;
20678 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20679 "doc/man/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/man/Makefile" ;;
20680 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20682 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20683 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20684 { (exit 1); exit 1; }; };;
20689 # If the user did not use the arguments to specify the items to instantiate,
20690 # then the envvar interface is used. Set only those that are not.
20691 # We use the long form for the default assignment because of an extremely
20692 # bizarre bug on SunOS 4.1.3.
20693 if $ac_need_defaults; then
20694 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20695 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20696 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20699 # Have a temporary directory for convenience. Make it in the build tree
20700 # simply because there is no reason against having it here, and in addition,
20701 # creating and moving files from /tmp can sometimes cause problems.
20702 # Hook for its removal unless debugging.
20703 # Note that there is a small window in which the directory will not be cleaned:
20704 # after its creation but before its name has been assigned to `$tmp'.
20708 trap 'exit_status=$?
20709 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20711 trap '{ (exit 1); exit 1; }' 1 2 13 15
20713 # Create a (secure) tmp directory for tmp files.
20716 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20717 test -n "$tmp" && test -d "$tmp"
20720 tmp
=.
/conf$$
-$RANDOM
20721 (umask 077 && mkdir
"$tmp")
20724 echo "$me: cannot create a temporary directory in ." >&2
20725 { (exit 1); exit 1; }
20729 # Set up the sed scripts for CONFIG_FILES section.
20732 # No need to generate the scripts if there are no CONFIG_FILES.
20733 # This happens for instance when ./config.status config.h
20734 if test -n "$CONFIG_FILES"; then
20741 for ac_last_try
in false false false false false
:; do
20742 cat >conf$
$subs.
sed <<_ACEOF
20743 SHELL!$SHELL$ac_delim
20744 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20745 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20746 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20747 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20748 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20749 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20750 exec_prefix!$exec_prefix$ac_delim
20751 prefix!$prefix$ac_delim
20752 program_transform_name!$program_transform_name$ac_delim
20753 bindir!$bindir$ac_delim
20754 sbindir!$sbindir$ac_delim
20755 libexecdir!$libexecdir$ac_delim
20756 datarootdir!$datarootdir$ac_delim
20757 datadir!$datadir$ac_delim
20758 sysconfdir!$sysconfdir$ac_delim
20759 sharedstatedir!$sharedstatedir$ac_delim
20760 localstatedir!$localstatedir$ac_delim
20761 includedir!$includedir$ac_delim
20762 oldincludedir!$oldincludedir$ac_delim
20763 docdir!$docdir$ac_delim
20764 infodir!$infodir$ac_delim
20765 htmldir!$htmldir$ac_delim
20766 dvidir!$dvidir$ac_delim
20767 pdfdir!$pdfdir$ac_delim
20768 psdir!$psdir$ac_delim
20769 libdir!$libdir$ac_delim
20770 localedir!$localedir$ac_delim
20771 mandir!$mandir$ac_delim
20772 DEFS!$DEFS$ac_delim
20773 ECHO_C!$ECHO_C$ac_delim
20774 ECHO_N!$ECHO_N$ac_delim
20775 ECHO_T!$ECHO_T$ac_delim
20776 LIBS!$LIBS$ac_delim
20777 build_alias!$build_alias$ac_delim
20778 host_alias!$host_alias$ac_delim
20779 target_alias!$target_alias$ac_delim
20780 build!$build$ac_delim
20781 build_cpu!$build_cpu$ac_delim
20782 build_vendor!$build_vendor$ac_delim
20783 build_os!$build_os$ac_delim
20784 host!$host$ac_delim
20785 host_cpu!$host_cpu$ac_delim
20786 host_vendor!$host_vendor$ac_delim
20787 host_os!$host_os$ac_delim
20788 target!$target$ac_delim
20789 target_cpu!$target_cpu$ac_delim
20790 target_vendor!$target_vendor$ac_delim
20791 target_os!$target_os$ac_delim
20793 CFLAGS!$CFLAGS$ac_delim
20794 LDFLAGS!$LDFLAGS$ac_delim
20795 CPPFLAGS!$CPPFLAGS$ac_delim
20796 ac_ct_CC!$ac_ct_CC$ac_delim
20797 EXEEXT!$EXEEXT$ac_delim
20798 OBJEXT!$OBJEXT$ac_delim
20800 GREP!$GREP$ac_delim
20801 EGREP!$EGREP$ac_delim
20802 LN_S!$LN_S$ac_delim
20803 ECHO!$ECHO$ac_delim
20805 RANLIB!$RANLIB$ac_delim
20806 STRIP!$STRIP$ac_delim
20809 CXXFLAGS!$CXXFLAGS$ac_delim
20810 ac_ct_CXX!$ac_ct_CXX$ac_delim
20811 CXXCPP!$CXXCPP$ac_delim
20813 FFLAGS!$FFLAGS$ac_delim
20814 ac_ct_F77!$ac_ct_F77$ac_delim
20815 LIBTOOL!$LIBTOOL$ac_delim
20816 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20817 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20818 INSTALL_DATA!$INSTALL_DATA$ac_delim
20819 CYGPATH_W!$CYGPATH_W$ac_delim
20820 PACKAGE!$PACKAGE$ac_delim
20821 VERSION!$VERSION$ac_delim
20822 ACLOCAL!$ACLOCAL$ac_delim
20823 AUTOCONF!$AUTOCONF$ac_delim
20824 AUTOMAKE!$AUTOMAKE$ac_delim
20825 AUTOHEADER!$AUTOHEADER$ac_delim
20826 MAKEINFO!$MAKEINFO$ac_delim
20827 install_sh!$install_sh$ac_delim
20828 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20829 mkdir_p!$mkdir_p$ac_delim
20831 SET_MAKE!$SET_MAKE$ac_delim
20832 am__leading_dot!$am__leading_dot$ac_delim
20833 AMTAR!$AMTAR$ac_delim
20834 am__tar!$am__tar$ac_delim
20835 am__untar!$am__untar$ac_delim
20836 DEPDIR!$DEPDIR$ac_delim
20837 am__include!$am__include$ac_delim
20838 am__quote!$am__quote$ac_delim
20839 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20842 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20844 elif $ac_last_try; then
20845 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20846 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20847 { (exit 1); exit 1; }; }
20849 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20853 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20854 if test -n "$ac_eof"; then
20855 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20856 ac_eof
=`expr $ac_eof + 1`
20859 cat >>$CONFIG_STATUS <<_ACEOF
20860 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20864 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20865 s/^/s,@/; s/!/@,|#_!!_#|/
20868 s/'"$ac_delim"'$/,g/; t
20870 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20871 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20872 rm -f conf$
$subs.
sed
20873 cat >>$CONFIG_STATUS <<_ACEOF
20879 for ac_last_try
in false false false false false
:; do
20880 cat >conf$
$subs.
sed <<_ACEOF
20881 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20882 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20883 CCDEPMODE!$CCDEPMODE$ac_delim
20884 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20885 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20886 CXXDEPMODE!$CXXDEPMODE$ac_delim
20887 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20888 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20889 LIB_MAJ!$LIB_MAJ$ac_delim
20890 OPENPAM_MODULES_DIR!$OPENPAM_MODULES_DIR$ac_delim
20891 WITH_DOC_TRUE!$WITH_DOC_TRUE$ac_delim
20892 WITH_DOC_FALSE!$WITH_DOC_FALSE$ac_delim
20893 WITH_PAM_UNIX_TRUE!$WITH_PAM_UNIX_TRUE$ac_delim
20894 WITH_PAM_UNIX_FALSE!$WITH_PAM_UNIX_FALSE$ac_delim
20895 WITH_SU_TRUE!$WITH_SU_TRUE$ac_delim
20896 WITH_SU_FALSE!$WITH_SU_FALSE$ac_delim
20897 DL_LIBS!$DL_LIBS$ac_delim
20898 CRYPT_LIBS!$CRYPT_LIBS$ac_delim
20899 LIBOBJS!$LIBOBJS$ac_delim
20900 LTLIBOBJS!$LTLIBOBJS$ac_delim
20903 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
20905 elif $ac_last_try; then
20906 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20907 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20908 { (exit 1); exit 1; }; }
20910 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20914 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20915 if test -n "$ac_eof"; then
20916 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20917 ac_eof
=`expr $ac_eof + 1`
20920 cat >>$CONFIG_STATUS <<_ACEOF
20921 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20922 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20925 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20926 s/^/s,@/; s/!/@,|#_!!_#|/
20929 s/'"$ac_delim"'$/,g/; t
20931 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20932 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20933 rm -f conf$
$subs.
sed
20934 cat >>$CONFIG_STATUS <<_ACEOF
20941 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20942 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20943 # trailing colons and then remove the whole line if VPATH becomes empty
20944 # (actually we leave an empty line to preserve line numbers).
20945 if test "x$srcdir" = x.
; then
20946 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20947 s/:*\$(srcdir):*/:/
20948 s/:*\${srcdir}:*/:/
20950 s/^\([^=]*=[ ]*\):*/\1/
20956 cat >>$CONFIG_STATUS <<\_ACEOF
20957 fi # test -n "$CONFIG_FILES"
20960 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20963 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20965 case $ac_mode$ac_tag in
20967 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20968 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20969 { (exit 1); exit 1; }; };;
20970 :[FH
]-) ac_tag
=-:-;;
20971 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20988 -) ac_f
="$tmp/stdin";;
20989 *) # Look for the file first in the build tree, then in the source tree
20990 # (if the path is not absolute). The absolute path cannot be DOS-style,
20991 # because $ac_f cannot contain `:'.
20995 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20997 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20998 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20999 { (exit 1); exit 1; }; };;
21001 ac_file_inputs
="$ac_file_inputs $ac_f"
21004 # Let's still pretend it is `configure' which instantiates (i.e., don't
21005 # use $as_me), people would be surprised to read:
21006 # /* config.h. Generated by config.status. */
21007 configure_input
="Generated from "`IFS=:
21008 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21009 if test x
"$ac_file" != x-
; then
21010 configure_input
="$ac_file. $configure_input"
21011 { echo "$as_me:$LINENO: creating $ac_file" >&5
21012 echo "$as_me: creating $ac_file" >&6;}
21016 *:-:* |
*:-) cat >"$tmp/stdin";;
21021 ac_dir
=`$as_dirname -- "$ac_file" ||
21022 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21023 X"$ac_file" : 'X\(//\)[^/]' \| \
21024 X"$ac_file" : 'X\(//\)$' \| \
21025 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21031 /^X\(\/\/\)[^/].*/{
21046 -*) as_dir
=.
/$as_dir;;
21048 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21052 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21053 *) as_qdir
=$as_dir;;
21055 as_dirs
="'$as_qdir' $as_dirs"
21056 as_dir
=`$as_dirname -- "$as_dir" ||
21057 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21058 X"$as_dir" : 'X\(//\)[^/]' \| \
21059 X"$as_dir" : 'X\(//\)$' \| \
21060 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21066 /^X\(\/\/\)[^/].*/{
21079 test -d "$as_dir" && break
21081 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21082 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21083 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21084 { (exit 1); exit 1; }; }; }
21088 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21090 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21091 # A ".." for each directory in $ac_dir_suffix.
21092 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21093 case $ac_top_builddir_sub in
21094 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21095 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21098 ac_abs_top_builddir
=$ac_pwd
21099 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21100 # for backward compatibility:
21101 ac_top_builddir
=$ac_top_build_prefix
21104 .
) # We are building in place.
21106 ac_top_srcdir
=$ac_top_builddir_sub
21107 ac_abs_top_srcdir
=$ac_pwd ;;
21108 [\\/]* | ?
:[\\/]* ) # Absolute name.
21109 ac_srcdir
=$srcdir$ac_dir_suffix;
21110 ac_top_srcdir
=$srcdir
21111 ac_abs_top_srcdir
=$srcdir ;;
21112 *) # Relative name.
21113 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21114 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21115 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21117 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21127 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21128 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21132 cat >>$CONFIG_STATUS <<\_ACEOF
21133 # If the template does not know about datarootdir, expand it.
21134 # FIXME: This hack should be removed a few years after 2.60.
21135 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21137 case `sed -n '/datarootdir/ {
21146 ' $ac_file_inputs` in
21147 *datarootdir
*) ac_datarootdir_seen
=yes;;
21148 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21149 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21150 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21152 cat >>$CONFIG_STATUS <<_ACEOF
21153 ac_datarootdir_hack='
21154 s&@datadir@&$datadir&g
21155 s&@docdir@&$docdir&g
21156 s&@infodir@&$infodir&g
21157 s&@localedir@&$localedir&g
21158 s&@mandir@&$mandir&g
21159 s&\\\${datarootdir}&$datarootdir&g' ;;
21163 # Neutralize VPATH when `$srcdir' = `.'.
21164 # Shell code in configure.ac might set extrasub.
21165 # FIXME: do we really want to maintain this feature?
21166 cat >>$CONFIG_STATUS <<_ACEOF
21170 cat >>$CONFIG_STATUS <<\_ACEOF
21172 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21173 s
&@configure_input@
&$configure_input&;t t
21174 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21175 s
&@srcdir@
&$ac_srcdir&;t t
21176 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21177 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21178 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21179 s
&@builddir@
&$ac_builddir&;t t
21180 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21181 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21182 s
&@INSTALL@
&$ac_INSTALL&;t t
21183 $ac_datarootdir_hack
21184 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21186 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21187 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21188 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21189 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21190 which seems to be undefined. Please make sure it is defined." >&5
21191 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21192 which seems to be undefined. Please make sure it is defined." >&2;}
21196 -) cat "$tmp/out"; rm -f "$tmp/out";;
21197 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21206 # Transform confdefs.h into a sed script `conftest.defines', that
21207 # substitutes the proper values into config.h.in to produce config.h.
21208 rm -f conftest.defines conftest.
tail
21209 # First, append a space to every undef/define line, to ease matching.
21210 echo 's/$/ /' >conftest.defines
21211 # Then, protect against being on the right side of a sed subst, or in
21212 # an unquoted here document, in config.status. If some macros were
21213 # called several times there might be several #defines for the same
21214 # symbol, which is useless. But do not sort them, since the last
21215 # AC_DEFINE must be honored.
21216 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21217 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21218 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21219 # PARAMS is the parameter list in the macro definition--in most cases, it's
21220 # just an empty string.
21221 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21222 ac_dB
='\\)[ (].*,\\1define\\2'
21230 s/^[ ]*#[ ]*define[ ][ ]*//
21235 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21236 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21237 ' >>conftest.defines
21239 # Remove the space that was appended to ease matching.
21240 # Then replace #undef with comments. This is necessary, for
21241 # example, in the case of _POSIX_SOURCE, which is predefined and required
21242 # on some systems where configure will not decide to define it.
21243 # (The regexp can be short, since the line contains either #define or #undef.)
21245 s,^[ #]*u.*,/* & */,' >>conftest.defines
21247 # Break up conftest.defines:
21248 ac_max_sed_lines
=50
21250 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21251 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21252 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21254 ac_in
='$ac_file_inputs'
21255 ac_out
='"$tmp/out1"'
21256 ac_nxt
='"$tmp/out2"'
21260 # Write a here document:
21261 cat >>$CONFIG_STATUS <<_ACEOF
21262 # First, check the format of the line:
21263 cat >"\$tmp/defines.sed" <<\\CEOF
21264 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21265 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21269 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21271 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21272 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21273 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21274 grep . conftest.
tail >/dev
/null ||
break
21275 rm -f conftest.defines
21276 mv conftest.
tail conftest.defines
21278 rm -f conftest.defines conftest.
tail
21280 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21281 cat >>$CONFIG_STATUS <<\_ACEOF
21282 if test x
"$ac_file" != x-
; then
21283 echo "/* $configure_input */" >"$tmp/config.h"
21284 cat "$ac_result" >>"$tmp/config.h"
21285 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21286 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21287 echo "$as_me: $ac_file is unchanged" >&6;}
21290 mv "$tmp/config.h" $ac_file
21293 echo "/* $configure_input */"
21297 # Compute $ac_file's index in $config_headers.
21299 for _am_header
in $config_headers :; do
21300 case $_am_header in
21301 $ac_file |
$ac_file:* )
21304 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21307 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21308 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21309 X$ac_file : 'X\(//\)[^/]' \| \
21310 X$ac_file : 'X\(//\)$' \| \
21311 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21317 /^X\(\/\/\)[^/].*/{
21329 s/.*/./; q'`/stamp-h
$_am_stamp_count
21332 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21333 echo "$as_me: executing $ac_file commands" >&6;}
21338 case $ac_file$ac_mode in
21339 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21340 # Strip MF so we end up with the name of the file.
21341 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21342 # Check whether this is an Automake generated Makefile or not.
21343 # We used to match only the files named `Makefile.in', but
21344 # some people rename them; so instead we look at the file content.
21345 # Grep'ing the first line is not enough: some people post-process
21346 # each Makefile.in and add a new line on top of each file to say so.
21347 # So let's grep whole file.
21348 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21349 dirpart
=`$as_dirname -- "$mf" ||
21350 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21351 X"$mf" : 'X\(//\)[^/]' \| \
21352 X"$mf" : 'X\(//\)$' \| \
21353 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21359 /^X\(\/\/\)[^/].*/{
21375 # Extract the definition of DEPDIR, am__include, and am__quote
21376 # from the Makefile without running `make'.
21377 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21378 test -z "$DEPDIR" && continue
21379 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21380 test -z "am__include" && continue
21381 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21382 # When using ansi2knr, U may be empty or an underscore; expand it
21383 U
=`sed -n 's/^U = //p' < "$mf"`
21384 # Find all dependency output files, they are included files with
21385 # $(DEPDIR) in their names. We invoke sed twice because it is the
21386 # simplest approach to changing $(DEPDIR) to its actual value in the
21388 for file in `sed -n "
21389 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21390 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21391 # Make sure the directory exists.
21392 test -f "$dirpart/$file" && continue
21393 fdir
=`$as_dirname -- "$file" ||
21394 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21395 X"$file" : 'X\(//\)[^/]' \| \
21396 X"$file" : 'X\(//\)$' \| \
21397 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21403 /^X\(\/\/\)[^/].*/{
21416 { as_dir
=$dirpart/$fdir
21418 -*) as_dir
=.
/$as_dir;;
21420 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21424 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21425 *) as_qdir
=$as_dir;;
21427 as_dirs
="'$as_qdir' $as_dirs"
21428 as_dir
=`$as_dirname -- "$as_dir" ||
21429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21430 X"$as_dir" : 'X\(//\)[^/]' \| \
21431 X"$as_dir" : 'X\(//\)$' \| \
21432 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21438 /^X\(\/\/\)[^/].*/{
21451 test -d "$as_dir" && break
21453 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21454 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21455 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21456 { (exit 1); exit 1; }; }; }
21457 # echo "creating $dirpart/$file"
21458 echo '# dummy' > "$dirpart/$file"
21467 { (exit 0); exit 0; }
21469 chmod +x
$CONFIG_STATUS
21470 ac_clean_files
=$ac_clean_files_save
21473 # configure is writing to config.log, and then calls config.status.
21474 # config.status does its own redirection, appending to config.log.
21475 # Unfortunately, on DOS this fails, as config.log is still kept open
21476 # by configure, so config.status won't be able to write to it; its
21477 # output is simply discarded. So we exec the FD to /dev/null,
21478 # effectively closing config.log, so it can be properly (re)opened and
21479 # appended to by config.status. When coming back to configure, we
21480 # need to make the FD available again.
21481 if test "$no_create" != yes; then
21483 ac_config_status_args
=
21484 test "$silent" = yes &&
21485 ac_config_status_args
="$ac_config_status_args --quiet"
21487 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21489 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21490 # would make configure fail if this is the last instruction.
21491 $ac_cs_success ||
{ (exit 1); exit 1; }