2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libuserdb 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='libuserdb'
730 PACKAGE_TARNAME
='libuserdb'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='libuserdb 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="userdb.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
889 ac_precious_vars
='build_alias
906 # Initialize some variables set by options.
908 ac_init_version
=false
909 # The variables have the same names as the options, with
910 # dashes changed to underlines.
918 program_transform_name
=s
,x
,x
,
926 # Installation directory options.
927 # These are left unexpanded so users can "make install exec_prefix=/foo"
928 # and all the variables that are supposed to be based on exec_prefix
929 # by default will actually change.
930 # Use braces instead of parens because sh, perl, etc. also accept them.
931 # (The list follows the same order as the GNU Coding Standards.)
932 bindir
='${exec_prefix}/bin'
933 sbindir
='${exec_prefix}/sbin'
934 libexecdir
='${exec_prefix}/libexec'
935 datarootdir
='${prefix}/share'
936 datadir
='${datarootdir}'
937 sysconfdir
='${prefix}/etc'
938 sharedstatedir
='${prefix}/com'
939 localstatedir
='${prefix}/var'
940 includedir
='${prefix}/include'
941 oldincludedir
='/usr/include'
942 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
943 infodir
='${datarootdir}/info'
948 libdir
='${exec_prefix}/lib'
949 localedir
='${datarootdir}/locale'
950 mandir
='${datarootdir}/man'
956 # If the previous option needs an argument, assign it.
957 if test -n "$ac_prev"; then
958 eval $ac_prev=\
$ac_option
964 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
968 # Accept the important Cygnus configure options, so we can diagnose typos.
970 case $ac_dashdash$ac_option in
974 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
976 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
979 -build |
--build |
--buil |
--bui |
--bu)
980 ac_prev
=build_alias
;;
981 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
982 build_alias
=$ac_optarg ;;
984 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
985 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
986 ac_prev
=cache_file
;;
987 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
988 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
989 cache_file
=$ac_optarg ;;
992 cache_file
=config.cache
;;
994 -datadir |
--datadir |
--datadi |
--datad)
996 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
997 datadir
=$ac_optarg ;;
999 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1000 |
--dataroo |
--dataro |
--datar)
1001 ac_prev
=datarootdir
;;
1002 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1003 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1004 datarootdir
=$ac_optarg ;;
1006 -disable-* |
--disable-*)
1007 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1010 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1011 { (exit 1); exit 1; }; }
1012 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1013 eval enable_
$ac_feature=no
;;
1015 -docdir |
--docdir |
--docdi |
--doc |
--do)
1017 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1018 docdir
=$ac_optarg ;;
1020 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1022 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1023 dvidir
=$ac_optarg ;;
1025 -enable-* |
--enable-*)
1026 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1029 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1030 { (exit 1); exit 1; }; }
1031 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1032 eval enable_
$ac_feature=\
$ac_optarg ;;
1034 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1035 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1036 |
--exec |
--exe |
--ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1039 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1040 |
--exec=* |
--exe=* |
--ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas |
--gas |
--ga |
--g)
1044 # Obsolete; use --with-gas.
1047 -help |
--help |
--hel |
--he |
-h)
1048 ac_init_help
=long
;;
1049 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1052 ac_init_help
=short
;;
1054 -host |
--host |
--hos |
--ho)
1055 ac_prev
=host_alias
;;
1056 -host=* |
--host=* |
--hos=* |
--ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1061 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir |
--includedir |
--includedi |
--included |
--include \
1066 |
--includ |
--inclu |
--incl |
--inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1069 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1074 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir |
--libdir |
--libdi |
--libd)
1079 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1083 |
--libexe |
--libex |
--libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1086 |
--libexe=* |
--libex=* |
--libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1095 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1098 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1103 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp |
--nfp |
--nf)
1107 # Obsolete; use --without-fp.
1110 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1111 |
--no-cr |
--no-c |
-n)
1114 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1115 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1118 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1119 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1120 |
--oldin |
--oldi |
--old |
--ol |
--o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1123 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1124 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1129 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1133 |
--program-pre |
--program-pr |
--program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1136 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1140 |
--program-suf |
--program-su |
--program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1143 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name |
--program-transform-name \
1147 |
--program-transform-nam |
--program-transform-na \
1148 |
--program-transform-n |
--program-transform- \
1149 |
--program-transform |
--program-transfor \
1150 |
--program-transfo |
--program-transf \
1151 |
--program-trans |
--program-tran \
1152 |
--progr-tra |
--program-tr |
--program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* |
--program-transform-name=* \
1155 |
--program-transform-nam=* |
--program-transform-na=* \
1156 |
--program-transform-n=* |
--program-transform-=* \
1157 |
--program-transform=* |
--program-transfor=* \
1158 |
--program-transfo=* |
--program-transf=* \
1159 |
--program-trans=* |
--program-tran=* \
1160 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1165 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1170 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1174 |
-silent |
--silent |
--silen |
--sile |
--sil)
1177 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1179 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1184 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1185 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1189 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1190 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site |
--site |
--sit)
1196 -site=* |
--site=* |
--sit=*)
1199 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1201 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1205 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1208 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1212 ac_prev
=target_alias
;;
1213 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1219 -version |
--version |
--versio |
--versi |
--vers |
-V)
1220 ac_init_version
=: ;;
1223 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 { echo "$as_me: error: invalid package name: $ac_package" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1229 eval with_
$ac_package=\
$ac_optarg ;;
1231 -without-* |
--without-*)
1232 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1235 { echo "$as_me: error: invalid package name: $ac_package" >&2
1236 { (exit 1); exit 1; }; }
1237 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1238 eval with_
$ac_package=no
;;
1241 # Obsolete; use --with-x.
1244 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1245 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1246 ac_prev
=x_includes
;;
1247 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1248 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1249 x_includes
=$ac_optarg ;;
1251 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1252 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1253 ac_prev
=x_libraries
;;
1254 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1255 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1256 x_libraries
=$ac_optarg ;;
1258 -*) { echo "$as_me: error: unrecognized option: $ac_option
1259 Try \`$0 --help' for more information." >&2
1260 { (exit 1); exit 1; }; }
1264 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1267 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1268 { (exit 1); exit 1; }; }
1269 eval $ac_envvar=\
$ac_optarg
1270 export $ac_envvar ;;
1273 # FIXME: should be removed in autoconf 3.0.
1274 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1275 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1276 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1277 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1283 if test -n "$ac_prev"; then
1284 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1285 { echo "$as_me: error: missing argument to $ac_option" >&2
1286 { (exit 1); exit 1; }; }
1289 # Be sure to have absolute directory names.
1290 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1291 datadir sysconfdir sharedstatedir localstatedir includedir \
1292 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1293 libdir localedir mandir
1295 eval ac_val
=\$
$ac_var
1297 [\\/$
]* | ?
:[\\/]* ) continue;;
1298 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1300 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1301 { (exit 1); exit 1; }; }
1304 # There might be people who depend on the old broken behavior: `$host'
1305 # used to hold the argument of --host etc.
1306 # FIXME: To remove some day.
1309 target
=$target_alias
1311 # FIXME: To remove some day.
1312 if test "x$host_alias" != x
; then
1313 if test "x$build_alias" = x
; then
1314 cross_compiling
=maybe
1315 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1316 If a cross compiler is detected then cross compile mode will be used." >&2
1317 elif test "x$build_alias" != "x$host_alias"; then
1323 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1325 test "$silent" = yes && exec 6>/dev
/null
1328 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di
=`ls -di .` &&
1330 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1331 { echo "$as_me: error: Working directory cannot be determined" >&2
1332 { (exit 1); exit 1; }; }
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 { echo "$as_me: error: pwd does not report name of working directory" >&2
1335 { (exit 1); exit 1; }; }
1338 # Find the source files, if location was not specified.
1339 if test -z "$srcdir"; then
1340 ac_srcdir_defaulted
=yes
1341 # Try the directory containing this script, then the parent directory.
1342 ac_confdir
=`$as_dirname -- "$0" ||
1343 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1344 X"$0" : 'X\(//\)[^/]' \| \
1345 X"$0" : 'X\(//\)$' \| \
1346 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1370 ac_srcdir_defaulted
=no
1372 if test ! -r "$srcdir/$ac_unique_file"; then
1373 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1374 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1375 { (exit 1); exit 1; }; }
1377 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1379 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1380 { (exit 1); exit 1; }; }
1382 # When building in place, set srcdir=.
1383 if test "$ac_abs_confdir" = "$ac_pwd"; then
1386 # Remove unnecessary trailing slashes from srcdir.
1387 # Double slashes in file names in object file debugging info
1388 # mess up M-x gdb in Emacs.
1390 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1392 for ac_var
in $ac_precious_vars; do
1393 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1394 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1395 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1396 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1400 # Report the --help message.
1402 if test "$ac_init_help" = "long"; then
1403 # Omit some internal or obsolete options to make the list less imposing.
1404 # This message is too long to be a string in the A/UX 3.1 sh.
1406 \`configure' configures libuserdb 0.10 to adapt to many kinds of systems.
1408 Usage: $0 [OPTION]... [VAR=VALUE]...
1410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1411 VAR=VALUE. See below for descriptions of some of the useful variables.
1413 Defaults for the options are specified in brackets.
1416 -h, --help display this help and exit
1417 --help=short display options specific to this package
1418 --help=recursive display the short help of all the included packages
1419 -V, --version display version information and exit
1420 -q, --quiet, --silent do not print \`checking...' messages
1421 --cache-file=FILE cache test results in FILE [disabled]
1422 -C, --config-cache alias for \`--cache-file=config.cache'
1423 -n, --no-create do not create output files
1424 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1426 Installation directories:
1427 --prefix=PREFIX install architecture-independent files in PREFIX
1428 [$ac_default_prefix]
1429 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1432 By default, \`make install' will install all the files in
1433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1435 for instance \`--prefix=\$HOME'.
1437 For better control, use the options below.
1439 Fine tuning of the installation directories:
1440 --bindir=DIR user executables [EPREFIX/bin]
1441 --sbindir=DIR system admin executables [EPREFIX/sbin]
1442 --libexecdir=DIR program executables [EPREFIX/libexec]
1443 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1444 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1445 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1446 --libdir=DIR object code libraries [EPREFIX/lib]
1447 --includedir=DIR C header files [PREFIX/include]
1448 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1449 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1450 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1451 --infodir=DIR info documentation [DATAROOTDIR/info]
1452 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1453 --mandir=DIR man documentation [DATAROOTDIR/man]
1454 --docdir=DIR documentation root [DATAROOTDIR/doc/libuserdb]
1455 --htmldir=DIR html documentation [DOCDIR]
1456 --dvidir=DIR dvi documentation [DOCDIR]
1457 --pdfdir=DIR pdf documentation [DOCDIR]
1458 --psdir=DIR ps documentation [DOCDIR]
1464 --program-prefix=PREFIX prepend PREFIX to installed program names
1465 --program-suffix=SUFFIX append SUFFIX to installed program names
1466 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1469 --build=BUILD configure
for building on BUILD
[guessed
]
1470 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1474 if test -n "$ac_init_help"; then
1475 case $ac_init_help in
1476 short | recursive
) echo "Configuration of libuserdb 0.10:";;
1481 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1482 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1483 --disable-dependency-tracking speeds up one-time build
1484 --enable-dependency-tracking do not reject slow dependency extractors
1485 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1486 --enable-static[=PKGS
] build static libraries
[default
=yes]
1487 --enable-fast-install[=PKGS
]
1488 optimize
for fast installation
[default
=yes]
1489 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1492 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1493 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1494 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1495 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1497 --with-tags[=TAGS
] include additional configurations
[automatic
]
1499 --with-random=/dev
/urandom
- location of the system random
file generator
1500 --without-random - there is no system random
file generator
1502 Some influential environment variables
:
1503 CC C compiler
command
1504 CFLAGS C compiler flags
1505 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1506 nonstandard directory
<lib dir
>
1507 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1508 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1509 you have headers
in a nonstandard directory
<include dir
>
1511 CXX C
++ compiler
command
1512 CXXFLAGS C
++ compiler flags
1513 CXXCPP C
++ preprocessor
1514 F77 Fortran
77 compiler
command
1515 FFLAGS Fortran
77 compiler flags
1517 Use these variables to override the choices made by
`configure' or to help
1518 it to find libraries and programs with nonstandard names/locations.
1520 Report bugs to <courier-users@lists.sourceforge.net>.
1525 if test "$ac_init_help" = "recursive"; then
1526 # If there are subdirs, report their specific --help.
1527 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1528 test -d "$ac_dir" || continue
1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1535 # A ".." for each directory in $ac_dir_suffix.
1536 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1537 case $ac_top_builddir_sub in
1538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1542 ac_abs_top_builddir=$ac_pwd
1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1544 # for backward compatibility:
1545 ac_top_builddir=$ac_top_build_prefix
1548 .) # We are building in place.
1550 ac_top_srcdir=$ac_top_builddir_sub
1551 ac_abs_top_srcdir=$ac_pwd ;;
1552 [\\/]* | ?:[\\/]* ) # Absolute name.
1553 ac_srcdir=$srcdir$ac_dir_suffix;
1554 ac_top_srcdir=$srcdir
1555 ac_abs_top_srcdir=$srcdir ;;
1557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1558 ac_top_srcdir=$ac_top_build_prefix$srcdir
1559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1563 cd "$ac_dir" || { ac_status=$?; continue; }
1564 # Check for guested configure.
1565 if test -f "$ac_srcdir/configure.gnu"; then
1567 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1568 elif test -f "$ac_srcdir/configure"; then
1570 $SHELL "$ac_srcdir/configure" --help=recursive
1572 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574 cd "$ac_pwd" || { ac_status=$?; break; }
1578 test -n "$ac_init_help" && exit $ac_status
1579 if $ac_init_version; then
1581 libuserdb configure 0.10
1582 generated by GNU Autoconf 2.61
1584 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1585 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1591 cat >config.log <<_ACEOF
1592 This file contains any messages produced by compilers while
1593 running configure, to aid debugging if configure makes a mistake.
1595 It was created by libuserdb $as_me 0.10, which was
1596 generated by GNU Autoconf 2.61. Invocation command line was
1608 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1609 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1610 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1611 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1612 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1614 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1615 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1617 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1618 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1619 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1620 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1621 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1622 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1623 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 echo "PATH: $as_dir"
1648 # Keep a trace of the command line.
1649 # Strip out --no-create and --no-recursion so they do not pile up.
1650 # Strip out --silent because we don't want to record it for future runs.
1651 # Also quote any args containing shell meta-characters.
1652 # Make two passes to allow for proper duplicate-argument suppression.
1656 ac_must_keep_next=false
1662 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1664 | -silent | --silent | --silen | --sile | --sil)
1667 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1670 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1672 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1673 if test $ac_must_keep_next = true; then
1674 ac_must_keep_next=false # Got value, back to normal.
1677 *=* | --config-cache | -C | -disable-* | --disable-* \
1678 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1679 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1680 | -with-* | --with-* | -without-* | --without-* | --x)
1681 case "$ac_configure_args0 " in
1682 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1685 -* ) ac_must_keep_next=true ;;
1688 ac_configure_args="$ac_configure_args '$ac_arg'"
1693 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1694 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1696 # When interrupted or exit'd, cleanup temporary files, and complete
1697 # config.log. We remove comments because anyway the quotes in there
1698 # would cause problems or look ugly.
1699 # WARNING: Use '\'' to represent an apostrophe within the trap.
1700 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1701 trap 'exit_status=$?
1702 # Save into config.log some information that might help in debugging.
1707 ## ---------------- ##
1708 ## Cache variables. ##
1709 ## ---------------- ##
1712 # The following way of writing the cache mishandles newlines in values,
1714 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1715 eval ac_val=\$$ac_var
1719 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1720 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1723 _ | IFS | as_nl) ;; #(
1724 *) $as_unset $ac_var ;;
1729 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1730 *${as_nl}ac_space=\ *)
1732 "s/'\''/'\''\\\\'\'''\''/g;
1733 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1736 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1744 ## ----------------- ##
1745 ## Output variables. ##
1746 ## ----------------- ##
1749 for ac_var in $ac_subst_vars
1751 eval ac_val=\$$ac_var
1753 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1755 echo "$ac_var='\''$ac_val'\''"
1759 if test -n "$ac_subst_files"; then
1761 ## ------------------- ##
1762 ## File substitutions. ##
1763 ## ------------------- ##
1766 for ac_var in $ac_subst_files
1768 eval ac_val=\$$ac_var
1770 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1772 echo "$ac_var='\''$ac_val'\''"
1777 if test -s confdefs.h; then
1787 test "$ac_signal" != 0 &&
1788 echo "$as_me: caught signal $ac_signal"
1789 echo "$as_me: exit $exit_status"
1791 rm -f core *.core core.conftest.* &&
1792 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1795 for ac_signal in 1 2 13 15; do
1796 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1800 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1801 rm -f -r conftest* confdefs.h
1803 # Predefined preprocessor variables.
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE_NAME "$PACKAGE_NAME"
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1820 cat >>confdefs.h <<_ACEOF
1821 #define PACKAGE_STRING "$PACKAGE_STRING"
1825 cat >>confdefs.h <<_ACEOF
1826 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1830 # Let the site file select an alternate cache file if it wants to.
1831 # Prefer explicitly selected file to automatically selected ones.
1832 if test -n "$CONFIG_SITE"; then
1833 set x "$CONFIG_SITE"
1834 elif test "x$prefix" != xNONE; then
1835 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1837 set x "$ac_default_prefix/share/config.site" \
1838 "$ac_default_prefix/etc/config.site"
1843 if test -r "$ac_site_file"; then
1844 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1845 echo "$as_me: loading site script $ac_site_file" >&6;}
1846 sed 's/^/| /' "$ac_site_file" >&5
1851 if test -r "$cache_file"; then
1852 # Some versions of bash will fail to source /dev/null (special
1853 # files actually), so we avoid doing that.
1854 if test -f "$cache_file"; then
1855 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1856 echo "$as_me: loading cache $cache_file" >&6;}
1858 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1859 *) . "./$cache_file";;
1863 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1864 echo "$as_me: creating cache $cache_file" >&6;}
1868 # Check that the precious variables saved in the cache have kept the same
1870 ac_cache_corrupted=false
1871 for ac_var in $ac_precious_vars; do
1872 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1873 eval ac_new_set=\$ac_env_${ac_var}_set
1874 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1875 eval ac_new_val=\$ac_env_${ac_var}_value
1876 case $ac_old_set,$ac_new_set in
1878 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1879 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1880 ac_cache_corrupted=: ;;
1882 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1883 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1884 ac_cache_corrupted=: ;;
1887 if test "x$ac_old_val" != "x$ac_new_val"; then
1888 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1889 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1890 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1891 echo "$as_me: former value
: $ac_old_val" >&2;}
1892 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1893 echo "$as_me: current value
: $ac_new_val" >&2;}
1894 ac_cache_corrupted=:
1897 # Pass precious variables to config.status.
1898 if test "$ac_new_set" = set; then
1900 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1901 *) ac_arg=$ac_var=$ac_new_val ;;
1903 case " $ac_configure_args " in
1904 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1905 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1909 if $ac_cache_corrupted; then
1910 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1911 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1912 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1913 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1914 { (exit 1); exit 1; }; }
1942 ac_cpp='$CPP $CPPFLAGS'
1943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1949 >confdefs.h # Kill PACKAGE_ macros.
1951 LPATH="$PATH:/usr/local/bin"
1954 am__api_version='1.10'
1957 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1958 if test -f "$ac_dir/install-sh"; then
1960 ac_install_sh="$ac_aux_dir/install-sh -c"
1962 elif test -f "$ac_dir/install.sh"; then
1964 ac_install_sh="$ac_aux_dir/install.sh -c"
1966 elif test -f "$ac_dir/shtool"; then
1968 ac_install_sh="$ac_aux_dir/shtool install -c"
1972 if test -z "$ac_aux_dir"; then
1973 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1974 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1975 { (exit 1); exit 1; }; }
1978 # These three variables are undocumented and unsupported,
1979 # and are intended to be withdrawn in a future Autoconf release.
1980 # They can cause serious problems if a builder's source tree is in a directory
1981 # whose full name contains unusual characters.
1982 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1983 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1984 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1987 # Find a good install program. We prefer a C program (faster),
1988 # so one script is as good as another. But avoid the broken or
1989 # incompatible versions:
1990 # SysV /etc/install, /usr/sbin/install
1991 # SunOS /usr/etc/install
1992 # IRIX /sbin/install
1994 # AmigaOS /C/install, which installs bootblocks on floppy discs
1995 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1996 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1997 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1998 # OS/2's system install, which has a completely different semantic
1999 # ./install, which can be erroneously created by make from ./install.sh.
2000 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2001 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2002 if test -z "$INSTALL"; then
2003 if test "${ac_cv_path_install+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010 test -z "$as_dir" && as_dir=.
2011 # Account for people who put trailing slashes in PATH elements.
2013 ./ | .// | /cC/* | \
2014 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2015 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2018 # OSF1 and SCO ODT 3.0 have their own names for install.
2019 # Don't use installbsd from OSF since it installs stuff as root
2021 for ac_prog in ginstall scoinst install; do
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2024 if test $ac_prog = install &&
2025 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2026 # AIX install. It has an incompatible calling convention.
2028 elif test $ac_prog = install &&
2029 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2030 # program-specific install script used by HP pwplus--don't use.
2033 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2046 if test "${ac_cv_path_install+set}" = set; then
2047 INSTALL=$ac_cv_path_install
2049 # As a last resort, use the slow shell script. Don't cache a
2050 # value for INSTALL within a source directory, because that will
2051 # break other packages using the cache if that directory is
2052 # removed, or if the value is a relative name.
2053 INSTALL=$ac_install_sh
2056 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2057 echo "${ECHO_T}$INSTALL" >&6; }
2059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2060 # It thinks the first close brace ends the variable substitution.
2061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2063 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2065 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2067 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2068 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2071 echo timestamp > conftest.file
2072 # Do `set' in a subshell so we don't clobber the current shell
's
2073 # arguments. Must try -L first in case configure is actually a
2074 # symlink; some systems play weird games with the mod time of symlinks
2075 # (eg FreeBSD returns the mod time of the symlink's containing
2078 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2079 if test "$*" = "X"; then
2081 set X
`ls -t $srcdir/configure conftest.file`
2084 if test "$*" != "X $srcdir/configure conftest.file" \
2085 && test "$*" != "X conftest.file $srcdir/configure"; then
2087 # If neither matched, then we have a broken ls. This can happen
2088 # if, for instance, CONFIG_SHELL is bash and it inherits a
2089 # broken ls alias from the environment. This has actually
2090 # happened. Such a system could not be considered "sane".
2091 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2092 alias in your environment" >&5
2093 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2094 alias in your environment" >&2;}
2095 { (exit 1); exit 1; }; }
2098 test "$2" = conftest.
file
2104 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2105 Check your system clock" >&5
2106 echo "$as_me: error: newly created file is older than distributed files!
2107 Check your system clock" >&2;}
2108 { (exit 1); exit 1; }; }
2110 { echo "$as_me:$LINENO: result: yes" >&5
2111 echo "${ECHO_T}yes" >&6; }
2112 test "$program_prefix" != NONE
&&
2113 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2114 # Use a double $ so make ignores it.
2115 test "$program_suffix" != NONE
&&
2116 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2117 # Double any \ or $. echo might interpret backslashes.
2118 # By default was `s,x,x', remove it if useless.
2119 cat <<\_ACEOF
>conftest.
sed
2120 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2122 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2125 # expand $ac_aux_dir to an absolute path
2126 am_aux_dir
=`cd $ac_aux_dir && pwd`
2128 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2129 # Use eval to expand $SHELL
2130 if eval "$MISSING --run true"; then
2131 am_missing_run
="$MISSING --run "
2134 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2135 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2138 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2139 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2140 if test -z "$MKDIR_P"; then
2141 if test "${ac_cv_path_mkdir+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2145 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2148 test -z "$as_dir" && as_dir
=.
2149 for ac_prog
in mkdir gmkdir
; do
2150 for ac_exec_ext
in '' $ac_executable_extensions; do
2151 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2152 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2153 'mkdir (GNU coreutils) '* | \
2154 'mkdir (coreutils) '* | \
2155 'mkdir (fileutils) '4.1*)
2156 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2166 if test "${ac_cv_path_mkdir+set}" = set; then
2167 MKDIR_P
="$ac_cv_path_mkdir -p"
2169 # As a last resort, use the slow shell script. Don't cache a
2170 # value for MKDIR_P within a source directory, because that will
2171 # break other packages using the cache if that directory is
2172 # removed, or if the value is a relative name.
2173 test -d .
/--version && rmdir .
/--version
2174 MKDIR_P
="$ac_install_sh -d"
2177 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2178 echo "${ECHO_T}$MKDIR_P" >&6; }
2182 [\\/$
]* | ?
:[\\/]*) ;;
2183 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2186 for ac_prog
in gawk mawk nawk
awk
2188 # Extract the first word of "$ac_prog", so it can be a program name with args.
2189 set dummy
$ac_prog; ac_word
=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_AWK+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 if test -n "$AWK"; then
2196 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2202 test -z "$as_dir" && as_dir
=.
2203 for ac_exec_ext
in '' $ac_executable_extensions; do
2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205 ac_cv_prog_AWK
="$ac_prog"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2216 if test -n "$AWK"; then
2217 { echo "$as_me:$LINENO: result: $AWK" >&5
2218 echo "${ECHO_T}$AWK" >&6; }
2220 { echo "$as_me:$LINENO: result: no" >&5
2221 echo "${ECHO_T}no" >&6; }
2225 test -n "$AWK" && break
2228 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2229 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2230 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2231 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 cat >conftest.
make <<\_ACEOF
2237 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2239 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2240 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2242 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2244 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2248 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2249 { echo "$as_me:$LINENO: result: yes" >&5
2250 echo "${ECHO_T}yes" >&6; }
2253 { echo "$as_me:$LINENO: result: no" >&5
2254 echo "${ECHO_T}no" >&6; }
2255 SET_MAKE
="MAKE=${MAKE-make}"
2258 rm -rf .tst
2>/dev
/null
2259 mkdir .tst
2>/dev
/null
2260 if test -d .tst
; then
2265 rmdir .tst
2>/dev
/null
2267 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2268 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2269 # is not polluted with repeated "-I."
2270 am__isrc
=' -I$(srcdir)'
2271 # test to see if srcdir already configured
2272 if test -f $srcdir/config.status
; then
2273 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2274 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2275 { (exit 1); exit 1; }; }
2279 # test whether we have cygpath
2280 if test -z "$CYGPATH_W"; then
2281 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2282 CYGPATH_W
='cygpath -w'
2289 # Define the identity of the package.
2294 # Some tools Automake needs.
2296 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2299 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2302 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2305 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2308 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2310 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2312 # Installed binaries are usually stripped using `strip' when the user
2313 # run `make install-strip'. However `strip' might not be the right
2314 # tool to use in cross-compilation environments, therefore Automake
2315 # will honor the `STRIP' environment variable to overrule this program.
2316 if test "$cross_compiling" != no
; then
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2319 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_STRIP+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$STRIP"; then
2326 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir
=.
2333 for ac_exec_ext
in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 STRIP
=$ac_cv_prog_STRIP
2346 if test -n "$STRIP"; then
2347 { echo "$as_me:$LINENO: result: $STRIP" >&5
2348 echo "${ECHO_T}$STRIP" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2356 if test -z "$ac_cv_prog_STRIP"; then
2358 # Extract the first word of "strip", so it can be a program name with args.
2359 set dummy strip
; ac_word
=$2
2360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2362 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$ac_ct_STRIP"; then
2366 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir
=.
2373 for ac_exec_ext
in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_ac_ct_STRIP
="strip"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2386 if test -n "$ac_ct_STRIP"; then
2387 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2388 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2390 { echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6; }
2394 if test "x$ac_ct_STRIP" = x
; then
2397 case $cross_compiling:$ac_tool_warned in
2399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&5
2402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2403 whose name does not start with the host triplet. If you think this
2404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2405 ac_tool_warned
=yes ;;
2410 STRIP
="$ac_cv_prog_STRIP"
2414 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2416 # We need awk for the "check" target. The system "awk" is bad on
2418 # Always define AMTAR for backward compatibility.
2420 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2422 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2429 for ac_prog
in gawk mawk nawk
awk
2431 # Extract the first word of "$ac_prog", so it can be a program name with args.
2432 set dummy
$ac_prog; ac_word
=$2
2433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2435 if test "${ac_cv_prog_AWK+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 if test -n "$AWK"; then
2439 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir
=.
2446 for ac_exec_ext
in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_AWK
="$ac_prog"
2449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test -n "$AWK"; then
2460 { echo "$as_me:$LINENO: result: $AWK" >&5
2461 echo "${ECHO_T}$AWK" >&6; }
2463 { echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6; }
2468 test -n "$AWK" && break
2472 ac_cpp
='$CPP $CPPFLAGS'
2473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2476 if test -n "$ac_tool_prefix"; then
2477 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2478 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2481 if test "${ac_cv_prog_CC+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 if test -n "$CC"; then
2485 ac_cv_prog_CC
="$CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 if test -n "$CC"; then
2506 { echo "$as_me:$LINENO: result: $CC" >&5
2507 echo "${ECHO_T}$CC" >&6; }
2509 { echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6; }
2515 if test -z "$ac_cv_prog_CC"; then
2517 # Extract the first word of "gcc", so it can be a program name with args.
2518 set dummy gcc
; ac_word
=$2
2519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test -n "$ac_ct_CC"; then
2525 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir
=.
2532 for ac_exec_ext
in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534 ac_cv_prog_ac_ct_CC
="gcc"
2535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2545 if test -n "$ac_ct_CC"; then
2546 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2547 echo "${ECHO_T}$ac_ct_CC" >&6; }
2549 { echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6; }
2553 if test "x$ac_ct_CC" = x
; then
2556 case $cross_compiling:$ac_tool_warned in
2558 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2559 whose name does not start with the host triplet. If you think this
2560 configuration is useful to you, please write to autoconf@gnu.org." >&5
2561 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2562 whose name does not start with the host triplet. If you think this
2563 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2564 ac_tool_warned
=yes ;;
2572 if test -z "$CC"; then
2573 if test -n "$ac_tool_prefix"; then
2574 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2575 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2578 if test "${ac_cv_prog_CC+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 if test -n "$CC"; then
2582 ac_cv_prog_CC
="$CC" # Let the user override the test.
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_exec_ext
in '' $ac_executable_extensions; do
2590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 if test -n "$CC"; then
2603 { echo "$as_me:$LINENO: result: $CC" >&5
2604 echo "${ECHO_T}$CC" >&6; }
2606 { echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6; }
2613 if test -z "$CC"; then
2614 # Extract the first word of "cc", so it can be a program name with args.
2615 set dummy cc
; ac_word
=$2
2616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2618 if test "${ac_cv_prog_CC+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 if test -n "$CC"; then
2622 ac_cv_prog_CC
="$CC" # Let the user override the test.
2625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir
=.
2630 for ac_exec_ext
in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2633 ac_prog_rejected
=yes
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 if test $ac_prog_rejected = yes; then
2645 # We found a bogon in the path, so make sure we never use it.
2646 set dummy
$ac_cv_prog_CC
2648 if test $# != 0; then
2649 # We chose a different compiler from the bogus one.
2650 # However, it has the same basename, so the bogon will be chosen
2651 # first if we set CC to just the basename; use the full file name.
2653 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2659 if test -n "$CC"; then
2660 { echo "$as_me:$LINENO: result: $CC" >&5
2661 echo "${ECHO_T}$CC" >&6; }
2663 { echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6; }
2669 if test -z "$CC"; then
2670 if test -n "$ac_tool_prefix"; then
2671 for ac_prog
in cl.exe
2673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2674 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2677 if test "${ac_cv_prog_CC+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$CC"; then
2681 ac_cv_prog_CC
="$CC" # Let the user override the test.
2683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir
=.
2688 for ac_exec_ext
in '' $ac_executable_extensions; do
2689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$CC"; then
2702 { echo "$as_me:$LINENO: result: $CC" >&5
2703 echo "${ECHO_T}$CC" >&6; }
2705 { echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6; }
2710 test -n "$CC" && break
2713 if test -z "$CC"; then
2715 for ac_prog
in cl.exe
2717 # Extract the first word of "$ac_prog", so it can be a program name with args.
2718 set dummy
$ac_prog; ac_word
=$2
2719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 if test -n "$ac_ct_CC"; then
2725 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir
=.
2732 for ac_exec_ext
in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_ac_ct_CC
="$ac_prog"
2735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2745 if test -n "$ac_ct_CC"; then
2746 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2747 echo "${ECHO_T}$ac_ct_CC" >&6; }
2749 { echo "$as_me:$LINENO: result: no" >&5
2750 echo "${ECHO_T}no" >&6; }
2754 test -n "$ac_ct_CC" && break
2757 if test "x$ac_ct_CC" = x
; then
2760 case $cross_compiling:$ac_tool_warned in
2762 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2763 whose name does not start with the host triplet. If you think this
2764 configuration is useful to you, please write to autoconf@gnu.org." >&5
2765 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2766 whose name does not start with the host triplet. If you think this
2767 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2768 ac_tool_warned
=yes ;;
2777 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2778 See \`config.log' for more details." >&5
2779 echo "$as_me: error: no acceptable C compiler found in \$PATH
2780 See \`config.log' for more details." >&2;}
2781 { (exit 1); exit 1; }; }
2783 # Provide some information about the compiler.
2784 echo "$as_me:$LINENO: checking for C compiler version" >&5
2785 ac_compiler
=`set X $ac_compile; echo $2`
2786 { (ac_try
="$ac_compiler --version >&5"
2788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compiler --version >&5") 2>&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }
2796 { (ac_try="$ac_compiler -v >&5"
2798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2799 *) ac_try_echo
=$ac_try;;
2801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2802 (eval "$ac_compiler -v >&5") 2>&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }
2806 { (ac_try
="$ac_compiler -V >&5"
2808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812 (eval "$ac_compiler -V >&5") 2>&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2817 cat >conftest.$ac_ext <<_ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2832 ac_clean_files_save=$ac_clean_files
2833 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2834 # Try to create an executable without -o first, disregard a.out.
2835 # It will help us diagnose broken compilers, and finding out an intuition
2837 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2838 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2839 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2841 # List of possible output files, starting from the most likely.
2842 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2843 # only as a last resort. b.out is created by i960 compilers.
2844 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2846 # The IRIX 6 linker writes into existing files which may not be
2847 # executable, retaining their permissions. Remove them first so a
2848 # subsequent execution test works.
2850 for ac_file in $ac_files
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2854 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2859 if { (ac_try="$ac_link_default"
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2865 (eval "$ac_link_default") 2>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; then
2869 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2870 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2871 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2872 # so that the user can short-circuit this test for compilers unknown to
2874 for ac_file
in $ac_files ''
2876 test -f "$ac_file" ||
continue
2878 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2881 # We found the default executable, but exeext='' is most
2885 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2887 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2889 # We set ac_cv_exeext here because the later test for it is not
2890 # safe: cross compilers may not add the suffix if given an `-o'
2891 # argument, so we may need to know it at that point already.
2892 # Even if this section looks crufty: it has the advantage of
2899 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2905 { echo "$as_me:$LINENO: result: $ac_file" >&5
2906 echo "${ECHO_T}$ac_file" >&6; }
2907 if test -z "$ac_file"; then
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.
$ac_ext >&5
2911 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2912 See \`config.log' for more details." >&5
2913 echo "$as_me: error: C compiler cannot create executables
2914 See \`config.log' for more details." >&2;}
2915 { (exit 77); exit 77; }; }
2918 ac_exeext
=$ac_cv_exeext
2920 # Check that the compiler produces executables we can run. If not, either
2921 # the compiler is broken, or we cross compile.
2922 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2923 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2925 # If not cross compiling, check that we can run a simple program.
2926 if test "$cross_compiling" != yes; then
2927 if { ac_try
='./$ac_file'
2928 { (case "(($ac_try" in
2929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_try") 2>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; }; then
2939 if test "$cross_compiling" = maybe; then
2942 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2943 If you meant to cross compile, use \`--host'.
2944 See \`config.log' for more details.
" >&5
2945 echo "$as_me: error
: cannot run C compiled programs.
2946 If you meant to cross compile
, use \
`--host'.
2947 See \`config.log
' for more details." >&2;}
2948 { (exit 1); exit 1; }; }
2952 { echo "$as_me:$LINENO: result: yes" >&5
2953 echo "${ECHO_T}yes" >&6; }
2955 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2956 ac_clean_files=$ac_clean_files_save
2957 # Check that the compiler produces executables we can run. If not, either
2958 # the compiler is broken, or we cross compile.
2959 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2960 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2961 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2962 echo "${ECHO_T}$cross_compiling" >&6; }
2964 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2965 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2966 if { (ac_try="$ac_link"
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_link") 2>&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; then
2976 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2977 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2978 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2980 for ac_file
in conftest.exe conftest conftest.
*; do
2981 test -f "$ac_file" ||
continue
2983 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2984 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2990 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details." >&5
2992 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2993 See \`config.log' for more details." >&2;}
2994 { (exit 1); exit 1; }; }
2997 rm -f conftest
$ac_cv_exeext
2998 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2999 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3001 rm -f conftest.
$ac_ext
3002 EXEEXT
=$ac_cv_exeext
3004 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3005 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3006 if test "${ac_cv_objext+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 cat >conftest.
$ac_ext <<_ACEOF
3012 cat confdefs.h
>>conftest.
$ac_ext
3013 cat >>conftest.
$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3024 rm -f conftest.o conftest.obj
3025 if { (ac_try
="$ac_compile"
3027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_compile") 2>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; then
3035 for ac_file in conftest.o conftest.obj conftest.*; do
3036 test -f "$ac_file" || continue;
3038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3039 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3044 echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.$ac_ext >&5
3047 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3048 See \`config.log
' for more details." >&5
3049 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3050 See \`config.log' for more details.
" >&2;}
3051 { (exit 1); exit 1; }; }
3054 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3056 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3057 echo "${ECHO_T}$ac_cv_objext" >&6; }
3058 OBJEXT=$ac_cv_objext
3060 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3061 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3062 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3063 echo $ECHO_N "(cached
) $ECHO_C" >&6
3065 cat >conftest.$ac_ext <<_ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3083 rm -f conftest.$ac_objext
3084 if { (ac_try="$ac_compile"
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3090 (eval "$ac_compile") 2>conftest.er1
3092 grep -v '^ *+' conftest.er1 >conftest.err
3094 cat conftest.err >&5
3095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3096 (exit $ac_status); } && {
3097 test -z "$ac_c_werror_flag" ||
3098 test ! -s conftest.err
3099 } && test -s conftest.$ac_objext; then
3102 echo "$as_me: failed program was
:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3112 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3113 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3114 GCC=`test $ac_compiler_gnu = yes && echo yes`
3115 ac_test_CFLAGS=${CFLAGS+set}
3116 ac_save_CFLAGS=$CFLAGS
3117 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3118 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3119 if test "${ac_cv_prog_cc_g+set}" = set; then
3120 echo $ECHO_N "(cached
) $ECHO_C" >&6
3122 ac_save_c_werror_flag=$ac_c_werror_flag
3123 ac_c_werror_flag=yes
3126 cat >conftest.$ac_ext <<_ACEOF
3129 cat confdefs.h >>conftest.$ac_ext
3130 cat >>conftest.$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3141 rm -f conftest.$ac_objext
3142 if { (ac_try="$ac_compile"
3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3148 (eval "$ac_compile") 2>conftest.er1
3150 grep -v '^ *+' conftest.er1 >conftest.err
3152 cat conftest.err >&5
3153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3154 (exit $ac_status); } && {
3155 test -z "$ac_c_werror_flag" ||
3156 test ! -s conftest.err
3157 } && test -s conftest.$ac_objext; then
3160 echo "$as_me: failed program was
:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3164 cat >conftest.$ac_ext <<_ACEOF
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3179 rm -f conftest.$ac_objext
3180 if { (ac_try="$ac_compile"
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3186 (eval "$ac_compile") 2>conftest.er1
3188 grep -v '^ *+' conftest.er1 >conftest.err
3190 cat conftest.err >&5
3191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3192 (exit $ac_status); } && {
3193 test -z "$ac_c_werror_flag" ||
3194 test ! -s conftest.err
3195 } && test -s conftest.$ac_objext; then
3198 echo "$as_me: failed program was
:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 ac_c_werror_flag=$ac_save_c_werror_flag
3203 cat >conftest.$ac_ext <<_ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3218 rm -f conftest.$ac_objext
3219 if { (ac_try="$ac_compile"
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3225 (eval "$ac_compile") 2>conftest.er1
3227 grep -v '^ *+' conftest.er1 >conftest.err
3229 cat conftest.err >&5
3230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3231 (exit $ac_status); } && {
3232 test -z "$ac_c_werror_flag" ||
3233 test ! -s conftest.err
3234 } && test -s conftest.$ac_objext; then
3237 echo "$as_me: failed program was
:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3250 ac_c_werror_flag=$ac_save_c_werror_flag
3252 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3253 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3254 if test "$ac_test_CFLAGS" = set; then
3255 CFLAGS=$ac_save_CFLAGS
3256 elif test $ac_cv_prog_cc_g = yes; then
3257 if test "$GCC" = yes; then
3263 if test "$GCC" = yes; then
3269 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3270 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3271 if test "${ac_cv_prog_cc_c89+set}" = set; then
3272 echo $ECHO_N "(cached
) $ECHO_C" >&6
3274 ac_cv_prog_cc_c89=no
3276 cat >conftest.$ac_ext <<_ACEOF
3279 cat confdefs.h >>conftest.$ac_ext
3280 cat >>conftest.$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3284 #include <sys/types.h>
3285 #include <sys/stat.h>
3286 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3287 struct buf { int x; };
3288 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3289 static char *e (p, i)
3295 static char *f (char * (*g) (char **, int), char **p, ...)
3300 s = g (p, va_arg (v,int));
3305 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3306 function prototypes and stuff, but not '\xHH' hex character constants.
3307 These don't provoke an error unfortunately, instead are silently treated
3308 as 'x'. The following induces an error, until -std is added to get
3309 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3310 array size at least. It's necessary to write '\x00'==0 to get something
3311 that's true only with -std. */
3312 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3314 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3315 inside strings and character constants. */
3317 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3319 int test (int i, double x);
3320 struct s1 {int (*f) (int a);};
3321 struct s2 {int (*f) (double a);};
3322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3333 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3334 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3336 CC="$ac_save_CC $ac_arg"
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_compile") 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3350 (exit $ac_status); } && {
3351 test -z "$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3353 } && test -s conftest.$ac_objext; then
3354 ac_cv_prog_cc_c89=$ac_arg
3356 echo "$as_me: failed program was
:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3362 rm -f core conftest.err conftest.$ac_objext
3363 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3365 rm -f conftest.$ac_ext
3370 case "x
$ac_cv_prog_cc_c89" in
3372 { echo "$as_me:$LINENO: result
: none needed
" >&5
3373 echo "${ECHO_T}none needed
" >&6; } ;;
3375 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3376 echo "${ECHO_T}unsupported
" >&6; } ;;
3378 CC="$CC $ac_cv_prog_cc_c89"
3379 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3380 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3385 ac_cpp='$CPP $CPPFLAGS'
3386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3389 DEPDIR="${am__leading_dot}deps
"
3391 ac_config_commands="$ac_config_commands depfiles
"
3394 am_make=${MAKE-make}
3395 cat > confinc << 'END'
3400 # If we don't find an include directive, just comment out the code.
3401 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3402 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3406 # First try GNU make style include.
3407 echo "include confinc" > confmf
3408 # We grep out `Entering directory' and `Leaving directory'
3409 # messages which can occur if `w' ends up in MAKEFLAGS.
3410 # In particular we don't look at `^make:' because GNU make might
3411 # be invoked under some other name (usually "gmake"), in which
3412 # case it prints its new name instead of `make'.
3413 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3418 # Now try BSD make style include.
3419 if test "$am__include" = "#"; then
3420 echo '.include "confinc"' > confmf
3421 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3422 am__include
=.include
3429 { echo "$as_me:$LINENO: result: $_am_result" >&5
3430 echo "${ECHO_T}$_am_result" >&6; }
3431 rm -f confinc confmf
3433 # Check whether --enable-dependency-tracking was given.
3434 if test "${enable_dependency_tracking+set}" = set; then
3435 enableval
=$enable_dependency_tracking;
3438 if test "x$enable_dependency_tracking" != xno
; then
3439 am_depcomp
="$ac_aux_dir/depcomp"
3442 if test "x$enable_dependency_tracking" != xno; then
3452 depcc
="$CC" am_compiler_list
=
3454 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3455 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3456 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3460 # We make a subdir and do the tests there. Otherwise we can end up
3461 # making bogus files that we don't know about and never remove. For
3462 # instance it was reported that on HP-UX the gcc test will end up
3463 # making a dummy file named `D' -- because `-MD' means `put the output
3466 # Copy depcomp to subdir because otherwise we won't find it if we're
3467 # using a relative directory.
3468 cp "$am_depcomp" conftest.dir
3470 # We will build objects and dependencies in a subdirectory because
3471 # it helps to detect inapplicable dependency modes. For instance
3472 # both Tru64's cc and ICC support -MD to output dependencies as a
3473 # side effect of compilation, but ICC will put the dependencies in
3474 # the current directory while Tru64 will put them in the object
3478 am_cv_CC_dependencies_compiler_type
=none
3479 if test "$am_compiler_list" = ""; then
3480 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3482 for depmode
in $am_compiler_list; do
3483 # Setup a source with many dependencies, because some compilers
3484 # like to wrap large dependency lists on column 80 (with \), and
3485 # we should not choose a depcomp mode which is confused by this.
3487 # We need to recreate these files for each test, as the compiler may
3488 # overwrite some of them when testing with obscure command lines.
3489 # This happens at least with the AIX C compiler.
3491 for i
in 1 2 3 4 5 6; do
3492 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3493 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3494 # Solaris 8's {/usr,}/bin/sh.
3495 touch sub
/conftst
$i.h
3497 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3501 # after this tag, mechanisms are not by side-effect, so they'll
3502 # only be used when explicitly requested
3503 if test "x$enable_dependency_tracking" = xyes
; then
3511 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3512 # mode. It turns out that the SunPro C++ compiler does not properly
3513 # handle `-M -o', and we need to detect this.
3514 if depmode
=$depmode \
3515 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3516 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3517 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3518 >/dev
/null
2>conftest.err
&&
3519 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3520 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3521 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3522 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3523 # icc doesn't choke on unknown options, it will just issue warnings
3524 # or remarks (even with -Werror). So we grep stderr for any message
3525 # that says an option was ignored or not supported.
3526 # When given -MP, icc 7.0 and 7.1 complain thusly:
3527 # icc: Command line warning: ignoring option '-M'; no argument required
3528 # The diagnosis changed in icc 8.0:
3529 # icc: Command line remark: option '-MP' not supported
3530 if (grep 'ignoring option' conftest.err ||
3531 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3532 am_cv_CC_dependencies_compiler_type
=$depmode
3541 am_cv_CC_dependencies_compiler_type
=none
3545 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3546 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3547 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3550 test "x$enable_dependency_tracking" != xno \
3551 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3553 am__fastdepCC_FALSE
='#'
3555 am__fastdepCC_TRUE
='#'
3556 am__fastdepCC_FALSE
=
3560 # Find a good install program. We prefer a C program (faster),
3561 # so one script is as good as another. But avoid the broken or
3562 # incompatible versions:
3563 # SysV /etc/install, /usr/sbin/install
3564 # SunOS /usr/etc/install
3565 # IRIX /sbin/install
3567 # AmigaOS /C/install, which installs bootblocks on floppy discs
3568 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3571 # OS/2's system install, which has a completely different semantic
3572 # ./install, which can be erroneously created by make from ./install.sh.
3573 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3574 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3575 if test -z "$INSTALL"; then
3576 if test "${ac_cv_path_install+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir
=.
3584 # Account for people who put trailing slashes in PATH elements.
3586 .
/ | .
// |
/cC
/* | \
3587 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3588 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3591 # OSF1 and SCO ODT 3.0 have their own names for install.
3592 # Don't use installbsd from OSF since it installs stuff as root
3594 for ac_prog
in ginstall scoinst
install; do
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3597 if test $ac_prog = install &&
3598 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3599 # AIX install. It has an incompatible calling convention.
3601 elif test $ac_prog = install &&
3602 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3603 # program-specific install script used by HP pwplus--don't use.
3606 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3619 if test "${ac_cv_path_install+set}" = set; then
3620 INSTALL
=$ac_cv_path_install
3622 # As a last resort, use the slow shell script. Don't cache a
3623 # value for INSTALL within a source directory, because that will
3624 # break other packages using the cache if that directory is
3625 # removed, or if the value is a relative name.
3626 INSTALL
=$ac_install_sh
3629 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3630 echo "${ECHO_T}$INSTALL" >&6; }
3632 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3633 # It thinks the first close brace ends the variable substitution.
3634 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3636 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3638 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3640 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3641 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3643 if test "$LN_S" = "ln -s"; then
3644 { echo "$as_me:$LINENO: result: yes" >&5
3645 echo "${ECHO_T}yes" >&6; }
3647 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3648 echo "${ECHO_T}no, using $LN_S" >&6; }
3651 # Check whether --enable-shared was given.
3652 if test "${enable_shared+set}" = set; then
3653 enableval
=$enable_shared; p
=${PACKAGE-default}
3655 yes) enable_shared
=yes ;;
3656 no
) enable_shared
=no
;;
3659 # Look at the argument we got. We use all the common list separators.
3660 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3661 for pkg
in $enableval; do
3663 if test "X$pkg" = "X$p"; then
3675 # Check whether --enable-static was given.
3676 if test "${enable_static+set}" = set; then
3677 enableval
=$enable_static; p
=${PACKAGE-default}
3679 yes) enable_static
=yes ;;
3680 no
) enable_static
=no
;;
3683 # Look at the argument we got. We use all the common list separators.
3684 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3685 for pkg
in $enableval; do
3687 if test "X$pkg" = "X$p"; then
3699 # Check whether --enable-fast-install was given.
3700 if test "${enable_fast_install+set}" = set; then
3701 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3703 yes) enable_fast_install
=yes ;;
3704 no
) enable_fast_install
=no
;;
3706 enable_fast_install
=no
3707 # Look at the argument we got. We use all the common list separators.
3708 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3709 for pkg
in $enableval; do
3711 if test "X$pkg" = "X$p"; then
3712 enable_fast_install
=yes
3719 enable_fast_install
=yes
3723 # Make sure we can run config.sub.
3724 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3725 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3726 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3727 { (exit 1); exit 1; }; }
3729 { echo "$as_me:$LINENO: checking build system type" >&5
3730 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3731 if test "${ac_cv_build+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 ac_build_alias
=$build_alias
3735 test "x$ac_build_alias" = x
&&
3736 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3737 test "x$ac_build_alias" = x
&&
3738 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3739 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3740 { (exit 1); exit 1; }; }
3741 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3742 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3743 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3744 { (exit 1); exit 1; }; }
3747 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3748 echo "${ECHO_T}$ac_cv_build" >&6; }
3749 case $ac_cv_build in
3751 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3752 echo "$as_me: error: invalid value of canonical build" >&2;}
3753 { (exit 1); exit 1; }; };;
3756 ac_save_IFS
=$IFS; IFS
='-'
3762 # Remember, the first character of IFS is used to create $*,
3763 # except with old shells:
3766 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3769 { echo "$as_me:$LINENO: checking host system type" >&5
3770 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3771 if test "${ac_cv_host+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 if test "x$host_alias" = x
; then
3775 ac_cv_host
=$ac_cv_build
3777 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3778 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3779 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3780 { (exit 1); exit 1; }; }
3784 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3785 echo "${ECHO_T}$ac_cv_host" >&6; }
3788 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3789 echo "$as_me: error: invalid value of canonical host" >&2;}
3790 { (exit 1); exit 1; }; };;
3793 ac_save_IFS
=$IFS; IFS
='-'
3799 # Remember, the first character of IFS is used to create $*,
3800 # except with old shells:
3803 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3806 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3807 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3808 if test "${lt_cv_path_SED+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 # Loop through the user's path and test for sed and gsed.
3812 # Then use that list of sed's as ones to test for truncation.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for lt_ac_prog
in sed gsed
; do
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3821 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3829 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3830 # along with /bin/sed that truncates output.
3831 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3832 test ! -f $lt_ac_sed && continue
3833 cat /dev
/null
> conftest.
in
3835 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3836 # Check for GNU sed and select it if it is found.
3837 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3838 lt_cv_path_SED
=$lt_ac_sed
3842 cat conftest.
in conftest.
in >conftest.tmp
3843 mv conftest.tmp conftest.
in
3844 cp conftest.
in conftest.
nl
3846 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3847 cmp -s conftest.out conftest.
nl ||
break
3848 # 10000 chars as input seems more than enough
3849 test $lt_ac_count -gt 10 && break
3850 lt_ac_count
=`expr $lt_ac_count + 1`
3851 if test $lt_ac_count -gt $lt_ac_max; then
3852 lt_ac_max
=$lt_ac_count
3853 lt_cv_path_SED
=$lt_ac_sed
3862 { echo "$as_me:$LINENO: result: $SED" >&5
3863 echo "${ECHO_T}$SED" >&6; }
3865 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3866 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3867 if test "${ac_cv_path_GREP+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 # Extract the first word of "grep ggrep" to use in msg output
3871 if test -z "$GREP"; then
3872 set dummy
grep ggrep
; ac_prog_name
=$2
3873 if test "${ac_cv_path_GREP+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 ac_path_GREP_found
=false
3877 # Loop through the user's path and test for each of PROGNAME-LIST
3878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3879 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3882 test -z "$as_dir" && as_dir
=.
3883 for ac_prog
in grep ggrep
; do
3884 for ac_exec_ext
in '' $ac_executable_extensions; do
3885 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3886 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3887 # Check for GNU ac_path_GREP and select it if it is found.
3888 # Check for GNU $ac_path_GREP
3889 case `"$ac_path_GREP" --version 2>&1` in
3891 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3894 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3897 cat "conftest.in" "conftest.in" >"conftest.tmp"
3898 mv "conftest.tmp" "conftest.in"
3899 cp "conftest.in" "conftest.nl"
3900 echo 'GREP' >> "conftest.nl"
3901 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3902 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3903 ac_count
=`expr $ac_count + 1`
3904 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3905 # Best one so far, save it but keep looking for a better one
3906 ac_cv_path_GREP
="$ac_path_GREP"
3907 ac_path_GREP_max
=$ac_count
3909 # 10*(2^10) chars as input seems more than enough
3910 test $ac_count -gt 10 && break
3912 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3916 $ac_path_GREP_found && break 3
3926 GREP
="$ac_cv_path_GREP"
3927 if test -z "$GREP"; then
3928 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3929 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3930 { (exit 1); exit 1; }; }
3934 ac_cv_path_GREP
=$GREP
3939 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3940 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3941 GREP
="$ac_cv_path_GREP"
3944 { echo "$as_me:$LINENO: checking for egrep" >&5
3945 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3946 if test "${ac_cv_path_EGREP+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3950 then ac_cv_path_EGREP
="$GREP -E"
3952 # Extract the first word of "egrep" to use in msg output
3953 if test -z "$EGREP"; then
3954 set dummy
egrep; ac_prog_name
=$2
3955 if test "${ac_cv_path_EGREP+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 ac_path_EGREP_found
=false
3959 # Loop through the user's path and test for each of PROGNAME-LIST
3960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3961 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3964 test -z "$as_dir" && as_dir
=.
3965 for ac_prog
in egrep; do
3966 for ac_exec_ext
in '' $ac_executable_extensions; do
3967 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3968 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3969 # Check for GNU ac_path_EGREP and select it if it is found.
3970 # Check for GNU $ac_path_EGREP
3971 case `"$ac_path_EGREP" --version 2>&1` in
3973 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3976 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3979 cat "conftest.in" "conftest.in" >"conftest.tmp"
3980 mv "conftest.tmp" "conftest.in"
3981 cp "conftest.in" "conftest.nl"
3982 echo 'EGREP' >> "conftest.nl"
3983 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3984 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3985 ac_count
=`expr $ac_count + 1`
3986 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3987 # Best one so far, save it but keep looking for a better one
3988 ac_cv_path_EGREP
="$ac_path_EGREP"
3989 ac_path_EGREP_max
=$ac_count
3991 # 10*(2^10) chars as input seems more than enough
3992 test $ac_count -gt 10 && break
3994 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3998 $ac_path_EGREP_found && break 3
4008 EGREP
="$ac_cv_path_EGREP"
4009 if test -z "$EGREP"; then
4010 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4011 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4012 { (exit 1); exit 1; }; }
4016 ac_cv_path_EGREP
=$EGREP
4022 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4023 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4024 EGREP
="$ac_cv_path_EGREP"
4028 # Check whether --with-gnu-ld was given.
4029 if test "${with_gnu_ld+set}" = set; then
4030 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4036 if test "$GCC" = yes; then
4037 # Check if gcc -print-prog-name=ld gives a path.
4038 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4039 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4042 # gcc leaves a trailing carriage return which upsets mingw
4043 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4045 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4048 # Accept absolute paths.
4050 re_direlt
='/[^/][^/]*/\.\./'
4051 # Canonicalize the pathname of ld
4052 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4053 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4054 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4056 test -z "$LD" && LD
="$ac_prog"
4059 # If it fails, then pretend we aren't using GCC.
4063 # If it is relative, then search for the first ld in PATH.
4067 elif test "$with_gnu_ld" = yes; then
4068 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4069 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4071 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4072 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4074 if test "${lt_cv_path_LD+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 if test -z "$LD"; then
4078 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4079 for ac_dir
in $PATH; do
4081 test -z "$ac_dir" && ac_dir
=.
4082 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4083 lt_cv_path_LD
="$ac_dir/$ac_prog"
4084 # Check to see if the program is GNU ld. I'd rather use --version,
4085 # but apparently some variants of GNU ld only accept -v.
4086 # Break only if it was the GNU/non-GNU ld that we prefer.
4087 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4088 *GNU
* |
*'with BFD'*)
4089 test "$with_gnu_ld" != no
&& break
4092 test "$with_gnu_ld" != yes && break
4099 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4104 if test -n "$LD"; then
4105 { echo "$as_me:$LINENO: result: $LD" >&5
4106 echo "${ECHO_T}$LD" >&6; }
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4111 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4112 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4113 { (exit 1); exit 1; }; }
4114 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4115 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4116 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4120 case `$LD -v 2>&1 </dev/null` in
4121 *GNU
* |
*'with BFD'*)
4122 lt_cv_prog_gnu_ld
=yes
4125 lt_cv_prog_gnu_ld
=no
4129 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4130 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4131 with_gnu_ld
=$lt_cv_prog_gnu_ld
4134 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4135 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4136 if test "${lt_cv_ld_reload_flag+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 lt_cv_ld_reload_flag
='-r'
4141 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4142 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4143 reload_flag
=$lt_cv_ld_reload_flag
4144 case $reload_flag in
4146 *) reload_flag
=" $reload_flag" ;;
4148 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4151 if test "$GCC" = yes; then
4152 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4154 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4159 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4160 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4161 if test "${lt_cv_path_NM+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 if test -n "$NM"; then
4165 # Let the user override the test.
4168 lt_nm_to_check
="${ac_tool_prefix}nm"
4169 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4170 lt_nm_to_check
="$lt_nm_to_check nm"
4172 for lt_tmp_nm
in $lt_nm_to_check; do
4173 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4174 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4176 test -z "$ac_dir" && ac_dir
=.
4177 tmp_nm
="$ac_dir/$lt_tmp_nm"
4178 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4179 # Check to see if the nm accepts a BSD-compat flag.
4180 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4181 # nm: unknown option "B" ignored
4182 # Tru64's nm complains that /dev/null is an invalid object file
4183 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4184 */dev
/null
* |
*'Invalid file or object type'*)
4185 lt_cv_path_NM
="$tmp_nm -B"
4189 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4191 lt_cv_path_NM
="$tmp_nm -p"
4195 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4196 continue # so that we can try to find one that supports BSD flags
4205 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4208 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4209 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4212 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4213 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4214 if test "${lt_cv_deplibs_check_method+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4218 lt_cv_file_magic_test_file
=
4219 lt_cv_deplibs_check_method
='unknown'
4220 # Need to set the preceding variable on all platforms that support
4221 # interlibrary dependencies.
4222 # 'none' -- dependencies not supported.
4223 # `unknown' -- same as none, but documents that we really don't know.
4224 # 'pass_all' -- all dependencies passed with no checks.
4225 # 'test_compile' -- check by making test program.
4226 # 'file_magic [[regex]]' -- check by looking for files in library path
4227 # which responds to the $file_magic_cmd with a given extended regex.
4228 # If you have `file' or equivalent on your system and you're not sure
4229 # whether `pass_all' will *always* work, you probably want this one.
4233 lt_cv_deplibs_check_method
=pass_all
4237 lt_cv_deplibs_check_method
=pass_all
4241 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4242 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4243 lt_cv_file_magic_test_file
=/shlib
/libc.so
4247 # func_win32_libid is a shell function defined in ltmain.sh
4248 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4249 lt_cv_file_magic_cmd
='func_win32_libid'
4253 # Base MSYS/MinGW do not provide the 'file' command needed by
4254 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4255 # unless we find 'file', for example because we are cross-compiling.
4256 if ( file / ) >/dev
/null
2>&1; then
4257 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4258 lt_cv_file_magic_cmd
='func_win32_libid'
4260 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4261 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4265 darwin
* | rhapsody
*)
4266 lt_cv_deplibs_check_method
=pass_all
4269 freebsd
* | dragonfly
*)
4270 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4273 # Not sure whether the presence of OpenBSD here was a mistake.
4274 # Let's accept both of them until this is cleared up.
4275 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4276 lt_cv_file_magic_cmd
=/usr
/bin
/file
4277 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4281 lt_cv_deplibs_check_method
=pass_all
4286 lt_cv_deplibs_check_method
=pass_all
4289 hpux10.20
* | hpux11
*)
4290 lt_cv_file_magic_cmd
=/usr
/bin
/file
4293 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4294 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4297 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]'
4298 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4301 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4302 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4308 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4309 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4312 irix5
* | irix6
* | nonstopux
*)
4314 *-32|
*"-32 ") libmagic
=32-bit;;
4315 *-n32|
*"-n32 ") libmagic
=N32
;;
4316 *-64|
*"-64 ") libmagic
=64-bit;;
4317 *) libmagic
=never-match
;;
4319 lt_cv_deplibs_check_method
=pass_all
4322 # This must be Linux ELF.
4323 linux
* | k
*bsd
*-gnu)
4324 lt_cv_deplibs_check_method
=pass_all
4328 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4329 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4331 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4336 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4337 lt_cv_file_magic_cmd
=/usr
/bin
/file
4338 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4342 lt_cv_deplibs_check_method
=unknown
4346 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4347 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4349 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4353 osf3
* | osf4
* | osf5
*)
4354 lt_cv_deplibs_check_method
=pass_all
4358 lt_cv_deplibs_check_method
=pass_all
4362 lt_cv_deplibs_check_method
=pass_all
4366 case $host_vendor in
4368 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]'
4369 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4372 lt_cv_deplibs_check_method
=pass_all
4375 lt_cv_file_magic_cmd
='/bin/file'
4376 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4379 lt_cv_file_magic_cmd
='/bin/file'
4380 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4381 lt_cv_file_magic_test_file
=/lib
/libc.so
4384 lt_cv_deplibs_check_method
=pass_all
4387 lt_cv_deplibs_check_method
=pass_all
4392 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4393 lt_cv_deplibs_check_method
=pass_all
4398 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4399 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4400 file_magic_cmd
=$lt_cv_file_magic_cmd
4401 deplibs_check_method
=$lt_cv_deplibs_check_method
4402 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4407 # If no C compiler was specified, use CC.
4410 # If no C compiler flags were specified, use CFLAGS.
4411 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4413 # Allow CC to be a program name with arguments.
4417 # Check whether --enable-libtool-lock was given.
4418 if test "${enable_libtool_lock+set}" = set; then
4419 enableval
=$enable_libtool_lock;
4422 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4424 # Some flags need to be propagated to the compiler or linker for good
4428 # Find out which ABI we are using.
4429 echo 'int i;' > conftest.
$ac_ext
4430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4431 (eval $ac_compile) 2>&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); }; then
4435 case `/usr/bin/file conftest.$ac_objext` in
4447 # Find out which ABI we are using.
4448 echo '#line 4448 "configure"' > conftest.
$ac_ext
4449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4450 (eval $ac_compile) 2>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; then
4454 if test "$lt_cv_prog_gnu_ld" = yes; then
4455 case `/usr/bin/file conftest.$ac_objext` in
4457 LD
="${LD-ld} -melf32bsmip"
4460 LD
="${LD-ld} -melf32bmipn32"
4463 LD
="${LD-ld} -melf64bmip"
4467 case `/usr/bin/file conftest.$ac_objext` in
4483 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4484 s390
*-*linux
*|sparc
*-*linux
*)
4485 # Find out which ABI we are using.
4486 echo 'int i;' > conftest.
$ac_ext
4487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4488 (eval $ac_compile) 2>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; then
4492 case `/usr/bin/file conftest.o` in
4495 x86_64-
*kfreebsd
*-gnu)
4496 LD
="${LD-ld} -m elf_i386_fbsd"
4499 LD
="${LD-ld} -m elf_i386"
4501 ppc64-
*linux
*|powerpc64-
*linux
*)
4502 LD
="${LD-ld} -m elf32ppclinux"
4505 LD
="${LD-ld} -m elf_s390"
4508 LD
="${LD-ld} -m elf32_sparc"
4515 x86_64-
*kfreebsd
*-gnu)
4516 LD
="${LD-ld} -m elf_x86_64_fbsd"
4519 LD
="${LD-ld} -m elf_x86_64"
4521 ppc
*-*linux
*|powerpc
*-*linux
*)
4522 LD
="${LD-ld} -m elf64ppc"
4525 LD
="${LD-ld} -m elf64_s390"
4528 LD
="${LD-ld} -m elf64_sparc"
4538 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4539 SAVE_CFLAGS
="$CFLAGS"
4540 CFLAGS
="$CFLAGS -belf"
4541 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4542 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4543 if test "${lt_cv_cc_needs_belf+set}" = set; then
4544 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 ac_cpp
='$CPP $CPPFLAGS'
4548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4552 cat >conftest.
$ac_ext <<_ACEOF
4555 cat confdefs.h
>>conftest.
$ac_ext
4556 cat >>conftest.
$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4567 rm -f conftest.
$ac_objext conftest
$ac_exeext
4568 if { (ac_try
="$ac_link"
4570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4571 *) ac_try_echo=$ac_try;;
4573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4574 (eval "$ac_link") 2>conftest.er1
4576 grep -v '^ *+' conftest.er1 >conftest.err
4578 cat conftest.err >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); } && {
4581 test -z "$ac_c_werror_flag" ||
4582 test ! -s conftest.err
4583 } && test -s conftest$ac_exeext &&
4584 $as_test_x conftest$ac_exeext; then
4585 lt_cv_cc_needs_belf=yes
4587 echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.$ac_ext >&5
4590 lt_cv_cc_needs_belf=no
4593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4594 conftest$ac_exeext conftest.$ac_ext
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4603 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4604 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4605 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4606 CFLAGS="$SAVE_CFLAGS"
4610 # Find out which ABI we are using.
4611 echo 'int i;' > conftest.$ac_ext
4612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4613 (eval $ac_compile) 2>&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; then
4617 case `/usr
/bin
/file conftest.o
` in
4619 case $lt_cv_prog_gnu_ld in
4620 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4621 *) LD="${LD-ld} -64" ;;
4632 need_locks="$enable_libtool_lock"
4636 ac_cpp='$CPP $CPPFLAGS'
4637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4640 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4641 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4642 # On Suns, sometimes $CPP names a directory.
4643 if test -n "$CPP" && test -d "$CPP"; then
4646 if test -z "$CPP"; then
4647 if test "${ac_cv_prog_CPP+set}" = set; then
4648 echo $ECHO_N "(cached) $ECHO_C" >&6
4650 # Double quotes because CPP needs to be expanded
4651 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4654 for ac_c_preproc_warn_flag in '' yes
4656 # Use a header file that comes with gcc, so configuring glibc
4657 # with a fresh cross-compiler works.
4658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4659 # <limits.h> exists even on freestanding compilers.
4660 # On the NeXT, cc -E runs the code through the compiler's parser,
4661 # not just through cpp. "Syntax error" is here to catch this case.
4662 cat >conftest.$ac_ext <<_ACEOF
4665 cat confdefs.h >>conftest.$ac_ext
4666 cat >>conftest.$ac_ext <<_ACEOF
4667 /* end confdefs.h. */
4669 # include <limits.h>
4671 # include <assert.h>
4675 if { (ac_try="$ac_cpp conftest.$ac_ext"
4677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4678 *) ac_try_echo
=$ac_try;;
4680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4683 grep -v '^ *+' conftest.er1
>conftest.err
4685 cat conftest.err
>&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); } >/dev
/null
&& {
4688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4689 test ! -s conftest.err
4693 echo "$as_me: failed program was:" >&5
4694 sed 's/^/| /' conftest.
$ac_ext >&5
4696 # Broken: fails on valid input.
4700 rm -f conftest.err conftest.
$ac_ext
4702 # OK, works on sane cases. Now check whether nonexistent headers
4703 # can be detected and how.
4704 cat >conftest.
$ac_ext <<_ACEOF
4707 cat confdefs.h
>>conftest.
$ac_ext
4708 cat >>conftest.
$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4710 #include <ac_nonexistent.h>
4712 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4715 *) ac_try_echo=$ac_try;;
4717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4720 grep -v '^ *+' conftest.er1 >conftest.err
4722 cat conftest.err >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } >/dev/null && {
4725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4726 test ! -s conftest.err
4728 # Broken: success on invalid input.
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.$ac_ext >&5
4734 # Passes both tests.
4739 rm -f conftest.err conftest.$ac_ext
4742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4743 rm -f conftest.err conftest.
$ac_ext
4744 if $ac_preproc_ok; then
4756 { echo "$as_me:$LINENO: result: $CPP" >&5
4757 echo "${ECHO_T}$CPP" >&6; }
4759 for ac_c_preproc_warn_flag
in '' yes
4761 # Use a header file that comes with gcc, so configuring glibc
4762 # with a fresh cross-compiler works.
4763 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4764 # <limits.h> exists even on freestanding compilers.
4765 # On the NeXT, cc -E runs the code through the compiler's parser,
4766 # not just through cpp. "Syntax error" is here to catch this case.
4767 cat >conftest.
$ac_ext <<_ACEOF
4770 cat confdefs.h
>>conftest.
$ac_ext
4771 cat >>conftest.
$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4774 # include <limits.h>
4776 # include <assert.h>
4780 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4783 *) ac_try_echo=$ac_try;;
4785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4788 grep -v '^ *+' conftest.er1 >conftest.err
4790 cat conftest.err >&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } >/dev/null && {
4793 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4794 test ! -s conftest.err
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4801 # Broken: fails on valid input.
4805 rm -f conftest.err conftest.$ac_ext
4807 # OK, works on sane cases. Now check whether nonexistent headers
4808 # can be detected and how.
4809 cat >conftest.$ac_ext <<_ACEOF
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #include <ac_nonexistent.h>
4817 if { (ac_try="$ac_cpp conftest.$ac_ext"
4819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4820 *) ac_try_echo
=$ac_try;;
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4825 grep -v '^ *+' conftest.er1
>conftest.err
4827 cat conftest.err
>&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } >/dev
/null
&& {
4830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4831 test ! -s conftest.err
4833 # Broken: success on invalid input.
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.
$ac_ext >&5
4839 # Passes both tests.
4844 rm -f conftest.err conftest.
$ac_ext
4847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4848 rm -f conftest.err conftest.
$ac_ext
4849 if $ac_preproc_ok; then
4852 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4853 See \`config.log' for more details." >&5
4854 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4855 See \`config.log' for more details." >&2;}
4856 { (exit 1); exit 1; }; }
4860 ac_cpp
='$CPP $CPPFLAGS'
4861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4866 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4867 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4868 if test "${ac_cv_header_stdc+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6
4871 cat >conftest.
$ac_ext <<_ACEOF
4874 cat confdefs.h
>>conftest.
$ac_ext
4875 cat >>conftest.
$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4890 rm -f conftest.
$ac_objext
4891 if { (ac_try
="$ac_compile"
4893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4894 *) ac_try_echo=$ac_try;;
4896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897 (eval "$ac_compile") 2>conftest.er1
4899 grep -v '^ *+' conftest.er1 >conftest.err
4901 cat conftest.err >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } && {
4904 test -z "$ac_c_werror_flag" ||
4905 test ! -s conftest.err
4906 } && test -s conftest.$ac_objext; then
4907 ac_cv_header_stdc=yes
4909 echo "$as_me: failed program was:" >&5
4910 sed 's/^/| /' conftest.$ac_ext >&5
4912 ac_cv_header_stdc=no
4915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4917 if test $ac_cv_header_stdc = yes; then
4918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4919 cat >conftest.$ac_ext <<_ACEOF
4922 cat confdefs.h >>conftest.$ac_ext
4923 cat >>conftest.$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4929 $EGREP "memchr" >/dev/null 2>&1; then
4932 ac_cv_header_stdc=no
4938 if test $ac_cv_header_stdc = yes; then
4939 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4940 cat >conftest.$ac_ext <<_ACEOF
4943 cat confdefs.h >>conftest.$ac_ext
4944 cat >>conftest.$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4950 $EGREP "free" >/dev/null 2>&1; then
4953 ac_cv_header_stdc=no
4959 if test $ac_cv_header_stdc = yes; then
4960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4961 if test "$cross_compiling" = yes; then
4964 cat >conftest.$ac_ext <<_ACEOF
4967 cat confdefs.h >>conftest.$ac_ext
4968 cat >>conftest.$ac_ext <<_ACEOF
4969 /* end confdefs.h. */
4972 #if ((' ' & 0x0FF) == 0x020)
4973 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4974 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4976 # define ISLOWER(c) \
4977 (('a' <= (c) && (c) <= 'i') \
4978 || ('j' <= (c) && (c) <= 'r') \
4979 || ('s' <= (c) && (c) <= 'z'))
4980 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4988 for (i = 0; i < 256; i++)
4989 if (XOR (islower (i), ISLOWER (i))
4990 || toupper (i) != TOUPPER (i))
4995 rm -f conftest$ac_exeext
4996 if { (ac_try="$ac_link"
4998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4999 *) ac_try_echo
=$ac_try;;
5001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002 (eval "$ac_link") 2>&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5006 { (case "(($ac_try" in
5007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011 (eval "$ac_try") 2>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; }; then
5017 echo "$as_me: program exited with status $ac_status" >&5
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.$ac_ext >&5
5022 ac_cv_header_stdc=no
5024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5030 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5031 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5032 if test $ac_cv_header_stdc = yes; then
5034 cat >>confdefs.h <<\_ACEOF
5035 #define STDC_HEADERS 1
5040 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5050 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5051 inttypes.h stdint.h unistd.h
5053 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 cat >conftest.$ac_ext <<_ACEOF
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 $ac_includes_default
5067 #include <$ac_header>
5069 rm -f conftest.$ac_objext
5070 if { (ac_try="$ac_compile"
5072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5073 *) ac_try_echo
=$ac_try;;
5075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5076 (eval "$ac_compile") 2>conftest.er1
5078 grep -v '^ *+' conftest.er1
>conftest.err
5080 cat conftest.err
>&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } && {
5083 test -z "$ac_c_werror_flag" ||
5084 test ! -s conftest.err
5085 } && test -s conftest.
$ac_objext; then
5086 eval "$as_ac_Header=yes"
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5091 eval "$as_ac_Header=no"
5094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5096 ac_res
=`eval echo '${'$as_ac_Header'}'`
5097 { echo "$as_me:$LINENO: result: $ac_res" >&5
5098 echo "${ECHO_T}$ac_res" >&6; }
5099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5100 cat >>confdefs.h
<<_ACEOF
5101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5110 for ac_header
in dlfcn.h
5112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5113 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5116 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 ac_res
=`eval echo '${'$as_ac_Header'}'`
5120 { echo "$as_me:$LINENO: result: $ac_res" >&5
5121 echo "${ECHO_T}$ac_res" >&6; }
5123 # Is the header compilable?
5124 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5126 cat >conftest.
$ac_ext <<_ACEOF
5129 cat confdefs.h
>>conftest.
$ac_ext
5130 cat >>conftest.
$ac_ext <<_ACEOF
5131 /* end confdefs.h. */
5132 $ac_includes_default
5133 #include <$ac_header>
5135 rm -f conftest.
$ac_objext
5136 if { (ac_try
="$ac_compile"
5138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5139 *) ac_try_echo=$ac_try;;
5141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5142 (eval "$ac_compile") 2>conftest.er1
5144 grep -v '^ *+' conftest.er1 >conftest.err
5146 cat conftest.err >&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } && {
5149 test -z "$ac_c_werror_flag" ||
5150 test ! -s conftest.err
5151 } && test -s conftest.$ac_objext; then
5152 ac_header_compiler=yes
5154 echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.$ac_ext >&5
5157 ac_header_compiler=no
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5162 echo "${ECHO_T}$ac_header_compiler" >&6; }
5164 # Is the header present?
5165 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5167 cat >conftest.$ac_ext <<_ACEOF
5170 cat confdefs.h >>conftest.$ac_ext
5171 cat >>conftest.$ac_ext <<_ACEOF
5172 /* end confdefs.h. */
5173 #include <$ac_header>
5175 if { (ac_try="$ac_cpp conftest.$ac_ext"
5177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5178 *) ac_try_echo
=$ac_try;;
5180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5183 grep -v '^ *+' conftest.er1
>conftest.err
5185 cat conftest.err
>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } >/dev
/null
&& {
5188 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5189 test ! -s conftest.err
5191 ac_header_preproc
=yes
5193 echo "$as_me: failed program was:" >&5
5194 sed 's/^/| /' conftest.
$ac_ext >&5
5196 ac_header_preproc
=no
5199 rm -f conftest.err conftest.
$ac_ext
5200 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5201 echo "${ECHO_T}$ac_header_preproc" >&6; }
5203 # So? What about this header?
5204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5210 ac_header_preproc
=yes
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5226 ## -------------------------------------------------- ##
5227 ## Report this to courier-users@lists.sourceforge.net ##
5228 ## -------------------------------------------------- ##
5230 ) |
sed "s/^/$as_me: WARNING: /" >&2
5233 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5235 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 eval "$as_ac_Header=\$ac_header_preproc"
5240 ac_res
=`eval echo '${'$as_ac_Header'}'`
5241 { echo "$as_me:$LINENO: result: $ac_res" >&5
5242 echo "${ECHO_T}$ac_res" >&6; }
5245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5246 cat >>confdefs.h
<<_ACEOF
5247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5255 ac_cpp
='$CXXCPP $CPPFLAGS'
5256 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5259 if test -z "$CXX"; then
5260 if test -n "$CCC"; then
5263 if test -n "$ac_tool_prefix"; then
5264 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5267 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5270 if test "${ac_cv_prog_CXX+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 if test -n "$CXX"; then
5274 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir
=.
5281 for ac_exec_ext
in '' $ac_executable_extensions; do
5282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 if test -n "$CXX"; then
5295 { echo "$as_me:$LINENO: result: $CXX" >&5
5296 echo "${ECHO_T}$CXX" >&6; }
5298 { echo "$as_me:$LINENO: result: no" >&5
5299 echo "${ECHO_T}no" >&6; }
5303 test -n "$CXX" && break
5306 if test -z "$CXX"; then
5308 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5310 # Extract the first word of "$ac_prog", so it can be a program name with args.
5311 set dummy
$ac_prog; ac_word
=$2
5312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5314 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 if test -n "$ac_ct_CXX"; then
5318 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5327 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5338 if test -n "$ac_ct_CXX"; then
5339 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5340 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5342 { echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6; }
5347 test -n "$ac_ct_CXX" && break
5350 if test "x$ac_ct_CXX" = x
; then
5353 case $cross_compiling:$ac_tool_warned in
5355 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5356 whose name does not start with the host triplet. If you think this
5357 configuration is useful to you, please write to autoconf@gnu.org." >&5
5358 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5359 whose name does not start with the host triplet. If you think this
5360 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5361 ac_tool_warned
=yes ;;
5369 # Provide some information about the compiler.
5370 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5371 ac_compiler
=`set X $ac_compile; echo $2`
5372 { (ac_try
="$ac_compiler --version >&5"
5374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_compiler --version >&5") 2>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }
5382 { (ac_try="$ac_compiler -v >&5"
5384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5385 *) ac_try_echo
=$ac_try;;
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_compiler -v >&5") 2>&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); }
5392 { (ac_try
="$ac_compiler -V >&5"
5394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_compiler -V >&5") 2>&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }
5403 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5404 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5405 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 cat >conftest.$ac_ext <<_ACEOF
5411 cat confdefs.h >>conftest.$ac_ext
5412 cat >>conftest.$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5426 rm -f conftest.$ac_objext
5427 if { (ac_try="$ac_compile"
5429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5430 *) ac_try_echo
=$ac_try;;
5432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433 (eval "$ac_compile") 2>conftest.er1
5435 grep -v '^ *+' conftest.er1
>conftest.err
5437 cat conftest.err
>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } && {
5440 test -z "$ac_cxx_werror_flag" ||
5441 test ! -s conftest.err
5442 } && test -s conftest.
$ac_objext; then
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.
$ac_ext >&5
5451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5452 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5455 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5456 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5457 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5458 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5459 ac_save_CXXFLAGS
=$CXXFLAGS
5460 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5461 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5462 if test "${ac_cv_prog_cxx_g+set}" = set; then
5463 echo $ECHO_N "(cached) $ECHO_C" >&6
5465 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5466 ac_cxx_werror_flag
=yes
5469 cat >conftest.
$ac_ext <<_ACEOF
5472 cat confdefs.h
>>conftest.
$ac_ext
5473 cat >>conftest.
$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5484 rm -f conftest.
$ac_objext
5485 if { (ac_try
="$ac_compile"
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_compile") 2>conftest.er1
5493 grep -v '^ *+' conftest.er1 >conftest.err
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && {
5498 test -z "$ac_cxx_werror_flag" ||
5499 test ! -s conftest.err
5500 } && test -s conftest.$ac_objext; then
5501 ac_cv_prog_cxx_g=yes
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.$ac_ext >&5
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5522 rm -f conftest.$ac_objext
5523 if { (ac_try="$ac_compile"
5525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5526 *) ac_try_echo
=$ac_try;;
5528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529 (eval "$ac_compile") 2>conftest.er1
5531 grep -v '^ *+' conftest.er1
>conftest.err
5533 cat conftest.err
>&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } && {
5536 test -z "$ac_cxx_werror_flag" ||
5537 test ! -s conftest.err
5538 } && test -s conftest.
$ac_objext; then
5541 echo "$as_me: failed program was:" >&5
5542 sed 's/^/| /' conftest.
$ac_ext >&5
5544 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5546 cat >conftest.
$ac_ext <<_ACEOF
5549 cat confdefs.h
>>conftest.
$ac_ext
5550 cat >>conftest.
$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5561 rm -f conftest.
$ac_objext
5562 if { (ac_try
="$ac_compile"
5564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5565 *) ac_try_echo=$ac_try;;
5567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5568 (eval "$ac_compile") 2>conftest.er1
5570 grep -v '^ *+' conftest.er1 >conftest.err
5572 cat conftest.err >&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); } && {
5575 test -z "$ac_cxx_werror_flag" ||
5576 test ! -s conftest.err
5577 } && test -s conftest.$ac_objext; then
5578 ac_cv_prog_cxx_g=yes
5580 echo "$as_me: failed program was:" >&5
5581 sed 's/^/| /' conftest.$ac_ext >&5
5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5593 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5595 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5596 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5597 if test "$ac_test_CXXFLAGS" = set; then
5598 CXXFLAGS=$ac_save_CXXFLAGS
5599 elif test $ac_cv_prog_cxx_g = yes; then
5600 if test "$GXX" = yes; then
5606 if test "$GXX" = yes; then
5613 ac_cpp='$CXXCPP $CPPFLAGS'
5614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5618 depcc="$CXX" am_compiler_list=
5620 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5621 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5622 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5626 # We make a subdir and do the tests there. Otherwise we can end up
5627 # making bogus files that we don't know about and never remove. For
5628 # instance it was reported that on HP-UX the gcc test will end up
5629 # making a dummy file named `D
' -- because `-MD' means
`put the output
5632 # Copy depcomp to subdir because otherwise we won't find it if we're
5633 # using a relative directory.
5634 cp "$am_depcomp" conftest.dir
5636 # We will build objects and dependencies in a subdirectory because
5637 # it helps to detect inapplicable dependency modes. For instance
5638 # both Tru64's cc and ICC support -MD to output dependencies as a
5639 # side effect of compilation, but ICC will put the dependencies in
5640 # the current directory while Tru64 will put them in the object
5644 am_cv_CXX_dependencies_compiler_type=none
5645 if test "$am_compiler_list" = ""; then
5646 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5648 for depmode in $am_compiler_list; do
5649 # Setup a source with many dependencies, because some compilers
5650 # like to wrap large dependency lists on column 80 (with \), and
5651 # we should not choose a depcomp mode which is confused by this.
5653 # We need to recreate these files for each test, as the compiler may
5654 # overwrite some of them when testing with obscure command lines.
5655 # This happens at least with the AIX C compiler.
5657 for i in 1 2 3 4 5 6; do
5658 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5659 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5660 # Solaris 8's
{/usr
,}/bin
/sh.
5661 touch sub
/conftst
$i.h
5663 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5667 # after this tag, mechanisms are not by side-effect, so they'll
5668 # only be used when explicitly requested
5669 if test "x$enable_dependency_tracking" = xyes
; then
5677 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5678 # mode. It turns out that the SunPro C++ compiler does not properly
5679 # handle `-M -o', and we need to detect this.
5680 if depmode
=$depmode \
5681 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5682 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5683 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5684 >/dev
/null
2>conftest.err
&&
5685 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5686 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5687 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5688 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5689 # icc doesn't choke on unknown options, it will just issue warnings
5690 # or remarks (even with -Werror). So we grep stderr for any message
5691 # that says an option was ignored or not supported.
5692 # When given -MP, icc 7.0 and 7.1 complain thusly:
5693 # icc: Command line warning: ignoring option '-M'; no argument required
5694 # The diagnosis changed in icc 8.0:
5695 # icc: Command line remark: option '-MP' not supported
5696 if (grep 'ignoring option' conftest.err ||
5697 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5698 am_cv_CXX_dependencies_compiler_type
=$depmode
5707 am_cv_CXX_dependencies_compiler_type
=none
5711 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5712 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5713 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5716 test "x$enable_dependency_tracking" != xno \
5717 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5718 am__fastdepCXX_TRUE
=
5719 am__fastdepCXX_FALSE
='#'
5721 am__fastdepCXX_TRUE
='#'
5722 am__fastdepCXX_FALSE
=
5728 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5729 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5730 (test "X$CXX" != "Xg++"))) ; then
5732 ac_cpp
='$CXXCPP $CPPFLAGS'
5733 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5734 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5735 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5736 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5737 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5738 if test -z "$CXXCPP"; then
5739 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 # Double quotes because CXXCPP needs to be expanded
5743 for CXXCPP
in "$CXX -E" "/lib/cpp"
5746 for ac_cxx_preproc_warn_flag
in '' yes
5748 # Use a header file that comes with gcc, so configuring glibc
5749 # with a fresh cross-compiler works.
5750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5751 # <limits.h> exists even on freestanding compilers.
5752 # On the NeXT, cc -E runs the code through the compiler's parser,
5753 # not just through cpp. "Syntax error" is here to catch this case.
5754 cat >conftest.
$ac_ext <<_ACEOF
5757 cat confdefs.h
>>conftest.
$ac_ext
5758 cat >>conftest.
$ac_ext <<_ACEOF
5759 /* end confdefs.h. */
5761 # include <limits.h>
5763 # include <assert.h>
5767 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5775 grep -v '^ *+' conftest.er1 >conftest.err
5777 cat conftest.err >&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); } >/dev/null && {
5780 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5781 test ! -s conftest.err
5785 echo "$as_me: failed program was:" >&5
5786 sed 's/^/| /' conftest.$ac_ext >&5
5788 # Broken: fails on valid input.
5792 rm -f conftest.err conftest.$ac_ext
5794 # OK, works on sane cases. Now check whether nonexistent headers
5795 # can be detected and how.
5796 cat >conftest.$ac_ext <<_ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5802 #include <ac_nonexistent.h>
5804 if { (ac_try="$ac_cpp conftest.$ac_ext"
5806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5807 *) ac_try_echo
=$ac_try;;
5809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5812 grep -v '^ *+' conftest.er1
>conftest.err
5814 cat conftest.err
>&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); } >/dev
/null
&& {
5817 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5818 test ! -s conftest.err
5820 # Broken: success on invalid input.
5823 echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.
$ac_ext >&5
5826 # Passes both tests.
5831 rm -f conftest.err conftest.
$ac_ext
5834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5835 rm -f conftest.err conftest.
$ac_ext
5836 if $ac_preproc_ok; then
5841 ac_cv_prog_CXXCPP
=$CXXCPP
5844 CXXCPP
=$ac_cv_prog_CXXCPP
5846 ac_cv_prog_CXXCPP
=$CXXCPP
5848 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5849 echo "${ECHO_T}$CXXCPP" >&6; }
5851 for ac_cxx_preproc_warn_flag
in '' yes
5853 # Use a header file that comes with gcc, so configuring glibc
5854 # with a fresh cross-compiler works.
5855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5856 # <limits.h> exists even on freestanding compilers.
5857 # On the NeXT, cc -E runs the code through the compiler's parser,
5858 # not just through cpp. "Syntax error" is here to catch this case.
5859 cat >conftest.
$ac_ext <<_ACEOF
5862 cat confdefs.h
>>conftest.
$ac_ext
5863 cat >>conftest.
$ac_ext <<_ACEOF
5864 /* end confdefs.h. */
5866 # include <limits.h>
5868 # include <assert.h>
5872 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5875 *) ac_try_echo=$ac_try;;
5877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5880 grep -v '^ *+' conftest.er1 >conftest.err
5882 cat conftest.err >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); } >/dev/null && {
5885 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5886 test ! -s conftest.err
5890 echo "$as_me: failed program was:" >&5
5891 sed 's/^/| /' conftest.$ac_ext >&5
5893 # Broken: fails on valid input.
5897 rm -f conftest.err conftest.$ac_ext
5899 # OK, works on sane cases. Now check whether nonexistent headers
5900 # can be detected and how.
5901 cat >conftest.$ac_ext <<_ACEOF
5904 cat confdefs.h >>conftest.$ac_ext
5905 cat >>conftest.$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5907 #include <ac_nonexistent.h>
5909 if { (ac_try="$ac_cpp conftest.$ac_ext"
5911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5912 *) ac_try_echo
=$ac_try;;
5914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5917 grep -v '^ *+' conftest.er1
>conftest.err
5919 cat conftest.err
>&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } >/dev
/null
&& {
5922 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5923 test ! -s conftest.err
5925 # Broken: success on invalid input.
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.
$ac_ext >&5
5931 # Passes both tests.
5936 rm -f conftest.err conftest.
$ac_ext
5939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5940 rm -f conftest.err conftest.
$ac_ext
5941 if $ac_preproc_ok; then
5944 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5945 See \`config.log' for more details." >&5
5946 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5947 See \`config.log' for more details." >&2;}
5948 { (exit 1); exit 1; }; }
5952 ac_cpp
='$CXXCPP $CPPFLAGS'
5953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5961 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5962 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5963 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5964 if test -n "$ac_tool_prefix"; then
5965 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
5967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5968 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5971 if test "${ac_cv_prog_F77+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 if test -n "$F77"; then
5975 ac_cv_prog_F77
="$F77" # Let the user override the test.
5977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5981 test -z "$as_dir" && as_dir
=.
5982 for ac_exec_ext
in '' $ac_executable_extensions; do
5983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5984 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 if test -n "$F77"; then
5996 { echo "$as_me:$LINENO: result: $F77" >&5
5997 echo "${ECHO_T}$F77" >&6; }
5999 { echo "$as_me:$LINENO: result: no" >&5
6000 echo "${ECHO_T}no" >&6; }
6004 test -n "$F77" && break
6007 if test -z "$F77"; then
6009 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
6011 # Extract the first word of "$ac_prog", so it can be a program name with args.
6012 set dummy
$ac_prog; ac_word
=$2
6013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6015 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 if test -n "$ac_ct_F77"; then
6019 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir
=.
6026 for ac_exec_ext
in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_ac_ct_F77
="$ac_prog"
6029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6039 if test -n "$ac_ct_F77"; then
6040 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6041 echo "${ECHO_T}$ac_ct_F77" >&6; }
6043 { echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6; }
6048 test -n "$ac_ct_F77" && break
6051 if test "x$ac_ct_F77" = x
; then
6054 case $cross_compiling:$ac_tool_warned in
6056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6057 whose name does not start with the host triplet. If you think this
6058 configuration is useful to you, please write to autoconf@gnu.org." >&5
6059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6060 whose name does not start with the host triplet. If you think this
6061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6062 ac_tool_warned
=yes ;;
6069 # Provide some information about the compiler.
6070 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6071 ac_compiler
=`set X $ac_compile; echo $2`
6072 { (ac_try
="$ac_compiler --version >&5"
6074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6075 *) ac_try_echo=$ac_try;;
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6078 (eval "$ac_compiler --version >&5") 2>&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }
6082 { (ac_try="$ac_compiler -v >&5"
6084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6085 *) ac_try_echo
=$ac_try;;
6087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6088 (eval "$ac_compiler -v >&5") 2>&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }
6092 { (ac_try
="$ac_compiler -V >&5"
6094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6095 *) ac_try_echo=$ac_try;;
6097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6098 (eval "$ac_compiler -V >&5") 2>&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); }
6104 # If we don't use `.F
' as extension, the preprocessor is not run on the
6105 # input file. (Note that this only needs to work for GNU compilers.)
6108 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6109 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6110 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6111 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 cat >conftest.$ac_ext <<_ACEOF
6121 rm -f conftest.$ac_objext
6122 if { (ac_try="$ac_compile"
6124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6125 *) ac_try_echo=$ac_try;;
6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6128 (eval "$ac_compile") 2>conftest.er1
6130 grep -v '^
*+' conftest.er1 >conftest.err
6132 cat conftest.err >&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } && {
6135 test -z "$ac_f77_werror_flag" ||
6136 test ! -s conftest.err
6137 } && test -s conftest.$ac_objext; then
6140 echo "$as_me: failed program was:" >&5
6141 sed 's
/^
/|
/' conftest.$ac_ext >&5
6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6147 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6150 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6151 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6153 ac_test_FFLAGS=${FFLAGS+set}
6154 ac_save_FFLAGS=$FFLAGS
6156 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6157 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6158 if test "${ac_cv_prog_f77_g+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 cat >conftest.$ac_ext <<_ACEOF
6167 rm -f conftest.$ac_objext
6168 if { (ac_try="$ac_compile"
6170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6171 *) ac_try_echo=$ac_try;;
6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174 (eval "$ac_compile") 2>conftest.er1
6176 grep -v '^
*+' conftest.er1 >conftest.err
6178 cat conftest.err >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } && {
6181 test -z "$ac_f77_werror_flag" ||
6182 test ! -s conftest.err
6183 } && test -s conftest.$ac_objext; then
6184 ac_cv_prog_f77_g=yes
6186 echo "$as_me: failed program was:" >&5
6187 sed 's
/^
/|
/' conftest.$ac_ext >&5
6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6195 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6196 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6197 if test "$ac_test_FFLAGS" = set; then
6198 FFLAGS=$ac_save_FFLAGS
6199 elif test $ac_cv_prog_f77_g = yes; then
6200 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6206 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6213 G77=`test $ac_compiler_gnu = yes && echo yes`
6215 ac_cpp='$CPP $CPPFLAGS'
6216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6217 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6222 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6224 # find the maximum length of command line arguments
6225 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6226 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6227 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 # On DJGPP, this test can blow up pretty badly due to problems in libc
6236 # (any single argument exceeding 2000 bytes causes a buffer overrun
6237 # during glob expansion). Even if it were fixed, the result of this
6238 # check would be larger than it should be.
6239 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6243 # Under GNU Hurd, this test is not required because there is
6244 # no limit to the length of command line arguments.
6245 # Libtool will interpret -1 as no limit whatsoever
6246 lt_cv_sys_max_cmd_len
=-1;
6250 # On Win9x/ME, this test blows up -- it succeeds, but takes
6251 # about 5 minutes as the teststring grows exponentially.
6252 # Worse, since 9x/ME are not pre-emptively multitasking,
6253 # you end up with a "frozen" computer, even though with patience
6254 # the test eventually succeeds (with a max line length of 256k).
6255 # Instead, let's just punt: use the minimum linelength reported by
6256 # all of the supported platforms: 8192 (on NT/2K/XP).
6257 lt_cv_sys_max_cmd_len
=8192;
6261 # On AmigaOS with pdksh, this test takes hours, literally.
6262 # So we just punt and use a minimum line length of 8192.
6263 lt_cv_sys_max_cmd_len
=8192;
6266 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6267 # This has been around since 386BSD, at least. Likely further.
6268 if test -x /sbin
/sysctl
; then
6269 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6270 elif test -x /usr
/sbin
/sysctl
; then
6271 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6273 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6275 # And add a safety zone
6276 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6277 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6281 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6282 lt_cv_sys_max_cmd_len
=196608
6286 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6287 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6288 # nice to cause kernel panics so lets avoid the loop below.
6289 # First set a reasonable default.
6290 lt_cv_sys_max_cmd_len
=16384
6292 if test -x /sbin
/sysconfig
; then
6293 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6294 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6299 lt_cv_sys_max_cmd_len
=102400
6301 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6302 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6303 if test -n "$kargmax"; then
6304 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6306 lt_cv_sys_max_cmd_len
=32768
6310 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6311 if test -n "$lt_cv_sys_max_cmd_len"; then
6312 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6313 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6315 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6316 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6317 = "XX$teststring") >/dev
/null
2>&1 &&
6318 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6319 lt_cv_sys_max_cmd_len
=$new_result &&
6320 test $i != 17 # 1/2 MB should be enough
6323 teststring
=$teststring$teststring
6326 # Add a significant safety factor because C++ compilers can tack on massive
6327 # amounts of additional arguments before passing them to the linker.
6328 # It appears as though 1/2 is a usable value.
6329 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6336 if test -n $lt_cv_sys_max_cmd_len ; then
6337 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6338 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6340 { echo "$as_me:$LINENO: result: none" >&5
6341 echo "${ECHO_T}none" >&6; }
6348 # Check for command to grab the raw symbol name followed by C symbol from nm.
6349 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6350 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6351 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6352 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 # These are sane defaults that work on at least a few old systems.
6356 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6358 # Character class describing NM global symbol codes.
6359 symcode
='[BCDEGRST]'
6361 # Regexp to match symbols that can be accessed directly from C.
6362 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6364 # Transform an extracted symbol line into a proper C declaration
6365 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6367 # Transform an extracted symbol line into symbol name and symbol address
6368 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'"
6370 # Define system-specific variables.
6375 cygwin
* | mingw
* | pw32
*)
6376 symcode
='[ABCDGISTW]'
6378 hpux
*) # Its linker distinguishes data from code symbols
6379 if test "$host_cpu" = ia64
; then
6380 symcode
='[ABCDEGRST]'
6382 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6383 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'"
6385 linux
* | k
*bsd
*-gnu)
6386 if test "$host_cpu" = ia64
; then
6387 symcode
='[ABCDGIRSTW]'
6388 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6389 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'"
6393 symcode
='[BCDEGRST]'
6396 symcode
='[BCDEGQRST]'
6407 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6415 # Handle CRLF in mingw tool chain
6419 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6423 # If we're using GNU nm, then use its standard symbol codes.
6424 case `$NM -V 2>&1` in
6425 *GNU
* |
*'with BFD'*)
6426 symcode
='[ABCDGIRSTW]' ;;
6429 # Try without a prefix undercore, then with it.
6430 for ac_symprfx
in "" "_"; do
6432 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6433 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6435 # Write the raw and C identifiers.
6436 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6438 # Check to see that the pipe works correctly.
6442 cat > conftest.
$ac_ext <<EOF
6447 void nm_test_func(){}
6451 int main(){nm_test_var='a';nm_test_func();return(0);}
6454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6455 (eval $ac_compile) 2>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); }; then
6459 # Now try to grab the symbols.
6461 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6462 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } && test -s "$nlist"; then
6466 # Try sorting and uniquifying the output.
6467 if sort "$nlist" |
uniq > "$nlist"T
; then
6468 mv -f "$nlist"T
"$nlist"
6473 # Make sure that we snagged all the symbols we need.
6474 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6475 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6476 cat <<EOF > conftest.$ac_ext
6482 # Now generate the symbol file.
6483 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6485 cat <<EOF >> conftest.$ac_ext
6486 #if defined (__STDC__) && __STDC__
6487 # define lt_ptr_t void *
6489 # define lt_ptr_t char *
6493 /* The mapping between symbol names and symbols. */
6498 lt_preloaded_symbols[] =
6501 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6502 cat <<\EOF
>> conftest.
$ac_ext
6510 # Now try linking the two files.
6511 mv conftest.
$ac_objext conftstm.
$ac_objext
6512 lt_save_LIBS
="$LIBS"
6513 lt_save_CFLAGS
="$CFLAGS"
6514 LIBS
="conftstm.$ac_objext"
6515 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6517 (eval $ac_link) 2>&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6523 LIBS
="$lt_save_LIBS"
6524 CFLAGS
="$lt_save_CFLAGS"
6526 echo "cannot find nm_test_func in $nlist" >&5
6529 echo "cannot find nm_test_var in $nlist" >&5
6532 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6535 echo "$progname: failed program was:" >&5
6536 cat conftest.
$ac_ext >&5
6538 rm -f conftest
* conftst
*
6540 # Do not use the global_symbol_pipe unless it works.
6541 if test "$pipe_works" = yes; then
6544 lt_cv_sys_global_symbol_pipe
=
6550 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6551 lt_cv_sys_global_symbol_to_cdecl
=
6553 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6554 { echo "$as_me:$LINENO: result: failed" >&5
6555 echo "${ECHO_T}failed" >&6; }
6557 { echo "$as_me:$LINENO: result: ok" >&5
6558 echo "${ECHO_T}ok" >&6; }
6561 { echo "$as_me:$LINENO: checking for objdir" >&5
6562 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6563 if test "${lt_cv_objdir+set}" = set; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 rm -f .libs
2>/dev
/null
6567 mkdir .libs
2>/dev
/null
6568 if test -d .libs
; then
6571 # MS-DOS does not allow filenames that begin with a dot.
6574 rmdir .libs
2>/dev
/null
6576 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6577 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6578 objdir
=$lt_cv_objdir
6586 # AIX sometimes has problems with the GCC collect2 program. For some
6587 # reason, if we set the COLLECT_NAMES environment variable, the problems
6588 # vanish in a puff of smoke.
6589 if test "X${COLLECT_NAMES+set}" != Xset
; then
6591 export COLLECT_NAMES
6596 # Sed substitution that helps us do robust quoting. It backslashifies
6597 # metacharacters that are still active within double-quoted strings.
6598 Xsed
='sed -e 1s/^X//'
6599 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6601 # Same as above, but do not quote variable references.
6602 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6604 # Sed substitution to delay expansion of an escaped shell variable in a
6605 # double_quote_subst'ed string.
6606 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6608 # Sed substitution to avoid accidental globbing in evaled expressions
6609 no_glob_subst
='s/\*/\\\*/g'
6615 default_ofile
=libtool
6616 can_build_shared
=yes
6618 # All known linkers require a `.a' archive for static linking (except MSVC,
6619 # which needs '.lib').
6621 ltmain
="$ac_aux_dir/ltmain.sh"
6622 ofile
="$default_ofile"
6623 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6625 if test -n "$ac_tool_prefix"; then
6626 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6627 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6630 if test "${ac_cv_prog_AR+set}" = set; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 if test -n "$AR"; then
6634 ac_cv_prog_AR
="$AR" # Let the user override the test.
6636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6640 test -z "$as_dir" && as_dir
=.
6641 for ac_exec_ext
in '' $ac_executable_extensions; do
6642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6643 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 if test -n "$AR"; then
6655 { echo "$as_me:$LINENO: result: $AR" >&5
6656 echo "${ECHO_T}$AR" >&6; }
6658 { echo "$as_me:$LINENO: result: no" >&5
6659 echo "${ECHO_T}no" >&6; }
6664 if test -z "$ac_cv_prog_AR"; then
6666 # Extract the first word of "ar", so it can be a program name with args.
6667 set dummy
ar; ac_word
=$2
6668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6670 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 if test -n "$ac_ct_AR"; then
6674 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir
=.
6681 for ac_exec_ext
in '' $ac_executable_extensions; do
6682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683 ac_cv_prog_ac_ct_AR
="ar"
6684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6693 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6694 if test -n "$ac_ct_AR"; then
6695 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6696 echo "${ECHO_T}$ac_ct_AR" >&6; }
6698 { echo "$as_me:$LINENO: result: no" >&5
6699 echo "${ECHO_T}no" >&6; }
6702 if test "x$ac_ct_AR" = x
; then
6705 case $cross_compiling:$ac_tool_warned in
6707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6708 whose name does not start with the host triplet. If you think this
6709 configuration is useful to you, please write to autoconf@gnu.org." >&5
6710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6711 whose name does not start with the host triplet. If you think this
6712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6713 ac_tool_warned
=yes ;;
6721 if test -n "$ac_tool_prefix"; then
6722 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6723 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6726 if test "${ac_cv_prog_RANLIB+set}" = set; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6729 if test -n "$RANLIB"; then
6730 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6736 test -z "$as_dir" && as_dir
=.
6737 for ac_exec_ext
in '' $ac_executable_extensions; do
6738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 RANLIB
=$ac_cv_prog_RANLIB
6750 if test -n "$RANLIB"; then
6751 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6752 echo "${ECHO_T}$RANLIB" >&6; }
6754 { echo "$as_me:$LINENO: result: no" >&5
6755 echo "${ECHO_T}no" >&6; }
6760 if test -z "$ac_cv_prog_RANLIB"; then
6761 ac_ct_RANLIB
=$RANLIB
6762 # Extract the first word of "ranlib", so it can be a program name with args.
6763 set dummy ranlib
; ac_word
=$2
6764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6766 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 if test -n "$ac_ct_RANLIB"; then
6770 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir
=.
6777 for ac_exec_ext
in '' $ac_executable_extensions; do
6778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6779 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6790 if test -n "$ac_ct_RANLIB"; then
6791 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6792 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6794 { echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6; }
6798 if test "x$ac_ct_RANLIB" = x
; then
6801 case $cross_compiling:$ac_tool_warned in
6803 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6804 whose name does not start with the host triplet. If you think this
6805 configuration is useful to you, please write to autoconf@gnu.org." >&5
6806 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6807 whose name does not start with the host triplet. If you think this
6808 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6809 ac_tool_warned
=yes ;;
6811 RANLIB
=$ac_ct_RANLIB
6814 RANLIB
="$ac_cv_prog_RANLIB"
6817 if test -n "$ac_tool_prefix"; then
6818 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6819 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6822 if test "${ac_cv_prog_STRIP+set}" = set; then
6823 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 if test -n "$STRIP"; then
6826 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6832 test -z "$as_dir" && as_dir
=.
6833 for ac_exec_ext
in '' $ac_executable_extensions; do
6834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6835 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6845 STRIP
=$ac_cv_prog_STRIP
6846 if test -n "$STRIP"; then
6847 { echo "$as_me:$LINENO: result: $STRIP" >&5
6848 echo "${ECHO_T}$STRIP" >&6; }
6850 { echo "$as_me:$LINENO: result: no" >&5
6851 echo "${ECHO_T}no" >&6; }
6856 if test -z "$ac_cv_prog_STRIP"; then
6858 # Extract the first word of "strip", so it can be a program name with args.
6859 set dummy strip
; ac_word
=$2
6860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6862 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 if test -n "$ac_ct_STRIP"; then
6866 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir
=.
6873 for ac_exec_ext
in '' $ac_executable_extensions; do
6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6875 ac_cv_prog_ac_ct_STRIP
="strip"
6876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6885 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6886 if test -n "$ac_ct_STRIP"; then
6887 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6888 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6890 { echo "$as_me:$LINENO: result: no" >&5
6891 echo "${ECHO_T}no" >&6; }
6894 if test "x$ac_ct_STRIP" = x
; then
6897 case $cross_compiling:$ac_tool_warned in
6899 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6900 whose name does not start with the host triplet. If you think this
6901 configuration is useful to you, please write to autoconf@gnu.org." >&5
6902 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6903 whose name does not start with the host triplet. If you think this
6904 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6905 ac_tool_warned
=yes ;;
6910 STRIP
="$ac_cv_prog_STRIP"
6915 old_CFLAGS
="$CFLAGS"
6917 # Set sane defaults for various variables
6918 test -z "$AR" && AR
=ar
6919 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6920 test -z "$AS" && AS
=as
6921 test -z "$CC" && CC
=cc
6922 test -z "$LTCC" && LTCC
=$CC
6923 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6924 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6925 test -z "$LD" && LD
=ld
6926 test -z "$LN_S" && LN_S
="ln -s"
6927 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6928 test -z "$NM" && NM
=nm
6929 test -z "$SED" && SED
=sed
6930 test -z "$OBJDUMP" && OBJDUMP
=objdump
6931 test -z "$RANLIB" && RANLIB
=:
6932 test -z "$STRIP" && STRIP
=:
6933 test -z "$ac_objext" && ac_objext
=o
6935 # Determine commands to create old-style static archives.
6936 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6937 old_postinstall_cmds
='chmod 644 $oldlib'
6938 old_postuninstall_cmds
=
6940 if test -n "$RANLIB"; then
6943 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6946 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6949 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
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 # Only perform the check for file, if the check method requires it
6964 case $deplibs_check_method in
6966 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6967 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6968 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6969 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6970 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6977 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6978 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6979 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6980 for ac_dir
in $ac_dummy; do
6982 test -z "$ac_dir" && ac_dir
=.
6983 if test -f $ac_dir/${ac_tool_prefix}file; then
6984 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6985 if test -n "$file_magic_test_file"; then
6986 case $deplibs_check_method in
6988 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6989 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6990 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6991 $EGREP "$file_magic_regex" > /dev
/null
; then
6996 *** Warning: the command libtool uses to detect shared libraries,
6997 *** $file_magic_cmd, produces output that libtool cannot recognize.
6998 *** The result is that libtool may fail to recognize shared libraries
6999 *** as such. This will affect the creation of libtool libraries that
7000 *** depend on shared libraries, but programs linked with such libtool
7001 *** libraries will work regardless of this problem. Nevertheless, you
7002 *** may want to report the problem to your system manager and/or to
7003 *** bug-libtool@gnu.org
7013 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7018 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7019 if test -n "$MAGIC_CMD"; then
7020 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7021 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7023 { echo "$as_me:$LINENO: result: no" >&5
7024 echo "${ECHO_T}no" >&6; }
7027 if test -z "$lt_cv_path_MAGIC_CMD"; then
7028 if test -n "$ac_tool_prefix"; then
7029 { echo "$as_me:$LINENO: checking for file" >&5
7030 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7031 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7036 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7039 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7040 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7041 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7042 for ac_dir
in $ac_dummy; do
7044 test -z "$ac_dir" && ac_dir
=.
7045 if test -f $ac_dir/file; then
7046 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7047 if test -n "$file_magic_test_file"; then
7048 case $deplibs_check_method in
7050 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7051 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7052 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7053 $EGREP "$file_magic_regex" > /dev
/null
; then
7058 *** Warning: the command libtool uses to detect shared libraries,
7059 *** $file_magic_cmd, produces output that libtool cannot recognize.
7060 *** The result is that libtool may fail to recognize shared libraries
7061 *** as such. This will affect the creation of libtool libraries that
7062 *** depend on shared libraries, but programs linked with such libtool
7063 *** libraries will work regardless of this problem. Nevertheless, you
7064 *** may want to report the problem to your system manager and/or to
7065 *** bug-libtool@gnu.org
7075 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7080 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7081 if test -n "$MAGIC_CMD"; then
7082 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7083 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7085 { echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6; }
7101 # Check whether --enable-libtool-lock was given.
7102 if test "${enable_libtool_lock+set}" = set; then
7103 enableval
=$enable_libtool_lock;
7106 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7109 # Check whether --with-pic was given.
7110 if test "${with_pic+set}" = set; then
7111 withval
=$with_pic; pic_mode
="$withval"
7116 test -z "$pic_mode" && pic_mode
=default
7118 # Use C for the default configuration in the libtool script
7122 ac_cpp
='$CPP $CPPFLAGS'
7123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7128 # Source file extension for C test sources.
7131 # Object file extension for compiled C test sources.
7135 # Code to be used in simple compile tests
7136 lt_simple_compile_test_code
="int some_variable = 0;"
7138 # Code to be used in simple link tests
7139 lt_simple_link_test_code
='int main(){return(0);}'
7142 # If no C compiler was specified, use CC.
7145 # If no C compiler flags were specified, use CFLAGS.
7146 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7148 # Allow CC to be a program name with arguments.
7152 # save warnings/boilerplate of simple test code
7153 ac_outfile
=conftest.
$ac_objext
7154 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7155 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7156 _lt_compiler_boilerplate
=`cat conftest.err`
7159 ac_outfile
=conftest.
$ac_objext
7160 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7161 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7162 _lt_linker_boilerplate
=`cat conftest.err`
7167 lt_prog_compiler_no_builtin_flag
=
7169 if test "$GCC" = yes; then
7170 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7173 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7174 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7175 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7176 echo $ECHO_N "(cached) $ECHO_C" >&6
7178 lt_cv_prog_compiler_rtti_exceptions
=no
7179 ac_outfile
=conftest.
$ac_objext
7180 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7181 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7182 # Insert the option either (1) after the last *FLAGS variable, or
7183 # (2) before a word containing "conftest.", or (3) at the end.
7184 # Note that $ac_compile itself does not contain backslashes and begins
7185 # with a dollar sign (not a hyphen), so the echo should work correctly.
7186 # The option is referenced via a variable to avoid confusing sed.
7187 lt_compile
=`echo "$ac_compile" | $SED \
7188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7190 -e 's:$: $lt_compiler_flag:'`
7191 (eval echo "\"\$as_me:7191: $lt_compile\"" >&5)
7192 (eval "$lt_compile" 2>conftest.err
)
7194 cat conftest.err
>&5
7195 echo "$as_me:7195: \$? = $ac_status" >&5
7196 if (exit $ac_status) && test -s "$ac_outfile"; then
7197 # The compiler can only warn and ignore the option if not recognized
7198 # So say no if there are warnings other than the usual output.
7199 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7200 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7201 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7202 lt_cv_prog_compiler_rtti_exceptions
=yes
7208 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7209 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7211 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7212 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7219 lt_prog_compiler_wl
=
7220 lt_prog_compiler_pic
=
7221 lt_prog_compiler_static
=
7223 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7224 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7226 if test "$GCC" = yes; then
7227 lt_prog_compiler_wl
='-Wl,'
7228 lt_prog_compiler_static
='-static'
7232 # All AIX code is PIC.
7233 if test "$host_cpu" = ia64
; then
7234 # AIX 5 now supports IA64 processor
7235 lt_prog_compiler_static
='-Bstatic'
7240 # FIXME: we need at least 68020 code to build shared libraries, but
7241 # adding the `-m68020' flag to GCC prevents building anything better,
7243 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7246 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7247 # PIC is the default for these OSes.
7250 mingw
* | cygwin
* | pw32
* | os2
*)
7251 # This hack is so that the source file can tell whether it is being
7252 # built for inclusion in a dll (and should export symbols for example).
7253 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7254 # (--disable-auto-import) libraries
7255 lt_prog_compiler_pic
='-DDLL_EXPORT'
7258 darwin
* | rhapsody
*)
7259 # PIC is the default on this platform
7260 # Common symbols not allowed in MH_DYLIB files
7261 lt_prog_compiler_pic
='-fno-common'
7265 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7266 # Instead, we relocate shared libraries at runtime.
7270 # Just because we use GCC doesn't mean we suddenly get shared libraries
7271 # on systems that don't support them.
7272 lt_prog_compiler_can_build_shared
=no
7277 if test -d /usr
/nec
; then
7278 lt_prog_compiler_pic
=-Kconform_pic
7283 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7290 lt_prog_compiler_pic
='-fPIC'
7296 lt_prog_compiler_pic
='-fPIC'
7300 # PORTME Check for flag to pass linker flags through the system compiler.
7303 lt_prog_compiler_wl
='-Wl,'
7304 if test "$host_cpu" = ia64
; then
7305 # AIX 5 now supports IA64 processor
7306 lt_prog_compiler_static
='-Bstatic'
7308 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7312 # PIC is the default on this platform
7313 # Common symbols not allowed in MH_DYLIB files
7314 case $cc_basename in
7316 lt_prog_compiler_pic
='-qnocommon'
7317 lt_prog_compiler_wl
='-Wl,'
7322 mingw
* | cygwin
* | pw32
* | os2
*)
7323 # This hack is so that the source file can tell whether it is being
7324 # built for inclusion in a dll (and should export symbols for example).
7325 lt_prog_compiler_pic
='-DDLL_EXPORT'
7328 hpux9
* | hpux10
* | hpux11
*)
7329 lt_prog_compiler_wl
='-Wl,'
7330 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7337 lt_prog_compiler_pic
='+Z'
7340 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7341 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7344 irix5
* | irix6
* | nonstopux
*)
7345 lt_prog_compiler_wl
='-Wl,'
7346 # PIC (with -KPIC) is the default.
7347 lt_prog_compiler_static
='-non_shared'
7351 lt_prog_compiler_pic
='-KPIC'
7352 lt_prog_compiler_static
='-Bstatic'
7355 linux
* | k
*bsd
*-gnu)
7356 case $cc_basename in
7358 lt_prog_compiler_wl
='-Wl,'
7359 lt_prog_compiler_pic
='-KPIC'
7360 lt_prog_compiler_static
='-static'
7362 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7363 # Portland Group compilers (*not* the Pentium gcc compiler,
7364 # which looks to be a dead project)
7365 lt_prog_compiler_wl
='-Wl,'
7366 lt_prog_compiler_pic
='-fpic'
7367 lt_prog_compiler_static
='-Bstatic'
7370 lt_prog_compiler_wl
='-Wl,'
7371 # All Alpha code is PIC.
7372 lt_prog_compiler_static
='-non_shared'
7375 case `$CC -V 2>&1 | sed 5q` in
7378 lt_prog_compiler_pic
='-KPIC'
7379 lt_prog_compiler_static
='-Bstatic'
7380 lt_prog_compiler_wl
='-Wl,'
7383 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7384 lt_prog_compiler_pic
='-KPIC'
7385 lt_prog_compiler_static
='-Bstatic'
7386 lt_prog_compiler_wl
=''
7393 osf3
* | osf4
* | osf5
*)
7394 lt_prog_compiler_wl
='-Wl,'
7395 # All OSF/1 code is PIC.
7396 lt_prog_compiler_static
='-non_shared'
7400 lt_prog_compiler_static
='-non_shared'
7404 lt_prog_compiler_pic
='-KPIC'
7405 lt_prog_compiler_static
='-Bstatic'
7406 case $cc_basename in
7408 lt_prog_compiler_wl
='-Qoption ld ';;
7410 lt_prog_compiler_wl
='-Wl,';;
7415 lt_prog_compiler_wl
='-Qoption ld '
7416 lt_prog_compiler_pic
='-PIC'
7417 lt_prog_compiler_static
='-Bstatic'
7420 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7421 lt_prog_compiler_wl
='-Wl,'
7422 lt_prog_compiler_pic
='-KPIC'
7423 lt_prog_compiler_static
='-Bstatic'
7427 if test -d /usr
/nec
;then
7428 lt_prog_compiler_pic
='-Kconform_pic'
7429 lt_prog_compiler_static
='-Bstatic'
7433 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7434 lt_prog_compiler_wl
='-Wl,'
7435 lt_prog_compiler_pic
='-KPIC'
7436 lt_prog_compiler_static
='-Bstatic'
7440 lt_prog_compiler_wl
='-Wl,'
7441 lt_prog_compiler_can_build_shared
=no
7445 lt_prog_compiler_pic
='-pic'
7446 lt_prog_compiler_static
='-Bstatic'
7450 lt_prog_compiler_can_build_shared
=no
7455 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7456 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7459 # Check to make sure the PIC flag actually works.
7461 if test -n "$lt_prog_compiler_pic"; then
7463 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7464 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7465 if test "${lt_prog_compiler_pic_works+set}" = set; then
7466 echo $ECHO_N "(cached) $ECHO_C" >&6
7468 lt_prog_compiler_pic_works
=no
7469 ac_outfile
=conftest.
$ac_objext
7470 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7471 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7472 # Insert the option either (1) after the last *FLAGS variable, or
7473 # (2) before a word containing "conftest.", or (3) at the end.
7474 # Note that $ac_compile itself does not contain backslashes and begins
7475 # with a dollar sign (not a hyphen), so the echo should work correctly.
7476 # The option is referenced via a variable to avoid confusing sed.
7477 lt_compile
=`echo "$ac_compile" | $SED \
7478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7480 -e 's:$: $lt_compiler_flag:'`
7481 (eval echo "\"\$as_me:7481: $lt_compile\"" >&5)
7482 (eval "$lt_compile" 2>conftest.err
)
7484 cat conftest.err
>&5
7485 echo "$as_me:7485: \$? = $ac_status" >&5
7486 if (exit $ac_status) && test -s "$ac_outfile"; then
7487 # The compiler can only warn and ignore the option if not recognized
7488 # So say no if there are warnings other than the usual output.
7489 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7490 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7491 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7492 lt_prog_compiler_pic_works
=yes
7498 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7499 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7501 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7502 case $lt_prog_compiler_pic in
7504 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7507 lt_prog_compiler_pic
=
7508 lt_prog_compiler_can_build_shared
=no
7513 # For platforms which do not support PIC, -DPIC is meaningless:
7515 lt_prog_compiler_pic
=
7518 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7523 # Check to make sure the static flag actually works.
7525 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7526 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7527 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7528 if test "${lt_prog_compiler_static_works+set}" = set; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 lt_prog_compiler_static_works
=no
7532 save_LDFLAGS
="$LDFLAGS"
7533 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7534 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7535 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7536 # The linker can only warn and ignore the option if not recognized
7537 # So say no if there are warnings
7538 if test -s conftest.err
; then
7539 # Append any errors to the config.log.
7540 cat conftest.err
1>&5
7541 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7542 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7543 if diff conftest.exp conftest.er2
>/dev
/null
; then
7544 lt_prog_compiler_static_works
=yes
7547 lt_prog_compiler_static_works
=yes
7551 LDFLAGS
="$save_LDFLAGS"
7554 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7555 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7557 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7560 lt_prog_compiler_static
=
7564 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 lt_cv_prog_compiler_c_o
=no
7570 $rm -r conftest
2>/dev
/null
7574 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7576 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 lt_compile
=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>out
/conftest.err
)
7588 cat out
/conftest.err
>&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings
7594 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7595 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7596 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7597 lt_cv_prog_compiler_c_o
=yes
7602 # SGI C++ compiler will create directory out/ii_files/ for
7603 # template instantiation
7604 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7605 $rm out
/* && rmdir out
7611 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7615 hard_links
="nottested"
7616 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7617 # do not overwrite the value of need_locks provided by the user
7618 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7619 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7622 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7624 ln conftest.a conftest.b
2>&5 || hard_links
=no
7625 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7626 { echo "$as_me:$LINENO: result: $hard_links" >&5
7627 echo "${ECHO_T}$hard_links" >&6; }
7628 if test "$hard_links" = no
; then
7629 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7630 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7637 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7638 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7641 allow_undefined_flag
=
7642 enable_shared_with_static_runtimes
=no
7644 archive_expsym_cmds
=
7645 old_archive_From_new_cmds
=
7646 old_archive_from_expsyms_cmds
=
7647 export_dynamic_flag_spec
=
7648 whole_archive_flag_spec
=
7649 thread_safe_flag_spec
=
7650 hardcode_libdir_flag_spec
=
7651 hardcode_libdir_flag_spec_ld
=
7652 hardcode_libdir_separator
=
7655 hardcode_shlibpath_var
=unsupported
7656 link_all_deplibs
=unknown
7657 hardcode_automatic
=no
7660 always_export_symbols
=no
7661 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7662 # include_expsyms should be a list of space-separated symbols to be *always*
7663 # included in the symbol list
7665 # exclude_expsyms can be an extended regexp of symbols to exclude
7666 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7667 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7668 # as well as any symbol that contains `d'.
7669 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7670 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7671 # platforms (ab)use it in PIC code, but their linkers get confused if
7672 # the symbol is explicitly referenced. Since portable code cannot
7673 # rely on this symbol name, it's probably fine to never include it in
7674 # preloaded symbol tables.
7675 extract_expsyms_cmds
=
7676 # Just being paranoid about ensuring that cc_basename is set.
7677 for cc_temp
in $compiler""; do
7679 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7680 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7685 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7688 cygwin
* | mingw
* | pw32
*)
7689 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7690 # When not using gcc, we currently assume that we are using
7691 # Microsoft Visual C++.
7692 if test "$GCC" != yes; then
7697 # we just hope/assume this is gcc and not c89 (= MSVC++)
7706 if test "$with_gnu_ld" = yes; then
7707 # If archive_cmds runs LD, not CC, wlarc should be empty
7710 # Set some defaults for GNU ld with shared library support. These
7711 # are reset later if shared libraries are not supported. Putting them
7712 # here allows them to be overridden if necessary.
7713 runpath_var
=LD_RUN_PATH
7714 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7715 export_dynamic_flag_spec
='${wl}--export-dynamic'
7716 # ancient GNU ld didn't support --whole-archive et. al.
7717 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7718 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7720 whole_archive_flag_spec
=
7722 supports_anon_versioning
=no
7723 case `$LD -v 2>/dev/null` in
7724 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7725 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7726 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7727 *\
2.11.
*) ;; # other 2.11 versions
7728 *) supports_anon_versioning
=yes ;;
7731 # See if GNU ld supports shared libraries.
7733 aix3
* | aix4
* | aix5
*)
7734 # On AIX/PPC, the GNU linker is very broken
7735 if test "$host_cpu" != ia64
; then
7739 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7740 *** to be unable to reliably create shared libraries on AIX.
7741 *** Therefore, libtool is disabling shared libraries support. If you
7742 *** really care for shared libraries, you may want to modify your PATH
7743 *** so that a non-GNU linker is found, and then restart.
7750 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)'
7751 hardcode_libdir_flag_spec
='-L$libdir'
7752 hardcode_minus_L
=yes
7754 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7755 # that the semantics of dynamic libraries on AmigaOS, at least up
7756 # to version 4, is to share data among multiple programs linked
7757 # with the same dynamic library. Since this doesn't match the
7758 # behavior of shared libraries on other platforms, we can't use
7764 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7765 allow_undefined_flag
=unsupported
7766 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7767 # support --undefined. This deserves some investigation. FIXME
7768 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7774 cygwin
* | mingw
* | pw32
*)
7775 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7776 # as there is no search path for DLLs.
7777 hardcode_libdir_flag_spec
='-L$libdir'
7778 allow_undefined_flag
=unsupported
7779 always_export_symbols
=no
7780 enable_shared_with_static_runtimes
=yes
7781 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7783 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7784 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7785 # If the export-symbols file already is a .def file (1st line
7786 # is EXPORTS), use it as is; otherwise, prepend...
7787 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7788 cp $export_symbols $output_objdir/$soname.def;
7790 echo EXPORTS > $output_objdir/$soname.def;
7791 cat $export_symbols >> $output_objdir/$soname.def;
7793 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7801 hardcode_shlibpath_var
=no
7802 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7803 export_dynamic_flag_spec
='${wl}-E'
7804 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7805 # Instead, shared libraries are loaded at an image base (0x10000000 by
7806 # default) and relocated if they conflict, which is a slow very memory
7807 # consuming and fragmenting process. To avoid this, we pick a random,
7808 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7809 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7810 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7811 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'
7814 gnu
* | linux
* | k
*bsd
*-gnu)
7815 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7817 case $cc_basename,$host_cpu in
7818 pgcc
*) # Portland Group C compiler
7819 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'
7820 tmp_addflag
=' $pic_flag'
7822 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7823 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'
7824 tmp_addflag
=' $pic_flag -Mnomain' ;;
7825 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7826 tmp_addflag
=' -i_dynamic' ;;
7827 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7828 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7829 ifc
* | ifort
*) # Intel Fortran compiler
7830 tmp_addflag
=' -nofor_main' ;;
7832 case `$CC -V 2>&1 | sed 5q` in
7833 *Sun\ C
*) # Sun C 5.9
7834 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'
7835 tmp_sharedflag
='-G' ;;
7836 *Sun\ F
*) # Sun Fortran 8.3
7837 tmp_sharedflag
='-G' ;;
7839 tmp_sharedflag
='-shared' ;;
7841 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7843 if test $supports_anon_versioning = yes; then
7844 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7845 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7846 $echo "local: *; };" >> $output_objdir/$libname.ver~
7847 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7855 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7856 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7859 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7860 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7865 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7869 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7870 *** create shared libraries on Solaris systems. Therefore, libtool
7871 *** is disabling shared libraries support. We urge you to upgrade GNU
7872 *** binutils to release 2.9.1 or newer. Another option is to modify
7873 *** your PATH or compiler configuration so that the native linker is
7874 *** used, and then restart.
7877 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7878 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7879 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7885 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7886 case `$LD -v 2>&1` in
7887 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7891 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7892 *** reliably create shared libraries on SCO systems. Therefore, libtool
7893 *** is disabling shared libraries support. We urge you to upgrade GNU
7894 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7895 *** your PATH or compiler configuration so that the native linker is
7896 *** used, and then restart.
7901 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7902 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7903 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7904 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7913 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7916 hardcode_shlibpath_var
=no
7920 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7921 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7922 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7929 if test "$ld_shlibs" = no
; then
7931 hardcode_libdir_flag_spec
=
7932 export_dynamic_flag_spec
=
7933 whole_archive_flag_spec
=
7936 # PORTME fill in a description of your system's linker (not GNU ld)
7939 allow_undefined_flag
=unsupported
7940 always_export_symbols
=yes
7941 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'
7942 # Note: this linker hardcodes the directories in LIBPATH if there
7943 # are no directories specified by -L.
7944 hardcode_minus_L
=yes
7945 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7946 # Neither direct hardcoding nor static linking is supported with a
7948 hardcode_direct
=unsupported
7953 if test "$host_cpu" = ia64
; then
7954 # On IA64, the linker does run time linking by default, so we don't
7955 # have to do anything special.
7956 aix_use_runtimelinking
=no
7957 exp_sym_flag
='-Bexport'
7960 # If we're using GNU nm, then we don't want the "-C" option.
7961 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7962 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7963 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'
7965 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'
7967 aix_use_runtimelinking
=no
7969 # Test if we are trying to use run time linking or normal
7970 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7971 # need to do runtime linking.
7972 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7973 for ld_flag
in $LDFLAGS; do
7974 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7975 aix_use_runtimelinking
=yes
7982 exp_sym_flag
='-bexport'
7983 no_entry_flag
='-bnoentry'
7986 # When large executables or shared objects are built, AIX ld can
7987 # have problems creating the table of contents. If linking a library
7988 # or program results in "error TOC overflow" add -mminimal-toc to
7989 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7990 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7994 hardcode_libdir_separator
=':'
7995 link_all_deplibs
=yes
7997 if test "$GCC" = yes; then
7998 case $host_os in aix4.
[012]|aix4.
[012].
*)
7999 # We only want to do this on AIX 4.2 and lower, the check
8000 # below for broken collect2 doesn't work under 4.3+
8001 collect2name
=`${CC} -print-prog-name=collect2`
8002 if test -f "$collect2name" && \
8003 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8005 # We have reworked collect2
8008 # We have old collect2
8009 hardcode_direct
=unsupported
8010 # It fails to find uninstalled libraries when the uninstalled
8011 # path is not listed in the libpath. Setting hardcode_minus_L
8012 # to unsupported forces relinking
8013 hardcode_minus_L
=yes
8014 hardcode_libdir_flag_spec
='-L$libdir'
8015 hardcode_libdir_separator
=
8019 shared_flag
='-shared'
8020 if test "$aix_use_runtimelinking" = yes; then
8021 shared_flag
="$shared_flag "'${wl}-G'
8025 if test "$host_cpu" = ia64
; then
8026 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8027 # chokes on -Wl,-G. The following line is correct:
8030 if test "$aix_use_runtimelinking" = yes; then
8031 shared_flag
='${wl}-G'
8033 shared_flag
='${wl}-bM:SRE'
8038 # It seems that -bexpall does not export symbols beginning with
8039 # underscore (_), so it is better to generate a list of symbols to export.
8040 always_export_symbols
=yes
8041 if test "$aix_use_runtimelinking" = yes; then
8042 # Warning - without using the other runtime loading flags (-brtl),
8043 # -berok will link without error, but may produce a broken library.
8044 allow_undefined_flag
='-berok'
8045 # Determine the default libpath from the value encoded in an empty executable.
8046 cat >conftest.
$ac_ext <<_ACEOF
8049 cat confdefs.h
>>conftest.
$ac_ext
8050 cat >>conftest.
$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8061 rm -f conftest.
$ac_objext conftest
$ac_exeext
8062 if { (ac_try
="$ac_link"
8064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8068 (eval "$ac_link") 2>conftest.er1
8070 grep -v '^ *+' conftest.er1 >conftest.err
8072 cat conftest.err >&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } && {
8075 test -z "$ac_c_werror_flag" ||
8076 test ! -s conftest.err
8077 } && test -s conftest$ac_exeext &&
8078 $as_test_x conftest$ac_exeext; then
8080 lt_aix_libpath_sed='
8081 /Import File Strings/,/^$/ {
8087 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8088 # Check for a 64-bit object if we didn't find anything.
8089 if test -z "$aix_libpath"; then
8090 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8093 echo "$as_me: failed program was:" >&5
8094 sed 's/^/| /' conftest.$ac_ext >&5
8099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8100 conftest$ac_exeext conftest.$ac_ext
8101 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8103 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8104 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"
8106 if test "$host_cpu" = ia64; then
8107 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8108 allow_undefined_flag="-z nodefs"
8109 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"
8111 # Determine the default libpath from the value encoded in an empty executable.
8112 cat >conftest.$ac_ext <<_ACEOF
8115 cat confdefs.h >>conftest.$ac_ext
8116 cat >>conftest.$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8127 rm -f conftest.$ac_objext conftest$ac_exeext
8128 if { (ac_try="$ac_link"
8130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8131 *) ac_try_echo
=$ac_try;;
8133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8134 (eval "$ac_link") 2>conftest.er1
8136 grep -v '^ *+' conftest.er1
>conftest.err
8138 cat conftest.err
>&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } && {
8141 test -z "$ac_c_werror_flag" ||
8142 test ! -s conftest.err
8143 } && test -s conftest
$ac_exeext &&
8144 $as_test_x conftest
$ac_exeext; then
8146 lt_aix_libpath_sed
='
8147 /Import File Strings/,/^$/ {
8153 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8154 # Check for a 64-bit object if we didn't find anything.
8155 if test -z "$aix_libpath"; then
8156 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.
$ac_ext >&5
8165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8166 conftest
$ac_exeext conftest.
$ac_ext
8167 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8169 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8170 # Warning - without using the other run time loading flags,
8171 # -berok will link without error, but may produce a broken library.
8172 no_undefined_flag
=' ${wl}-bernotok'
8173 allow_undefined_flag
=' ${wl}-berok'
8174 # Exported symbols can be pulled into shared objects from archives
8175 whole_archive_flag_spec
='$convenience'
8176 archive_cmds_need_lc
=yes
8177 # This is similar to how AIX traditionally builds its shared libraries.
8178 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'
8184 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)'
8185 hardcode_libdir_flag_spec
='-L$libdir'
8186 hardcode_minus_L
=yes
8187 # see comment about different semantics on the GNU ld section
8192 export_dynamic_flag_spec
=-rdynamic
8195 cygwin
* | mingw
* | pw32
*)
8196 # When not using gcc, we currently assume that we are using
8197 # Microsoft Visual C++.
8198 # hardcode_libdir_flag_spec is actually meaningless, as there is
8199 # no search path for DLLs.
8200 hardcode_libdir_flag_spec
=' '
8201 allow_undefined_flag
=unsupported
8202 # Tell ltmain to make .lib files, not .a files.
8204 # Tell ltmain to make .dll files, not .so files.
8206 # FIXME: Setting linknames here is a bad hack.
8207 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8208 # The linker will automatically build a .lib file if we build a DLL.
8209 old_archive_From_new_cmds
='true'
8210 # FIXME: Should let the user specify the lib program.
8211 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8212 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8213 enable_shared_with_static_runtimes
=yes
8216 darwin
* | rhapsody
*)
8218 rhapsody
* | darwin1.
[012])
8219 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8222 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8223 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8225 case ${MACOSX_DEPLOYMENT_TARGET} in
8227 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8230 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8236 archive_cmds_need_lc
=no
8238 hardcode_automatic
=yes
8239 hardcode_shlibpath_var
=unsupported
8240 whole_archive_flag_spec
=''
8241 link_all_deplibs
=yes
8242 if test "$GCC" = yes ; then
8243 output_verbose_link_cmd
='echo'
8244 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8245 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8246 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8247 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}'
8248 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}'
8250 case $cc_basename in
8252 output_verbose_link_cmd
='echo'
8253 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8254 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8255 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8256 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}'
8257 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}'
8267 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8268 hardcode_libdir_flag_spec
='-L$libdir'
8269 hardcode_shlibpath_var
=no
8276 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8277 # support. Future versions do this automatically, but an explicit c++rt0.o
8278 # does not break anything, and helps significantly (at the cost of a little
8281 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8282 hardcode_libdir_flag_spec
='-R$libdir'
8284 hardcode_shlibpath_var
=no
8287 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8289 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8291 hardcode_minus_L
=yes
8292 hardcode_shlibpath_var
=no
8295 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8296 freebsd
* | dragonfly
*)
8297 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8298 hardcode_libdir_flag_spec
='-R$libdir'
8300 hardcode_shlibpath_var
=no
8304 if test "$GCC" = yes; then
8305 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'
8307 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'
8309 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8310 hardcode_libdir_separator
=:
8313 # hardcode_minus_L: Not really in the search PATH,
8314 # but as the default location of the library.
8315 hardcode_minus_L
=yes
8316 export_dynamic_flag_spec
='${wl}-E'
8320 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8321 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8323 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8325 if test "$with_gnu_ld" = no
; then
8326 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8327 hardcode_libdir_separator
=:
8330 export_dynamic_flag_spec
='${wl}-E'
8332 # hardcode_minus_L: Not really in the search PATH,
8333 # but as the default location of the library.
8334 hardcode_minus_L
=yes
8339 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8342 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8345 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8348 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8354 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8357 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8360 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8364 if test "$with_gnu_ld" = no
; then
8365 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8366 hardcode_libdir_separator
=:
8370 hardcode_libdir_flag_spec_ld
='+b $libdir'
8372 hardcode_shlibpath_var
=no
8376 export_dynamic_flag_spec
='${wl}-E'
8378 # hardcode_minus_L: Not really in the search PATH,
8379 # but as the default location of the library.
8380 hardcode_minus_L
=yes
8386 irix5
* | irix6
* | nonstopux
*)
8387 if test "$GCC" = yes; then
8388 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'
8390 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'
8391 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8393 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8394 hardcode_libdir_separator
=:
8395 link_all_deplibs
=yes
8399 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8400 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8402 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8404 hardcode_libdir_flag_spec
='-R$libdir'
8406 hardcode_shlibpath_var
=no
8410 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8412 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8413 hardcode_libdir_separator
=:
8414 hardcode_shlibpath_var
=no
8418 if test -f /usr
/libexec
/ld.so
; then
8420 hardcode_shlibpath_var
=no
8421 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8422 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8423 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8424 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8425 export_dynamic_flag_spec
='${wl}-E'
8428 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8429 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8430 hardcode_libdir_flag_spec
='-R$libdir'
8433 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8434 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8444 hardcode_libdir_flag_spec
='-L$libdir'
8445 hardcode_minus_L
=yes
8446 allow_undefined_flag
=unsupported
8447 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'
8448 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8452 if test "$GCC" = yes; then
8453 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8454 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'
8456 allow_undefined_flag
=' -expect_unresolved \*'
8457 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'
8459 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8460 hardcode_libdir_separator
=:
8463 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8464 if test "$GCC" = yes; then
8465 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8466 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'
8467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8469 allow_undefined_flag
=' -expect_unresolved \*'
8470 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'
8471 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8472 $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'
8474 # Both c and cxx compiler support -rpath directly
8475 hardcode_libdir_flag_spec
='-rpath $libdir'
8477 hardcode_libdir_separator
=:
8481 no_undefined_flag
=' -z text'
8482 if test "$GCC" = yes; then
8484 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8485 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8486 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8489 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8490 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8491 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8493 hardcode_libdir_flag_spec
='-R$libdir'
8494 hardcode_shlibpath_var
=no
8496 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8498 # The compiler driver will combine and reorder linker options,
8499 # but understands `-z linker_flag'. GCC discards it without `$wl',
8500 # but is careful enough not to reorder.
8501 # Supported since Solaris 2.6 (maybe 2.5.1?)
8502 if test "$GCC" = yes; then
8503 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8505 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8509 link_all_deplibs
=yes
8513 if test "x$host_vendor" = xsequent
; then
8514 # Use $CC to link under sequent, because it throws in some extra .o
8515 # files that make .init and .fini sections work.
8516 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8518 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8520 hardcode_libdir_flag_spec
='-L$libdir'
8522 hardcode_minus_L
=yes
8523 hardcode_shlibpath_var
=no
8527 case $host_vendor in
8529 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8530 hardcode_direct
=yes # is this really true???
8533 ## LD is ld it makes a PLAMLIB
8534 ## CC just makes a GrossModule.
8535 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8536 reload_cmds
='$CC -r -o $output$reload_objs'
8540 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8541 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8544 runpath_var
='LD_RUN_PATH'
8545 hardcode_shlibpath_var
=no
8549 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8550 hardcode_shlibpath_var
=no
8551 export_dynamic_flag_spec
='-Bexport'
8555 if test -d /usr
/nec
; then
8556 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8557 hardcode_shlibpath_var
=no
8558 runpath_var
=LD_RUN_PATH
8559 hardcode_runpath_var
=yes
8564 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8565 no_undefined_flag
='${wl}-z,text'
8566 archive_cmds_need_lc
=no
8567 hardcode_shlibpath_var
=no
8568 runpath_var
='LD_RUN_PATH'
8570 if test "$GCC" = yes; then
8571 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8572 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8574 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8575 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8579 sysv5
* | sco3.2v5
* | sco5v6
*)
8580 # Note: We can NOT use -z defs as we might desire, because we do not
8581 # link with -lc, and that would cause any symbols used from libc to
8582 # always be unresolved, which means just about no library would
8583 # ever link correctly. If we're not using GNU ld we use -z text
8584 # though, which does catch some bad symbols but isn't as heavy-handed
8586 no_undefined_flag
='${wl}-z,text'
8587 allow_undefined_flag
='${wl}-z,nodefs'
8588 archive_cmds_need_lc
=no
8589 hardcode_shlibpath_var
=no
8590 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8591 hardcode_libdir_separator
=':'
8592 link_all_deplibs
=yes
8593 export_dynamic_flag_spec
='${wl}-Bexport'
8594 runpath_var
='LD_RUN_PATH'
8596 if test "$GCC" = yes; then
8597 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8598 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8600 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8601 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8606 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8607 hardcode_libdir_flag_spec
='-L$libdir'
8608 hardcode_shlibpath_var
=no
8617 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8618 echo "${ECHO_T}$ld_shlibs" >&6; }
8619 test "$ld_shlibs" = no
&& can_build_shared
=no
8622 # Do we need to explicitly link libc?
8624 case "x$archive_cmds_need_lc" in
8626 # Assume -lc should be added
8627 archive_cmds_need_lc
=yes
8629 if test "$enable_shared" = yes && test "$GCC" = yes; then
8630 case $archive_cmds in
8632 # FIXME: we may have to deal with multi-command sequences.
8635 # Test whether the compiler implicitly links with -lc since on some
8636 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8637 # to ld, don't add -lc before -lgcc.
8638 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8639 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8641 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8644 (eval $ac_compile) 2>&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } 2>conftest.err
; then
8650 libobjs
=conftest.
$ac_objext
8652 wl
=$lt_prog_compiler_wl
8653 pic_flag
=$lt_prog_compiler_pic
8659 lt_save_allow_undefined_flag
=$allow_undefined_flag
8660 allow_undefined_flag
=
8661 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8662 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }
8667 archive_cmds_need_lc
=no
8669 archive_cmds_need_lc
=yes
8671 allow_undefined_flag
=$lt_save_allow_undefined_flag
8673 cat conftest.err
1>&5
8676 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8677 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8684 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8685 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8687 libname_spec
='lib$name'
8695 shlibpath_overrides_runpath
=unknown
8697 dynamic_linker
="$host_os ld.so"
8698 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8700 if test "$GCC" = yes; then
8702 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8703 *) lt_awk_arg
="/^libraries:/" ;;
8705 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8706 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8707 # if the path contains ";" then we assume it to be the separator
8708 # otherwise default to the standard path separator (i.e. ":") - it is
8709 # assumed that no part of a normal pathname contains ";" but that should
8710 # okay in the real world where ";" in dirpaths is itself problematic.
8711 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8713 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8715 # Ok, now we have the path, separated by spaces, we can step through it
8716 # and add multilib dir if necessary.
8717 lt_tmp_lt_search_path_spec
=
8718 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8719 for lt_sys_path
in $lt_search_path_spec; do
8720 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8721 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8723 test -d "$lt_sys_path" && \
8724 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8727 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8728 BEGIN {RS=" "; FS="/|\n";} {
8731 for (lt_i = NF; lt_i > 0; lt_i--) {
8732 if ($lt_i != "" && $lt_i != ".") {
8733 if ($lt_i == "..") {
8736 if (lt_count == 0) {
8737 lt_foo="/" $lt_i lt_foo;
8744 if (lt_foo != "") { lt_freq[lt_foo]++; }
8745 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8747 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8749 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8751 need_lib_prefix
=unknown
8752 hardcode_into_libs
=no
8754 # when you set need_version to no, make sure it does not cause -set_version
8755 # flags to be left without arguments
8756 need_version
=unknown
8761 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8762 shlibpath_var
=LIBPATH
8764 # AIX 3 has no versioning support, so we append a major version to the name.
8765 soname_spec
='${libname}${release}${shared_ext}$major'
8772 hardcode_into_libs
=yes
8773 if test "$host_cpu" = ia64
; then
8774 # AIX 5 supports IA64
8775 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8776 shlibpath_var
=LD_LIBRARY_PATH
8778 # With GCC up to 2.95.x, collect2 would create an import file
8779 # for dependence libraries. The import file would start with
8780 # the line `#! .'. This would cause the generated library to
8781 # depend on `.', always an invalid library. This was fixed in
8782 # development snapshots of GCC prior to 3.0.
8784 aix4 | aix4.
[01] | aix4.
[01].
*)
8785 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8787 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8794 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8795 # soname into executable. Probably we can add versioning support to
8796 # collect2, so additional links can be useful in future.
8797 if test "$aix_use_runtimelinking" = yes; then
8798 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8799 # instead of lib<name>.a to let people know that these are not
8800 # typical AIX shared libraries.
8801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8803 # We preserve .a as extension for shared libraries through AIX4.2
8804 # and later when we are not doing run time linking.
8805 library_names_spec
='${libname}${release}.a $libname.a'
8806 soname_spec
='${libname}${release}${shared_ext}$major'
8808 shlibpath_var
=LIBPATH
8813 library_names_spec
='$libname.ixlibrary $libname.a'
8814 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8815 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'
8819 library_names_spec
='${libname}${shared_ext}'
8820 dynamic_linker
="$host_os ld.so"
8821 shlibpath_var
=LIBRARY_PATH
8827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8828 soname_spec
='${libname}${release}${shared_ext}$major'
8829 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8830 shlibpath_var
=LD_LIBRARY_PATH
8831 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8832 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8833 # the default ld.so.conf also contains /usr/contrib/lib and
8834 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8835 # libtool to hard-code these into programs
8838 cygwin
* | mingw
* | pw32
*)
8839 version_type
=windows
8844 case $GCC,$host_os in
8845 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8846 library_names_spec
='$libname.dll.a'
8847 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8848 postinstall_cmds
='base_file=`basename \${file}`~
8849 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8850 dldir=$destdir/`dirname \$dlpath`~
8851 test -d \$dldir || mkdir -p \$dldir~
8852 $install_prog $dir/$dlname \$dldir/$dlname~
8853 chmod a+x \$dldir/$dlname'
8854 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8855 dlpath=$dir/\$dldll~
8857 shlibpath_overrides_runpath
=yes
8861 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8862 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8863 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8866 # MinGW DLLs use traditional 'lib' prefix
8867 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8868 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8869 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8870 # It is most probably a Windows format PATH printed by
8871 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8872 # path with ; separators, and with drive letters. We can handle the
8873 # drive letters (cygwin fileutils understands them), so leave them,
8874 # especially as we might pass files found there to a mingw objdump,
8875 # which wouldn't understand a cygwinified path. Ahh.
8876 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8878 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8882 # pw32 DLLs use 'pw' prefix rather than 'lib'
8883 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8889 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8892 dynamic_linker
='Win32 ld.exe'
8893 # FIXME: first we should search . and the directory the executable is in
8897 darwin
* | rhapsody
*)
8898 dynamic_linker
="$host_os dyld"
8902 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8903 soname_spec
='${libname}${release}${major}$shared_ext'
8904 shlibpath_overrides_runpath
=yes
8905 shlibpath_var
=DYLD_LIBRARY_PATH
8906 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8908 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8909 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8917 soname_spec
='${libname}${release}${shared_ext}$major'
8918 shlibpath_var
=LD_LIBRARY_PATH
8925 freebsd
* | dragonfly
*)
8926 # DragonFly does not have aout. When/if they implement a new
8927 # versioning mechanism, adjust this.
8928 if test -x /usr
/bin
/objformat
; then
8929 objformat
=`/usr/bin/objformat`
8932 freebsd
[123]*) objformat
=aout
;;
8936 version_type
=freebsd-
$objformat
8937 case $version_type in
8939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8944 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8948 shlibpath_var
=LD_LIBRARY_PATH
8951 shlibpath_overrides_runpath
=yes
8953 freebsd3.
[01]* | freebsdelf3.
[01]*)
8954 shlibpath_overrides_runpath
=yes
8955 hardcode_into_libs
=yes
8957 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8958 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8959 shlibpath_overrides_runpath
=no
8960 hardcode_into_libs
=yes
8962 *) # from 4.6 on, and DragonFly
8963 shlibpath_overrides_runpath
=yes
8964 hardcode_into_libs
=yes
8973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8974 soname_spec
='${libname}${release}${shared_ext}$major'
8975 shlibpath_var
=LD_LIBRARY_PATH
8976 hardcode_into_libs
=yes
8979 hpux9
* | hpux10
* | hpux11
*)
8980 # Give a soname corresponding to the major version so that dld.sl refuses to
8981 # link against other versions.
8988 hardcode_into_libs
=yes
8989 dynamic_linker
="$host_os dld.so"
8990 shlibpath_var
=LD_LIBRARY_PATH
8991 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8993 soname_spec
='${libname}${release}${shared_ext}$major'
8994 if test "X$HPUX_IA64_MODE" = X32
; then
8995 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8997 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8999 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9003 hardcode_into_libs
=yes
9004 dynamic_linker
="$host_os dld.sl"
9005 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9006 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9008 soname_spec
='${libname}${release}${shared_ext}$major'
9009 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9010 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9014 dynamic_linker
="$host_os dld.sl"
9015 shlibpath_var
=SHLIB_PATH
9016 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9018 soname_spec
='${libname}${release}${shared_ext}$major'
9021 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9022 postinstall_cmds
='chmod 555 $lib'
9029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9030 soname_spec
='${libname}${release}${shared_ext}$major'
9031 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9032 shlibpath_var
=LD_LIBRARY_PATH
9033 shlibpath_overrides_runpath
=no
9034 hardcode_into_libs
=yes
9037 irix5
* | irix6
* | nonstopux
*)
9039 nonstopux
*) version_type
=nonstopux
;;
9041 if test "$lt_cv_prog_gnu_ld" = yes; then
9049 soname_spec
='${libname}${release}${shared_ext}$major'
9050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9052 irix5
* | nonstopux
*)
9056 case $LD in # libtool.m4 will add one of these switches to LD
9057 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9058 libsuff
= shlibsuff
= libmagic
=32-bit;;
9059 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9060 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9061 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9062 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9063 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9067 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9068 shlibpath_overrides_runpath
=no
9069 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9070 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9071 hardcode_into_libs
=yes
9074 # No shared lib support for Linux oldld, aout, or coff.
9075 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9079 # This must be Linux ELF.
9080 linux
* | k
*bsd
*-gnu)
9084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9085 soname_spec
='${libname}${release}${shared_ext}$major'
9086 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9087 shlibpath_var
=LD_LIBRARY_PATH
9088 shlibpath_overrides_runpath
=no
9089 # This implies no fast_install, which is unacceptable.
9090 # Some rework will be needed to allow for fast_install
9091 # before this can be enabled.
9092 hardcode_into_libs
=yes
9093 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9094 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9096 # Append ld.so.conf contents to the search path
9097 if test -f /etc
/ld.so.conf
; then
9098 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' ' '`
9099 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9102 # We used to test for /lib/ld.so.1 and disable shared libraries on
9103 # powerpc, because MkLinux only supported shared libraries with the
9104 # GNU dynamic linker. Since this was broken with cross compilers,
9105 # most powerpc-linux boxes support dynamic linking these days and
9106 # people can always --disable-shared, the test was removed, and we
9107 # assume the GNU/Linux dynamic linker is in use.
9108 dynamic_linker
='GNU/Linux ld.so'
9115 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9118 dynamic_linker
='NetBSD (a.out) ld.so'
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9121 soname_spec
='${libname}${release}${shared_ext}$major'
9122 dynamic_linker
='NetBSD ld.elf_so'
9124 shlibpath_var
=LD_LIBRARY_PATH
9125 shlibpath_overrides_runpath
=yes
9126 hardcode_into_libs
=yes
9131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9132 shlibpath_var
=LD_LIBRARY_PATH
9133 shlibpath_overrides_runpath
=yes
9140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9141 soname_spec
='${libname}${release}${shared_ext}$major'
9142 shlibpath_var
=LD_LIBRARY_PATH
9143 shlibpath_overrides_runpath
=yes
9148 sys_lib_dlsearch_path_spec
="/usr/lib"
9150 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9152 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9153 *) need_version
=no
;;
9155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9156 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9157 shlibpath_var
=LD_LIBRARY_PATH
9158 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9160 openbsd2.
[89] | openbsd2.
[89].
*)
9161 shlibpath_overrides_runpath
=no
9164 shlibpath_overrides_runpath
=yes
9168 shlibpath_overrides_runpath
=yes
9173 libname_spec
='$name'
9176 library_names_spec
='$libname${shared_ext} $libname.a'
9177 dynamic_linker
='OS/2 ld.exe'
9178 shlibpath_var
=LIBPATH
9181 osf3
* | osf4
* | osf5
*)
9185 soname_spec
='${libname}${release}${shared_ext}$major'
9186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9187 shlibpath_var
=LD_LIBRARY_PATH
9188 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9189 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9201 soname_spec
='${libname}${release}${shared_ext}$major'
9202 shlibpath_var
=LD_LIBRARY_PATH
9203 shlibpath_overrides_runpath
=yes
9204 hardcode_into_libs
=yes
9205 # ldd complains unless libraries are executable
9206 postinstall_cmds
='chmod +x $lib'
9211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9212 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9213 shlibpath_var
=LD_LIBRARY_PATH
9214 shlibpath_overrides_runpath
=yes
9215 if test "$with_gnu_ld" = yes; then
9223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9224 soname_spec
='${libname}${release}${shared_ext}$major'
9225 shlibpath_var
=LD_LIBRARY_PATH
9226 case $host_vendor in
9228 shlibpath_overrides_runpath
=no
9230 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9231 runpath_var
=LD_RUN_PATH
9239 shlibpath_overrides_runpath
=no
9240 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9246 if test -d /usr
/nec
;then
9248 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9249 soname_spec
='$libname${shared_ext}.$major'
9250 shlibpath_var
=LD_LIBRARY_PATH
9254 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9255 version_type
=freebsd-elf
9258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9259 soname_spec
='${libname}${release}${shared_ext}$major'
9260 shlibpath_var
=LD_LIBRARY_PATH
9261 hardcode_into_libs
=yes
9262 if test "$with_gnu_ld" = yes; then
9263 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9264 shlibpath_overrides_runpath
=no
9266 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9267 shlibpath_overrides_runpath
=yes
9270 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9274 sys_lib_dlsearch_path_spec
='/usr/lib'
9279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9280 soname_spec
='${libname}${release}${shared_ext}$major'
9281 shlibpath_var
=LD_LIBRARY_PATH
9288 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9289 echo "${ECHO_T}$dynamic_linker" >&6; }
9290 test "$dynamic_linker" = no
&& can_build_shared
=no
9292 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9293 if test "$GCC" = yes; then
9294 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9297 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9298 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9300 if test -n "$hardcode_libdir_flag_spec" || \
9301 test -n "$runpath_var" || \
9302 test "X$hardcode_automatic" = "Xyes" ; then
9304 # We can hardcode non-existant directories.
9305 if test "$hardcode_direct" != no
&&
9306 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9307 # have to relink, otherwise we might link with an installed library
9308 # when we should be linking with a yet-to-be-installed one
9309 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9310 test "$hardcode_minus_L" != no
; then
9311 # Linking always hardcodes the temporary library directory.
9312 hardcode_action
=relink
9314 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9315 hardcode_action
=immediate
9318 # We cannot hardcode anything, or else we can only hardcode existing
9320 hardcode_action
=unsupported
9322 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9323 echo "${ECHO_T}$hardcode_action" >&6; }
9325 if test "$hardcode_action" = relink
; then
9326 # Fast installation is not supported
9327 enable_fast_install
=no
9328 elif test "$shlibpath_overrides_runpath" = yes ||
9329 test "$enable_shared" = no
; then
9330 # Fast installation is not necessary
9331 enable_fast_install
=needless
9336 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9337 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9338 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9339 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9340 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9341 { echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6; }
9344 # FIXME - insert some real tests, host_os isn't really good enough
9347 if test -n "$STRIP" ; then
9348 striplib
="$STRIP -x"
9349 old_striplib
="$STRIP -S"
9350 { echo "$as_me:$LINENO: result: yes" >&5
9351 echo "${ECHO_T}yes" >&6; }
9353 { echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6; }
9358 { echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6; }
9364 if test "x$enable_dlopen" != xyes
; then
9365 enable_dlopen
=unknown
9366 enable_dlopen_self
=unknown
9367 enable_dlopen_self_static
=unknown
9374 lt_cv_dlopen
="load_add_on"
9376 lt_cv_dlopen_self
=yes
9380 lt_cv_dlopen
="LoadLibrary"
9385 lt_cv_dlopen
="dlopen"
9390 # if libdl is installed we need to link against it
9391 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9392 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9393 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9394 echo $ECHO_N "(cached) $ECHO_C" >&6
9396 ac_check_lib_save_LIBS
=$LIBS
9398 cat >conftest.
$ac_ext <<_ACEOF
9401 cat confdefs.h
>>conftest.
$ac_ext
9402 cat >>conftest.
$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9405 /* Override any GCC internal prototype to avoid an error.
9406 Use char because int might match the return type of a GCC
9407 builtin and then its argument prototype would still apply. */
9420 rm -f conftest.
$ac_objext conftest
$ac_exeext
9421 if { (ac_try
="$ac_link"
9423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9424 *) ac_try_echo=$ac_try;;
9426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9427 (eval "$ac_link") 2>conftest.er1
9429 grep -v '^ *+' conftest.er1 >conftest.err
9431 cat conftest.err >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); } && {
9434 test -z "$ac_c_werror_flag" ||
9435 test ! -s conftest.err
9436 } && test -s conftest$ac_exeext &&
9437 $as_test_x conftest$ac_exeext; then
9438 ac_cv_lib_dl_dlopen=yes
9440 echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.$ac_ext >&5
9443 ac_cv_lib_dl_dlopen=no
9446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9447 conftest$ac_exeext conftest.$ac_ext
9448 LIBS=$ac_check_lib_save_LIBS
9450 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9451 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9452 if test $ac_cv_lib_dl_dlopen = yes; then
9453 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9458 lt_cv_dlopen_self=yes
9465 { echo "$as_me:$LINENO: checking for shl_load" >&5
9466 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9467 if test "${ac_cv_func_shl_load+set}" = set; then
9468 echo $ECHO_N "(cached) $ECHO_C" >&6
9470 cat >conftest.$ac_ext <<_ACEOF
9473 cat confdefs.h >>conftest.$ac_ext
9474 cat >>conftest.$ac_ext <<_ACEOF
9475 /* end confdefs.h. */
9476 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9478 #define shl_load innocuous_shl_load
9480 /* System header to define __stub macros and hopefully few prototypes,
9481 which can conflict with char shl_load (); below.
9482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9483 <limits.h> exists even on freestanding compilers. */
9486 # include <limits.h>
9488 # include <assert.h>
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9500 /* The GNU C library defines this for functions which it implements
9501 to always fail with ENOSYS. Some functions are actually named
9502 something starting with __ and the normal name is an alias. */
9503 #if defined __stub_shl_load || defined __stub___shl_load
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (ac_try="$ac_link"
9518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9519 *) ac_try_echo
=$ac_try;;
9521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9522 (eval "$ac_link") 2>conftest.er1
9524 grep -v '^ *+' conftest.er1
>conftest.err
9526 cat conftest.err
>&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && {
9529 test -z "$ac_c_werror_flag" ||
9530 test ! -s conftest.err
9531 } && test -s conftest
$ac_exeext &&
9532 $as_test_x conftest
$ac_exeext; then
9533 ac_cv_func_shl_load
=yes
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.
$ac_ext >&5
9538 ac_cv_func_shl_load
=no
9541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9542 conftest
$ac_exeext conftest.
$ac_ext
9544 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9545 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9546 if test $ac_cv_func_shl_load = yes; then
9547 lt_cv_dlopen
="shl_load"
9549 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9550 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9551 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9552 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 ac_check_lib_save_LIBS
=$LIBS
9556 cat >conftest.
$ac_ext <<_ACEOF
9559 cat confdefs.h
>>conftest.
$ac_ext
9560 cat >>conftest.
$ac_ext <<_ACEOF
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9578 rm -f conftest.
$ac_objext conftest
$ac_exeext
9579 if { (ac_try
="$ac_link"
9581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9582 *) ac_try_echo=$ac_try;;
9584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9585 (eval "$ac_link") 2>conftest.er1
9587 grep -v '^ *+' conftest.er1 >conftest.err
9589 cat conftest.err >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); } && {
9592 test -z "$ac_c_werror_flag" ||
9593 test ! -s conftest.err
9594 } && test -s conftest$ac_exeext &&
9595 $as_test_x conftest$ac_exeext; then
9596 ac_cv_lib_dld_shl_load=yes
9598 echo "$as_me: failed program was:" >&5
9599 sed 's/^/| /' conftest.$ac_ext >&5
9601 ac_cv_lib_dld_shl_load=no
9604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9605 conftest$ac_exeext conftest.$ac_ext
9606 LIBS=$ac_check_lib_save_LIBS
9608 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9609 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9610 if test $ac_cv_lib_dld_shl_load = yes; then
9611 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9613 { echo "$as_me:$LINENO: checking for dlopen" >&5
9614 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9615 if test "${ac_cv_func_dlopen+set}" = set; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 cat >conftest.$ac_ext <<_ACEOF
9621 cat confdefs.h >>conftest.$ac_ext
9622 cat >>conftest.$ac_ext <<_ACEOF
9623 /* end confdefs.h. */
9624 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9626 #define dlopen innocuous_dlopen
9628 /* System header to define __stub macros and hopefully few prototypes,
9629 which can conflict with char dlopen (); below.
9630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9631 <limits.h> exists even on freestanding compilers. */
9634 # include <limits.h>
9636 # include <assert.h>
9641 /* Override any GCC internal prototype to avoid an error.
9642 Use char because int might match the return type of a GCC
9643 builtin and then its argument prototype would still apply. */
9648 /* The GNU C library defines this for functions which it implements
9649 to always fail with ENOSYS. Some functions are actually named
9650 something starting with __ and the normal name is an alias. */
9651 #if defined __stub_dlopen || defined __stub___dlopen
9663 rm -f conftest.$ac_objext conftest$ac_exeext
9664 if { (ac_try="$ac_link"
9666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9667 *) ac_try_echo
=$ac_try;;
9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9670 (eval "$ac_link") 2>conftest.er1
9672 grep -v '^ *+' conftest.er1
>conftest.err
9674 cat conftest.err
>&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); } && {
9677 test -z "$ac_c_werror_flag" ||
9678 test ! -s conftest.err
9679 } && test -s conftest
$ac_exeext &&
9680 $as_test_x conftest
$ac_exeext; then
9681 ac_cv_func_dlopen
=yes
9683 echo "$as_me: failed program was:" >&5
9684 sed 's/^/| /' conftest.
$ac_ext >&5
9686 ac_cv_func_dlopen
=no
9689 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9690 conftest
$ac_exeext conftest.
$ac_ext
9692 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9693 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9694 if test $ac_cv_func_dlopen = yes; then
9695 lt_cv_dlopen
="dlopen"
9697 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9698 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9699 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6
9702 ac_check_lib_save_LIBS
=$LIBS
9704 cat >conftest.
$ac_ext <<_ACEOF
9707 cat confdefs.h
>>conftest.
$ac_ext
9708 cat >>conftest.
$ac_ext <<_ACEOF
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9726 rm -f conftest.
$ac_objext conftest
$ac_exeext
9727 if { (ac_try
="$ac_link"
9729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9730 *) ac_try_echo=$ac_try;;
9732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9733 (eval "$ac_link") 2>conftest.er1
9735 grep -v '^ *+' conftest.er1 >conftest.err
9737 cat conftest.err >&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } && {
9740 test -z "$ac_c_werror_flag" ||
9741 test ! -s conftest.err
9742 } && test -s conftest$ac_exeext &&
9743 $as_test_x conftest$ac_exeext; then
9744 ac_cv_lib_dl_dlopen=yes
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9749 ac_cv_lib_dl_dlopen=no
9752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_lib_save_LIBS
9756 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9757 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9758 if test $ac_cv_lib_dl_dlopen = yes; then
9759 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9761 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9762 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9763 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9764 echo $ECHO_N "(cached) $ECHO_C" >&6
9766 ac_check_lib_save_LIBS=$LIBS
9768 cat >conftest.$ac_ext <<_ACEOF
9771 cat confdefs.h >>conftest.$ac_ext
9772 cat >>conftest.$ac_ext <<_ACEOF
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9790 rm -f conftest.$ac_objext conftest$ac_exeext
9791 if { (ac_try="$ac_link"
9793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9794 *) ac_try_echo
=$ac_try;;
9796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9797 (eval "$ac_link") 2>conftest.er1
9799 grep -v '^ *+' conftest.er1
>conftest.err
9801 cat conftest.err
>&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); } && {
9804 test -z "$ac_c_werror_flag" ||
9805 test ! -s conftest.err
9806 } && test -s conftest
$ac_exeext &&
9807 $as_test_x conftest
$ac_exeext; then
9808 ac_cv_lib_svld_dlopen
=yes
9810 echo "$as_me: failed program was:" >&5
9811 sed 's/^/| /' conftest.
$ac_ext >&5
9813 ac_cv_lib_svld_dlopen
=no
9816 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9817 conftest
$ac_exeext conftest.
$ac_ext
9818 LIBS
=$ac_check_lib_save_LIBS
9820 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9821 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9822 if test $ac_cv_lib_svld_dlopen = yes; then
9823 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9825 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9826 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9827 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 ac_check_lib_save_LIBS
=$LIBS
9832 cat >conftest.
$ac_ext <<_ACEOF
9835 cat confdefs.h
>>conftest.
$ac_ext
9836 cat >>conftest.
$ac_ext <<_ACEOF
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9854 rm -f conftest.
$ac_objext conftest
$ac_exeext
9855 if { (ac_try
="$ac_link"
9857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9858 *) ac_try_echo=$ac_try;;
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_link") 2>conftest.er1
9863 grep -v '^ *+' conftest.er1 >conftest.err
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest$ac_exeext &&
9871 $as_test_x conftest$ac_exeext; then
9872 ac_cv_lib_dld_dld_link=yes
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.$ac_ext >&5
9877 ac_cv_lib_dld_dld_link=no
9880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9885 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9886 if test $ac_cv_lib_dld_dld_link = yes; then
9887 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9908 if test "x$lt_cv_dlopen" != xno; then
9914 case $lt_cv_dlopen in
9916 save_CPPFLAGS="$CPPFLAGS"
9917 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9919 save_LDFLAGS="$LDFLAGS"
9920 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9923 LIBS="$lt_cv_dlopen_libs $LIBS"
9925 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9926 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9927 if test "${lt_cv_dlopen_self+set}" = set; then
9928 echo $ECHO_N "(cached) $ECHO_C" >&6
9930 if test "$cross_compiling" = yes; then :
9931 lt_cv_dlopen_self=cross
9933 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9934 lt_status=$lt_dlunknown
9935 cat > conftest.$ac_ext <<EOF
9936 #line 9936 "configure"
9937 #include "confdefs.h"
9946 # define LT_DLGLOBAL RTLD_GLOBAL
9949 # define LT_DLGLOBAL DL_GLOBAL
9951 # define LT_DLGLOBAL 0
9955 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9956 find out it does not work in some platform. */
9957 #ifndef LT_DLLAZY_OR_NOW
9959 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9962 # define LT_DLLAZY_OR_NOW DL_LAZY
9965 # define LT_DLLAZY_OR_NOW RTLD_NOW
9968 # define LT_DLLAZY_OR_NOW DL_NOW
9970 # define LT_DLLAZY_OR_NOW 0
9978 extern "C" void exit (int);
9981 void fnord() { int i=42;}
9984 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9985 int status = $lt_dlunknown;
9989 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9990 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9991 /* dlclose (self); */
9999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10000 (eval $ac_link) 2>&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10004 (./conftest; exit; ) >&5 2>/dev/null
10006 case x$lt_status in
10007 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10008 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10009 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10012 # compilation failed
10013 lt_cv_dlopen_self=no
10020 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10021 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10023 if test "x$lt_cv_dlopen_self" = xyes; then
10024 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10025 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10026 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10027 if test "${lt_cv_dlopen_self_static+set}" = set; then
10028 echo $ECHO_N "(cached) $ECHO_C" >&6
10030 if test "$cross_compiling" = yes; then :
10031 lt_cv_dlopen_self_static=cross
10033 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10034 lt_status=$lt_dlunknown
10035 cat > conftest.$ac_ext <<EOF
10036 #line 10036 "configure"
10037 #include "confdefs.h"
10046 # define LT_DLGLOBAL RTLD_GLOBAL
10049 # define LT_DLGLOBAL DL_GLOBAL
10051 # define LT_DLGLOBAL 0
10055 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10056 find out it does not work in some platform. */
10057 #ifndef LT_DLLAZY_OR_NOW
10059 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10062 # define LT_DLLAZY_OR_NOW DL_LAZY
10065 # define LT_DLLAZY_OR_NOW RTLD_NOW
10068 # define LT_DLLAZY_OR_NOW DL_NOW
10070 # define LT_DLLAZY_OR_NOW 0
10078 extern "C" void exit (int);
10081 void fnord() { int i=42;}
10084 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10085 int status = $lt_dlunknown;
10089 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10090 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10091 /* dlclose (self); */
10099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10100 (eval $ac_link) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10104 (./conftest; exit; ) >&5 2>/dev/null
10106 case x$lt_status in
10107 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10108 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10109 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10112 # compilation failed
10113 lt_cv_dlopen_self_static=no
10120 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10121 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10124 CPPFLAGS="$save_CPPFLAGS"
10125 LDFLAGS="$save_LDFLAGS"
10130 case $lt_cv_dlopen_self in
10131 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10132 *) enable_dlopen_self=unknown ;;
10135 case $lt_cv_dlopen_self_static in
10136 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10137 *) enable_dlopen_self_static=unknown ;;
10142 # Report which library types will actually be built
10143 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10144 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10145 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10146 echo "${ECHO_T}$can_build_shared" >&6; }
10148 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10149 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10150 test "$can_build_shared" = "no" && enable_shared=no
10152 # On AIX, shared libraries and static libraries use the same namespace, and
10153 # are all built from PIC.
10156 test "$enable_shared" = yes && enable_static=no
10157 if test -n "$RANLIB"; then
10158 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10159 postinstall_cmds='$RANLIB $lib'
10164 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10165 test "$enable_shared" = yes && enable_static=no
10169 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10170 echo "${ECHO_T}$enable_shared" >&6; }
10172 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10173 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10174 # Make sure either enable_shared or enable_static is yes.
10175 test "$enable_shared" = yes || enable_static=yes
10176 { echo "$as_me:$LINENO: result: $enable_static" >&5
10177 echo "${ECHO_T}$enable_static" >&6; }
10179 # The else clause should only fire when bootstrapping the
10180 # libtool distribution, otherwise you forgot to ship ltmain.sh
10181 # with your package, and you will get complaints that there are
10182 # no rules to generate ltmain.sh.
10183 if test -f "$ltmain"; then
10184 # See if we are running on zsh, and set the options which allow our commands through
10185 # without removal of \ escapes.
10186 if test -n "${ZSH_VERSION+set}" ; then
10187 setopt NO_GLOB_SUBST
10189 # Now quote all the things that may contain metacharacters while being
10190 # careful not to overquote the AC_SUBSTed values. We take copies of the
10191 # variables and quote the copies for generation of the libtool script.
10192 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10194 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10195 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10196 deplibs_check_method reload_flag reload_cmds need_locks \
10197 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10198 lt_cv_sys_global_symbol_to_c_name_address \
10199 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10200 old_postinstall_cmds old_postuninstall_cmds \
10204 lt_prog_compiler_wl \
10205 lt_prog_compiler_pic \
10206 lt_prog_compiler_static \
10207 lt_prog_compiler_no_builtin_flag \
10208 export_dynamic_flag_spec \
10209 thread_safe_flag_spec \
10210 whole_archive_flag_spec \
10211 enable_shared_with_static_runtimes \
10213 old_archive_from_new_cmds \
10218 compiler_lib_search_path \
10220 archive_expsym_cmds \
10222 postuninstall_cmds \
10223 old_archive_from_expsyms_cmds \
10224 allow_undefined_flag \
10225 no_undefined_flag \
10226 export_symbols_cmds \
10227 hardcode_libdir_flag_spec \
10228 hardcode_libdir_flag_spec_ld \
10229 hardcode_libdir_separator \
10230 hardcode_automatic \
10232 module_expsym_cmds \
10233 lt_cv_prog_compiler_c_o \
10236 include_expsyms; do
10239 old_archive_cmds | \
10240 old_archive_from_new_cmds | \
10242 archive_expsym_cmds | \
10244 module_expsym_cmds | \
10245 old_archive_from_expsyms_cmds | \
10246 export_symbols_cmds | \
10247 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10248 postinstall_cmds | postuninstall_cmds | \
10249 old_postinstall_cmds | old_postuninstall_cmds | \
10250 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10251 # Double-quote double-evaled strings.
10252 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10255 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10261 *'\$0 --fallback-echo"')
10262 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10266 cfgfile="${ofile}T"
10267 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10269 { echo "$as_me:$LINENO: creating $ofile" >&5
10270 echo "$as_me: creating $ofile" >&6;}
10272 cat <<__EOF__ >> "$cfgfile"
10275 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10276 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10277 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10279 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10280 # Free Software Foundation, Inc.
10282 # This file is part of GNU Libtool:
10283 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10285 # This program is free software; you can redistribute it and/or modify
10286 # it under the terms of the GNU General Public License as published by
10287 # the Free Software Foundation; either version 2 of the License, or
10288 # (at your option) any later version.
10290 # This program is distributed in the hope that it will be useful, but
10291 # WITHOUT ANY WARRANTY; without even the implied warranty of
10292 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10293 # General Public License for more details.
10295 # You should have received a copy of the GNU General Public License
10296 # along with this program; if not, write to the Free Software
10297 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10299 # As a special exception to the GNU General Public License, if you
10300 # distribute this file as part of a program that contains a
10301 # configuration script generated by Autoconf, you may include it under
10302 # the same distribution terms that you use for the rest of that program.
10304 # A sed program that does not truncate output.
10307 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10308 Xsed="$SED -e 1s/^X//"
10310 # The HP-UX ksh and POSIX shell print the target directory to stdout
10311 # if CDPATH is set.
10312 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10314 # The names of the tagged configurations supported by this script.
10317 # ### BEGIN LIBTOOL CONFIG
10319 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10321 # Shell to use when invoking shell scripts.
10324 # Whether or not to build shared libraries.
10325 build_libtool_libs=$enable_shared
10327 # Whether or not to build static libraries.
10328 build_old_libs=$enable_static
10330 # Whether or not to add -lc for building shared libraries.
10331 build_libtool_need_lc=$archive_cmds_need_lc
10333 # Whether or not to disallow shared libs when runtime libs are static
10334 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10336 # Whether or not to optimize for fast installation.
10337 fast_install=$enable_fast_install
10340 host_alias=$host_alias
10344 # The build system.
10345 build_alias=$build_alias
10349 # An echo program that does not interpret backslashes.
10354 AR_FLAGS=$lt_AR_FLAGS
10359 # LTCC compiler flags.
10360 LTCFLAGS=$lt_LTCFLAGS
10362 # A language-specific compiler.
10365 # Is the compiler the GNU C compiler?
10371 # The linker used to build libraries.
10374 # Whether we need hard or soft links.
10377 # A BSD-compatible nm program.
10380 # A symbol stripping program
10383 # Used to examine libraries when file_magic_cmd begins "file"
10384 MAGIC_CMD=$MAGIC_CMD
10386 # Used on cygwin: DLL creation program.
10389 # Used on cygwin: object dumper.
10392 # Used on cygwin: assembler.
10395 # The name of the directory that contains temporary libtool files.
10398 # How to create reloadable object files.
10399 reload_flag=$lt_reload_flag
10400 reload_cmds=$lt_reload_cmds
10402 # How to pass a linker flag through the compiler.
10403 wl=$lt_lt_prog_compiler_wl
10405 # Object file suffix (normally "o").
10406 objext="$ac_objext"
10408 # Old archive suffix (normally "a").
10411 # Shared library suffix (normally ".so").
10412 shrext_cmds='$shrext_cmds'
10414 # Executable file suffix (normally "").
10417 # Additional compiler flags for building library objects.
10418 pic_flag=$lt_lt_prog_compiler_pic
10421 # What is the maximum length of a command?
10422 max_cmd_len=$lt_cv_sys_max_cmd_len
10424 # Does compiler simultaneously support -c and -o options?
10425 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10427 # Must we lock files when doing compilation?
10428 need_locks=$lt_need_locks
10430 # Do we need the lib prefix for modules?
10431 need_lib_prefix=$need_lib_prefix
10433 # Do we need a version for libraries?
10434 need_version=$need_version
10436 # Whether dlopen is supported.
10437 dlopen_support=$enable_dlopen
10439 # Whether dlopen of programs is supported.
10440 dlopen_self=$enable_dlopen_self
10442 # Whether dlopen of statically linked programs is supported.
10443 dlopen_self_static=$enable_dlopen_self_static
10445 # Compiler flag to prevent dynamic linking.
10446 link_static_flag=$lt_lt_prog_compiler_static
10448 # Compiler flag to turn off builtin functions.
10449 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10451 # Compiler flag to allow reflexive dlopens.
10452 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10454 # Compiler flag to generate shared objects directly from archives.
10455 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10457 # Compiler flag to generate thread-safe objects.
10458 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10460 # Library versioning type.
10461 version_type=$version_type
10463 # Format of library name prefix.
10464 libname_spec=$lt_libname_spec
10466 # List of archive names. First name is the real one, the rest are links.
10467 # The last name is the one that the linker finds with -lNAME.
10468 library_names_spec=$lt_library_names_spec
10470 # The coded name of the library, if different from the real name.
10471 soname_spec=$lt_soname_spec
10473 # Commands used to build and install an old-style archive.
10475 old_archive_cmds=$lt_old_archive_cmds
10476 old_postinstall_cmds=$lt_old_postinstall_cmds
10477 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10479 # Create an old-style archive from a shared archive.
10480 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10482 # Create a temporary old-style archive to link instead of a shared archive.
10483 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10485 # Commands used to build and install a shared archive.
10486 archive_cmds=$lt_archive_cmds
10487 archive_expsym_cmds=$lt_archive_expsym_cmds
10488 postinstall_cmds=$lt_postinstall_cmds
10489 postuninstall_cmds=$lt_postuninstall_cmds
10491 # Commands used to build a loadable module (assumed same as above if empty)
10492 module_cmds=$lt_module_cmds
10493 module_expsym_cmds=$lt_module_expsym_cmds
10495 # Commands to strip libraries.
10496 old_striplib=$lt_old_striplib
10497 striplib=$lt_striplib
10499 # Dependencies to place before the objects being linked to create a
10501 predep_objects=$lt_predep_objects
10503 # Dependencies to place after the objects being linked to create a
10505 postdep_objects=$lt_postdep_objects
10507 # Dependencies to place before the objects being linked to create a
10509 predeps=$lt_predeps
10511 # Dependencies to place after the objects being linked to create a
10513 postdeps=$lt_postdeps
10515 # The library search path used internally by the compiler when linking
10516 # a shared library.
10517 compiler_lib_search_path=$lt_compiler_lib_search_path
10519 # Method to check whether dependent libraries are shared objects.
10520 deplibs_check_method=$lt_deplibs_check_method
10522 # Command to use when deplibs_check_method == file_magic.
10523 file_magic_cmd=$lt_file_magic_cmd
10525 # Flag that allows shared libraries with undefined symbols to be built.
10526 allow_undefined_flag=$lt_allow_undefined_flag
10528 # Flag that forces no undefined symbols.
10529 no_undefined_flag=$lt_no_undefined_flag
10531 # Commands used to finish a libtool library installation in a directory.
10532 finish_cmds=$lt_finish_cmds
10534 # Same as above, but a single script fragment to be evaled but not shown.
10535 finish_eval=$lt_finish_eval
10537 # Take the output of nm and produce a listing of raw symbols and C names.
10538 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10540 # Transform the output of nm in a proper C declaration
10541 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10543 # Transform the output of nm in a C name address pair
10544 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10546 # This is the shared library runtime path variable.
10547 runpath_var=$runpath_var
10549 # This is the shared library path variable.
10550 shlibpath_var=$shlibpath_var
10552 # Is shlibpath searched before the hard-coded library search path?
10553 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10555 # How to hardcode a shared library path into an executable.
10556 hardcode_action=$hardcode_action
10558 # Whether we should hardcode library paths into libraries.
10559 hardcode_into_libs=$hardcode_into_libs
10561 # Flag to hardcode \$libdir into a binary during linking.
10562 # This must work even if \$libdir does not exist.
10563 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10565 # If ld is used when linking, flag to hardcode \$libdir into
10566 # a binary during linking. This must work even if \$libdir does
10568 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10570 # Whether we need a single -rpath flag with a separated argument.
10571 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10573 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10574 # resulting binary.
10575 hardcode_direct=$hardcode_direct
10577 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10578 # resulting binary.
10579 hardcode_minus_L=$hardcode_minus_L
10581 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10582 # the resulting binary.
10583 hardcode_shlibpath_var=$hardcode_shlibpath_var
10585 # Set to yes if building a shared library automatically hardcodes DIR into the library
10586 # and all subsequent libraries and executables linked against it.
10587 hardcode_automatic=$hardcode_automatic
10589 # Variables whose values should be saved in libtool wrapper scripts and
10590 # restored at relink time.
10591 variables_saved_for_relink="$variables_saved_for_relink"
10593 # Whether libtool must link a program against all its dependency libraries.
10594 link_all_deplibs=$link_all_deplibs
10596 # Compile-time system search path for libraries
10597 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10599 # Run-time system search path for libraries
10600 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10602 # Fix the shell variable \$srcfile for the compiler.
10603 fix_srcfile_path=$lt_fix_srcfile_path
10605 # Set to yes if exported symbols are required.
10606 always_export_symbols=$always_export_symbols
10608 # The commands to list exported symbols.
10609 export_symbols_cmds=$lt_export_symbols_cmds
10611 # The commands to extract the exported symbol list from a shared archive.
10612 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10614 # Symbols that should not be listed in the preloaded symbols.
10615 exclude_expsyms=$lt_exclude_expsyms
10617 # Symbols that must always be exported.
10618 include_expsyms=$lt_include_expsyms
10620 # ### END LIBTOOL CONFIG
10627 cat <<\EOF >> "$cfgfile"
10629 # AIX sometimes has problems with the GCC collect2 program. For some
10630 # reason, if we set the COLLECT_NAMES environment variable, the problems
10631 # vanish in a puff of smoke.
10632 if test "X${COLLECT_NAMES+set}" != Xset; then
10634 export COLLECT_NAMES
10640 # We use sed instead of cat because bash on DJGPP gets confused if
10641 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10642 # text mode, it properly converts lines to CR/LF. This bash problem
10643 # is reportedly fixed, but why not run on old versions too?
10644 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10646 mv -f "$cfgfile" "$ofile" || \
10647 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10651 # If there is no Makefile yet, we rely on a make rule to execute
10652 # `config.status
--recheck' to rerun these tests and create the
10653 # libtool script then.
10654 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10655 if test -f "$ltmain_in"; then
10656 test -f Makefile && make "$ltmain"
10662 ac_cpp='$CPP $CPPFLAGS'
10663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10664 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10670 # Check whether --with-tags was given.
10671 if test "${with_tags+set}" = set; then
10672 withval=$with_tags; tagnames="$withval"
10676 if test -f "$ltmain" && test -n "$tagnames"; then
10677 if test ! -f "${ofile}"; then
10678 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10679 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10682 if test -z "$LTCC"; then
10683 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10684 if test -z "$LTCC"; then
10685 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10686 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10688 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10689 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10692 if test -z "$LTCFLAGS"; then
10693 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10696 # Extract list of available tagged configurations in $ofile.
10697 # Note that this assumes the entire list is on one line.
10698 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10700 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10701 for tagname in $tagnames; do
10703 # Check whether tagname contains only valid characters
10704 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10706 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10707 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10708 { (exit 1); exit 1; }; }
10712 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10714 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10715 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10716 { (exit 1); exit 1; }; }
10719 # Update the list of available tags.
10720 if test -n "$tagname"; then
10721 echo appending configuration tag \"$tagname\" to $ofile
10725 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10726 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10727 (test "X$CXX" != "Xg++"))) ; then
10729 ac_cpp='$CXXCPP $CPPFLAGS'
10730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10737 archive_cmds_need_lc_CXX=no
10738 allow_undefined_flag_CXX=
10739 always_export_symbols_CXX=no
10740 archive_expsym_cmds_CXX=
10741 export_dynamic_flag_spec_CXX=
10742 hardcode_direct_CXX=no
10743 hardcode_libdir_flag_spec_CXX=
10744 hardcode_libdir_flag_spec_ld_CXX=
10745 hardcode_libdir_separator_CXX=
10746 hardcode_minus_L_CXX=no
10747 hardcode_shlibpath_var_CXX=unsupported
10748 hardcode_automatic_CXX=no
10750 module_expsym_cmds_CXX=
10751 link_all_deplibs_CXX=unknown
10752 old_archive_cmds_CXX=$old_archive_cmds
10753 no_undefined_flag_CXX=
10754 whole_archive_flag_spec_CXX=
10755 enable_shared_with_static_runtimes_CXX=no
10757 # Dependencies to place before and after the object being linked:
10758 predep_objects_CXX=
10759 postdep_objects_CXX=
10762 compiler_lib_search_path_CXX=
10764 # Source file extension for C++ test sources.
10767 # Object file extension for compiled C++ test sources.
10771 # Code to be used in simple compile tests
10772 lt_simple_compile_test_code="int some_variable = 0;"
10774 # Code to be used in simple link tests
10775 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10777 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10779 # If no C compiler was specified, use CC.
10782 # If no C compiler flags were specified, use CFLAGS.
10783 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10785 # Allow CC to be a program name with arguments.
10789 # save warnings/boilerplate of simple test code
10790 ac_outfile=conftest.$ac_objext
10791 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10792 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10793 _lt_compiler_boilerplate=`cat conftest.err
`
10796 ac_outfile=conftest.$ac_objext
10797 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10798 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10799 _lt_linker_boilerplate=`cat conftest.err
`
10803 # Allow CC to be a program name with arguments.
10808 lt_save_with_gnu_ld=$with_gnu_ld
10809 lt_save_path_LD=$lt_cv_path_LD
10810 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10811 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10813 $as_unset lt_cv_prog_gnu_ld
10815 if test -n "${lt_cv_path_LDCXX+set}"; then
10816 lt_cv_path_LD=$lt_cv_path_LDCXX
10818 $as_unset lt_cv_path_LD
10820 test -z "${LDCXX+set}" || LD=$LDCXX
10824 for cc_temp in $compiler""; do
10826 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10827 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10832 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10835 # We don't want -fno-exception wen compiling C++ code, so set the
10836 # no_builtin_flag separately
10837 if test "$GXX" = yes; then
10838 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10840 lt_prog_compiler_no_builtin_flag_CXX=
10843 if test "$GXX" = yes; then
10844 # Set up default GNU C++ configuration
10847 # Check whether --with-gnu-ld was given.
10848 if test "${with_gnu_ld+set}" = set; then
10849 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10855 if test "$GCC" = yes; then
10856 # Check if gcc -print-prog-name=ld gives a path.
10857 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10858 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10861 # gcc leaves a trailing carriage return which upsets mingw
10862 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10864 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10867 # Accept absolute paths.
10869 re_direlt='/[^/][^/]*/\.\./'
10870 # Canonicalize the pathname of ld
10871 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10872 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10873 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10875 test -z "$LD" && LD="$ac_prog"
10878 # If it fails, then pretend we aren't using GCC.
10882 # If it is relative, then search for the first ld in PATH.
10883 with_gnu_ld=unknown
10886 elif test "$with_gnu_ld" = yes; then
10887 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10888 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10890 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10891 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10893 if test "${lt_cv_path_LD+set}" = set; then
10894 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 if test -z "$LD"; then
10897 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10898 for ac_dir in $PATH; do
10900 test -z "$ac_dir" && ac_dir=.
10901 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10902 lt_cv_path_LD="$ac_dir/$ac_prog"
10903 # Check to see if the program is GNU ld. I'd rather use --version,
10904 # but apparently some variants of GNU ld only accept -v.
10905 # Break only if it was the GNU/non-GNU ld that we prefer.
10906 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10907 *GNU* | *'with BFD'*)
10908 test "$with_gnu_ld" != no && break
10911 test "$with_gnu_ld" != yes && break
10918 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10922 LD="$lt_cv_path_LD"
10923 if test -n "$LD"; then
10924 { echo "$as_me:$LINENO: result: $LD" >&5
10925 echo "${ECHO_T}$LD" >&6; }
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10930 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10931 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10932 { (exit 1); exit 1; }; }
10933 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10934 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10935 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10939 case `$LD -v 2>&1 </dev
/null
` in
10940 *GNU* | *'with BFD'*)
10941 lt_cv_prog_gnu_ld=yes
10944 lt_cv_prog_gnu_ld=no
10948 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10949 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10950 with_gnu_ld=$lt_cv_prog_gnu_ld
10954 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10955 # archiving commands below assume that GNU ld is being used.
10956 if test "$with_gnu_ld" = yes; then
10957 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10958 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'
10960 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10961 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10963 # If archive_cmds runs LD, not CC, wlarc should be empty
10964 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10965 # investigate it a little bit more. (MM)
10968 # ancient GNU ld didn't support --whole-archive et. al.
10969 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10970 grep 'no-whole-archive' > /dev/null; then
10971 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10973 whole_archive_flag_spec_CXX=
10979 # A generic and very simple default shared library creation
10980 # command for GNU C++ for the case where it uses the native
10981 # linker, instead of GNU ld. If possible, this setting should
10982 # overridden to take advantage of the native linker features on
10983 # the platform it is being used on.
10984 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10987 # Commands to make compiler produce verbose output that lists
10988 # what "hidden" libraries, object files and flags are used when
10989 # linking a shared library.
10990 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10998 # PORTME: fill in a description of your system's C++ link characteristics
10999 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11000 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11004 # FIXME: insert proper C++ library support
11008 if test "$host_cpu" = ia64; then
11009 # On IA64, the linker does run time linking by default, so we don't
11010 # have to do anything special.
11011 aix_use_runtimelinking=no
11012 exp_sym_flag='-Bexport'
11015 aix_use_runtimelinking=no
11017 # Test if we are trying to use run time linking or normal
11018 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11019 # need to do runtime linking.
11020 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11021 for ld_flag in $LDFLAGS; do
11024 aix_use_runtimelinking=yes
11032 exp_sym_flag='-bexport'
11033 no_entry_flag='-bnoentry'
11036 # When large executables or shared objects are built, AIX ld can
11037 # have problems creating the table of contents. If linking a library
11038 # or program results in "error TOC overflow" add -mminimal-toc to
11039 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11040 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11042 archive_cmds_CXX=''
11043 hardcode_direct_CXX=yes
11044 hardcode_libdir_separator_CXX=':'
11045 link_all_deplibs_CXX=yes
11047 if test "$GXX" = yes; then
11048 case $host_os in aix4.[012]|aix4.[012].*)
11049 # We only want to do this on AIX 4.2 and lower, the check
11050 # below for broken collect2 doesn't work under 4.3+
11051 collect2name=`${CC} -print-prog-name=collect2
`
11052 if test -f "$collect2name" && \
11053 strings "$collect2name" | grep resolve_lib_name >/dev/null
11055 # We have reworked collect2
11058 # We have old collect2
11059 hardcode_direct_CXX=unsupported
11060 # It fails to find uninstalled libraries when the uninstalled
11061 # path is not listed in the libpath. Setting hardcode_minus_L
11062 # to unsupported forces relinking
11063 hardcode_minus_L_CXX=yes
11064 hardcode_libdir_flag_spec_CXX='-L$libdir'
11065 hardcode_libdir_separator_CXX=
11069 shared_flag='-shared'
11070 if test "$aix_use_runtimelinking" = yes; then
11071 shared_flag="$shared_flag "'${wl}-G'
11075 if test "$host_cpu" = ia64; then
11076 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11077 # chokes on -Wl,-G. The following line is correct:
11080 if test "$aix_use_runtimelinking" = yes; then
11081 shared_flag='${wl}-G'
11083 shared_flag='${wl}-bM:SRE'
11088 # It seems that -bexpall does not export symbols beginning with
11089 # underscore (_), so it is better to generate a list of symbols to export.
11090 always_export_symbols_CXX=yes
11091 if test "$aix_use_runtimelinking" = yes; then
11092 # Warning - without using the other runtime loading flags (-brtl),
11093 # -berok will link without error, but may produce a broken library.
11094 allow_undefined_flag_CXX='-berok'
11095 # Determine the default libpath from the value encoded in an empty executable.
11096 cat >conftest.$ac_ext <<_ACEOF
11099 cat confdefs.h >>conftest.$ac_ext
11100 cat >>conftest.$ac_ext <<_ACEOF
11101 /* end confdefs.h. */
11111 rm -f conftest.$ac_objext conftest$ac_exeext
11112 if { (ac_try="$ac_link"
11113 case "(($ac_try" in
11114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11115 *) ac_try_echo
=$ac_try;;
11117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11118 (eval "$ac_link") 2>conftest.er1
11120 grep -v '^ *+' conftest.er1
>conftest.err
11122 cat conftest.err
>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } && {
11125 test -z "$ac_cxx_werror_flag" ||
11126 test ! -s conftest.err
11127 } && test -s conftest
$ac_exeext &&
11128 $as_test_x conftest
$ac_exeext; then
11130 lt_aix_libpath_sed
='
11131 /Import File Strings/,/^$/ {
11137 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11138 # Check for a 64-bit object if we didn't find anything.
11139 if test -z "$aix_libpath"; then
11140 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11143 echo "$as_me: failed program was:" >&5
11144 sed 's/^/| /' conftest.
$ac_ext >&5
11149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11150 conftest
$ac_exeext conftest.
$ac_ext
11151 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11153 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11155 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"
11157 if test "$host_cpu" = ia64
; then
11158 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11159 allow_undefined_flag_CXX
="-z nodefs"
11160 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"
11162 # Determine the default libpath from the value encoded in an empty executable.
11163 cat >conftest.
$ac_ext <<_ACEOF
11166 cat confdefs.h
>>conftest.
$ac_ext
11167 cat >>conftest.
$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11178 rm -f conftest.
$ac_objext conftest
$ac_exeext
11179 if { (ac_try
="$ac_link"
11180 case "(($ac_try" in
11181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11182 *) ac_try_echo=$ac_try;;
11184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11185 (eval "$ac_link") 2>conftest.er1
11187 grep -v '^ *+' conftest.er1 >conftest.err
11189 cat conftest.err >&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } && {
11192 test -z "$ac_cxx_werror_flag" ||
11193 test ! -s conftest.err
11194 } && test -s conftest$ac_exeext &&
11195 $as_test_x conftest$ac_exeext; then
11197 lt_aix_libpath_sed='
11198 /Import File Strings/,/^$/ {
11204 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11205 # Check for a 64-bit object if we didn't find anything.
11206 if test -z "$aix_libpath"; then
11207 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11217 conftest$ac_exeext conftest.$ac_ext
11218 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11220 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11221 # Warning - without using the other run time loading flags,
11222 # -berok will link without error, but may produce a broken library.
11223 no_undefined_flag_CXX=' ${wl}-bernotok'
11224 allow_undefined_flag_CXX=' ${wl}-berok'
11225 # Exported symbols can be pulled into shared objects from archives
11226 whole_archive_flag_spec_CXX='$convenience'
11227 archive_cmds_need_lc_CXX=yes
11228 # This is similar to how AIX traditionally builds its shared libraries.
11229 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'
11235 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11236 allow_undefined_flag_CXX=unsupported
11237 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11238 # support --undefined. This deserves some investigation. FIXME
11239 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11246 case $cc_basename in
11248 # FIXME: insert proper C++ library support
11254 cygwin* | mingw* | pw32*)
11255 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11256 # as there is no search path for DLLs.
11257 hardcode_libdir_flag_spec_CXX='-L$libdir'
11258 allow_undefined_flag_CXX=unsupported
11259 always_export_symbols_CXX=no
11260 enable_shared_with_static_runtimes_CXX=yes
11262 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11263 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'
11264 # If the export-symbols file already is a .def file (1st line
11265 # is EXPORTS), use it as is; otherwise, prepend...
11266 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11267 cp $export_symbols $output_objdir/$soname.def;
11269 echo EXPORTS > $output_objdir/$soname.def;
11270 cat $export_symbols >> $output_objdir/$soname.def;
11272 $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'
11277 darwin* | rhapsody*)
11279 rhapsody* | darwin1.[012])
11280 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11283 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11284 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11286 case ${MACOSX_DEPLOYMENT_TARGET} in
11288 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11291 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11297 archive_cmds_need_lc_CXX=no
11298 hardcode_direct_CXX=no
11299 hardcode_automatic_CXX=yes
11300 hardcode_shlibpath_var_CXX=unsupported
11301 whole_archive_flag_spec_CXX=''
11302 link_all_deplibs_CXX=yes
11304 if test "$GXX" = yes ; then
11305 lt_int_apple_cc_single_mod=no
11306 output_verbose_link_cmd='echo'
11307 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11308 lt_int_apple_cc_single_mod=yes
11310 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11311 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11313 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'
11315 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11316 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11317 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11318 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}'
11320 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}'
11322 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}'
11324 case $cc_basename in
11326 output_verbose_link_cmd='echo'
11327 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'
11328 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11329 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11330 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}'
11331 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}'
11341 case $cc_basename in
11343 # FIXME: insert proper C++ library support
11347 # Green Hills C++ Compiler
11348 # FIXME: insert proper C++ library support
11352 # FIXME: insert proper C++ library support
11358 # C++ shared libraries reported to be fairly broken before switch to ELF
11362 archive_cmds_need_lc_CXX=no
11364 freebsd* | dragonfly*)
11365 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11372 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11373 hardcode_libdir_separator_CXX=:
11374 export_dynamic_flag_spec_CXX='${wl}-E'
11375 hardcode_direct_CXX=yes
11376 hardcode_minus_L_CXX=yes # Not in the search PATH,
11377 # but as the default
11378 # location of the library.
11380 case $cc_basename in
11382 # FIXME: insert proper C++ library support
11386 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'
11387 # Commands to make compiler produce verbose output that lists
11388 # what "hidden" libraries, object files and flags are used when
11389 # linking a shared library.
11391 # There doesn't appear to be a way to prevent this compiler from
11392 # explicitly linking system object files so we need to strip them
11393 # from the output so that they don't get included in the library
11395 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'
11398 if test "$GXX" = yes; then
11399 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'
11401 # FIXME: insert proper C++ library support
11408 if test $with_gnu_ld = no; then
11409 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11410 hardcode_libdir_separator_CXX=:
11415 export_dynamic_flag_spec_CXX='${wl}-E'
11421 hardcode_direct_CXX=no
11422 hardcode_shlibpath_var_CXX=no
11425 hardcode_direct_CXX=yes
11426 hardcode_minus_L_CXX=yes # Not in the search PATH,
11427 # but as the default
11428 # location of the library.
11432 case $cc_basename in
11434 # FIXME: insert proper C++ library support
11440 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11443 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11446 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11449 # Commands to make compiler produce verbose output that lists
11450 # what "hidden" libraries, object files and flags are used when
11451 # linking a shared library.
11453 # There doesn't appear to be a way to prevent this compiler from
11454 # explicitly linking system object files so we need to strip them
11455 # from the output so that they don't get included in the library
11457 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'
11460 if test "$GXX" = yes; then
11461 if test $with_gnu_ld = no; then
11464 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11467 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11470 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'
11475 # FIXME: insert proper C++ library support
11482 hardcode_direct_CXX=no
11483 hardcode_shlibpath_var_CXX=no
11484 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11485 export_dynamic_flag_spec_CXX='${wl}-E'
11486 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11487 # Instead, shared libraries are loaded at an image base (0x10000000 by
11488 # default) and relocated if they conflict, which is a slow very memory
11489 # consuming and fragmenting process. To avoid this, we pick a random,
11490 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11491 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11492 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'
11493 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'
11496 case $cc_basename in
11499 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'
11501 # Archives containing C++ object files must be created using
11502 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11503 # necessary to make sure instantiated templates are included
11505 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11508 if test "$GXX" = yes; then
11509 if test "$with_gnu_ld" = no; then
11510 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11512 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'
11515 link_all_deplibs_CXX=yes
11518 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11519 hardcode_libdir_separator_CXX=:
11521 linux* | k*bsd*-gnu)
11522 case $cc_basename in
11524 # Kuck and Associates, Inc. (KAI) C++ Compiler
11526 # KCC will only create a shared library if the output file
11527 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11528 # to its proper name (with version) after linking.
11529 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'
11530 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'
11531 # Commands to make compiler produce verbose output that lists
11532 # what "hidden" libraries, object files and flags are used when
11533 # linking a shared library.
11535 # There doesn't appear to be a way to prevent this compiler from
11536 # explicitly linking system object files so we need to strip them
11537 # from the output so that they don't get included in the library
11539 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'
11541 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11542 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11544 # Archives containing C++ object files must be created using
11545 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11546 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11551 # version 8.0 and above of icpc choke on multiply defined symbols
11552 # if we add $predep_objects and $postdep_objects, however 7.1 and
11553 # earlier do not add the objects themselves.
11554 case `$CC -V 2>&1` in
11556 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11557 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'
11559 *) # Version 8.0 or newer
11562 ia64
*) tmp_idyn
=' -i_dynamic';;
11564 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11565 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'
11568 archive_cmds_need_lc_CXX
=no
11569 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11570 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11571 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11574 # Portland Group C++ compiler
11575 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11576 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'
11578 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11579 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11580 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'
11584 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11585 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'
11587 runpath_var
=LD_RUN_PATH
11588 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11589 hardcode_libdir_separator_CXX
=:
11591 # Commands to make compiler produce verbose output that lists
11592 # what "hidden" libraries, object files and flags are used when
11593 # linking a shared library.
11595 # There doesn't appear to be a way to prevent this compiler from
11596 # explicitly linking system object files so we need to strip them
11597 # from the output so that they don't get included in the library
11599 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'
11602 case `$CC -V 2>&1 | sed 5q` in
11605 no_undefined_flag_CXX
=' -zdefs'
11606 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11607 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'
11608 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11609 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'
11611 # Not sure whether something based on
11612 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11614 output_verbose_link_cmd
='echo'
11616 # Archives containing C++ object files must be created using
11617 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11618 # necessary to make sure instantiated templates are included
11620 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11627 # FIXME: insert proper C++ library support
11631 # FIXME: insert proper C++ library support
11635 case $cc_basename in
11637 # FIXME: insert proper C++ library support
11641 # FIXME: insert proper C++ library support
11647 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11648 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11650 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11651 hardcode_direct_CXX
=yes
11652 hardcode_shlibpath_var_CXX
=no
11654 # Workaround some broken pre-1.5 toolchains
11655 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11658 # C++ shared libraries are fairly broken
11662 if test -f /usr
/libexec
/ld.so
; then
11663 hardcode_direct_CXX
=yes
11664 hardcode_shlibpath_var_CXX
=no
11665 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11666 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11667 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11668 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11669 export_dynamic_flag_spec_CXX
='${wl}-E'
11670 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11672 output_verbose_link_cmd
='echo'
11678 case $cc_basename in
11680 # Kuck and Associates, Inc. (KAI) C++ Compiler
11682 # KCC will only create a shared library if the output file
11683 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11684 # to its proper name (with version) after linking.
11685 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'
11687 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11688 hardcode_libdir_separator_CXX
=:
11690 # Archives containing C++ object files must be created using
11691 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11692 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11696 # Rational C++ 2.4.1
11697 # FIXME: insert proper C++ library support
11701 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11702 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'
11704 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11705 hardcode_libdir_separator_CXX
=:
11707 # Commands to make compiler produce verbose output that lists
11708 # what "hidden" libraries, object files and flags are used when
11709 # linking a shared library.
11711 # There doesn't appear to be a way to prevent this compiler from
11712 # explicitly linking system object files so we need to strip them
11713 # from the output so that they don't get included in the library
11715 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'
11718 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11719 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11720 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'
11722 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11723 hardcode_libdir_separator_CXX
=:
11725 # Commands to make compiler produce verbose output that lists
11726 # what "hidden" libraries, object files and flags are used when
11727 # linking a shared library.
11728 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11731 # FIXME: insert proper C++ library support
11738 case $cc_basename in
11740 # Kuck and Associates, Inc. (KAI) C++ Compiler
11742 # KCC will only create a shared library if the output file
11743 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11744 # to its proper name (with version) after linking.
11745 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'
11747 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11748 hardcode_libdir_separator_CXX
=:
11750 # Archives containing C++ object files must be created using
11751 # the KAI C++ compiler.
11752 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11755 # Rational C++ 2.4.1
11756 # FIXME: insert proper C++ library support
11760 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11761 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'
11762 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11763 echo "-hidden">> $lib.exp~
11764 $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~
11767 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11768 hardcode_libdir_separator_CXX
=:
11770 # Commands to make compiler produce verbose output that lists
11771 # what "hidden" libraries, object files and flags are used when
11772 # linking a shared library.
11774 # There doesn't appear to be a way to prevent this compiler from
11775 # explicitly linking system object files so we need to strip them
11776 # from the output so that they don't get included in the library
11778 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'
11781 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11782 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11783 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'
11785 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11786 hardcode_libdir_separator_CXX
=:
11788 # Commands to make compiler produce verbose output that lists
11789 # what "hidden" libraries, object files and flags are used when
11790 # linking a shared library.
11791 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11794 # FIXME: insert proper C++ library support
11801 # FIXME: insert proper C++ library support
11805 case $cc_basename in
11808 # FIXME: insert proper C++ library support
11813 # FIXME: insert proper C++ library support
11817 # FIXME: insert proper C++ library support
11823 case $cc_basename in
11825 # Sun C++ 4.2, 5.x and Centerline C++
11826 archive_cmds_need_lc_CXX
=yes
11827 no_undefined_flag_CXX
=' -zdefs'
11828 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11829 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11830 $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'
11832 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11833 hardcode_shlibpath_var_CXX
=no
11835 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11837 # The compiler driver will combine and reorder linker options,
11838 # but understands `-z linker_flag'.
11839 # Supported since Solaris 2.6 (maybe 2.5.1?)
11840 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11843 link_all_deplibs_CXX
=yes
11845 output_verbose_link_cmd
='echo'
11847 # Archives containing C++ object files must be created using
11848 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11849 # necessary to make sure instantiated templates are included
11851 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11854 # Green Hills C++ Compiler
11855 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11857 # The C++ compiler must be used to create the archive.
11858 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11861 # GNU C++ compiler with Solaris linker
11862 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11863 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11864 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11865 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11866 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11867 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11869 # Commands to make compiler produce verbose output that lists
11870 # what "hidden" libraries, object files and flags are used when
11871 # linking a shared library.
11872 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11874 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11876 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11877 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11878 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11880 # Commands to make compiler produce verbose output that lists
11881 # what "hidden" libraries, object files and flags are used when
11882 # linking a shared library.
11883 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11886 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11888 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11890 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11897 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11898 no_undefined_flag_CXX
='${wl}-z,text'
11899 archive_cmds_need_lc_CXX
=no
11900 hardcode_shlibpath_var_CXX
=no
11901 runpath_var
='LD_RUN_PATH'
11903 case $cc_basename in
11905 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11906 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11909 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11910 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11914 sysv5
* | sco3.2v5
* | sco5v6
*)
11915 # Note: We can NOT use -z defs as we might desire, because we do not
11916 # link with -lc, and that would cause any symbols used from libc to
11917 # always be unresolved, which means just about no library would
11918 # ever link correctly. If we're not using GNU ld we use -z text
11919 # though, which does catch some bad symbols but isn't as heavy-handed
11921 # For security reasons, it is highly recommended that you always
11922 # use absolute paths for naming shared libraries, and exclude the
11923 # DT_RUNPATH tag from executables and libraries. But doing so
11924 # requires that you compile everything twice, which is a pain.
11925 # So that behaviour is only enabled if SCOABSPATH is set to a
11926 # non-empty value in the environment. Most likely only useful for
11927 # creating official distributions of packages.
11928 # This is a hack until libtool officially supports absolute path
11929 # names for shared libraries.
11930 no_undefined_flag_CXX
='${wl}-z,text'
11931 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11932 archive_cmds_need_lc_CXX
=no
11933 hardcode_shlibpath_var_CXX
=no
11934 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11935 hardcode_libdir_separator_CXX
=':'
11936 link_all_deplibs_CXX
=yes
11937 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11938 runpath_var
='LD_RUN_PATH'
11940 case $cc_basename in
11942 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11943 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11946 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11947 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11952 case $cc_basename in
11954 # NonStop-UX NCC 3.20
11955 # FIXME: insert proper C++ library support
11959 # FIXME: insert proper C++ library support
11965 # FIXME: insert proper C++ library support
11969 # FIXME: insert proper C++ library support
11973 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11974 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11975 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11981 cat > conftest.
$ac_ext <<EOF
11985 Foo (void) { a = 0; }
11991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11992 (eval $ac_compile) 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; then
11996 # Parse the compiler output and extract the necessary
11997 # objects, libraries and library flags.
11999 # Sentinel used to keep track of whether or not we are before
12000 # the conftest object file.
12001 pre_test_object_deps_done
=no
12003 # The `*' in the case matches for architectures that use `case' in
12004 # $output_verbose_cmd can trigger glob expansion during the loop
12005 # eval without this substitution.
12006 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12008 for p
in `eval $output_verbose_link_cmd`; do
12012 # Some compilers place space between "-{L,R}" and the path.
12013 # Remove the space.
12014 if test $p = "-L" \
12015 ||
test $p = "-R"; then
12022 if test "$pre_test_object_deps_done" = no
; then
12025 # Internal compiler library paths should come after those
12026 # provided the user. The postdeps already come after the
12027 # user supplied libs so there is no need to process them.
12028 if test -z "$compiler_lib_search_path_CXX"; then
12029 compiler_lib_search_path_CXX
="${prev}${p}"
12031 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12034 # The "-l" case would never come before the object being
12035 # linked, so don't bother handling this case.
12038 if test -z "$postdeps_CXX"; then
12039 postdeps_CXX
="${prev}${p}"
12041 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12047 # This assumes that the test object file only shows up
12048 # once in the compiler output.
12049 if test "$p" = "conftest.$objext"; then
12050 pre_test_object_deps_done
=yes
12054 if test "$pre_test_object_deps_done" = no
; then
12055 if test -z "$predep_objects_CXX"; then
12056 predep_objects_CXX
="$p"
12058 predep_objects_CXX
="$predep_objects_CXX $p"
12061 if test -z "$postdep_objects_CXX"; then
12062 postdep_objects_CXX
="$p"
12064 postdep_objects_CXX
="$postdep_objects_CXX $p"
12069 *) ;; # Ignore the rest.
12077 echo "libtool.m4: error: problem compiling CXX test program"
12080 $rm -f confest.
$objext
12082 # PORTME: override above test on systems where it is broken
12085 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12086 # hack all around it, let's just trust "g++" to DTRT.
12087 predep_objects_CXX
=
12088 postdep_objects_CXX
=
12093 case `$CC -V 2>&1 | sed 5q` in
12097 # The more standards-conforming stlport4 library is
12098 # incompatible with the Cstd library. Avoid specifying
12099 # it if it's in CXXFLAGS. Ignore libCrun as
12100 # -library=stlport4 depends on it.
12101 case " $CXX $CXXFLAGS " in
12102 *" -library=stlport4 "*)
12103 solaris_use_stlport4
=yes
12106 if test "$solaris_use_stlport4" != yes; then
12107 postdeps_CXX
='-library=Cstd -library=Crun'
12114 case $cc_basename in
12116 # The more standards-conforming stlport4 library is
12117 # incompatible with the Cstd library. Avoid specifying
12118 # it if it's in CXXFLAGS. Ignore libCrun as
12119 # -library=stlport4 depends on it.
12120 case " $CXX $CXXFLAGS " in
12121 *" -library=stlport4 "*)
12122 solaris_use_stlport4
=yes
12126 # Adding this requires a known-good setup of shared libraries for
12127 # Sun compiler versions before 5.6, else PIC objects from an old
12128 # archive will be linked into the output, leading to subtle bugs.
12129 if test "$solaris_use_stlport4" != yes; then
12130 postdeps_CXX
='-library=Cstd -library=Crun'
12138 case " $postdeps_CXX " in
12139 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12142 lt_prog_compiler_wl_CXX
=
12143 lt_prog_compiler_pic_CXX
=
12144 lt_prog_compiler_static_CXX
=
12146 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12147 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12149 # C++ specific cases for pic, static, wl, etc.
12150 if test "$GXX" = yes; then
12151 lt_prog_compiler_wl_CXX
='-Wl,'
12152 lt_prog_compiler_static_CXX
='-static'
12156 # All AIX code is PIC.
12157 if test "$host_cpu" = ia64
; then
12158 # AIX 5 now supports IA64 processor
12159 lt_prog_compiler_static_CXX
='-Bstatic'
12163 # FIXME: we need at least 68020 code to build shared libraries, but
12164 # adding the `-m68020' flag to GCC prevents building anything better,
12166 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12168 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12169 # PIC is the default for these OSes.
12171 mingw
* | cygwin
* | os2
* | pw32
*)
12172 # This hack is so that the source file can tell whether it is being
12173 # built for inclusion in a dll (and should export symbols for example).
12174 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12175 # (--disable-auto-import) libraries
12176 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12178 darwin
* | rhapsody
*)
12179 # PIC is the default on this platform
12180 # Common symbols not allowed in MH_DYLIB files
12181 lt_prog_compiler_pic_CXX
='-fno-common'
12184 # DJGPP does not support shared libraries at all
12185 lt_prog_compiler_pic_CXX
=
12188 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12189 # Instead, we relocate shared libraries at runtime.
12192 if test -d /usr
/nec
; then
12193 lt_prog_compiler_pic_CXX
=-Kconform_pic
12197 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12198 # not for PA HP-UX.
12203 lt_prog_compiler_pic_CXX
='-fPIC'
12208 lt_prog_compiler_pic_CXX
='-fPIC'
12214 # All AIX code is PIC.
12215 if test "$host_cpu" = ia64
; then
12216 # AIX 5 now supports IA64 processor
12217 lt_prog_compiler_static_CXX
='-Bstatic'
12219 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12223 case $cc_basename in
12225 # Green Hills C++ Compiler
12226 # _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"
12231 # PIC is the default on this platform
12232 # Common symbols not allowed in MH_DYLIB files
12233 case $cc_basename in
12235 lt_prog_compiler_pic_CXX
='-qnocommon'
12236 lt_prog_compiler_wl_CXX
='-Wl,'
12241 case $cc_basename in
12243 lt_prog_compiler_pic_CXX
='-KPIC'
12246 # Green Hills C++ Compiler
12247 lt_prog_compiler_pic_CXX
='-pic'
12253 freebsd
* | dragonfly
*)
12254 # FreeBSD uses GNU C++
12256 hpux9
* | hpux10
* | hpux11
*)
12257 case $cc_basename in
12259 lt_prog_compiler_wl_CXX
='-Wl,'
12260 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12261 if test "$host_cpu" != ia64
; then
12262 lt_prog_compiler_pic_CXX
='+Z'
12266 lt_prog_compiler_wl_CXX
='-Wl,'
12267 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12273 lt_prog_compiler_pic_CXX
='+Z'
12282 # This is c89, which is MS Visual C++ (no shared libs)
12283 # Anyone wants to do a port?
12285 irix5
* | irix6
* | nonstopux
*)
12286 case $cc_basename in
12288 lt_prog_compiler_wl_CXX
='-Wl,'
12289 lt_prog_compiler_static_CXX
='-non_shared'
12290 # CC pic flag -KPIC is the default.
12296 linux
* | k
*bsd
*-gnu)
12297 case $cc_basename in
12300 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12301 lt_prog_compiler_pic_CXX
='-fPIC'
12305 lt_prog_compiler_wl_CXX
='-Wl,'
12306 lt_prog_compiler_pic_CXX
='-KPIC'
12307 lt_prog_compiler_static_CXX
='-static'
12310 # Portland Group C++ compiler.
12311 lt_prog_compiler_wl_CXX
='-Wl,'
12312 lt_prog_compiler_pic_CXX
='-fpic'
12313 lt_prog_compiler_static_CXX
='-Bstatic'
12317 # Make sure the PIC flag is empty. It appears that all Alpha
12318 # Linux and Compaq Tru64 Unix objects are PIC.
12319 lt_prog_compiler_pic_CXX
=
12320 lt_prog_compiler_static_CXX
='-non_shared'
12323 case `$CC -V 2>&1 | sed 5q` in
12326 lt_prog_compiler_pic_CXX
='-KPIC'
12327 lt_prog_compiler_static_CXX
='-Bstatic'
12328 lt_prog_compiler_wl_CXX
='-Qoption ld '
12339 case $cc_basename in
12341 lt_prog_compiler_pic_CXX
='-W c,exportall'
12349 osf3
* | osf4
* | osf5
*)
12350 case $cc_basename in
12352 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12355 # Rational C++ 2.4.1
12356 lt_prog_compiler_pic_CXX
='-pic'
12359 # Digital/Compaq C++
12360 lt_prog_compiler_wl_CXX
='-Wl,'
12361 # Make sure the PIC flag is empty. It appears that all Alpha
12362 # Linux and Compaq Tru64 Unix objects are PIC.
12363 lt_prog_compiler_pic_CXX
=
12364 lt_prog_compiler_static_CXX
='-non_shared'
12373 case $cc_basename in
12375 # Sun C++ 4.2, 5.x and Centerline C++
12376 lt_prog_compiler_pic_CXX
='-KPIC'
12377 lt_prog_compiler_static_CXX
='-Bstatic'
12378 lt_prog_compiler_wl_CXX
='-Qoption ld '
12381 # Green Hills C++ Compiler
12382 lt_prog_compiler_pic_CXX
='-PIC'
12389 case $cc_basename in
12392 lt_prog_compiler_pic_CXX
='-pic'
12393 lt_prog_compiler_static_CXX
='-Bstatic'
12397 lt_prog_compiler_pic_CXX
='-pic'
12404 case $cc_basename in
12406 # NonStop-UX NCC 3.20
12407 lt_prog_compiler_pic_CXX
='-KPIC'
12413 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12414 case $cc_basename in
12416 lt_prog_compiler_wl_CXX
='-Wl,'
12417 lt_prog_compiler_pic_CXX
='-KPIC'
12418 lt_prog_compiler_static_CXX
='-Bstatic'
12425 lt_prog_compiler_can_build_shared_CXX
=no
12430 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12431 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12434 # Check to make sure the PIC flag actually works.
12436 if test -n "$lt_prog_compiler_pic_CXX"; then
12438 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12439 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12440 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 lt_prog_compiler_pic_works_CXX
=no
12444 ac_outfile
=conftest.
$ac_objext
12445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12446 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12447 # Insert the option either (1) after the last *FLAGS variable, or
12448 # (2) before a word containing "conftest.", or (3) at the end.
12449 # Note that $ac_compile itself does not contain backslashes and begins
12450 # with a dollar sign (not a hyphen), so the echo should work correctly.
12451 # The option is referenced via a variable to avoid confusing sed.
12452 lt_compile
=`echo "$ac_compile" | $SED \
12453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12455 -e 's:$: $lt_compiler_flag:'`
12456 (eval echo "\"\$as_me:12456: $lt_compile\"" >&5)
12457 (eval "$lt_compile" 2>conftest.err
)
12459 cat conftest.err
>&5
12460 echo "$as_me:12460: \$? = $ac_status" >&5
12461 if (exit $ac_status) && test -s "$ac_outfile"; then
12462 # The compiler can only warn and ignore the option if not recognized
12463 # So say no if there are warnings other than the usual output.
12464 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12466 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12467 lt_prog_compiler_pic_works_CXX
=yes
12473 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12474 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12476 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12477 case $lt_prog_compiler_pic_CXX in
12479 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12482 lt_prog_compiler_pic_CXX
=
12483 lt_prog_compiler_can_build_shared_CXX
=no
12488 # For platforms which do not support PIC, -DPIC is meaningless:
12490 lt_prog_compiler_pic_CXX
=
12493 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12498 # Check to make sure the static flag actually works.
12500 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12501 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12502 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12503 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 lt_prog_compiler_static_works_CXX
=no
12507 save_LDFLAGS
="$LDFLAGS"
12508 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12509 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12510 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12511 # The linker can only warn and ignore the option if not recognized
12512 # So say no if there are warnings
12513 if test -s conftest.err
; then
12514 # Append any errors to the config.log.
12515 cat conftest.err
1>&5
12516 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12517 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12518 if diff conftest.exp conftest.er2
>/dev
/null
; then
12519 lt_prog_compiler_static_works_CXX
=yes
12522 lt_prog_compiler_static_works_CXX
=yes
12526 LDFLAGS
="$save_LDFLAGS"
12529 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12530 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12532 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12535 lt_prog_compiler_static_CXX
=
12539 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12540 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12541 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 lt_cv_prog_compiler_c_o_CXX
=no
12545 $rm -r conftest
2>/dev
/null
12549 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12551 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12552 # Insert the option either (1) after the last *FLAGS variable, or
12553 # (2) before a word containing "conftest.", or (3) at the end.
12554 # Note that $ac_compile itself does not contain backslashes and begins
12555 # with a dollar sign (not a hyphen), so the echo should work correctly.
12556 lt_compile
=`echo "$ac_compile" | $SED \
12557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12559 -e 's:$: $lt_compiler_flag:'`
12560 (eval echo "\"\$as_me:12560: $lt_compile\"" >&5)
12561 (eval "$lt_compile" 2>out
/conftest.err
)
12563 cat out
/conftest.err
>&5
12564 echo "$as_me:12564: \$? = $ac_status" >&5
12565 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12567 # The compiler can only warn and ignore the option if not recognized
12568 # So say no if there are warnings
12569 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12570 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12571 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12572 lt_cv_prog_compiler_c_o_CXX
=yes
12577 # SGI C++ compiler will create directory out/ii_files/ for
12578 # template instantiation
12579 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12580 $rm out
/* && rmdir out
12586 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12587 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12590 hard_links
="nottested"
12591 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12592 # do not overwrite the value of need_locks provided by the user
12593 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12594 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12597 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12599 ln conftest.a conftest.b
2>&5 || hard_links
=no
12600 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12601 { echo "$as_me:$LINENO: result: $hard_links" >&5
12602 echo "${ECHO_T}$hard_links" >&6; }
12603 if test "$hard_links" = no
; then
12604 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12605 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12612 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12613 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12615 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12618 # If we're using GNU nm, then we don't want the "-C" option.
12619 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12620 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12621 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'
12623 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'
12627 export_symbols_cmds_CXX
="$ltdll_cmds"
12630 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'
12633 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12637 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12638 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12639 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12642 # Do we need to explicitly link libc?
12644 case "x$archive_cmds_need_lc_CXX" in
12646 # Assume -lc should be added
12647 archive_cmds_need_lc_CXX
=yes
12649 if test "$enable_shared" = yes && test "$GCC" = yes; then
12650 case $archive_cmds_CXX in
12652 # FIXME: we may have to deal with multi-command sequences.
12655 # Test whether the compiler implicitly links with -lc since on some
12656 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12657 # to ld, don't add -lc before -lgcc.
12658 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12659 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12661 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12664 (eval $ac_compile) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } 2>conftest.err
; then
12670 libobjs
=conftest.
$ac_objext
12672 wl
=$lt_prog_compiler_wl_CXX
12673 pic_flag
=$lt_prog_compiler_pic_CXX
12679 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12680 allow_undefined_flag_CXX
=
12681 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12682 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }
12687 archive_cmds_need_lc_CXX
=no
12689 archive_cmds_need_lc_CXX
=yes
12691 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12693 cat conftest.err
1>&5
12696 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12697 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12704 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12705 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12706 library_names_spec
=
12707 libname_spec
='lib$name'
12711 postuninstall_cmds
=
12715 shlibpath_overrides_runpath
=unknown
12717 dynamic_linker
="$host_os ld.so"
12718 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12720 need_lib_prefix
=unknown
12721 hardcode_into_libs
=no
12723 # when you set need_version to no, make sure it does not cause -set_version
12724 # flags to be left without arguments
12725 need_version
=unknown
12730 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12731 shlibpath_var
=LIBPATH
12733 # AIX 3 has no versioning support, so we append a major version to the name.
12734 soname_spec
='${libname}${release}${shared_ext}$major'
12741 hardcode_into_libs
=yes
12742 if test "$host_cpu" = ia64
; then
12743 # AIX 5 supports IA64
12744 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12745 shlibpath_var
=LD_LIBRARY_PATH
12747 # With GCC up to 2.95.x, collect2 would create an import file
12748 # for dependence libraries. The import file would start with
12749 # the line `#! .'. This would cause the generated library to
12750 # depend on `.', always an invalid library. This was fixed in
12751 # development snapshots of GCC prior to 3.0.
12753 aix4 | aix4.
[01] | aix4.
[01].
*)
12754 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12756 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12759 can_build_shared
=no
12763 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12764 # soname into executable. Probably we can add versioning support to
12765 # collect2, so additional links can be useful in future.
12766 if test "$aix_use_runtimelinking" = yes; then
12767 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12768 # instead of lib<name>.a to let people know that these are not
12769 # typical AIX shared libraries.
12770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12772 # We preserve .a as extension for shared libraries through AIX4.2
12773 # and later when we are not doing run time linking.
12774 library_names_spec
='${libname}${release}.a $libname.a'
12775 soname_spec
='${libname}${release}${shared_ext}$major'
12777 shlibpath_var
=LIBPATH
12782 library_names_spec
='$libname.ixlibrary $libname.a'
12783 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12784 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'
12788 library_names_spec
='${libname}${shared_ext}'
12789 dynamic_linker
="$host_os ld.so"
12790 shlibpath_var
=LIBRARY_PATH
12796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12797 soname_spec
='${libname}${release}${shared_ext}$major'
12798 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12799 shlibpath_var
=LD_LIBRARY_PATH
12800 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12801 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12802 # the default ld.so.conf also contains /usr/contrib/lib and
12803 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12804 # libtool to hard-code these into programs
12807 cygwin
* | mingw
* | pw32
*)
12808 version_type
=windows
12813 case $GCC,$host_os in
12814 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12815 library_names_spec
='$libname.dll.a'
12816 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12817 postinstall_cmds
='base_file=`basename \${file}`~
12818 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12819 dldir=$destdir/`dirname \$dlpath`~
12820 test -d \$dldir || mkdir -p \$dldir~
12821 $install_prog $dir/$dlname \$dldir/$dlname~
12822 chmod a+x \$dldir/$dlname'
12823 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12824 dlpath=$dir/\$dldll~
12826 shlibpath_overrides_runpath
=yes
12830 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12831 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12832 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12835 # MinGW DLLs use traditional 'lib' prefix
12836 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12837 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12838 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12839 # It is most probably a Windows format PATH printed by
12840 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12841 # path with ; separators, and with drive letters. We can handle the
12842 # drive letters (cygwin fileutils understands them), so leave them,
12843 # especially as we might pass files found there to a mingw objdump,
12844 # which wouldn't understand a cygwinified path. Ahh.
12845 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12847 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12851 # pw32 DLLs use 'pw' prefix rather than 'lib'
12852 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12858 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12861 dynamic_linker
='Win32 ld.exe'
12862 # FIXME: first we should search . and the directory the executable is in
12866 darwin
* | rhapsody
*)
12867 dynamic_linker
="$host_os dyld"
12868 version_type
=darwin
12871 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12872 soname_spec
='${libname}${release}${major}$shared_ext'
12873 shlibpath_overrides_runpath
=yes
12874 shlibpath_var
=DYLD_LIBRARY_PATH
12875 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12877 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12885 soname_spec
='${libname}${release}${shared_ext}$major'
12886 shlibpath_var
=LD_LIBRARY_PATH
12893 freebsd
* | dragonfly
*)
12894 # DragonFly does not have aout. When/if they implement a new
12895 # versioning mechanism, adjust this.
12896 if test -x /usr
/bin
/objformat
; then
12897 objformat
=`/usr/bin/objformat`
12900 freebsd
[123]*) objformat
=aout
;;
12901 *) objformat
=elf
;;
12904 version_type
=freebsd-
$objformat
12905 case $version_type in
12907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12912 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12916 shlibpath_var
=LD_LIBRARY_PATH
12919 shlibpath_overrides_runpath
=yes
12921 freebsd3.
[01]* | freebsdelf3.
[01]*)
12922 shlibpath_overrides_runpath
=yes
12923 hardcode_into_libs
=yes
12925 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12926 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12927 shlibpath_overrides_runpath
=no
12928 hardcode_into_libs
=yes
12930 *) # from 4.6 on, and DragonFly
12931 shlibpath_overrides_runpath
=yes
12932 hardcode_into_libs
=yes
12941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12942 soname_spec
='${libname}${release}${shared_ext}$major'
12943 shlibpath_var
=LD_LIBRARY_PATH
12944 hardcode_into_libs
=yes
12947 hpux9
* | hpux10
* | hpux11
*)
12948 # Give a soname corresponding to the major version so that dld.sl refuses to
12949 # link against other versions.
12956 hardcode_into_libs
=yes
12957 dynamic_linker
="$host_os dld.so"
12958 shlibpath_var
=LD_LIBRARY_PATH
12959 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12961 soname_spec
='${libname}${release}${shared_ext}$major'
12962 if test "X$HPUX_IA64_MODE" = X32
; then
12963 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12965 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12967 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12971 hardcode_into_libs
=yes
12972 dynamic_linker
="$host_os dld.sl"
12973 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12974 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12976 soname_spec
='${libname}${release}${shared_ext}$major'
12977 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12978 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12982 dynamic_linker
="$host_os dld.sl"
12983 shlibpath_var
=SHLIB_PATH
12984 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12986 soname_spec
='${libname}${release}${shared_ext}$major'
12989 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12990 postinstall_cmds
='chmod 555 $lib'
12997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12998 soname_spec
='${libname}${release}${shared_ext}$major'
12999 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13000 shlibpath_var
=LD_LIBRARY_PATH
13001 shlibpath_overrides_runpath
=no
13002 hardcode_into_libs
=yes
13005 irix5
* | irix6
* | nonstopux
*)
13007 nonstopux
*) version_type
=nonstopux
;;
13009 if test "$lt_cv_prog_gnu_ld" = yes; then
13017 soname_spec
='${libname}${release}${shared_ext}$major'
13018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13020 irix5
* | nonstopux
*)
13021 libsuff
= shlibsuff
=
13024 case $LD in # libtool.m4 will add one of these switches to LD
13025 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13026 libsuff
= shlibsuff
= libmagic
=32-bit;;
13027 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13028 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13029 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13030 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13031 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13035 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13036 shlibpath_overrides_runpath
=no
13037 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13038 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13039 hardcode_into_libs
=yes
13042 # No shared lib support for Linux oldld, aout, or coff.
13043 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13047 # This must be Linux ELF.
13048 linux
* | k
*bsd
*-gnu)
13052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13053 soname_spec
='${libname}${release}${shared_ext}$major'
13054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13055 shlibpath_var
=LD_LIBRARY_PATH
13056 shlibpath_overrides_runpath
=no
13057 # This implies no fast_install, which is unacceptable.
13058 # Some rework will be needed to allow for fast_install
13059 # before this can be enabled.
13060 hardcode_into_libs
=yes
13061 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13062 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13064 # Append ld.so.conf contents to the search path
13065 if test -f /etc
/ld.so.conf
; then
13066 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' ' '`
13067 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13070 # We used to test for /lib/ld.so.1 and disable shared libraries on
13071 # powerpc, because MkLinux only supported shared libraries with the
13072 # GNU dynamic linker. Since this was broken with cross compilers,
13073 # most powerpc-linux boxes support dynamic linking these days and
13074 # people can always --disable-shared, the test was removed, and we
13075 # assume the GNU/Linux dynamic linker is in use.
13076 dynamic_linker
='GNU/Linux ld.so'
13083 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13085 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13086 dynamic_linker
='NetBSD (a.out) ld.so'
13088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13089 soname_spec
='${libname}${release}${shared_ext}$major'
13090 dynamic_linker
='NetBSD ld.elf_so'
13092 shlibpath_var
=LD_LIBRARY_PATH
13093 shlibpath_overrides_runpath
=yes
13094 hardcode_into_libs
=yes
13099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13100 shlibpath_var
=LD_LIBRARY_PATH
13101 shlibpath_overrides_runpath
=yes
13108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13109 soname_spec
='${libname}${release}${shared_ext}$major'
13110 shlibpath_var
=LD_LIBRARY_PATH
13111 shlibpath_overrides_runpath
=yes
13116 sys_lib_dlsearch_path_spec
="/usr/lib"
13118 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13120 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13121 *) need_version
=no
;;
13123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13124 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13125 shlibpath_var
=LD_LIBRARY_PATH
13126 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13128 openbsd2.
[89] | openbsd2.
[89].
*)
13129 shlibpath_overrides_runpath
=no
13132 shlibpath_overrides_runpath
=yes
13136 shlibpath_overrides_runpath
=yes
13141 libname_spec
='$name'
13144 library_names_spec
='$libname${shared_ext} $libname.a'
13145 dynamic_linker
='OS/2 ld.exe'
13146 shlibpath_var
=LIBPATH
13149 osf3
* | osf4
* | osf5
*)
13153 soname_spec
='${libname}${release}${shared_ext}$major'
13154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13155 shlibpath_var
=LD_LIBRARY_PATH
13156 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13157 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13169 soname_spec
='${libname}${release}${shared_ext}$major'
13170 shlibpath_var
=LD_LIBRARY_PATH
13171 shlibpath_overrides_runpath
=yes
13172 hardcode_into_libs
=yes
13173 # ldd complains unless libraries are executable
13174 postinstall_cmds
='chmod +x $lib'
13179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13180 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13181 shlibpath_var
=LD_LIBRARY_PATH
13182 shlibpath_overrides_runpath
=yes
13183 if test "$with_gnu_ld" = yes; then
13191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13192 soname_spec
='${libname}${release}${shared_ext}$major'
13193 shlibpath_var
=LD_LIBRARY_PATH
13194 case $host_vendor in
13196 shlibpath_overrides_runpath
=no
13198 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13199 runpath_var
=LD_RUN_PATH
13207 shlibpath_overrides_runpath
=no
13208 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13214 if test -d /usr
/nec
;then
13216 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13217 soname_spec
='$libname${shared_ext}.$major'
13218 shlibpath_var
=LD_LIBRARY_PATH
13222 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13223 version_type
=freebsd-elf
13226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13227 soname_spec
='${libname}${release}${shared_ext}$major'
13228 shlibpath_var
=LD_LIBRARY_PATH
13229 hardcode_into_libs
=yes
13230 if test "$with_gnu_ld" = yes; then
13231 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13232 shlibpath_overrides_runpath
=no
13234 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13235 shlibpath_overrides_runpath
=yes
13238 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13242 sys_lib_dlsearch_path_spec
='/usr/lib'
13247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13248 soname_spec
='${libname}${release}${shared_ext}$major'
13249 shlibpath_var
=LD_LIBRARY_PATH
13256 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13257 echo "${ECHO_T}$dynamic_linker" >&6; }
13258 test "$dynamic_linker" = no
&& can_build_shared
=no
13260 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13261 if test "$GCC" = yes; then
13262 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13265 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13266 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13267 hardcode_action_CXX
=
13268 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13269 test -n "$runpath_var_CXX" || \
13270 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13272 # We can hardcode non-existant directories.
13273 if test "$hardcode_direct_CXX" != no
&&
13274 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13275 # have to relink, otherwise we might link with an installed library
13276 # when we should be linking with a yet-to-be-installed one
13277 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13278 test "$hardcode_minus_L_CXX" != no
; then
13279 # Linking always hardcodes the temporary library directory.
13280 hardcode_action_CXX
=relink
13282 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13283 hardcode_action_CXX
=immediate
13286 # We cannot hardcode anything, or else we can only hardcode existing
13288 hardcode_action_CXX
=unsupported
13290 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13291 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13293 if test "$hardcode_action_CXX" = relink
; then
13294 # Fast installation is not supported
13295 enable_fast_install
=no
13296 elif test "$shlibpath_overrides_runpath" = yes ||
13297 test "$enable_shared" = no
; then
13298 # Fast installation is not necessary
13299 enable_fast_install
=needless
13303 # The else clause should only fire when bootstrapping the
13304 # libtool distribution, otherwise you forgot to ship ltmain.sh
13305 # with your package, and you will get complaints that there are
13306 # no rules to generate ltmain.sh.
13307 if test -f "$ltmain"; then
13308 # See if we are running on zsh, and set the options which allow our commands through
13309 # without removal of \ escapes.
13310 if test -n "${ZSH_VERSION+set}" ; then
13311 setopt NO_GLOB_SUBST
13313 # Now quote all the things that may contain metacharacters while being
13314 # careful not to overquote the AC_SUBSTed values. We take copies of the
13315 # variables and quote the copies for generation of the libtool script.
13316 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13318 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13319 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13320 deplibs_check_method reload_flag reload_cmds need_locks \
13321 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13322 lt_cv_sys_global_symbol_to_c_name_address \
13323 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13324 old_postinstall_cmds old_postuninstall_cmds \
13328 lt_prog_compiler_wl_CXX \
13329 lt_prog_compiler_pic_CXX \
13330 lt_prog_compiler_static_CXX \
13331 lt_prog_compiler_no_builtin_flag_CXX \
13332 export_dynamic_flag_spec_CXX \
13333 thread_safe_flag_spec_CXX \
13334 whole_archive_flag_spec_CXX \
13335 enable_shared_with_static_runtimes_CXX \
13336 old_archive_cmds_CXX \
13337 old_archive_from_new_cmds_CXX \
13338 predep_objects_CXX \
13339 postdep_objects_CXX \
13342 compiler_lib_search_path_CXX \
13344 archive_expsym_cmds_CXX \
13345 postinstall_cmds_CXX \
13346 postuninstall_cmds_CXX \
13347 old_archive_from_expsyms_cmds_CXX \
13348 allow_undefined_flag_CXX \
13349 no_undefined_flag_CXX \
13350 export_symbols_cmds_CXX \
13351 hardcode_libdir_flag_spec_CXX \
13352 hardcode_libdir_flag_spec_ld_CXX \
13353 hardcode_libdir_separator_CXX \
13354 hardcode_automatic_CXX \
13356 module_expsym_cmds_CXX \
13357 lt_cv_prog_compiler_c_o_CXX \
13358 fix_srcfile_path_CXX \
13359 exclude_expsyms_CXX \
13360 include_expsyms_CXX
; do
13363 old_archive_cmds_CXX | \
13364 old_archive_from_new_cmds_CXX | \
13365 archive_cmds_CXX | \
13366 archive_expsym_cmds_CXX | \
13367 module_cmds_CXX | \
13368 module_expsym_cmds_CXX | \
13369 old_archive_from_expsyms_cmds_CXX | \
13370 export_symbols_cmds_CXX | \
13371 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13372 postinstall_cmds | postuninstall_cmds | \
13373 old_postinstall_cmds | old_postuninstall_cmds | \
13374 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13375 # Double-quote double-evaled strings.
13376 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13379 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13385 *'\$0 --fallback-echo"')
13386 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13392 cat <<__EOF__ >> "$cfgfile"
13393 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13395 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13397 # Shell to use when invoking shell scripts.
13400 # Whether or not to build shared libraries.
13401 build_libtool_libs=$enable_shared
13403 # Whether or not to build static libraries.
13404 build_old_libs=$enable_static
13406 # Whether or not to add -lc for building shared libraries.
13407 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13409 # Whether or not to disallow shared libs when runtime libs are static
13410 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13412 # Whether or not to optimize for fast installation.
13413 fast_install=$enable_fast_install
13416 host_alias=$host_alias
13420 # The build system.
13421 build_alias=$build_alias
13425 # An echo program that does not interpret backslashes.
13430 AR_FLAGS=$lt_AR_FLAGS
13435 # LTCC compiler flags.
13436 LTCFLAGS=$lt_LTCFLAGS
13438 # A language-specific compiler.
13439 CC=$lt_compiler_CXX
13441 # Is the compiler the GNU C compiler?
13447 # The linker used to build libraries.
13450 # Whether we need hard or soft links.
13453 # A BSD-compatible nm program.
13456 # A symbol stripping program
13459 # Used to examine libraries when file_magic_cmd begins "file"
13460 MAGIC_CMD=$MAGIC_CMD
13462 # Used on cygwin: DLL creation program.
13465 # Used on cygwin: object dumper.
13468 # Used on cygwin: assembler.
13471 # The name of the directory that contains temporary libtool files.
13474 # How to create reloadable object files.
13475 reload_flag=$lt_reload_flag
13476 reload_cmds=$lt_reload_cmds
13478 # How to pass a linker flag through the compiler.
13479 wl=$lt_lt_prog_compiler_wl_CXX
13481 # Object file suffix (normally "o").
13482 objext="$ac_objext"
13484 # Old archive suffix (normally "a").
13487 # Shared library suffix (normally ".so").
13488 shrext_cmds='$shrext_cmds'
13490 # Executable file suffix (normally "").
13493 # Additional compiler flags for building library objects.
13494 pic_flag=$lt_lt_prog_compiler_pic_CXX
13497 # What is the maximum length of a command?
13498 max_cmd_len=$lt_cv_sys_max_cmd_len
13500 # Does compiler simultaneously support -c and -o options?
13501 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13503 # Must we lock files when doing compilation?
13504 need_locks=$lt_need_locks
13506 # Do we need the lib prefix for modules?
13507 need_lib_prefix=$need_lib_prefix
13509 # Do we need a version for libraries?
13510 need_version=$need_version
13512 # Whether dlopen is supported.
13513 dlopen_support=$enable_dlopen
13515 # Whether dlopen of programs is supported.
13516 dlopen_self=$enable_dlopen_self
13518 # Whether dlopen of statically linked programs is supported.
13519 dlopen_self_static=$enable_dlopen_self_static
13521 # Compiler flag to prevent dynamic linking.
13522 link_static_flag=$lt_lt_prog_compiler_static_CXX
13524 # Compiler flag to turn off builtin functions.
13525 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13527 # Compiler flag to allow reflexive dlopens.
13528 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13530 # Compiler flag to generate shared objects directly from archives.
13531 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13533 # Compiler flag to generate thread-safe objects.
13534 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13536 # Library versioning type.
13537 version_type=$version_type
13539 # Format of library name prefix.
13540 libname_spec=$lt_libname_spec
13542 # List of archive names. First name is the real one, the rest are links.
13543 # The last name is the one that the linker finds with -lNAME.
13544 library_names_spec=$lt_library_names_spec
13546 # The coded name of the library, if different from the real name.
13547 soname_spec=$lt_soname_spec
13549 # Commands used to build and install an old-style archive.
13551 old_archive_cmds=$lt_old_archive_cmds_CXX
13552 old_postinstall_cmds=$lt_old_postinstall_cmds
13553 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13555 # Create an old-style archive from a shared archive.
13556 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13558 # Create a temporary old-style archive to link instead of a shared archive.
13559 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13561 # Commands used to build and install a shared archive.
13562 archive_cmds=$lt_archive_cmds_CXX
13563 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13564 postinstall_cmds=$lt_postinstall_cmds
13565 postuninstall_cmds=$lt_postuninstall_cmds
13567 # Commands used to build a loadable module (assumed same as above if empty)
13568 module_cmds=$lt_module_cmds_CXX
13569 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13571 # Commands to strip libraries.
13572 old_striplib=$lt_old_striplib
13573 striplib=$lt_striplib
13575 # Dependencies to place before the objects being linked to create a
13577 predep_objects=$lt_predep_objects_CXX
13579 # Dependencies to place after the objects being linked to create a
13581 postdep_objects=$lt_postdep_objects_CXX
13583 # Dependencies to place before the objects being linked to create a
13585 predeps=$lt_predeps_CXX
13587 # Dependencies to place after the objects being linked to create a
13589 postdeps=$lt_postdeps_CXX
13591 # The library search path used internally by the compiler when linking
13592 # a shared library.
13593 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13595 # Method to check whether dependent libraries are shared objects.
13596 deplibs_check_method=$lt_deplibs_check_method
13598 # Command to use when deplibs_check_method == file_magic.
13599 file_magic_cmd=$lt_file_magic_cmd
13601 # Flag that allows shared libraries with undefined symbols to be built.
13602 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13604 # Flag that forces no undefined symbols.
13605 no_undefined_flag=$lt_no_undefined_flag_CXX
13607 # Commands used to finish a libtool library installation in a directory.
13608 finish_cmds=$lt_finish_cmds
13610 # Same as above, but a single script fragment to be evaled but not shown.
13611 finish_eval=$lt_finish_eval
13613 # Take the output of nm and produce a listing of raw symbols and C names.
13614 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13616 # Transform the output of nm in a proper C declaration
13617 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13619 # Transform the output of nm in a C name address pair
13620 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13622 # This is the shared library runtime path variable.
13623 runpath_var=$runpath_var
13625 # This is the shared library path variable.
13626 shlibpath_var=$shlibpath_var
13628 # Is shlibpath searched before the hard-coded library search path?
13629 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13631 # How to hardcode a shared library path into an executable.
13632 hardcode_action=$hardcode_action_CXX
13634 # Whether we should hardcode library paths into libraries.
13635 hardcode_into_libs=$hardcode_into_libs
13637 # Flag to hardcode \$libdir into a binary during linking.
13638 # This must work even if \$libdir does not exist.
13639 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13641 # If ld is used when linking, flag to hardcode \$libdir into
13642 # a binary during linking. This must work even if \$libdir does
13644 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13646 # Whether we need a single -rpath flag with a separated argument.
13647 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13649 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13650 # resulting binary.
13651 hardcode_direct=$hardcode_direct_CXX
13653 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13654 # resulting binary.
13655 hardcode_minus_L=$hardcode_minus_L_CXX
13657 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13658 # the resulting binary.
13659 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13661 # Set to yes if building a shared library automatically hardcodes DIR into the library
13662 # and all subsequent libraries and executables linked against it.
13663 hardcode_automatic=$hardcode_automatic_CXX
13665 # Variables whose values should be saved in libtool wrapper scripts and
13666 # restored at relink time.
13667 variables_saved_for_relink="$variables_saved_for_relink"
13669 # Whether libtool must link a program against all its dependency libraries.
13670 link_all_deplibs=$link_all_deplibs_CXX
13672 # Compile-time system search path for libraries
13673 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13675 # Run-time system search path for libraries
13676 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13678 # Fix the shell variable \$srcfile for the compiler.
13679 fix_srcfile_path=$lt_fix_srcfile_path
13681 # Set to yes if exported symbols are required.
13682 always_export_symbols=$always_export_symbols_CXX
13684 # The commands to list exported symbols.
13685 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13687 # The commands to extract the exported symbol list from a shared archive.
13688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13690 # Symbols that should not be listed in the preloaded symbols.
13691 exclude_expsyms=$lt_exclude_expsyms_CXX
13693 # Symbols that must always be exported.
13694 include_expsyms=$lt_include_expsyms_CXX
13696 # ### END LIBTOOL TAG CONFIG: $tagname
13702 # If there is no Makefile yet, we rely on a make rule to execute
13703 # `config.status --recheck' to rerun these tests and create the
13704 # libtool script then.
13705 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13706 if test -f "$ltmain_in"; then
13707 test -f Makefile
&& make "$ltmain"
13713 ac_cpp
='$CPP $CPPFLAGS'
13714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13722 with_gnu_ldcxx
=$with_gnu_ld
13723 with_gnu_ld
=$lt_save_with_gnu_ld
13724 lt_cv_path_LDCXX
=$lt_cv_path_LD
13725 lt_cv_path_LD
=$lt_save_path_LD
13726 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13727 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13735 if test -n "$F77" && test "X$F77" != "Xno"; then
13738 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13739 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13743 archive_cmds_need_lc_F77
=no
13744 allow_undefined_flag_F77
=
13745 always_export_symbols_F77
=no
13746 archive_expsym_cmds_F77
=
13747 export_dynamic_flag_spec_F77
=
13748 hardcode_direct_F77
=no
13749 hardcode_libdir_flag_spec_F77
=
13750 hardcode_libdir_flag_spec_ld_F77
=
13751 hardcode_libdir_separator_F77
=
13752 hardcode_minus_L_F77
=no
13753 hardcode_automatic_F77
=no
13755 module_expsym_cmds_F77
=
13756 link_all_deplibs_F77
=unknown
13757 old_archive_cmds_F77
=$old_archive_cmds
13758 no_undefined_flag_F77
=
13759 whole_archive_flag_spec_F77
=
13760 enable_shared_with_static_runtimes_F77
=no
13762 # Source file extension for f77 test sources.
13765 # Object file extension for compiled f77 test sources.
13769 # Code to be used in simple compile tests
13770 lt_simple_compile_test_code
="\
13776 # Code to be used in simple link tests
13777 lt_simple_link_test_code
="\
13782 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13784 # If no C compiler was specified, use CC.
13787 # If no C compiler flags were specified, use CFLAGS.
13788 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13790 # Allow CC to be a program name with arguments.
13794 # save warnings/boilerplate of simple test code
13795 ac_outfile
=conftest.
$ac_objext
13796 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13797 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13798 _lt_compiler_boilerplate
=`cat conftest.err`
13801 ac_outfile
=conftest.
$ac_objext
13802 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13803 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13804 _lt_linker_boilerplate
=`cat conftest.err`
13808 # Allow CC to be a program name with arguments.
13813 for cc_temp
in $compiler""; do
13815 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13816 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13821 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13824 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13825 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13826 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13827 echo "${ECHO_T}$can_build_shared" >&6; }
13829 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13830 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13831 test "$can_build_shared" = "no" && enable_shared
=no
13833 # On AIX, shared libraries and static libraries use the same namespace, and
13834 # are all built from PIC.
13837 test "$enable_shared" = yes && enable_static
=no
13838 if test -n "$RANLIB"; then
13839 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13840 postinstall_cmds
='$RANLIB $lib'
13844 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13845 test "$enable_shared" = yes && enable_static
=no
13849 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13850 echo "${ECHO_T}$enable_shared" >&6; }
13852 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13853 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13854 # Make sure either enable_shared or enable_static is yes.
13855 test "$enable_shared" = yes || enable_static
=yes
13856 { echo "$as_me:$LINENO: result: $enable_static" >&5
13857 echo "${ECHO_T}$enable_static" >&6; }
13862 lt_prog_compiler_wl_F77
=
13863 lt_prog_compiler_pic_F77
=
13864 lt_prog_compiler_static_F77
=
13866 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13867 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13869 if test "$GCC" = yes; then
13870 lt_prog_compiler_wl_F77
='-Wl,'
13871 lt_prog_compiler_static_F77
='-static'
13875 # All AIX code is PIC.
13876 if test "$host_cpu" = ia64
; then
13877 # AIX 5 now supports IA64 processor
13878 lt_prog_compiler_static_F77
='-Bstatic'
13883 # FIXME: we need at least 68020 code to build shared libraries, but
13884 # adding the `-m68020' flag to GCC prevents building anything better,
13886 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13889 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13890 # PIC is the default for these OSes.
13893 mingw
* | cygwin
* | pw32
* | os2
*)
13894 # This hack is so that the source file can tell whether it is being
13895 # built for inclusion in a dll (and should export symbols for example).
13896 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13897 # (--disable-auto-import) libraries
13898 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13901 darwin
* | rhapsody
*)
13902 # PIC is the default on this platform
13903 # Common symbols not allowed in MH_DYLIB files
13904 lt_prog_compiler_pic_F77
='-fno-common'
13908 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13909 # Instead, we relocate shared libraries at runtime.
13913 # Just because we use GCC doesn't mean we suddenly get shared libraries
13914 # on systems that don't support them.
13915 lt_prog_compiler_can_build_shared_F77
=no
13920 if test -d /usr
/nec
; then
13921 lt_prog_compiler_pic_F77
=-Kconform_pic
13926 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13927 # not for PA HP-UX.
13933 lt_prog_compiler_pic_F77
='-fPIC'
13939 lt_prog_compiler_pic_F77
='-fPIC'
13943 # PORTME Check for flag to pass linker flags through the system compiler.
13946 lt_prog_compiler_wl_F77
='-Wl,'
13947 if test "$host_cpu" = ia64
; then
13948 # AIX 5 now supports IA64 processor
13949 lt_prog_compiler_static_F77
='-Bstatic'
13951 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13955 # PIC is the default on this platform
13956 # Common symbols not allowed in MH_DYLIB files
13957 case $cc_basename in
13959 lt_prog_compiler_pic_F77
='-qnocommon'
13960 lt_prog_compiler_wl_F77
='-Wl,'
13965 mingw
* | cygwin
* | pw32
* | os2
*)
13966 # This hack is so that the source file can tell whether it is being
13967 # built for inclusion in a dll (and should export symbols for example).
13968 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13971 hpux9
* | hpux10
* | hpux11
*)
13972 lt_prog_compiler_wl_F77
='-Wl,'
13973 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13974 # not for PA HP-UX.
13980 lt_prog_compiler_pic_F77
='+Z'
13983 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13984 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13987 irix5
* | irix6
* | nonstopux
*)
13988 lt_prog_compiler_wl_F77
='-Wl,'
13989 # PIC (with -KPIC) is the default.
13990 lt_prog_compiler_static_F77
='-non_shared'
13994 lt_prog_compiler_pic_F77
='-KPIC'
13995 lt_prog_compiler_static_F77
='-Bstatic'
13998 linux
* | k
*bsd
*-gnu)
13999 case $cc_basename in
14001 lt_prog_compiler_wl_F77
='-Wl,'
14002 lt_prog_compiler_pic_F77
='-KPIC'
14003 lt_prog_compiler_static_F77
='-static'
14005 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14006 # Portland Group compilers (*not* the Pentium gcc compiler,
14007 # which looks to be a dead project)
14008 lt_prog_compiler_wl_F77
='-Wl,'
14009 lt_prog_compiler_pic_F77
='-fpic'
14010 lt_prog_compiler_static_F77
='-Bstatic'
14013 lt_prog_compiler_wl_F77
='-Wl,'
14014 # All Alpha code is PIC.
14015 lt_prog_compiler_static_F77
='-non_shared'
14018 case `$CC -V 2>&1 | sed 5q` in
14021 lt_prog_compiler_pic_F77
='-KPIC'
14022 lt_prog_compiler_static_F77
='-Bstatic'
14023 lt_prog_compiler_wl_F77
='-Wl,'
14026 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14027 lt_prog_compiler_pic_F77
='-KPIC'
14028 lt_prog_compiler_static_F77
='-Bstatic'
14029 lt_prog_compiler_wl_F77
=''
14036 osf3
* | osf4
* | osf5
*)
14037 lt_prog_compiler_wl_F77
='-Wl,'
14038 # All OSF/1 code is PIC.
14039 lt_prog_compiler_static_F77
='-non_shared'
14043 lt_prog_compiler_static_F77
='-non_shared'
14047 lt_prog_compiler_pic_F77
='-KPIC'
14048 lt_prog_compiler_static_F77
='-Bstatic'
14049 case $cc_basename in
14050 f77
* | f90
* | f95
*)
14051 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14053 lt_prog_compiler_wl_F77
='-Wl,';;
14058 lt_prog_compiler_wl_F77
='-Qoption ld '
14059 lt_prog_compiler_pic_F77
='-PIC'
14060 lt_prog_compiler_static_F77
='-Bstatic'
14063 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14064 lt_prog_compiler_wl_F77
='-Wl,'
14065 lt_prog_compiler_pic_F77
='-KPIC'
14066 lt_prog_compiler_static_F77
='-Bstatic'
14070 if test -d /usr
/nec
;then
14071 lt_prog_compiler_pic_F77
='-Kconform_pic'
14072 lt_prog_compiler_static_F77
='-Bstatic'
14076 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14077 lt_prog_compiler_wl_F77
='-Wl,'
14078 lt_prog_compiler_pic_F77
='-KPIC'
14079 lt_prog_compiler_static_F77
='-Bstatic'
14083 lt_prog_compiler_wl_F77
='-Wl,'
14084 lt_prog_compiler_can_build_shared_F77
=no
14088 lt_prog_compiler_pic_F77
='-pic'
14089 lt_prog_compiler_static_F77
='-Bstatic'
14093 lt_prog_compiler_can_build_shared_F77
=no
14098 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14099 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14102 # Check to make sure the PIC flag actually works.
14104 if test -n "$lt_prog_compiler_pic_F77"; then
14106 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14107 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14108 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 lt_prog_compiler_pic_works_F77
=no
14112 ac_outfile
=conftest.
$ac_objext
14113 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14114 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14115 # Insert the option either (1) after the last *FLAGS variable, or
14116 # (2) before a word containing "conftest.", or (3) at the end.
14117 # Note that $ac_compile itself does not contain backslashes and begins
14118 # with a dollar sign (not a hyphen), so the echo should work correctly.
14119 # The option is referenced via a variable to avoid confusing sed.
14120 lt_compile
=`echo "$ac_compile" | $SED \
14121 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14123 -e 's:$: $lt_compiler_flag:'`
14124 (eval echo "\"\$as_me:14124: $lt_compile\"" >&5)
14125 (eval "$lt_compile" 2>conftest.err
)
14127 cat conftest.err
>&5
14128 echo "$as_me:14128: \$? = $ac_status" >&5
14129 if (exit $ac_status) && test -s "$ac_outfile"; then
14130 # The compiler can only warn and ignore the option if not recognized
14131 # So say no if there are warnings other than the usual output.
14132 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14133 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14134 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14135 lt_prog_compiler_pic_works_F77
=yes
14141 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14142 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14144 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14145 case $lt_prog_compiler_pic_F77 in
14147 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14150 lt_prog_compiler_pic_F77
=
14151 lt_prog_compiler_can_build_shared_F77
=no
14156 # For platforms which do not support PIC, -DPIC is meaningless:
14158 lt_prog_compiler_pic_F77
=
14161 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14166 # Check to make sure the static flag actually works.
14168 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14169 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14170 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14171 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 lt_prog_compiler_static_works_F77
=no
14175 save_LDFLAGS
="$LDFLAGS"
14176 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14177 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14178 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14179 # The linker can only warn and ignore the option if not recognized
14180 # So say no if there are warnings
14181 if test -s conftest.err
; then
14182 # Append any errors to the config.log.
14183 cat conftest.err
1>&5
14184 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14185 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14186 if diff conftest.exp conftest.er2
>/dev
/null
; then
14187 lt_prog_compiler_static_works_F77
=yes
14190 lt_prog_compiler_static_works_F77
=yes
14194 LDFLAGS
="$save_LDFLAGS"
14197 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14198 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14200 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14203 lt_prog_compiler_static_F77
=
14207 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14208 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14209 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 lt_cv_prog_compiler_c_o_F77
=no
14213 $rm -r conftest
2>/dev
/null
14217 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14219 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14220 # Insert the option either (1) after the last *FLAGS variable, or
14221 # (2) before a word containing "conftest.", or (3) at the end.
14222 # Note that $ac_compile itself does not contain backslashes and begins
14223 # with a dollar sign (not a hyphen), so the echo should work correctly.
14224 lt_compile
=`echo "$ac_compile" | $SED \
14225 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14226 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14227 -e 's:$: $lt_compiler_flag:'`
14228 (eval echo "\"\$as_me:14228: $lt_compile\"" >&5)
14229 (eval "$lt_compile" 2>out
/conftest.err
)
14231 cat out
/conftest.err
>&5
14232 echo "$as_me:14232: \$? = $ac_status" >&5
14233 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14235 # The compiler can only warn and ignore the option if not recognized
14236 # So say no if there are warnings
14237 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14238 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14239 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14240 lt_cv_prog_compiler_c_o_F77
=yes
14245 # SGI C++ compiler will create directory out/ii_files/ for
14246 # template instantiation
14247 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14248 $rm out
/* && rmdir out
14254 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14255 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14258 hard_links
="nottested"
14259 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14260 # do not overwrite the value of need_locks provided by the user
14261 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14262 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14265 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14267 ln conftest.a conftest.b
2>&5 || hard_links
=no
14268 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14269 { echo "$as_me:$LINENO: result: $hard_links" >&5
14270 echo "${ECHO_T}$hard_links" >&6; }
14271 if test "$hard_links" = no
; then
14272 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14273 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14280 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14281 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14284 allow_undefined_flag_F77
=
14285 enable_shared_with_static_runtimes_F77
=no
14287 archive_expsym_cmds_F77
=
14288 old_archive_From_new_cmds_F77
=
14289 old_archive_from_expsyms_cmds_F77
=
14290 export_dynamic_flag_spec_F77
=
14291 whole_archive_flag_spec_F77
=
14292 thread_safe_flag_spec_F77
=
14293 hardcode_libdir_flag_spec_F77
=
14294 hardcode_libdir_flag_spec_ld_F77
=
14295 hardcode_libdir_separator_F77
=
14296 hardcode_direct_F77
=no
14297 hardcode_minus_L_F77
=no
14298 hardcode_shlibpath_var_F77
=unsupported
14299 link_all_deplibs_F77
=unknown
14300 hardcode_automatic_F77
=no
14302 module_expsym_cmds_F77
=
14303 always_export_symbols_F77
=no
14304 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14305 # include_expsyms should be a list of space-separated symbols to be *always*
14306 # included in the symbol list
14307 include_expsyms_F77
=
14308 # exclude_expsyms can be an extended regexp of symbols to exclude
14309 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14310 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14311 # as well as any symbol that contains `d'.
14312 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14313 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14314 # platforms (ab)use it in PIC code, but their linkers get confused if
14315 # the symbol is explicitly referenced. Since portable code cannot
14316 # rely on this symbol name, it's probably fine to never include it in
14317 # preloaded symbol tables.
14318 extract_expsyms_cmds
=
14319 # Just being paranoid about ensuring that cc_basename is set.
14320 for cc_temp
in $compiler""; do
14322 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14323 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14328 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14331 cygwin
* | mingw
* | pw32
*)
14332 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14333 # When not using gcc, we currently assume that we are using
14334 # Microsoft Visual C++.
14335 if test "$GCC" != yes; then
14340 # we just hope/assume this is gcc and not c89 (= MSVC++)
14349 if test "$with_gnu_ld" = yes; then
14350 # If archive_cmds runs LD, not CC, wlarc should be empty
14353 # Set some defaults for GNU ld with shared library support. These
14354 # are reset later if shared libraries are not supported. Putting them
14355 # here allows them to be overridden if necessary.
14356 runpath_var
=LD_RUN_PATH
14357 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14358 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14359 # ancient GNU ld didn't support --whole-archive et. al.
14360 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14361 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14363 whole_archive_flag_spec_F77
=
14365 supports_anon_versioning
=no
14366 case `$LD -v 2>/dev/null` in
14367 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14368 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14369 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14370 *\
2.11.
*) ;; # other 2.11 versions
14371 *) supports_anon_versioning
=yes ;;
14374 # See if GNU ld supports shared libraries.
14376 aix3
* | aix4
* | aix5
*)
14377 # On AIX/PPC, the GNU linker is very broken
14378 if test "$host_cpu" != ia64
; then
14382 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14383 *** to be unable to reliably create shared libraries on AIX.
14384 *** Therefore, libtool is disabling shared libraries support. If you
14385 *** really care for shared libraries, you may want to modify your PATH
14386 *** so that a non-GNU linker is found, and then restart.
14393 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)'
14394 hardcode_libdir_flag_spec_F77
='-L$libdir'
14395 hardcode_minus_L_F77
=yes
14397 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14398 # that the semantics of dynamic libraries on AmigaOS, at least up
14399 # to version 4, is to share data among multiple programs linked
14400 # with the same dynamic library. Since this doesn't match the
14401 # behavior of shared libraries on other platforms, we can't use
14407 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14408 allow_undefined_flag_F77
=unsupported
14409 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14410 # support --undefined. This deserves some investigation. FIXME
14411 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14417 cygwin
* | mingw
* | pw32
*)
14418 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14419 # as there is no search path for DLLs.
14420 hardcode_libdir_flag_spec_F77
='-L$libdir'
14421 allow_undefined_flag_F77
=unsupported
14422 always_export_symbols_F77
=no
14423 enable_shared_with_static_runtimes_F77
=yes
14424 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14426 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14427 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14428 # If the export-symbols file already is a .def file (1st line
14429 # is EXPORTS), use it as is; otherwise, prepend...
14430 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14431 cp $export_symbols $output_objdir/$soname.def;
14433 echo EXPORTS > $output_objdir/$soname.def;
14434 cat $export_symbols >> $output_objdir/$soname.def;
14436 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14443 hardcode_direct_F77
=no
14444 hardcode_shlibpath_var_F77
=no
14445 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14446 export_dynamic_flag_spec_F77
='${wl}-E'
14447 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14448 # Instead, shared libraries are loaded at an image base (0x10000000 by
14449 # default) and relocated if they conflict, which is a slow very memory
14450 # consuming and fragmenting process. To avoid this, we pick a random,
14451 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14452 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14453 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'
14454 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'
14457 gnu
* | linux
* | k
*bsd
*-gnu)
14458 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14460 case $cc_basename,$host_cpu in
14461 pgcc
*) # Portland Group C compiler
14462 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'
14463 tmp_addflag
=' $pic_flag'
14465 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14466 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'
14467 tmp_addflag
=' $pic_flag -Mnomain' ;;
14468 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14469 tmp_addflag
=' -i_dynamic' ;;
14470 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14471 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14472 ifc
* | ifort
*) # Intel Fortran compiler
14473 tmp_addflag
=' -nofor_main' ;;
14475 case `$CC -V 2>&1 | sed 5q` in
14476 *Sun\ C
*) # Sun C 5.9
14477 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'
14478 tmp_sharedflag
='-G' ;;
14479 *Sun\ F
*) # Sun Fortran 8.3
14480 tmp_sharedflag
='-G' ;;
14482 tmp_sharedflag
='-shared' ;;
14484 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14486 if test $supports_anon_versioning = yes; then
14487 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14488 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14489 $echo "local: *; };" >> $output_objdir/$libname.ver~
14490 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14498 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14499 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14502 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14503 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14508 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14512 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14513 *** create shared libraries on Solaris systems. Therefore, libtool
14514 *** is disabling shared libraries support. We urge you to upgrade GNU
14515 *** binutils to release 2.9.1 or newer. Another option is to modify
14516 *** your PATH or compiler configuration so that the native linker is
14517 *** used, and then restart.
14520 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14521 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14522 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14528 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14529 case `$LD -v 2>&1` in
14530 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14534 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14535 *** reliably create shared libraries on SCO systems. Therefore, libtool
14536 *** is disabling shared libraries support. We urge you to upgrade GNU
14537 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14538 *** your PATH or compiler configuration so that the native linker is
14539 *** used, and then restart.
14544 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14545 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14546 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14547 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14556 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14558 hardcode_direct_F77
=yes
14559 hardcode_shlibpath_var_F77
=no
14563 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14564 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14565 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14572 if test "$ld_shlibs_F77" = no
; then
14574 hardcode_libdir_flag_spec_F77
=
14575 export_dynamic_flag_spec_F77
=
14576 whole_archive_flag_spec_F77
=
14579 # PORTME fill in a description of your system's linker (not GNU ld)
14582 allow_undefined_flag_F77
=unsupported
14583 always_export_symbols_F77
=yes
14584 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14585 # Note: this linker hardcodes the directories in LIBPATH if there
14586 # are no directories specified by -L.
14587 hardcode_minus_L_F77
=yes
14588 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14589 # Neither direct hardcoding nor static linking is supported with a
14591 hardcode_direct_F77
=unsupported
14596 if test "$host_cpu" = ia64
; then
14597 # On IA64, the linker does run time linking by default, so we don't
14598 # have to do anything special.
14599 aix_use_runtimelinking
=no
14600 exp_sym_flag
='-Bexport'
14603 # If we're using GNU nm, then we don't want the "-C" option.
14604 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14605 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14606 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14608 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14610 aix_use_runtimelinking
=no
14612 # Test if we are trying to use run time linking or normal
14613 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14614 # need to do runtime linking.
14615 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14616 for ld_flag
in $LDFLAGS; do
14617 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14618 aix_use_runtimelinking
=yes
14625 exp_sym_flag
='-bexport'
14626 no_entry_flag
='-bnoentry'
14629 # When large executables or shared objects are built, AIX ld can
14630 # have problems creating the table of contents. If linking a library
14631 # or program results in "error TOC overflow" add -mminimal-toc to
14632 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14633 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14635 archive_cmds_F77
=''
14636 hardcode_direct_F77
=yes
14637 hardcode_libdir_separator_F77
=':'
14638 link_all_deplibs_F77
=yes
14640 if test "$GCC" = yes; then
14641 case $host_os in aix4.
[012]|aix4.
[012].
*)
14642 # We only want to do this on AIX 4.2 and lower, the check
14643 # below for broken collect2 doesn't work under 4.3+
14644 collect2name
=`${CC} -print-prog-name=collect2`
14645 if test -f "$collect2name" && \
14646 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14648 # We have reworked collect2
14651 # We have old collect2
14652 hardcode_direct_F77
=unsupported
14653 # It fails to find uninstalled libraries when the uninstalled
14654 # path is not listed in the libpath. Setting hardcode_minus_L
14655 # to unsupported forces relinking
14656 hardcode_minus_L_F77
=yes
14657 hardcode_libdir_flag_spec_F77
='-L$libdir'
14658 hardcode_libdir_separator_F77
=
14662 shared_flag
='-shared'
14663 if test "$aix_use_runtimelinking" = yes; then
14664 shared_flag
="$shared_flag "'${wl}-G'
14668 if test "$host_cpu" = ia64
; then
14669 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14670 # chokes on -Wl,-G. The following line is correct:
14673 if test "$aix_use_runtimelinking" = yes; then
14674 shared_flag
='${wl}-G'
14676 shared_flag
='${wl}-bM:SRE'
14681 # It seems that -bexpall does not export symbols beginning with
14682 # underscore (_), so it is better to generate a list of symbols to export.
14683 always_export_symbols_F77
=yes
14684 if test "$aix_use_runtimelinking" = yes; then
14685 # Warning - without using the other runtime loading flags (-brtl),
14686 # -berok will link without error, but may produce a broken library.
14687 allow_undefined_flag_F77
='-berok'
14688 # Determine the default libpath from the value encoded in an empty executable.
14689 cat >conftest.
$ac_ext <<_ACEOF
14694 rm -f conftest.
$ac_objext conftest
$ac_exeext
14695 if { (ac_try
="$ac_link"
14696 case "(($ac_try" in
14697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_link") 2>conftest.er1
14703 grep -v '^ *+' conftest.er1 >conftest.err
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_f77_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest$ac_exeext &&
14711 $as_test_x conftest$ac_exeext; then
14713 lt_aix_libpath_sed='
14714 /Import File Strings/,/^$/ {
14720 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14721 # Check for a 64-bit object if we didn't find anything.
14722 if test -z "$aix_libpath"; then
14723 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14726 echo "$as_me: failed program was:" >&5
14727 sed 's/^/| /' conftest.$ac_ext >&5
14732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14733 conftest$ac_exeext conftest.$ac_ext
14734 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14736 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14737 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"
14739 if test "$host_cpu" = ia64; then
14740 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14741 allow_undefined_flag_F77="-z nodefs"
14742 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"
14744 # Determine the default libpath from the value encoded in an empty executable.
14745 cat >conftest.$ac_ext <<_ACEOF
14750 rm -f conftest.$ac_objext conftest$ac_exeext
14751 if { (ac_try="$ac_link"
14752 case "(($ac_try" in
14753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14754 *) ac_try_echo
=$ac_try;;
14756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14757 (eval "$ac_link") 2>conftest.er1
14759 grep -v '^ *+' conftest.er1
>conftest.err
14761 cat conftest.err
>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); } && {
14764 test -z "$ac_f77_werror_flag" ||
14765 test ! -s conftest.err
14766 } && test -s conftest
$ac_exeext &&
14767 $as_test_x conftest
$ac_exeext; then
14769 lt_aix_libpath_sed
='
14770 /Import File Strings/,/^$/ {
14776 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14777 # Check for a 64-bit object if we didn't find anything.
14778 if test -z "$aix_libpath"; then
14779 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14782 echo "$as_me: failed program was:" >&5
14783 sed 's/^/| /' conftest.
$ac_ext >&5
14788 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14789 conftest
$ac_exeext conftest.
$ac_ext
14790 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14792 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14793 # Warning - without using the other run time loading flags,
14794 # -berok will link without error, but may produce a broken library.
14795 no_undefined_flag_F77
=' ${wl}-bernotok'
14796 allow_undefined_flag_F77
=' ${wl}-berok'
14797 # Exported symbols can be pulled into shared objects from archives
14798 whole_archive_flag_spec_F77
='$convenience'
14799 archive_cmds_need_lc_F77
=yes
14800 # This is similar to how AIX traditionally builds its shared libraries.
14801 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'
14807 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)'
14808 hardcode_libdir_flag_spec_F77
='-L$libdir'
14809 hardcode_minus_L_F77
=yes
14810 # see comment about different semantics on the GNU ld section
14815 export_dynamic_flag_spec_F77
=-rdynamic
14818 cygwin
* | mingw
* | pw32
*)
14819 # When not using gcc, we currently assume that we are using
14820 # Microsoft Visual C++.
14821 # hardcode_libdir_flag_spec is actually meaningless, as there is
14822 # no search path for DLLs.
14823 hardcode_libdir_flag_spec_F77
=' '
14824 allow_undefined_flag_F77
=unsupported
14825 # Tell ltmain to make .lib files, not .a files.
14827 # Tell ltmain to make .dll files, not .so files.
14829 # FIXME: Setting linknames here is a bad hack.
14830 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14831 # The linker will automatically build a .lib file if we build a DLL.
14832 old_archive_From_new_cmds_F77
='true'
14833 # FIXME: Should let the user specify the lib program.
14834 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14835 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14836 enable_shared_with_static_runtimes_F77
=yes
14839 darwin
* | rhapsody
*)
14841 rhapsody
* | darwin1.
[012])
14842 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14845 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14846 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14848 case ${MACOSX_DEPLOYMENT_TARGET} in
14850 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14853 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14859 archive_cmds_need_lc_F77
=no
14860 hardcode_direct_F77
=no
14861 hardcode_automatic_F77
=yes
14862 hardcode_shlibpath_var_F77
=unsupported
14863 whole_archive_flag_spec_F77
=''
14864 link_all_deplibs_F77
=yes
14865 if test "$GCC" = yes ; then
14866 output_verbose_link_cmd
='echo'
14867 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14868 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14869 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14870 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}'
14871 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}'
14873 case $cc_basename in
14875 output_verbose_link_cmd
='echo'
14876 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14877 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14878 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14879 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}'
14880 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}'
14890 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14891 hardcode_libdir_flag_spec_F77
='-L$libdir'
14892 hardcode_shlibpath_var_F77
=no
14899 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14900 # support. Future versions do this automatically, but an explicit c++rt0.o
14901 # does not break anything, and helps significantly (at the cost of a little
14904 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14905 hardcode_libdir_flag_spec_F77
='-R$libdir'
14906 hardcode_direct_F77
=yes
14907 hardcode_shlibpath_var_F77
=no
14910 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14912 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14913 hardcode_direct_F77
=yes
14914 hardcode_minus_L_F77
=yes
14915 hardcode_shlibpath_var_F77
=no
14918 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14919 freebsd
* | dragonfly
*)
14920 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14921 hardcode_libdir_flag_spec_F77
='-R$libdir'
14922 hardcode_direct_F77
=yes
14923 hardcode_shlibpath_var_F77
=no
14927 if test "$GCC" = yes; then
14928 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'
14930 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'
14932 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14933 hardcode_libdir_separator_F77
=:
14934 hardcode_direct_F77
=yes
14936 # hardcode_minus_L: Not really in the search PATH,
14937 # but as the default location of the library.
14938 hardcode_minus_L_F77
=yes
14939 export_dynamic_flag_spec_F77
='${wl}-E'
14943 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14944 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14946 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14948 if test "$with_gnu_ld" = no
; then
14949 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14950 hardcode_libdir_separator_F77
=:
14952 hardcode_direct_F77
=yes
14953 export_dynamic_flag_spec_F77
='${wl}-E'
14955 # hardcode_minus_L: Not really in the search PATH,
14956 # but as the default location of the library.
14957 hardcode_minus_L_F77
=yes
14962 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14965 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14968 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14971 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14977 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14980 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14983 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14987 if test "$with_gnu_ld" = no
; then
14988 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14989 hardcode_libdir_separator_F77
=:
14993 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14994 hardcode_direct_F77
=no
14995 hardcode_shlibpath_var_F77
=no
14998 hardcode_direct_F77
=yes
14999 export_dynamic_flag_spec_F77
='${wl}-E'
15001 # hardcode_minus_L: Not really in the search PATH,
15002 # but as the default location of the library.
15003 hardcode_minus_L_F77
=yes
15009 irix5
* | irix6
* | nonstopux
*)
15010 if test "$GCC" = yes; then
15011 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'
15013 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'
15014 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15016 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15017 hardcode_libdir_separator_F77
=:
15018 link_all_deplibs_F77
=yes
15022 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15023 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15025 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15027 hardcode_libdir_flag_spec_F77
='-R$libdir'
15028 hardcode_direct_F77
=yes
15029 hardcode_shlibpath_var_F77
=no
15033 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15034 hardcode_direct_F77
=yes
15035 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15036 hardcode_libdir_separator_F77
=:
15037 hardcode_shlibpath_var_F77
=no
15041 if test -f /usr
/libexec
/ld.so
; then
15042 hardcode_direct_F77
=yes
15043 hardcode_shlibpath_var_F77
=no
15044 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15045 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15046 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15047 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15048 export_dynamic_flag_spec_F77
='${wl}-E'
15051 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15052 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15053 hardcode_libdir_flag_spec_F77
='-R$libdir'
15056 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15057 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15067 hardcode_libdir_flag_spec_F77
='-L$libdir'
15068 hardcode_minus_L_F77
=yes
15069 allow_undefined_flag_F77
=unsupported
15070 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'
15071 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15075 if test "$GCC" = yes; then
15076 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15077 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'
15079 allow_undefined_flag_F77
=' -expect_unresolved \*'
15080 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'
15082 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15083 hardcode_libdir_separator_F77
=:
15086 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15087 if test "$GCC" = yes; then
15088 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15089 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'
15090 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15092 allow_undefined_flag_F77
=' -expect_unresolved \*'
15093 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'
15094 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~
15095 $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'
15097 # Both c and cxx compiler support -rpath directly
15098 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15100 hardcode_libdir_separator_F77
=:
15104 no_undefined_flag_F77
=' -z text'
15105 if test "$GCC" = yes; then
15107 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15108 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15109 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15112 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15113 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15114 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15116 hardcode_libdir_flag_spec_F77
='-R$libdir'
15117 hardcode_shlibpath_var_F77
=no
15119 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15121 # The compiler driver will combine and reorder linker options,
15122 # but understands `-z linker_flag'. GCC discards it without `$wl',
15123 # but is careful enough not to reorder.
15124 # Supported since Solaris 2.6 (maybe 2.5.1?)
15125 if test "$GCC" = yes; then
15126 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15128 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15132 link_all_deplibs_F77
=yes
15136 if test "x$host_vendor" = xsequent
; then
15137 # Use $CC to link under sequent, because it throws in some extra .o
15138 # files that make .init and .fini sections work.
15139 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15141 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15143 hardcode_libdir_flag_spec_F77
='-L$libdir'
15144 hardcode_direct_F77
=yes
15145 hardcode_minus_L_F77
=yes
15146 hardcode_shlibpath_var_F77
=no
15150 case $host_vendor in
15152 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15153 hardcode_direct_F77
=yes # is this really true???
15156 ## LD is ld it makes a PLAMLIB
15157 ## CC just makes a GrossModule.
15158 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15159 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15160 hardcode_direct_F77
=no
15163 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15164 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15167 runpath_var
='LD_RUN_PATH'
15168 hardcode_shlibpath_var_F77
=no
15172 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15173 hardcode_shlibpath_var_F77
=no
15174 export_dynamic_flag_spec_F77
='-Bexport'
15178 if test -d /usr
/nec
; then
15179 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15180 hardcode_shlibpath_var_F77
=no
15181 runpath_var
=LD_RUN_PATH
15182 hardcode_runpath_var
=yes
15187 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15188 no_undefined_flag_F77
='${wl}-z,text'
15189 archive_cmds_need_lc_F77
=no
15190 hardcode_shlibpath_var_F77
=no
15191 runpath_var
='LD_RUN_PATH'
15193 if test "$GCC" = yes; then
15194 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15195 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15197 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15198 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15202 sysv5
* | sco3.2v5
* | sco5v6
*)
15203 # Note: We can NOT use -z defs as we might desire, because we do not
15204 # link with -lc, and that would cause any symbols used from libc to
15205 # always be unresolved, which means just about no library would
15206 # ever link correctly. If we're not using GNU ld we use -z text
15207 # though, which does catch some bad symbols but isn't as heavy-handed
15209 no_undefined_flag_F77
='${wl}-z,text'
15210 allow_undefined_flag_F77
='${wl}-z,nodefs'
15211 archive_cmds_need_lc_F77
=no
15212 hardcode_shlibpath_var_F77
=no
15213 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15214 hardcode_libdir_separator_F77
=':'
15215 link_all_deplibs_F77
=yes
15216 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15217 runpath_var
='LD_RUN_PATH'
15219 if test "$GCC" = yes; then
15220 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15221 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15223 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15224 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15229 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15230 hardcode_libdir_flag_spec_F77
='-L$libdir'
15231 hardcode_shlibpath_var_F77
=no
15240 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15241 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15242 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15245 # Do we need to explicitly link libc?
15247 case "x$archive_cmds_need_lc_F77" in
15249 # Assume -lc should be added
15250 archive_cmds_need_lc_F77
=yes
15252 if test "$enable_shared" = yes && test "$GCC" = yes; then
15253 case $archive_cmds_F77 in
15255 # FIXME: we may have to deal with multi-command sequences.
15258 # Test whether the compiler implicitly links with -lc since on some
15259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15260 # to ld, don't add -lc before -lgcc.
15261 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15262 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15264 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15267 (eval $ac_compile) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } 2>conftest.err
; then
15273 libobjs
=conftest.
$ac_objext
15275 wl
=$lt_prog_compiler_wl_F77
15276 pic_flag
=$lt_prog_compiler_pic_F77
15282 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15283 allow_undefined_flag_F77
=
15284 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15285 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); }
15290 archive_cmds_need_lc_F77
=no
15292 archive_cmds_need_lc_F77
=yes
15294 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15296 cat conftest.err
1>&5
15299 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15300 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15307 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15308 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15309 library_names_spec
=
15310 libname_spec
='lib$name'
15314 postuninstall_cmds
=
15318 shlibpath_overrides_runpath
=unknown
15320 dynamic_linker
="$host_os ld.so"
15321 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15323 need_lib_prefix
=unknown
15324 hardcode_into_libs
=no
15326 # when you set need_version to no, make sure it does not cause -set_version
15327 # flags to be left without arguments
15328 need_version
=unknown
15333 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15334 shlibpath_var
=LIBPATH
15336 # AIX 3 has no versioning support, so we append a major version to the name.
15337 soname_spec
='${libname}${release}${shared_ext}$major'
15344 hardcode_into_libs
=yes
15345 if test "$host_cpu" = ia64
; then
15346 # AIX 5 supports IA64
15347 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15348 shlibpath_var
=LD_LIBRARY_PATH
15350 # With GCC up to 2.95.x, collect2 would create an import file
15351 # for dependence libraries. The import file would start with
15352 # the line `#! .'. This would cause the generated library to
15353 # depend on `.', always an invalid library. This was fixed in
15354 # development snapshots of GCC prior to 3.0.
15356 aix4 | aix4.
[01] | aix4.
[01].
*)
15357 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15359 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15362 can_build_shared
=no
15366 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15367 # soname into executable. Probably we can add versioning support to
15368 # collect2, so additional links can be useful in future.
15369 if test "$aix_use_runtimelinking" = yes; then
15370 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15371 # instead of lib<name>.a to let people know that these are not
15372 # typical AIX shared libraries.
15373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15375 # We preserve .a as extension for shared libraries through AIX4.2
15376 # and later when we are not doing run time linking.
15377 library_names_spec
='${libname}${release}.a $libname.a'
15378 soname_spec
='${libname}${release}${shared_ext}$major'
15380 shlibpath_var
=LIBPATH
15385 library_names_spec
='$libname.ixlibrary $libname.a'
15386 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15387 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'
15391 library_names_spec
='${libname}${shared_ext}'
15392 dynamic_linker
="$host_os ld.so"
15393 shlibpath_var
=LIBRARY_PATH
15399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15400 soname_spec
='${libname}${release}${shared_ext}$major'
15401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15402 shlibpath_var
=LD_LIBRARY_PATH
15403 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15404 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15405 # the default ld.so.conf also contains /usr/contrib/lib and
15406 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15407 # libtool to hard-code these into programs
15410 cygwin
* | mingw
* | pw32
*)
15411 version_type
=windows
15416 case $GCC,$host_os in
15417 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15418 library_names_spec
='$libname.dll.a'
15419 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15420 postinstall_cmds
='base_file=`basename \${file}`~
15421 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15422 dldir=$destdir/`dirname \$dlpath`~
15423 test -d \$dldir || mkdir -p \$dldir~
15424 $install_prog $dir/$dlname \$dldir/$dlname~
15425 chmod a+x \$dldir/$dlname'
15426 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15427 dlpath=$dir/\$dldll~
15429 shlibpath_overrides_runpath
=yes
15433 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15434 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15435 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15438 # MinGW DLLs use traditional 'lib' prefix
15439 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15440 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15441 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15442 # It is most probably a Windows format PATH printed by
15443 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15444 # path with ; separators, and with drive letters. We can handle the
15445 # drive letters (cygwin fileutils understands them), so leave them,
15446 # especially as we might pass files found there to a mingw objdump,
15447 # which wouldn't understand a cygwinified path. Ahh.
15448 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15450 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15454 # pw32 DLLs use 'pw' prefix rather than 'lib'
15455 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15461 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15464 dynamic_linker
='Win32 ld.exe'
15465 # FIXME: first we should search . and the directory the executable is in
15469 darwin
* | rhapsody
*)
15470 dynamic_linker
="$host_os dyld"
15471 version_type
=darwin
15474 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15475 soname_spec
='${libname}${release}${major}$shared_ext'
15476 shlibpath_overrides_runpath
=yes
15477 shlibpath_var
=DYLD_LIBRARY_PATH
15478 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15480 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15488 soname_spec
='${libname}${release}${shared_ext}$major'
15489 shlibpath_var
=LD_LIBRARY_PATH
15496 freebsd
* | dragonfly
*)
15497 # DragonFly does not have aout. When/if they implement a new
15498 # versioning mechanism, adjust this.
15499 if test -x /usr
/bin
/objformat
; then
15500 objformat
=`/usr/bin/objformat`
15503 freebsd
[123]*) objformat
=aout
;;
15504 *) objformat
=elf
;;
15507 version_type
=freebsd-
$objformat
15508 case $version_type in
15510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15515 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15519 shlibpath_var
=LD_LIBRARY_PATH
15522 shlibpath_overrides_runpath
=yes
15524 freebsd3.
[01]* | freebsdelf3.
[01]*)
15525 shlibpath_overrides_runpath
=yes
15526 hardcode_into_libs
=yes
15528 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15529 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15530 shlibpath_overrides_runpath
=no
15531 hardcode_into_libs
=yes
15533 *) # from 4.6 on, and DragonFly
15534 shlibpath_overrides_runpath
=yes
15535 hardcode_into_libs
=yes
15544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15545 soname_spec
='${libname}${release}${shared_ext}$major'
15546 shlibpath_var
=LD_LIBRARY_PATH
15547 hardcode_into_libs
=yes
15550 hpux9
* | hpux10
* | hpux11
*)
15551 # Give a soname corresponding to the major version so that dld.sl refuses to
15552 # link against other versions.
15559 hardcode_into_libs
=yes
15560 dynamic_linker
="$host_os dld.so"
15561 shlibpath_var
=LD_LIBRARY_PATH
15562 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15564 soname_spec
='${libname}${release}${shared_ext}$major'
15565 if test "X$HPUX_IA64_MODE" = X32
; then
15566 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15568 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15570 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15574 hardcode_into_libs
=yes
15575 dynamic_linker
="$host_os dld.sl"
15576 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15577 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15579 soname_spec
='${libname}${release}${shared_ext}$major'
15580 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15581 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15585 dynamic_linker
="$host_os dld.sl"
15586 shlibpath_var
=SHLIB_PATH
15587 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15589 soname_spec
='${libname}${release}${shared_ext}$major'
15592 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15593 postinstall_cmds
='chmod 555 $lib'
15600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15601 soname_spec
='${libname}${release}${shared_ext}$major'
15602 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15603 shlibpath_var
=LD_LIBRARY_PATH
15604 shlibpath_overrides_runpath
=no
15605 hardcode_into_libs
=yes
15608 irix5
* | irix6
* | nonstopux
*)
15610 nonstopux
*) version_type
=nonstopux
;;
15612 if test "$lt_cv_prog_gnu_ld" = yes; then
15620 soname_spec
='${libname}${release}${shared_ext}$major'
15621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15623 irix5
* | nonstopux
*)
15624 libsuff
= shlibsuff
=
15627 case $LD in # libtool.m4 will add one of these switches to LD
15628 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15629 libsuff
= shlibsuff
= libmagic
=32-bit;;
15630 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15631 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15632 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15633 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15634 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15638 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15639 shlibpath_overrides_runpath
=no
15640 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15641 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15642 hardcode_into_libs
=yes
15645 # No shared lib support for Linux oldld, aout, or coff.
15646 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15650 # This must be Linux ELF.
15651 linux
* | k
*bsd
*-gnu)
15655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15656 soname_spec
='${libname}${release}${shared_ext}$major'
15657 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15658 shlibpath_var
=LD_LIBRARY_PATH
15659 shlibpath_overrides_runpath
=no
15660 # This implies no fast_install, which is unacceptable.
15661 # Some rework will be needed to allow for fast_install
15662 # before this can be enabled.
15663 hardcode_into_libs
=yes
15664 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15665 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15667 # Append ld.so.conf contents to the search path
15668 if test -f /etc
/ld.so.conf
; then
15669 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' ' '`
15670 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15673 # We used to test for /lib/ld.so.1 and disable shared libraries on
15674 # powerpc, because MkLinux only supported shared libraries with the
15675 # GNU dynamic linker. Since this was broken with cross compilers,
15676 # most powerpc-linux boxes support dynamic linking these days and
15677 # people can always --disable-shared, the test was removed, and we
15678 # assume the GNU/Linux dynamic linker is in use.
15679 dynamic_linker
='GNU/Linux ld.so'
15686 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15688 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15689 dynamic_linker
='NetBSD (a.out) ld.so'
15691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15692 soname_spec
='${libname}${release}${shared_ext}$major'
15693 dynamic_linker
='NetBSD ld.elf_so'
15695 shlibpath_var
=LD_LIBRARY_PATH
15696 shlibpath_overrides_runpath
=yes
15697 hardcode_into_libs
=yes
15702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15703 shlibpath_var
=LD_LIBRARY_PATH
15704 shlibpath_overrides_runpath
=yes
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15712 soname_spec
='${libname}${release}${shared_ext}$major'
15713 shlibpath_var
=LD_LIBRARY_PATH
15714 shlibpath_overrides_runpath
=yes
15719 sys_lib_dlsearch_path_spec
="/usr/lib"
15721 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15723 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15724 *) need_version
=no
;;
15726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15727 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15728 shlibpath_var
=LD_LIBRARY_PATH
15729 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15731 openbsd2.
[89] | openbsd2.
[89].
*)
15732 shlibpath_overrides_runpath
=no
15735 shlibpath_overrides_runpath
=yes
15739 shlibpath_overrides_runpath
=yes
15744 libname_spec
='$name'
15747 library_names_spec
='$libname${shared_ext} $libname.a'
15748 dynamic_linker
='OS/2 ld.exe'
15749 shlibpath_var
=LIBPATH
15752 osf3
* | osf4
* | osf5
*)
15756 soname_spec
='${libname}${release}${shared_ext}$major'
15757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15758 shlibpath_var
=LD_LIBRARY_PATH
15759 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15760 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15772 soname_spec
='${libname}${release}${shared_ext}$major'
15773 shlibpath_var
=LD_LIBRARY_PATH
15774 shlibpath_overrides_runpath
=yes
15775 hardcode_into_libs
=yes
15776 # ldd complains unless libraries are executable
15777 postinstall_cmds
='chmod +x $lib'
15782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15783 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15784 shlibpath_var
=LD_LIBRARY_PATH
15785 shlibpath_overrides_runpath
=yes
15786 if test "$with_gnu_ld" = yes; then
15794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15795 soname_spec
='${libname}${release}${shared_ext}$major'
15796 shlibpath_var
=LD_LIBRARY_PATH
15797 case $host_vendor in
15799 shlibpath_overrides_runpath
=no
15801 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15802 runpath_var
=LD_RUN_PATH
15810 shlibpath_overrides_runpath
=no
15811 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15817 if test -d /usr
/nec
;then
15819 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15820 soname_spec
='$libname${shared_ext}.$major'
15821 shlibpath_var
=LD_LIBRARY_PATH
15825 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15826 version_type
=freebsd-elf
15829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15830 soname_spec
='${libname}${release}${shared_ext}$major'
15831 shlibpath_var
=LD_LIBRARY_PATH
15832 hardcode_into_libs
=yes
15833 if test "$with_gnu_ld" = yes; then
15834 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15835 shlibpath_overrides_runpath
=no
15837 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15838 shlibpath_overrides_runpath
=yes
15841 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15845 sys_lib_dlsearch_path_spec
='/usr/lib'
15850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15851 soname_spec
='${libname}${release}${shared_ext}$major'
15852 shlibpath_var
=LD_LIBRARY_PATH
15859 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15860 echo "${ECHO_T}$dynamic_linker" >&6; }
15861 test "$dynamic_linker" = no
&& can_build_shared
=no
15863 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15864 if test "$GCC" = yes; then
15865 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15868 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15869 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15870 hardcode_action_F77
=
15871 if test -n "$hardcode_libdir_flag_spec_F77" || \
15872 test -n "$runpath_var_F77" || \
15873 test "X$hardcode_automatic_F77" = "Xyes" ; then
15875 # We can hardcode non-existant directories.
15876 if test "$hardcode_direct_F77" != no
&&
15877 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15878 # have to relink, otherwise we might link with an installed library
15879 # when we should be linking with a yet-to-be-installed one
15880 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15881 test "$hardcode_minus_L_F77" != no
; then
15882 # Linking always hardcodes the temporary library directory.
15883 hardcode_action_F77
=relink
15885 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15886 hardcode_action_F77
=immediate
15889 # We cannot hardcode anything, or else we can only hardcode existing
15891 hardcode_action_F77
=unsupported
15893 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15894 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15896 if test "$hardcode_action_F77" = relink
; then
15897 # Fast installation is not supported
15898 enable_fast_install
=no
15899 elif test "$shlibpath_overrides_runpath" = yes ||
15900 test "$enable_shared" = no
; then
15901 # Fast installation is not necessary
15902 enable_fast_install
=needless
15906 # The else clause should only fire when bootstrapping the
15907 # libtool distribution, otherwise you forgot to ship ltmain.sh
15908 # with your package, and you will get complaints that there are
15909 # no rules to generate ltmain.sh.
15910 if test -f "$ltmain"; then
15911 # See if we are running on zsh, and set the options which allow our commands through
15912 # without removal of \ escapes.
15913 if test -n "${ZSH_VERSION+set}" ; then
15914 setopt NO_GLOB_SUBST
15916 # Now quote all the things that may contain metacharacters while being
15917 # careful not to overquote the AC_SUBSTed values. We take copies of the
15918 # variables and quote the copies for generation of the libtool script.
15919 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15921 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15922 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15923 deplibs_check_method reload_flag reload_cmds need_locks \
15924 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15925 lt_cv_sys_global_symbol_to_c_name_address \
15926 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15927 old_postinstall_cmds old_postuninstall_cmds \
15931 lt_prog_compiler_wl_F77 \
15932 lt_prog_compiler_pic_F77 \
15933 lt_prog_compiler_static_F77 \
15934 lt_prog_compiler_no_builtin_flag_F77 \
15935 export_dynamic_flag_spec_F77 \
15936 thread_safe_flag_spec_F77 \
15937 whole_archive_flag_spec_F77 \
15938 enable_shared_with_static_runtimes_F77 \
15939 old_archive_cmds_F77 \
15940 old_archive_from_new_cmds_F77 \
15941 predep_objects_F77 \
15942 postdep_objects_F77 \
15945 compiler_lib_search_path_F77 \
15947 archive_expsym_cmds_F77 \
15948 postinstall_cmds_F77 \
15949 postuninstall_cmds_F77 \
15950 old_archive_from_expsyms_cmds_F77 \
15951 allow_undefined_flag_F77 \
15952 no_undefined_flag_F77 \
15953 export_symbols_cmds_F77 \
15954 hardcode_libdir_flag_spec_F77 \
15955 hardcode_libdir_flag_spec_ld_F77 \
15956 hardcode_libdir_separator_F77 \
15957 hardcode_automatic_F77 \
15959 module_expsym_cmds_F77 \
15960 lt_cv_prog_compiler_c_o_F77 \
15961 fix_srcfile_path_F77 \
15962 exclude_expsyms_F77 \
15963 include_expsyms_F77
; do
15966 old_archive_cmds_F77 | \
15967 old_archive_from_new_cmds_F77 | \
15968 archive_cmds_F77 | \
15969 archive_expsym_cmds_F77 | \
15970 module_cmds_F77 | \
15971 module_expsym_cmds_F77 | \
15972 old_archive_from_expsyms_cmds_F77 | \
15973 export_symbols_cmds_F77 | \
15974 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15975 postinstall_cmds | postuninstall_cmds | \
15976 old_postinstall_cmds | old_postuninstall_cmds | \
15977 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15978 # Double-quote double-evaled strings.
15979 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15982 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15988 *'\$0 --fallback-echo"')
15989 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15995 cat <<__EOF__ >> "$cfgfile"
15996 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15998 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16000 # Shell to use when invoking shell scripts.
16003 # Whether or not to build shared libraries.
16004 build_libtool_libs=$enable_shared
16006 # Whether or not to build static libraries.
16007 build_old_libs=$enable_static
16009 # Whether or not to add -lc for building shared libraries.
16010 build_libtool_need_lc=$archive_cmds_need_lc_F77
16012 # Whether or not to disallow shared libs when runtime libs are static
16013 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16015 # Whether or not to optimize for fast installation.
16016 fast_install=$enable_fast_install
16019 host_alias=$host_alias
16023 # The build system.
16024 build_alias=$build_alias
16028 # An echo program that does not interpret backslashes.
16033 AR_FLAGS=$lt_AR_FLAGS
16038 # LTCC compiler flags.
16039 LTCFLAGS=$lt_LTCFLAGS
16041 # A language-specific compiler.
16042 CC=$lt_compiler_F77
16044 # Is the compiler the GNU C compiler?
16050 # The linker used to build libraries.
16053 # Whether we need hard or soft links.
16056 # A BSD-compatible nm program.
16059 # A symbol stripping program
16062 # Used to examine libraries when file_magic_cmd begins "file"
16063 MAGIC_CMD=$MAGIC_CMD
16065 # Used on cygwin: DLL creation program.
16068 # Used on cygwin: object dumper.
16071 # Used on cygwin: assembler.
16074 # The name of the directory that contains temporary libtool files.
16077 # How to create reloadable object files.
16078 reload_flag=$lt_reload_flag
16079 reload_cmds=$lt_reload_cmds
16081 # How to pass a linker flag through the compiler.
16082 wl=$lt_lt_prog_compiler_wl_F77
16084 # Object file suffix (normally "o").
16085 objext="$ac_objext"
16087 # Old archive suffix (normally "a").
16090 # Shared library suffix (normally ".so").
16091 shrext_cmds='$shrext_cmds'
16093 # Executable file suffix (normally "").
16096 # Additional compiler flags for building library objects.
16097 pic_flag=$lt_lt_prog_compiler_pic_F77
16100 # What is the maximum length of a command?
16101 max_cmd_len=$lt_cv_sys_max_cmd_len
16103 # Does compiler simultaneously support -c and -o options?
16104 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16106 # Must we lock files when doing compilation?
16107 need_locks=$lt_need_locks
16109 # Do we need the lib prefix for modules?
16110 need_lib_prefix=$need_lib_prefix
16112 # Do we need a version for libraries?
16113 need_version=$need_version
16115 # Whether dlopen is supported.
16116 dlopen_support=$enable_dlopen
16118 # Whether dlopen of programs is supported.
16119 dlopen_self=$enable_dlopen_self
16121 # Whether dlopen of statically linked programs is supported.
16122 dlopen_self_static=$enable_dlopen_self_static
16124 # Compiler flag to prevent dynamic linking.
16125 link_static_flag=$lt_lt_prog_compiler_static_F77
16127 # Compiler flag to turn off builtin functions.
16128 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16130 # Compiler flag to allow reflexive dlopens.
16131 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16133 # Compiler flag to generate shared objects directly from archives.
16134 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16136 # Compiler flag to generate thread-safe objects.
16137 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16139 # Library versioning type.
16140 version_type=$version_type
16142 # Format of library name prefix.
16143 libname_spec=$lt_libname_spec
16145 # List of archive names. First name is the real one, the rest are links.
16146 # The last name is the one that the linker finds with -lNAME.
16147 library_names_spec=$lt_library_names_spec
16149 # The coded name of the library, if different from the real name.
16150 soname_spec=$lt_soname_spec
16152 # Commands used to build and install an old-style archive.
16154 old_archive_cmds=$lt_old_archive_cmds_F77
16155 old_postinstall_cmds=$lt_old_postinstall_cmds
16156 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16158 # Create an old-style archive from a shared archive.
16159 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16161 # Create a temporary old-style archive to link instead of a shared archive.
16162 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16164 # Commands used to build and install a shared archive.
16165 archive_cmds=$lt_archive_cmds_F77
16166 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16167 postinstall_cmds=$lt_postinstall_cmds
16168 postuninstall_cmds=$lt_postuninstall_cmds
16170 # Commands used to build a loadable module (assumed same as above if empty)
16171 module_cmds=$lt_module_cmds_F77
16172 module_expsym_cmds=$lt_module_expsym_cmds_F77
16174 # Commands to strip libraries.
16175 old_striplib=$lt_old_striplib
16176 striplib=$lt_striplib
16178 # Dependencies to place before the objects being linked to create a
16180 predep_objects=$lt_predep_objects_F77
16182 # Dependencies to place after the objects being linked to create a
16184 postdep_objects=$lt_postdep_objects_F77
16186 # Dependencies to place before the objects being linked to create a
16188 predeps=$lt_predeps_F77
16190 # Dependencies to place after the objects being linked to create a
16192 postdeps=$lt_postdeps_F77
16194 # The library search path used internally by the compiler when linking
16195 # a shared library.
16196 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16198 # Method to check whether dependent libraries are shared objects.
16199 deplibs_check_method=$lt_deplibs_check_method
16201 # Command to use when deplibs_check_method == file_magic.
16202 file_magic_cmd=$lt_file_magic_cmd
16204 # Flag that allows shared libraries with undefined symbols to be built.
16205 allow_undefined_flag=$lt_allow_undefined_flag_F77
16207 # Flag that forces no undefined symbols.
16208 no_undefined_flag=$lt_no_undefined_flag_F77
16210 # Commands used to finish a libtool library installation in a directory.
16211 finish_cmds=$lt_finish_cmds
16213 # Same as above, but a single script fragment to be evaled but not shown.
16214 finish_eval=$lt_finish_eval
16216 # Take the output of nm and produce a listing of raw symbols and C names.
16217 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16219 # Transform the output of nm in a proper C declaration
16220 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16222 # Transform the output of nm in a C name address pair
16223 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16225 # This is the shared library runtime path variable.
16226 runpath_var=$runpath_var
16228 # This is the shared library path variable.
16229 shlibpath_var=$shlibpath_var
16231 # Is shlibpath searched before the hard-coded library search path?
16232 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16234 # How to hardcode a shared library path into an executable.
16235 hardcode_action=$hardcode_action_F77
16237 # Whether we should hardcode library paths into libraries.
16238 hardcode_into_libs=$hardcode_into_libs
16240 # Flag to hardcode \$libdir into a binary during linking.
16241 # This must work even if \$libdir does not exist.
16242 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16244 # If ld is used when linking, flag to hardcode \$libdir into
16245 # a binary during linking. This must work even if \$libdir does
16247 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16249 # Whether we need a single -rpath flag with a separated argument.
16250 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16252 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16253 # resulting binary.
16254 hardcode_direct=$hardcode_direct_F77
16256 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16257 # resulting binary.
16258 hardcode_minus_L=$hardcode_minus_L_F77
16260 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16261 # the resulting binary.
16262 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16264 # Set to yes if building a shared library automatically hardcodes DIR into the library
16265 # and all subsequent libraries and executables linked against it.
16266 hardcode_automatic=$hardcode_automatic_F77
16268 # Variables whose values should be saved in libtool wrapper scripts and
16269 # restored at relink time.
16270 variables_saved_for_relink="$variables_saved_for_relink"
16272 # Whether libtool must link a program against all its dependency libraries.
16273 link_all_deplibs=$link_all_deplibs_F77
16275 # Compile-time system search path for libraries
16276 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16278 # Run-time system search path for libraries
16279 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16281 # Fix the shell variable \$srcfile for the compiler.
16282 fix_srcfile_path=$lt_fix_srcfile_path
16284 # Set to yes if exported symbols are required.
16285 always_export_symbols=$always_export_symbols_F77
16287 # The commands to list exported symbols.
16288 export_symbols_cmds=$lt_export_symbols_cmds_F77
16290 # The commands to extract the exported symbol list from a shared archive.
16291 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16293 # Symbols that should not be listed in the preloaded symbols.
16294 exclude_expsyms=$lt_exclude_expsyms_F77
16296 # Symbols that must always be exported.
16297 include_expsyms=$lt_include_expsyms_F77
16299 # ### END LIBTOOL TAG CONFIG: $tagname
16305 # If there is no Makefile yet, we rely on a make rule to execute
16306 # `config.status --recheck' to rerun these tests and create the
16307 # libtool script then.
16308 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16309 if test -f "$ltmain_in"; then
16310 test -f Makefile
&& make "$ltmain"
16316 ac_cpp
='$CPP $CPPFLAGS'
16317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16329 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16332 # Source file extension for Java test sources.
16335 # Object file extension for compiled Java test sources.
16339 # Code to be used in simple compile tests
16340 lt_simple_compile_test_code
="class foo {}"
16342 # Code to be used in simple link tests
16343 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16345 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16347 # If no C compiler was specified, use CC.
16350 # If no C compiler flags were specified, use CFLAGS.
16351 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16353 # Allow CC to be a program name with arguments.
16357 # save warnings/boilerplate of simple test code
16358 ac_outfile
=conftest.
$ac_objext
16359 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16360 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16361 _lt_compiler_boilerplate
=`cat conftest.err`
16364 ac_outfile
=conftest.
$ac_objext
16365 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16366 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16367 _lt_linker_boilerplate
=`cat conftest.err`
16371 # Allow CC to be a program name with arguments.
16376 for cc_temp
in $compiler""; do
16378 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16379 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16384 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16387 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16388 archive_cmds_need_lc_GCJ
=no
16390 old_archive_cmds_GCJ
=$old_archive_cmds
16393 lt_prog_compiler_no_builtin_flag_GCJ
=
16395 if test "$GCC" = yes; then
16396 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16399 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16400 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16401 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16402 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 lt_cv_prog_compiler_rtti_exceptions
=no
16405 ac_outfile
=conftest.
$ac_objext
16406 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16407 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16408 # Insert the option either (1) after the last *FLAGS variable, or
16409 # (2) before a word containing "conftest.", or (3) at the end.
16410 # Note that $ac_compile itself does not contain backslashes and begins
16411 # with a dollar sign (not a hyphen), so the echo should work correctly.
16412 # The option is referenced via a variable to avoid confusing sed.
16413 lt_compile
=`echo "$ac_compile" | $SED \
16414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16416 -e 's:$: $lt_compiler_flag:'`
16417 (eval echo "\"\$as_me:16417: $lt_compile\"" >&5)
16418 (eval "$lt_compile" 2>conftest.err
)
16420 cat conftest.err
>&5
16421 echo "$as_me:16421: \$? = $ac_status" >&5
16422 if (exit $ac_status) && test -s "$ac_outfile"; then
16423 # The compiler can only warn and ignore the option if not recognized
16424 # So say no if there are warnings other than the usual output.
16425 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16426 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16427 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16428 lt_cv_prog_compiler_rtti_exceptions
=yes
16434 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16435 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16437 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16438 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16445 lt_prog_compiler_wl_GCJ
=
16446 lt_prog_compiler_pic_GCJ
=
16447 lt_prog_compiler_static_GCJ
=
16449 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16450 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16452 if test "$GCC" = yes; then
16453 lt_prog_compiler_wl_GCJ
='-Wl,'
16454 lt_prog_compiler_static_GCJ
='-static'
16458 # All AIX code is PIC.
16459 if test "$host_cpu" = ia64
; then
16460 # AIX 5 now supports IA64 processor
16461 lt_prog_compiler_static_GCJ
='-Bstatic'
16466 # FIXME: we need at least 68020 code to build shared libraries, but
16467 # adding the `-m68020' flag to GCC prevents building anything better,
16469 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16472 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16473 # PIC is the default for these OSes.
16476 mingw
* | cygwin
* | pw32
* | os2
*)
16477 # This hack is so that the source file can tell whether it is being
16478 # built for inclusion in a dll (and should export symbols for example).
16479 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16480 # (--disable-auto-import) libraries
16481 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16484 darwin
* | rhapsody
*)
16485 # PIC is the default on this platform
16486 # Common symbols not allowed in MH_DYLIB files
16487 lt_prog_compiler_pic_GCJ
='-fno-common'
16491 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16492 # Instead, we relocate shared libraries at runtime.
16496 # Just because we use GCC doesn't mean we suddenly get shared libraries
16497 # on systems that don't support them.
16498 lt_prog_compiler_can_build_shared_GCJ
=no
16503 if test -d /usr
/nec
; then
16504 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16509 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16510 # not for PA HP-UX.
16516 lt_prog_compiler_pic_GCJ
='-fPIC'
16522 lt_prog_compiler_pic_GCJ
='-fPIC'
16526 # PORTME Check for flag to pass linker flags through the system compiler.
16529 lt_prog_compiler_wl_GCJ
='-Wl,'
16530 if test "$host_cpu" = ia64
; then
16531 # AIX 5 now supports IA64 processor
16532 lt_prog_compiler_static_GCJ
='-Bstatic'
16534 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16538 # PIC is the default on this platform
16539 # Common symbols not allowed in MH_DYLIB files
16540 case $cc_basename in
16542 lt_prog_compiler_pic_GCJ
='-qnocommon'
16543 lt_prog_compiler_wl_GCJ
='-Wl,'
16548 mingw
* | cygwin
* | pw32
* | os2
*)
16549 # This hack is so that the source file can tell whether it is being
16550 # built for inclusion in a dll (and should export symbols for example).
16551 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16554 hpux9
* | hpux10
* | hpux11
*)
16555 lt_prog_compiler_wl_GCJ
='-Wl,'
16556 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16557 # not for PA HP-UX.
16563 lt_prog_compiler_pic_GCJ
='+Z'
16566 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16567 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16570 irix5
* | irix6
* | nonstopux
*)
16571 lt_prog_compiler_wl_GCJ
='-Wl,'
16572 # PIC (with -KPIC) is the default.
16573 lt_prog_compiler_static_GCJ
='-non_shared'
16577 lt_prog_compiler_pic_GCJ
='-KPIC'
16578 lt_prog_compiler_static_GCJ
='-Bstatic'
16581 linux
* | k
*bsd
*-gnu)
16582 case $cc_basename in
16584 lt_prog_compiler_wl_GCJ
='-Wl,'
16585 lt_prog_compiler_pic_GCJ
='-KPIC'
16586 lt_prog_compiler_static_GCJ
='-static'
16588 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16589 # Portland Group compilers (*not* the Pentium gcc compiler,
16590 # which looks to be a dead project)
16591 lt_prog_compiler_wl_GCJ
='-Wl,'
16592 lt_prog_compiler_pic_GCJ
='-fpic'
16593 lt_prog_compiler_static_GCJ
='-Bstatic'
16596 lt_prog_compiler_wl_GCJ
='-Wl,'
16597 # All Alpha code is PIC.
16598 lt_prog_compiler_static_GCJ
='-non_shared'
16601 case `$CC -V 2>&1 | sed 5q` in
16604 lt_prog_compiler_pic_GCJ
='-KPIC'
16605 lt_prog_compiler_static_GCJ
='-Bstatic'
16606 lt_prog_compiler_wl_GCJ
='-Wl,'
16609 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16610 lt_prog_compiler_pic_GCJ
='-KPIC'
16611 lt_prog_compiler_static_GCJ
='-Bstatic'
16612 lt_prog_compiler_wl_GCJ
=''
16619 osf3
* | osf4
* | osf5
*)
16620 lt_prog_compiler_wl_GCJ
='-Wl,'
16621 # All OSF/1 code is PIC.
16622 lt_prog_compiler_static_GCJ
='-non_shared'
16626 lt_prog_compiler_static_GCJ
='-non_shared'
16630 lt_prog_compiler_pic_GCJ
='-KPIC'
16631 lt_prog_compiler_static_GCJ
='-Bstatic'
16632 case $cc_basename in
16633 f77
* | f90
* | f95
*)
16634 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16636 lt_prog_compiler_wl_GCJ
='-Wl,';;
16641 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16642 lt_prog_compiler_pic_GCJ
='-PIC'
16643 lt_prog_compiler_static_GCJ
='-Bstatic'
16646 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16647 lt_prog_compiler_wl_GCJ
='-Wl,'
16648 lt_prog_compiler_pic_GCJ
='-KPIC'
16649 lt_prog_compiler_static_GCJ
='-Bstatic'
16653 if test -d /usr
/nec
;then
16654 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16655 lt_prog_compiler_static_GCJ
='-Bstatic'
16659 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16660 lt_prog_compiler_wl_GCJ
='-Wl,'
16661 lt_prog_compiler_pic_GCJ
='-KPIC'
16662 lt_prog_compiler_static_GCJ
='-Bstatic'
16666 lt_prog_compiler_wl_GCJ
='-Wl,'
16667 lt_prog_compiler_can_build_shared_GCJ
=no
16671 lt_prog_compiler_pic_GCJ
='-pic'
16672 lt_prog_compiler_static_GCJ
='-Bstatic'
16676 lt_prog_compiler_can_build_shared_GCJ
=no
16681 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16682 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16685 # Check to make sure the PIC flag actually works.
16687 if test -n "$lt_prog_compiler_pic_GCJ"; then
16689 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16690 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16691 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16694 lt_prog_compiler_pic_works_GCJ
=no
16695 ac_outfile
=conftest.
$ac_objext
16696 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16697 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16698 # Insert the option either (1) after the last *FLAGS variable, or
16699 # (2) before a word containing "conftest.", or (3) at the end.
16700 # Note that $ac_compile itself does not contain backslashes and begins
16701 # with a dollar sign (not a hyphen), so the echo should work correctly.
16702 # The option is referenced via a variable to avoid confusing sed.
16703 lt_compile
=`echo "$ac_compile" | $SED \
16704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16706 -e 's:$: $lt_compiler_flag:'`
16707 (eval echo "\"\$as_me:16707: $lt_compile\"" >&5)
16708 (eval "$lt_compile" 2>conftest.err
)
16710 cat conftest.err
>&5
16711 echo "$as_me:16711: \$? = $ac_status" >&5
16712 if (exit $ac_status) && test -s "$ac_outfile"; then
16713 # The compiler can only warn and ignore the option if not recognized
16714 # So say no if there are warnings other than the usual output.
16715 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16716 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16717 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16718 lt_prog_compiler_pic_works_GCJ
=yes
16724 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16725 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16727 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16728 case $lt_prog_compiler_pic_GCJ in
16730 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16733 lt_prog_compiler_pic_GCJ
=
16734 lt_prog_compiler_can_build_shared_GCJ
=no
16739 # For platforms which do not support PIC, -DPIC is meaningless:
16741 lt_prog_compiler_pic_GCJ
=
16744 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16749 # Check to make sure the static flag actually works.
16751 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16752 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16753 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16754 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 lt_prog_compiler_static_works_GCJ
=no
16758 save_LDFLAGS
="$LDFLAGS"
16759 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16760 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16761 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16762 # The linker can only warn and ignore the option if not recognized
16763 # So say no if there are warnings
16764 if test -s conftest.err
; then
16765 # Append any errors to the config.log.
16766 cat conftest.err
1>&5
16767 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16768 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16769 if diff conftest.exp conftest.er2
>/dev
/null
; then
16770 lt_prog_compiler_static_works_GCJ
=yes
16773 lt_prog_compiler_static_works_GCJ
=yes
16777 LDFLAGS
="$save_LDFLAGS"
16780 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16781 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16783 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16786 lt_prog_compiler_static_GCJ
=
16790 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16791 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16792 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 lt_cv_prog_compiler_c_o_GCJ
=no
16796 $rm -r conftest
2>/dev
/null
16800 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16802 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16803 # Insert the option either (1) after the last *FLAGS variable, or
16804 # (2) before a word containing "conftest.", or (3) at the end.
16805 # Note that $ac_compile itself does not contain backslashes and begins
16806 # with a dollar sign (not a hyphen), so the echo should work correctly.
16807 lt_compile
=`echo "$ac_compile" | $SED \
16808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16810 -e 's:$: $lt_compiler_flag:'`
16811 (eval echo "\"\$as_me:16811: $lt_compile\"" >&5)
16812 (eval "$lt_compile" 2>out
/conftest.err
)
16814 cat out
/conftest.err
>&5
16815 echo "$as_me:16815: \$? = $ac_status" >&5
16816 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16818 # The compiler can only warn and ignore the option if not recognized
16819 # So say no if there are warnings
16820 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16821 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16822 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16823 lt_cv_prog_compiler_c_o_GCJ
=yes
16828 # SGI C++ compiler will create directory out/ii_files/ for
16829 # template instantiation
16830 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16831 $rm out
/* && rmdir out
16837 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16838 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16841 hard_links
="nottested"
16842 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16843 # do not overwrite the value of need_locks provided by the user
16844 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16845 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16848 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16850 ln conftest.a conftest.b
2>&5 || hard_links
=no
16851 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16852 { echo "$as_me:$LINENO: result: $hard_links" >&5
16853 echo "${ECHO_T}$hard_links" >&6; }
16854 if test "$hard_links" = no
; then
16855 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16856 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16863 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16864 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16867 allow_undefined_flag_GCJ
=
16868 enable_shared_with_static_runtimes_GCJ
=no
16870 archive_expsym_cmds_GCJ
=
16871 old_archive_From_new_cmds_GCJ
=
16872 old_archive_from_expsyms_cmds_GCJ
=
16873 export_dynamic_flag_spec_GCJ
=
16874 whole_archive_flag_spec_GCJ
=
16875 thread_safe_flag_spec_GCJ
=
16876 hardcode_libdir_flag_spec_GCJ
=
16877 hardcode_libdir_flag_spec_ld_GCJ
=
16878 hardcode_libdir_separator_GCJ
=
16879 hardcode_direct_GCJ
=no
16880 hardcode_minus_L_GCJ
=no
16881 hardcode_shlibpath_var_GCJ
=unsupported
16882 link_all_deplibs_GCJ
=unknown
16883 hardcode_automatic_GCJ
=no
16885 module_expsym_cmds_GCJ
=
16886 always_export_symbols_GCJ
=no
16887 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16888 # include_expsyms should be a list of space-separated symbols to be *always*
16889 # included in the symbol list
16890 include_expsyms_GCJ
=
16891 # exclude_expsyms can be an extended regexp of symbols to exclude
16892 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16893 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16894 # as well as any symbol that contains `d'.
16895 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16896 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16897 # platforms (ab)use it in PIC code, but their linkers get confused if
16898 # the symbol is explicitly referenced. Since portable code cannot
16899 # rely on this symbol name, it's probably fine to never include it in
16900 # preloaded symbol tables.
16901 extract_expsyms_cmds
=
16902 # Just being paranoid about ensuring that cc_basename is set.
16903 for cc_temp
in $compiler""; do
16905 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16906 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16911 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16914 cygwin
* | mingw
* | pw32
*)
16915 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16916 # When not using gcc, we currently assume that we are using
16917 # Microsoft Visual C++.
16918 if test "$GCC" != yes; then
16923 # we just hope/assume this is gcc and not c89 (= MSVC++)
16932 if test "$with_gnu_ld" = yes; then
16933 # If archive_cmds runs LD, not CC, wlarc should be empty
16936 # Set some defaults for GNU ld with shared library support. These
16937 # are reset later if shared libraries are not supported. Putting them
16938 # here allows them to be overridden if necessary.
16939 runpath_var
=LD_RUN_PATH
16940 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16941 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16942 # ancient GNU ld didn't support --whole-archive et. al.
16943 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16944 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16946 whole_archive_flag_spec_GCJ
=
16948 supports_anon_versioning
=no
16949 case `$LD -v 2>/dev/null` in
16950 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16951 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16952 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16953 *\
2.11.
*) ;; # other 2.11 versions
16954 *) supports_anon_versioning
=yes ;;
16957 # See if GNU ld supports shared libraries.
16959 aix3
* | aix4
* | aix5
*)
16960 # On AIX/PPC, the GNU linker is very broken
16961 if test "$host_cpu" != ia64
; then
16965 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16966 *** to be unable to reliably create shared libraries on AIX.
16967 *** Therefore, libtool is disabling shared libraries support. If you
16968 *** really care for shared libraries, you may want to modify your PATH
16969 *** so that a non-GNU linker is found, and then restart.
16976 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)'
16977 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16978 hardcode_minus_L_GCJ
=yes
16980 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16981 # that the semantics of dynamic libraries on AmigaOS, at least up
16982 # to version 4, is to share data among multiple programs linked
16983 # with the same dynamic library. Since this doesn't match the
16984 # behavior of shared libraries on other platforms, we can't use
16990 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16991 allow_undefined_flag_GCJ
=unsupported
16992 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16993 # support --undefined. This deserves some investigation. FIXME
16994 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17000 cygwin
* | mingw
* | pw32
*)
17001 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17002 # as there is no search path for DLLs.
17003 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17004 allow_undefined_flag_GCJ
=unsupported
17005 always_export_symbols_GCJ
=no
17006 enable_shared_with_static_runtimes_GCJ
=yes
17007 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17009 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17010 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17011 # If the export-symbols file already is a .def file (1st line
17012 # is EXPORTS), use it as is; otherwise, prepend...
17013 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17014 cp $export_symbols $output_objdir/$soname.def;
17016 echo EXPORTS > $output_objdir/$soname.def;
17017 cat $export_symbols >> $output_objdir/$soname.def;
17019 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17026 hardcode_direct_GCJ
=no
17027 hardcode_shlibpath_var_GCJ
=no
17028 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17029 export_dynamic_flag_spec_GCJ
='${wl}-E'
17030 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17031 # Instead, shared libraries are loaded at an image base (0x10000000 by
17032 # default) and relocated if they conflict, which is a slow very memory
17033 # consuming and fragmenting process. To avoid this, we pick a random,
17034 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17035 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17036 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'
17037 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'
17040 gnu
* | linux
* | k
*bsd
*-gnu)
17041 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17043 case $cc_basename,$host_cpu in
17044 pgcc
*) # Portland Group C compiler
17045 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'
17046 tmp_addflag
=' $pic_flag'
17048 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17049 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'
17050 tmp_addflag
=' $pic_flag -Mnomain' ;;
17051 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17052 tmp_addflag
=' -i_dynamic' ;;
17053 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17054 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17055 ifc
* | ifort
*) # Intel Fortran compiler
17056 tmp_addflag
=' -nofor_main' ;;
17058 case `$CC -V 2>&1 | sed 5q` in
17059 *Sun\ C
*) # Sun C 5.9
17060 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'
17061 tmp_sharedflag
='-G' ;;
17062 *Sun\ F
*) # Sun Fortran 8.3
17063 tmp_sharedflag
='-G' ;;
17065 tmp_sharedflag
='-shared' ;;
17067 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17069 if test $supports_anon_versioning = yes; then
17070 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17071 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17072 $echo "local: *; };" >> $output_objdir/$libname.ver~
17073 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17081 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17082 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17085 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17086 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17091 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17095 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17096 *** create shared libraries on Solaris systems. Therefore, libtool
17097 *** is disabling shared libraries support. We urge you to upgrade GNU
17098 *** binutils to release 2.9.1 or newer. Another option is to modify
17099 *** your PATH or compiler configuration so that the native linker is
17100 *** used, and then restart.
17103 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17104 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17105 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17111 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17112 case `$LD -v 2>&1` in
17113 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17117 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17118 *** reliably create shared libraries on SCO systems. Therefore, libtool
17119 *** is disabling shared libraries support. We urge you to upgrade GNU
17120 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17121 *** your PATH or compiler configuration so that the native linker is
17122 *** used, and then restart.
17127 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17128 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17129 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17130 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17139 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17141 hardcode_direct_GCJ
=yes
17142 hardcode_shlibpath_var_GCJ
=no
17146 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17147 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17148 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17155 if test "$ld_shlibs_GCJ" = no
; then
17157 hardcode_libdir_flag_spec_GCJ
=
17158 export_dynamic_flag_spec_GCJ
=
17159 whole_archive_flag_spec_GCJ
=
17162 # PORTME fill in a description of your system's linker (not GNU ld)
17165 allow_undefined_flag_GCJ
=unsupported
17166 always_export_symbols_GCJ
=yes
17167 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'
17168 # Note: this linker hardcodes the directories in LIBPATH if there
17169 # are no directories specified by -L.
17170 hardcode_minus_L_GCJ
=yes
17171 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17172 # Neither direct hardcoding nor static linking is supported with a
17174 hardcode_direct_GCJ
=unsupported
17179 if test "$host_cpu" = ia64
; then
17180 # On IA64, the linker does run time linking by default, so we don't
17181 # have to do anything special.
17182 aix_use_runtimelinking
=no
17183 exp_sym_flag
='-Bexport'
17186 # If we're using GNU nm, then we don't want the "-C" option.
17187 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17188 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17189 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'
17191 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'
17193 aix_use_runtimelinking
=no
17195 # Test if we are trying to use run time linking or normal
17196 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17197 # need to do runtime linking.
17198 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17199 for ld_flag
in $LDFLAGS; do
17200 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17201 aix_use_runtimelinking
=yes
17208 exp_sym_flag
='-bexport'
17209 no_entry_flag
='-bnoentry'
17212 # When large executables or shared objects are built, AIX ld can
17213 # have problems creating the table of contents. If linking a library
17214 # or program results in "error TOC overflow" add -mminimal-toc to
17215 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17216 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17218 archive_cmds_GCJ
=''
17219 hardcode_direct_GCJ
=yes
17220 hardcode_libdir_separator_GCJ
=':'
17221 link_all_deplibs_GCJ
=yes
17223 if test "$GCC" = yes; then
17224 case $host_os in aix4.
[012]|aix4.
[012].
*)
17225 # We only want to do this on AIX 4.2 and lower, the check
17226 # below for broken collect2 doesn't work under 4.3+
17227 collect2name
=`${CC} -print-prog-name=collect2`
17228 if test -f "$collect2name" && \
17229 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17231 # We have reworked collect2
17234 # We have old collect2
17235 hardcode_direct_GCJ
=unsupported
17236 # It fails to find uninstalled libraries when the uninstalled
17237 # path is not listed in the libpath. Setting hardcode_minus_L
17238 # to unsupported forces relinking
17239 hardcode_minus_L_GCJ
=yes
17240 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17241 hardcode_libdir_separator_GCJ
=
17245 shared_flag
='-shared'
17246 if test "$aix_use_runtimelinking" = yes; then
17247 shared_flag
="$shared_flag "'${wl}-G'
17251 if test "$host_cpu" = ia64
; then
17252 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17253 # chokes on -Wl,-G. The following line is correct:
17256 if test "$aix_use_runtimelinking" = yes; then
17257 shared_flag
='${wl}-G'
17259 shared_flag
='${wl}-bM:SRE'
17264 # It seems that -bexpall does not export symbols beginning with
17265 # underscore (_), so it is better to generate a list of symbols to export.
17266 always_export_symbols_GCJ
=yes
17267 if test "$aix_use_runtimelinking" = yes; then
17268 # Warning - without using the other runtime loading flags (-brtl),
17269 # -berok will link without error, but may produce a broken library.
17270 allow_undefined_flag_GCJ
='-berok'
17271 # Determine the default libpath from the value encoded in an empty executable.
17272 cat >conftest.
$ac_ext <<_ACEOF
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17287 rm -f conftest.
$ac_objext conftest
$ac_exeext
17288 if { (ac_try
="$ac_link"
17289 case "(($ac_try" in
17290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17291 *) ac_try_echo=$ac_try;;
17293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17294 (eval "$ac_link") 2>conftest.er1
17296 grep -v '^ *+' conftest.er1 >conftest.err
17298 cat conftest.err >&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } && {
17301 test -z "$ac_c_werror_flag" ||
17302 test ! -s conftest.err
17303 } && test -s conftest$ac_exeext &&
17304 $as_test_x conftest$ac_exeext; then
17306 lt_aix_libpath_sed='
17307 /Import File Strings/,/^$/ {
17313 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17314 # Check for a 64-bit object if we didn't find anything.
17315 if test -z "$aix_libpath"; then
17316 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17326 conftest$ac_exeext conftest.$ac_ext
17327 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17329 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17330 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"
17332 if test "$host_cpu" = ia64; then
17333 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17334 allow_undefined_flag_GCJ="-z nodefs"
17335 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"
17337 # Determine the default libpath from the value encoded in an empty executable.
17338 cat >conftest.$ac_ext <<_ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17353 rm -f conftest.$ac_objext conftest$ac_exeext
17354 if { (ac_try="$ac_link"
17355 case "(($ac_try" in
17356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17357 *) ac_try_echo
=$ac_try;;
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_link") 2>conftest.er1
17362 grep -v '^ *+' conftest.er1
>conftest.err
17364 cat conftest.err
>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17369 } && test -s conftest
$ac_exeext &&
17370 $as_test_x conftest
$ac_exeext; then
17372 lt_aix_libpath_sed
='
17373 /Import File Strings/,/^$/ {
17379 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17380 # Check for a 64-bit object if we didn't find anything.
17381 if test -z "$aix_libpath"; then
17382 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17391 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17392 conftest
$ac_exeext conftest.
$ac_ext
17393 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17395 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17396 # Warning - without using the other run time loading flags,
17397 # -berok will link without error, but may produce a broken library.
17398 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17399 allow_undefined_flag_GCJ
=' ${wl}-berok'
17400 # Exported symbols can be pulled into shared objects from archives
17401 whole_archive_flag_spec_GCJ
='$convenience'
17402 archive_cmds_need_lc_GCJ
=yes
17403 # This is similar to how AIX traditionally builds its shared libraries.
17404 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'
17410 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)'
17411 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17412 hardcode_minus_L_GCJ
=yes
17413 # see comment about different semantics on the GNU ld section
17418 export_dynamic_flag_spec_GCJ
=-rdynamic
17421 cygwin
* | mingw
* | pw32
*)
17422 # When not using gcc, we currently assume that we are using
17423 # Microsoft Visual C++.
17424 # hardcode_libdir_flag_spec is actually meaningless, as there is
17425 # no search path for DLLs.
17426 hardcode_libdir_flag_spec_GCJ
=' '
17427 allow_undefined_flag_GCJ
=unsupported
17428 # Tell ltmain to make .lib files, not .a files.
17430 # Tell ltmain to make .dll files, not .so files.
17432 # FIXME: Setting linknames here is a bad hack.
17433 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17434 # The linker will automatically build a .lib file if we build a DLL.
17435 old_archive_From_new_cmds_GCJ
='true'
17436 # FIXME: Should let the user specify the lib program.
17437 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17438 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17439 enable_shared_with_static_runtimes_GCJ
=yes
17442 darwin
* | rhapsody
*)
17444 rhapsody
* | darwin1.
[012])
17445 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17448 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17449 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17451 case ${MACOSX_DEPLOYMENT_TARGET} in
17453 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17456 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17462 archive_cmds_need_lc_GCJ
=no
17463 hardcode_direct_GCJ
=no
17464 hardcode_automatic_GCJ
=yes
17465 hardcode_shlibpath_var_GCJ
=unsupported
17466 whole_archive_flag_spec_GCJ
=''
17467 link_all_deplibs_GCJ
=yes
17468 if test "$GCC" = yes ; then
17469 output_verbose_link_cmd
='echo'
17470 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17471 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17472 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17473 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}'
17474 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}'
17476 case $cc_basename in
17478 output_verbose_link_cmd
='echo'
17479 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17480 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17481 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17482 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}'
17483 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}'
17493 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17494 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17495 hardcode_shlibpath_var_GCJ
=no
17502 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17503 # support. Future versions do this automatically, but an explicit c++rt0.o
17504 # does not break anything, and helps significantly (at the cost of a little
17507 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17508 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17509 hardcode_direct_GCJ
=yes
17510 hardcode_shlibpath_var_GCJ
=no
17513 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17515 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17516 hardcode_direct_GCJ
=yes
17517 hardcode_minus_L_GCJ
=yes
17518 hardcode_shlibpath_var_GCJ
=no
17521 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17522 freebsd
* | dragonfly
*)
17523 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17524 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17525 hardcode_direct_GCJ
=yes
17526 hardcode_shlibpath_var_GCJ
=no
17530 if test "$GCC" = yes; then
17531 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'
17533 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'
17535 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17536 hardcode_libdir_separator_GCJ
=:
17537 hardcode_direct_GCJ
=yes
17539 # hardcode_minus_L: Not really in the search PATH,
17540 # but as the default location of the library.
17541 hardcode_minus_L_GCJ
=yes
17542 export_dynamic_flag_spec_GCJ
='${wl}-E'
17546 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17547 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17549 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17551 if test "$with_gnu_ld" = no
; then
17552 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17553 hardcode_libdir_separator_GCJ
=:
17555 hardcode_direct_GCJ
=yes
17556 export_dynamic_flag_spec_GCJ
='${wl}-E'
17558 # hardcode_minus_L: Not really in the search PATH,
17559 # but as the default location of the library.
17560 hardcode_minus_L_GCJ
=yes
17565 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17568 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17571 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17574 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17580 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17583 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17586 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17590 if test "$with_gnu_ld" = no
; then
17591 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17592 hardcode_libdir_separator_GCJ
=:
17596 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17597 hardcode_direct_GCJ
=no
17598 hardcode_shlibpath_var_GCJ
=no
17601 hardcode_direct_GCJ
=yes
17602 export_dynamic_flag_spec_GCJ
='${wl}-E'
17604 # hardcode_minus_L: Not really in the search PATH,
17605 # but as the default location of the library.
17606 hardcode_minus_L_GCJ
=yes
17612 irix5
* | irix6
* | nonstopux
*)
17613 if test "$GCC" = yes; then
17614 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'
17616 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'
17617 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17619 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17620 hardcode_libdir_separator_GCJ
=:
17621 link_all_deplibs_GCJ
=yes
17625 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17626 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17628 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17630 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17631 hardcode_direct_GCJ
=yes
17632 hardcode_shlibpath_var_GCJ
=no
17636 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17637 hardcode_direct_GCJ
=yes
17638 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17639 hardcode_libdir_separator_GCJ
=:
17640 hardcode_shlibpath_var_GCJ
=no
17644 if test -f /usr
/libexec
/ld.so
; then
17645 hardcode_direct_GCJ
=yes
17646 hardcode_shlibpath_var_GCJ
=no
17647 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17648 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17649 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17650 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17651 export_dynamic_flag_spec_GCJ
='${wl}-E'
17654 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17655 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17656 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17659 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17660 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17670 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17671 hardcode_minus_L_GCJ
=yes
17672 allow_undefined_flag_GCJ
=unsupported
17673 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'
17674 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17678 if test "$GCC" = yes; then
17679 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17680 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'
17682 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17683 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'
17685 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17686 hardcode_libdir_separator_GCJ
=:
17689 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17690 if test "$GCC" = yes; then
17691 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17692 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'
17693 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17695 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17696 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'
17697 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~
17698 $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'
17700 # Both c and cxx compiler support -rpath directly
17701 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17703 hardcode_libdir_separator_GCJ
=:
17707 no_undefined_flag_GCJ
=' -z text'
17708 if test "$GCC" = yes; then
17710 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17711 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17712 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17715 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17716 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17717 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17719 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17720 hardcode_shlibpath_var_GCJ
=no
17722 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17724 # The compiler driver will combine and reorder linker options,
17725 # but understands `-z linker_flag'. GCC discards it without `$wl',
17726 # but is careful enough not to reorder.
17727 # Supported since Solaris 2.6 (maybe 2.5.1?)
17728 if test "$GCC" = yes; then
17729 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17731 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17735 link_all_deplibs_GCJ
=yes
17739 if test "x$host_vendor" = xsequent
; then
17740 # Use $CC to link under sequent, because it throws in some extra .o
17741 # files that make .init and .fini sections work.
17742 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17744 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17746 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17747 hardcode_direct_GCJ
=yes
17748 hardcode_minus_L_GCJ
=yes
17749 hardcode_shlibpath_var_GCJ
=no
17753 case $host_vendor in
17755 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17756 hardcode_direct_GCJ
=yes # is this really true???
17759 ## LD is ld it makes a PLAMLIB
17760 ## CC just makes a GrossModule.
17761 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17762 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17763 hardcode_direct_GCJ
=no
17766 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17767 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17770 runpath_var
='LD_RUN_PATH'
17771 hardcode_shlibpath_var_GCJ
=no
17775 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17776 hardcode_shlibpath_var_GCJ
=no
17777 export_dynamic_flag_spec_GCJ
='-Bexport'
17781 if test -d /usr
/nec
; then
17782 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17783 hardcode_shlibpath_var_GCJ
=no
17784 runpath_var
=LD_RUN_PATH
17785 hardcode_runpath_var
=yes
17790 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17791 no_undefined_flag_GCJ
='${wl}-z,text'
17792 archive_cmds_need_lc_GCJ
=no
17793 hardcode_shlibpath_var_GCJ
=no
17794 runpath_var
='LD_RUN_PATH'
17796 if test "$GCC" = yes; then
17797 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17798 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17800 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17801 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17805 sysv5
* | sco3.2v5
* | sco5v6
*)
17806 # Note: We can NOT use -z defs as we might desire, because we do not
17807 # link with -lc, and that would cause any symbols used from libc to
17808 # always be unresolved, which means just about no library would
17809 # ever link correctly. If we're not using GNU ld we use -z text
17810 # though, which does catch some bad symbols but isn't as heavy-handed
17812 no_undefined_flag_GCJ
='${wl}-z,text'
17813 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17814 archive_cmds_need_lc_GCJ
=no
17815 hardcode_shlibpath_var_GCJ
=no
17816 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17817 hardcode_libdir_separator_GCJ
=':'
17818 link_all_deplibs_GCJ
=yes
17819 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17820 runpath_var
='LD_RUN_PATH'
17822 if test "$GCC" = yes; then
17823 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17824 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17826 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17827 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17832 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17833 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17834 hardcode_shlibpath_var_GCJ
=no
17843 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17844 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17845 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17848 # Do we need to explicitly link libc?
17850 case "x$archive_cmds_need_lc_GCJ" in
17852 # Assume -lc should be added
17853 archive_cmds_need_lc_GCJ
=yes
17855 if test "$enable_shared" = yes && test "$GCC" = yes; then
17856 case $archive_cmds_GCJ in
17858 # FIXME: we may have to deal with multi-command sequences.
17861 # Test whether the compiler implicitly links with -lc since on some
17862 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17863 # to ld, don't add -lc before -lgcc.
17864 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17865 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17870 (eval $ac_compile) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } 2>conftest.err
; then
17876 libobjs
=conftest.
$ac_objext
17878 wl
=$lt_prog_compiler_wl_GCJ
17879 pic_flag
=$lt_prog_compiler_pic_GCJ
17885 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17886 allow_undefined_flag_GCJ
=
17887 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17888 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }
17893 archive_cmds_need_lc_GCJ
=no
17895 archive_cmds_need_lc_GCJ
=yes
17897 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17899 cat conftest.err
1>&5
17902 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17903 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17910 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17911 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17912 library_names_spec
=
17913 libname_spec
='lib$name'
17917 postuninstall_cmds
=
17921 shlibpath_overrides_runpath
=unknown
17923 dynamic_linker
="$host_os ld.so"
17924 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17926 need_lib_prefix
=unknown
17927 hardcode_into_libs
=no
17929 # when you set need_version to no, make sure it does not cause -set_version
17930 # flags to be left without arguments
17931 need_version
=unknown
17936 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17937 shlibpath_var
=LIBPATH
17939 # AIX 3 has no versioning support, so we append a major version to the name.
17940 soname_spec
='${libname}${release}${shared_ext}$major'
17947 hardcode_into_libs
=yes
17948 if test "$host_cpu" = ia64
; then
17949 # AIX 5 supports IA64
17950 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17951 shlibpath_var
=LD_LIBRARY_PATH
17953 # With GCC up to 2.95.x, collect2 would create an import file
17954 # for dependence libraries. The import file would start with
17955 # the line `#! .'. This would cause the generated library to
17956 # depend on `.', always an invalid library. This was fixed in
17957 # development snapshots of GCC prior to 3.0.
17959 aix4 | aix4.
[01] | aix4.
[01].
*)
17960 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17962 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17965 can_build_shared
=no
17969 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17970 # soname into executable. Probably we can add versioning support to
17971 # collect2, so additional links can be useful in future.
17972 if test "$aix_use_runtimelinking" = yes; then
17973 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17974 # instead of lib<name>.a to let people know that these are not
17975 # typical AIX shared libraries.
17976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17978 # We preserve .a as extension for shared libraries through AIX4.2
17979 # and later when we are not doing run time linking.
17980 library_names_spec
='${libname}${release}.a $libname.a'
17981 soname_spec
='${libname}${release}${shared_ext}$major'
17983 shlibpath_var
=LIBPATH
17988 library_names_spec
='$libname.ixlibrary $libname.a'
17989 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17990 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'
17994 library_names_spec
='${libname}${shared_ext}'
17995 dynamic_linker
="$host_os ld.so"
17996 shlibpath_var
=LIBRARY_PATH
18002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18003 soname_spec
='${libname}${release}${shared_ext}$major'
18004 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18005 shlibpath_var
=LD_LIBRARY_PATH
18006 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18007 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18008 # the default ld.so.conf also contains /usr/contrib/lib and
18009 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18010 # libtool to hard-code these into programs
18013 cygwin
* | mingw
* | pw32
*)
18014 version_type
=windows
18019 case $GCC,$host_os in
18020 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18021 library_names_spec
='$libname.dll.a'
18022 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18023 postinstall_cmds
='base_file=`basename \${file}`~
18024 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18025 dldir=$destdir/`dirname \$dlpath`~
18026 test -d \$dldir || mkdir -p \$dldir~
18027 $install_prog $dir/$dlname \$dldir/$dlname~
18028 chmod a+x \$dldir/$dlname'
18029 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18030 dlpath=$dir/\$dldll~
18032 shlibpath_overrides_runpath
=yes
18036 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18037 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18038 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18041 # MinGW DLLs use traditional 'lib' prefix
18042 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18043 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18044 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18045 # It is most probably a Windows format PATH printed by
18046 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18047 # path with ; separators, and with drive letters. We can handle the
18048 # drive letters (cygwin fileutils understands them), so leave them,
18049 # especially as we might pass files found there to a mingw objdump,
18050 # which wouldn't understand a cygwinified path. Ahh.
18051 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18053 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18057 # pw32 DLLs use 'pw' prefix rather than 'lib'
18058 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18064 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18067 dynamic_linker
='Win32 ld.exe'
18068 # FIXME: first we should search . and the directory the executable is in
18072 darwin
* | rhapsody
*)
18073 dynamic_linker
="$host_os dyld"
18074 version_type
=darwin
18077 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18078 soname_spec
='${libname}${release}${major}$shared_ext'
18079 shlibpath_overrides_runpath
=yes
18080 shlibpath_var
=DYLD_LIBRARY_PATH
18081 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18083 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18091 soname_spec
='${libname}${release}${shared_ext}$major'
18092 shlibpath_var
=LD_LIBRARY_PATH
18099 freebsd
* | dragonfly
*)
18100 # DragonFly does not have aout. When/if they implement a new
18101 # versioning mechanism, adjust this.
18102 if test -x /usr
/bin
/objformat
; then
18103 objformat
=`/usr/bin/objformat`
18106 freebsd
[123]*) objformat
=aout
;;
18107 *) objformat
=elf
;;
18110 version_type
=freebsd-
$objformat
18111 case $version_type in
18113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18118 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18122 shlibpath_var
=LD_LIBRARY_PATH
18125 shlibpath_overrides_runpath
=yes
18127 freebsd3.
[01]* | freebsdelf3.
[01]*)
18128 shlibpath_overrides_runpath
=yes
18129 hardcode_into_libs
=yes
18131 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18132 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18133 shlibpath_overrides_runpath
=no
18134 hardcode_into_libs
=yes
18136 *) # from 4.6 on, and DragonFly
18137 shlibpath_overrides_runpath
=yes
18138 hardcode_into_libs
=yes
18147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18148 soname_spec
='${libname}${release}${shared_ext}$major'
18149 shlibpath_var
=LD_LIBRARY_PATH
18150 hardcode_into_libs
=yes
18153 hpux9
* | hpux10
* | hpux11
*)
18154 # Give a soname corresponding to the major version so that dld.sl refuses to
18155 # link against other versions.
18162 hardcode_into_libs
=yes
18163 dynamic_linker
="$host_os dld.so"
18164 shlibpath_var
=LD_LIBRARY_PATH
18165 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18167 soname_spec
='${libname}${release}${shared_ext}$major'
18168 if test "X$HPUX_IA64_MODE" = X32
; then
18169 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18171 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18173 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18177 hardcode_into_libs
=yes
18178 dynamic_linker
="$host_os dld.sl"
18179 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18180 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18182 soname_spec
='${libname}${release}${shared_ext}$major'
18183 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18184 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18188 dynamic_linker
="$host_os dld.sl"
18189 shlibpath_var
=SHLIB_PATH
18190 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18192 soname_spec
='${libname}${release}${shared_ext}$major'
18195 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18196 postinstall_cmds
='chmod 555 $lib'
18203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18204 soname_spec
='${libname}${release}${shared_ext}$major'
18205 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18206 shlibpath_var
=LD_LIBRARY_PATH
18207 shlibpath_overrides_runpath
=no
18208 hardcode_into_libs
=yes
18211 irix5
* | irix6
* | nonstopux
*)
18213 nonstopux
*) version_type
=nonstopux
;;
18215 if test "$lt_cv_prog_gnu_ld" = yes; then
18223 soname_spec
='${libname}${release}${shared_ext}$major'
18224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18226 irix5
* | nonstopux
*)
18227 libsuff
= shlibsuff
=
18230 case $LD in # libtool.m4 will add one of these switches to LD
18231 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18232 libsuff
= shlibsuff
= libmagic
=32-bit;;
18233 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18234 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18235 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18236 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18237 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18241 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18242 shlibpath_overrides_runpath
=no
18243 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18244 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18245 hardcode_into_libs
=yes
18248 # No shared lib support for Linux oldld, aout, or coff.
18249 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18253 # This must be Linux ELF.
18254 linux
* | k
*bsd
*-gnu)
18258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18259 soname_spec
='${libname}${release}${shared_ext}$major'
18260 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18261 shlibpath_var
=LD_LIBRARY_PATH
18262 shlibpath_overrides_runpath
=no
18263 # This implies no fast_install, which is unacceptable.
18264 # Some rework will be needed to allow for fast_install
18265 # before this can be enabled.
18266 hardcode_into_libs
=yes
18267 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18268 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18270 # Append ld.so.conf contents to the search path
18271 if test -f /etc
/ld.so.conf
; then
18272 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' ' '`
18273 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18276 # We used to test for /lib/ld.so.1 and disable shared libraries on
18277 # powerpc, because MkLinux only supported shared libraries with the
18278 # GNU dynamic linker. Since this was broken with cross compilers,
18279 # most powerpc-linux boxes support dynamic linking these days and
18280 # people can always --disable-shared, the test was removed, and we
18281 # assume the GNU/Linux dynamic linker is in use.
18282 dynamic_linker
='GNU/Linux ld.so'
18289 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18291 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18292 dynamic_linker
='NetBSD (a.out) ld.so'
18294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18295 soname_spec
='${libname}${release}${shared_ext}$major'
18296 dynamic_linker
='NetBSD ld.elf_so'
18298 shlibpath_var
=LD_LIBRARY_PATH
18299 shlibpath_overrides_runpath
=yes
18300 hardcode_into_libs
=yes
18305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18306 shlibpath_var
=LD_LIBRARY_PATH
18307 shlibpath_overrides_runpath
=yes
18314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18315 soname_spec
='${libname}${release}${shared_ext}$major'
18316 shlibpath_var
=LD_LIBRARY_PATH
18317 shlibpath_overrides_runpath
=yes
18322 sys_lib_dlsearch_path_spec
="/usr/lib"
18324 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18326 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18327 *) need_version
=no
;;
18329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18330 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18331 shlibpath_var
=LD_LIBRARY_PATH
18332 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18334 openbsd2.
[89] | openbsd2.
[89].
*)
18335 shlibpath_overrides_runpath
=no
18338 shlibpath_overrides_runpath
=yes
18342 shlibpath_overrides_runpath
=yes
18347 libname_spec
='$name'
18350 library_names_spec
='$libname${shared_ext} $libname.a'
18351 dynamic_linker
='OS/2 ld.exe'
18352 shlibpath_var
=LIBPATH
18355 osf3
* | osf4
* | osf5
*)
18359 soname_spec
='${libname}${release}${shared_ext}$major'
18360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18361 shlibpath_var
=LD_LIBRARY_PATH
18362 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18363 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18375 soname_spec
='${libname}${release}${shared_ext}$major'
18376 shlibpath_var
=LD_LIBRARY_PATH
18377 shlibpath_overrides_runpath
=yes
18378 hardcode_into_libs
=yes
18379 # ldd complains unless libraries are executable
18380 postinstall_cmds
='chmod +x $lib'
18385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18386 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18387 shlibpath_var
=LD_LIBRARY_PATH
18388 shlibpath_overrides_runpath
=yes
18389 if test "$with_gnu_ld" = yes; then
18397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18398 soname_spec
='${libname}${release}${shared_ext}$major'
18399 shlibpath_var
=LD_LIBRARY_PATH
18400 case $host_vendor in
18402 shlibpath_overrides_runpath
=no
18404 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18405 runpath_var
=LD_RUN_PATH
18413 shlibpath_overrides_runpath
=no
18414 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18420 if test -d /usr
/nec
;then
18422 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18423 soname_spec
='$libname${shared_ext}.$major'
18424 shlibpath_var
=LD_LIBRARY_PATH
18428 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18429 version_type
=freebsd-elf
18432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18433 soname_spec
='${libname}${release}${shared_ext}$major'
18434 shlibpath_var
=LD_LIBRARY_PATH
18435 hardcode_into_libs
=yes
18436 if test "$with_gnu_ld" = yes; then
18437 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18438 shlibpath_overrides_runpath
=no
18440 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18441 shlibpath_overrides_runpath
=yes
18444 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18448 sys_lib_dlsearch_path_spec
='/usr/lib'
18453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18454 soname_spec
='${libname}${release}${shared_ext}$major'
18455 shlibpath_var
=LD_LIBRARY_PATH
18462 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18463 echo "${ECHO_T}$dynamic_linker" >&6; }
18464 test "$dynamic_linker" = no
&& can_build_shared
=no
18466 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18467 if test "$GCC" = yes; then
18468 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18471 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18472 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18473 hardcode_action_GCJ
=
18474 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18475 test -n "$runpath_var_GCJ" || \
18476 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18478 # We can hardcode non-existant directories.
18479 if test "$hardcode_direct_GCJ" != no
&&
18480 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18481 # have to relink, otherwise we might link with an installed library
18482 # when we should be linking with a yet-to-be-installed one
18483 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18484 test "$hardcode_minus_L_GCJ" != no
; then
18485 # Linking always hardcodes the temporary library directory.
18486 hardcode_action_GCJ
=relink
18488 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18489 hardcode_action_GCJ
=immediate
18492 # We cannot hardcode anything, or else we can only hardcode existing
18494 hardcode_action_GCJ
=unsupported
18496 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18497 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18499 if test "$hardcode_action_GCJ" = relink
; then
18500 # Fast installation is not supported
18501 enable_fast_install
=no
18502 elif test "$shlibpath_overrides_runpath" = yes ||
18503 test "$enable_shared" = no
; then
18504 # Fast installation is not necessary
18505 enable_fast_install
=needless
18509 # The else clause should only fire when bootstrapping the
18510 # libtool distribution, otherwise you forgot to ship ltmain.sh
18511 # with your package, and you will get complaints that there are
18512 # no rules to generate ltmain.sh.
18513 if test -f "$ltmain"; then
18514 # See if we are running on zsh, and set the options which allow our commands through
18515 # without removal of \ escapes.
18516 if test -n "${ZSH_VERSION+set}" ; then
18517 setopt NO_GLOB_SUBST
18519 # Now quote all the things that may contain metacharacters while being
18520 # careful not to overquote the AC_SUBSTed values. We take copies of the
18521 # variables and quote the copies for generation of the libtool script.
18522 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18524 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18525 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18526 deplibs_check_method reload_flag reload_cmds need_locks \
18527 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18528 lt_cv_sys_global_symbol_to_c_name_address \
18529 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18530 old_postinstall_cmds old_postuninstall_cmds \
18534 lt_prog_compiler_wl_GCJ \
18535 lt_prog_compiler_pic_GCJ \
18536 lt_prog_compiler_static_GCJ \
18537 lt_prog_compiler_no_builtin_flag_GCJ \
18538 export_dynamic_flag_spec_GCJ \
18539 thread_safe_flag_spec_GCJ \
18540 whole_archive_flag_spec_GCJ \
18541 enable_shared_with_static_runtimes_GCJ \
18542 old_archive_cmds_GCJ \
18543 old_archive_from_new_cmds_GCJ \
18544 predep_objects_GCJ \
18545 postdep_objects_GCJ \
18548 compiler_lib_search_path_GCJ \
18550 archive_expsym_cmds_GCJ \
18551 postinstall_cmds_GCJ \
18552 postuninstall_cmds_GCJ \
18553 old_archive_from_expsyms_cmds_GCJ \
18554 allow_undefined_flag_GCJ \
18555 no_undefined_flag_GCJ \
18556 export_symbols_cmds_GCJ \
18557 hardcode_libdir_flag_spec_GCJ \
18558 hardcode_libdir_flag_spec_ld_GCJ \
18559 hardcode_libdir_separator_GCJ \
18560 hardcode_automatic_GCJ \
18562 module_expsym_cmds_GCJ \
18563 lt_cv_prog_compiler_c_o_GCJ \
18564 fix_srcfile_path_GCJ \
18565 exclude_expsyms_GCJ \
18566 include_expsyms_GCJ
; do
18569 old_archive_cmds_GCJ | \
18570 old_archive_from_new_cmds_GCJ | \
18571 archive_cmds_GCJ | \
18572 archive_expsym_cmds_GCJ | \
18573 module_cmds_GCJ | \
18574 module_expsym_cmds_GCJ | \
18575 old_archive_from_expsyms_cmds_GCJ | \
18576 export_symbols_cmds_GCJ | \
18577 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18578 postinstall_cmds | postuninstall_cmds | \
18579 old_postinstall_cmds | old_postuninstall_cmds | \
18580 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18581 # Double-quote double-evaled strings.
18582 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18585 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18591 *'\$0 --fallback-echo"')
18592 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18598 cat <<__EOF__ >> "$cfgfile"
18599 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18601 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18603 # Shell to use when invoking shell scripts.
18606 # Whether or not to build shared libraries.
18607 build_libtool_libs=$enable_shared
18609 # Whether or not to build static libraries.
18610 build_old_libs=$enable_static
18612 # Whether or not to add -lc for building shared libraries.
18613 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18615 # Whether or not to disallow shared libs when runtime libs are static
18616 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18618 # Whether or not to optimize for fast installation.
18619 fast_install=$enable_fast_install
18622 host_alias=$host_alias
18626 # The build system.
18627 build_alias=$build_alias
18631 # An echo program that does not interpret backslashes.
18636 AR_FLAGS=$lt_AR_FLAGS
18641 # LTCC compiler flags.
18642 LTCFLAGS=$lt_LTCFLAGS
18644 # A language-specific compiler.
18645 CC=$lt_compiler_GCJ
18647 # Is the compiler the GNU C compiler?
18653 # The linker used to build libraries.
18656 # Whether we need hard or soft links.
18659 # A BSD-compatible nm program.
18662 # A symbol stripping program
18665 # Used to examine libraries when file_magic_cmd begins "file"
18666 MAGIC_CMD=$MAGIC_CMD
18668 # Used on cygwin: DLL creation program.
18671 # Used on cygwin: object dumper.
18674 # Used on cygwin: assembler.
18677 # The name of the directory that contains temporary libtool files.
18680 # How to create reloadable object files.
18681 reload_flag=$lt_reload_flag
18682 reload_cmds=$lt_reload_cmds
18684 # How to pass a linker flag through the compiler.
18685 wl=$lt_lt_prog_compiler_wl_GCJ
18687 # Object file suffix (normally "o").
18688 objext="$ac_objext"
18690 # Old archive suffix (normally "a").
18693 # Shared library suffix (normally ".so").
18694 shrext_cmds='$shrext_cmds'
18696 # Executable file suffix (normally "").
18699 # Additional compiler flags for building library objects.
18700 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18703 # What is the maximum length of a command?
18704 max_cmd_len=$lt_cv_sys_max_cmd_len
18706 # Does compiler simultaneously support -c and -o options?
18707 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18709 # Must we lock files when doing compilation?
18710 need_locks=$lt_need_locks
18712 # Do we need the lib prefix for modules?
18713 need_lib_prefix=$need_lib_prefix
18715 # Do we need a version for libraries?
18716 need_version=$need_version
18718 # Whether dlopen is supported.
18719 dlopen_support=$enable_dlopen
18721 # Whether dlopen of programs is supported.
18722 dlopen_self=$enable_dlopen_self
18724 # Whether dlopen of statically linked programs is supported.
18725 dlopen_self_static=$enable_dlopen_self_static
18727 # Compiler flag to prevent dynamic linking.
18728 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18730 # Compiler flag to turn off builtin functions.
18731 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18733 # Compiler flag to allow reflexive dlopens.
18734 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18736 # Compiler flag to generate shared objects directly from archives.
18737 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18739 # Compiler flag to generate thread-safe objects.
18740 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18742 # Library versioning type.
18743 version_type=$version_type
18745 # Format of library name prefix.
18746 libname_spec=$lt_libname_spec
18748 # List of archive names. First name is the real one, the rest are links.
18749 # The last name is the one that the linker finds with -lNAME.
18750 library_names_spec=$lt_library_names_spec
18752 # The coded name of the library, if different from the real name.
18753 soname_spec=$lt_soname_spec
18755 # Commands used to build and install an old-style archive.
18757 old_archive_cmds=$lt_old_archive_cmds_GCJ
18758 old_postinstall_cmds=$lt_old_postinstall_cmds
18759 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18761 # Create an old-style archive from a shared archive.
18762 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18764 # Create a temporary old-style archive to link instead of a shared archive.
18765 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18767 # Commands used to build and install a shared archive.
18768 archive_cmds=$lt_archive_cmds_GCJ
18769 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18770 postinstall_cmds=$lt_postinstall_cmds
18771 postuninstall_cmds=$lt_postuninstall_cmds
18773 # Commands used to build a loadable module (assumed same as above if empty)
18774 module_cmds=$lt_module_cmds_GCJ
18775 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18777 # Commands to strip libraries.
18778 old_striplib=$lt_old_striplib
18779 striplib=$lt_striplib
18781 # Dependencies to place before the objects being linked to create a
18783 predep_objects=$lt_predep_objects_GCJ
18785 # Dependencies to place after the objects being linked to create a
18787 postdep_objects=$lt_postdep_objects_GCJ
18789 # Dependencies to place before the objects being linked to create a
18791 predeps=$lt_predeps_GCJ
18793 # Dependencies to place after the objects being linked to create a
18795 postdeps=$lt_postdeps_GCJ
18797 # The library search path used internally by the compiler when linking
18798 # a shared library.
18799 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18801 # Method to check whether dependent libraries are shared objects.
18802 deplibs_check_method=$lt_deplibs_check_method
18804 # Command to use when deplibs_check_method == file_magic.
18805 file_magic_cmd=$lt_file_magic_cmd
18807 # Flag that allows shared libraries with undefined symbols to be built.
18808 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18810 # Flag that forces no undefined symbols.
18811 no_undefined_flag=$lt_no_undefined_flag_GCJ
18813 # Commands used to finish a libtool library installation in a directory.
18814 finish_cmds=$lt_finish_cmds
18816 # Same as above, but a single script fragment to be evaled but not shown.
18817 finish_eval=$lt_finish_eval
18819 # Take the output of nm and produce a listing of raw symbols and C names.
18820 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18822 # Transform the output of nm in a proper C declaration
18823 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18825 # Transform the output of nm in a C name address pair
18826 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18828 # This is the shared library runtime path variable.
18829 runpath_var=$runpath_var
18831 # This is the shared library path variable.
18832 shlibpath_var=$shlibpath_var
18834 # Is shlibpath searched before the hard-coded library search path?
18835 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18837 # How to hardcode a shared library path into an executable.
18838 hardcode_action=$hardcode_action_GCJ
18840 # Whether we should hardcode library paths into libraries.
18841 hardcode_into_libs=$hardcode_into_libs
18843 # Flag to hardcode \$libdir into a binary during linking.
18844 # This must work even if \$libdir does not exist.
18845 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18847 # If ld is used when linking, flag to hardcode \$libdir into
18848 # a binary during linking. This must work even if \$libdir does
18850 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18852 # Whether we need a single -rpath flag with a separated argument.
18853 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18855 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18856 # resulting binary.
18857 hardcode_direct=$hardcode_direct_GCJ
18859 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18860 # resulting binary.
18861 hardcode_minus_L=$hardcode_minus_L_GCJ
18863 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18864 # the resulting binary.
18865 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18867 # Set to yes if building a shared library automatically hardcodes DIR into the library
18868 # and all subsequent libraries and executables linked against it.
18869 hardcode_automatic=$hardcode_automatic_GCJ
18871 # Variables whose values should be saved in libtool wrapper scripts and
18872 # restored at relink time.
18873 variables_saved_for_relink="$variables_saved_for_relink"
18875 # Whether libtool must link a program against all its dependency libraries.
18876 link_all_deplibs=$link_all_deplibs_GCJ
18878 # Compile-time system search path for libraries
18879 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18881 # Run-time system search path for libraries
18882 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18884 # Fix the shell variable \$srcfile for the compiler.
18885 fix_srcfile_path=$lt_fix_srcfile_path
18887 # Set to yes if exported symbols are required.
18888 always_export_symbols=$always_export_symbols_GCJ
18890 # The commands to list exported symbols.
18891 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18893 # The commands to extract the exported symbol list from a shared archive.
18894 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18896 # Symbols that should not be listed in the preloaded symbols.
18897 exclude_expsyms=$lt_exclude_expsyms_GCJ
18899 # Symbols that must always be exported.
18900 include_expsyms=$lt_include_expsyms_GCJ
18902 # ### END LIBTOOL TAG CONFIG: $tagname
18908 # If there is no Makefile yet, we rely on a make rule to execute
18909 # `config.status --recheck' to rerun these tests and create the
18910 # libtool script then.
18911 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18912 if test -f "$ltmain_in"; then
18913 test -f Makefile
&& make "$ltmain"
18919 ac_cpp
='$CPP $CPPFLAGS'
18920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18934 # Source file extension for RC test sources.
18937 # Object file extension for compiled RC test sources.
18941 # Code to be used in simple compile tests
18942 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18944 # Code to be used in simple link tests
18945 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18947 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18949 # If no C compiler was specified, use CC.
18952 # If no C compiler flags were specified, use CFLAGS.
18953 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18955 # Allow CC to be a program name with arguments.
18959 # save warnings/boilerplate of simple test code
18960 ac_outfile
=conftest.
$ac_objext
18961 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18962 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18963 _lt_compiler_boilerplate
=`cat conftest.err`
18966 ac_outfile
=conftest.
$ac_objext
18967 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18968 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18969 _lt_linker_boilerplate
=`cat conftest.err`
18973 # Allow CC to be a program name with arguments.
18978 for cc_temp
in $compiler""; do
18980 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18981 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18986 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18988 lt_cv_prog_compiler_c_o_RC
=yes
18990 # The else clause should only fire when bootstrapping the
18991 # libtool distribution, otherwise you forgot to ship ltmain.sh
18992 # with your package, and you will get complaints that there are
18993 # no rules to generate ltmain.sh.
18994 if test -f "$ltmain"; then
18995 # See if we are running on zsh, and set the options which allow our commands through
18996 # without removal of \ escapes.
18997 if test -n "${ZSH_VERSION+set}" ; then
18998 setopt NO_GLOB_SUBST
19000 # Now quote all the things that may contain metacharacters while being
19001 # careful not to overquote the AC_SUBSTed values. We take copies of the
19002 # variables and quote the copies for generation of the libtool script.
19003 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19005 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19006 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19007 deplibs_check_method reload_flag reload_cmds need_locks \
19008 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19009 lt_cv_sys_global_symbol_to_c_name_address \
19010 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19011 old_postinstall_cmds old_postuninstall_cmds \
19015 lt_prog_compiler_wl_RC \
19016 lt_prog_compiler_pic_RC \
19017 lt_prog_compiler_static_RC \
19018 lt_prog_compiler_no_builtin_flag_RC \
19019 export_dynamic_flag_spec_RC \
19020 thread_safe_flag_spec_RC \
19021 whole_archive_flag_spec_RC \
19022 enable_shared_with_static_runtimes_RC \
19023 old_archive_cmds_RC \
19024 old_archive_from_new_cmds_RC \
19025 predep_objects_RC \
19026 postdep_objects_RC \
19029 compiler_lib_search_path_RC \
19031 archive_expsym_cmds_RC \
19032 postinstall_cmds_RC \
19033 postuninstall_cmds_RC \
19034 old_archive_from_expsyms_cmds_RC \
19035 allow_undefined_flag_RC \
19036 no_undefined_flag_RC \
19037 export_symbols_cmds_RC \
19038 hardcode_libdir_flag_spec_RC \
19039 hardcode_libdir_flag_spec_ld_RC \
19040 hardcode_libdir_separator_RC \
19041 hardcode_automatic_RC \
19043 module_expsym_cmds_RC \
19044 lt_cv_prog_compiler_c_o_RC \
19045 fix_srcfile_path_RC \
19046 exclude_expsyms_RC \
19047 include_expsyms_RC
; do
19050 old_archive_cmds_RC | \
19051 old_archive_from_new_cmds_RC | \
19052 archive_cmds_RC | \
19053 archive_expsym_cmds_RC | \
19055 module_expsym_cmds_RC | \
19056 old_archive_from_expsyms_cmds_RC | \
19057 export_symbols_cmds_RC | \
19058 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19059 postinstall_cmds | postuninstall_cmds | \
19060 old_postinstall_cmds | old_postuninstall_cmds | \
19061 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19062 # Double-quote double-evaled strings.
19063 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19066 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19072 *'\$0 --fallback-echo"')
19073 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19079 cat <<__EOF__ >> "$cfgfile"
19080 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19082 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19084 # Shell to use when invoking shell scripts.
19087 # Whether or not to build shared libraries.
19088 build_libtool_libs=$enable_shared
19090 # Whether or not to build static libraries.
19091 build_old_libs=$enable_static
19093 # Whether or not to add -lc for building shared libraries.
19094 build_libtool_need_lc=$archive_cmds_need_lc_RC
19096 # Whether or not to disallow shared libs when runtime libs are static
19097 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19099 # Whether or not to optimize for fast installation.
19100 fast_install=$enable_fast_install
19103 host_alias=$host_alias
19107 # The build system.
19108 build_alias=$build_alias
19112 # An echo program that does not interpret backslashes.
19117 AR_FLAGS=$lt_AR_FLAGS
19122 # LTCC compiler flags.
19123 LTCFLAGS=$lt_LTCFLAGS
19125 # A language-specific compiler.
19128 # Is the compiler the GNU C compiler?
19134 # The linker used to build libraries.
19137 # Whether we need hard or soft links.
19140 # A BSD-compatible nm program.
19143 # A symbol stripping program
19146 # Used to examine libraries when file_magic_cmd begins "file"
19147 MAGIC_CMD=$MAGIC_CMD
19149 # Used on cygwin: DLL creation program.
19152 # Used on cygwin: object dumper.
19155 # Used on cygwin: assembler.
19158 # The name of the directory that contains temporary libtool files.
19161 # How to create reloadable object files.
19162 reload_flag=$lt_reload_flag
19163 reload_cmds=$lt_reload_cmds
19165 # How to pass a linker flag through the compiler.
19166 wl=$lt_lt_prog_compiler_wl_RC
19168 # Object file suffix (normally "o").
19169 objext="$ac_objext"
19171 # Old archive suffix (normally "a").
19174 # Shared library suffix (normally ".so").
19175 shrext_cmds='$shrext_cmds'
19177 # Executable file suffix (normally "").
19180 # Additional compiler flags for building library objects.
19181 pic_flag=$lt_lt_prog_compiler_pic_RC
19184 # What is the maximum length of a command?
19185 max_cmd_len=$lt_cv_sys_max_cmd_len
19187 # Does compiler simultaneously support -c and -o options?
19188 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19190 # Must we lock files when doing compilation?
19191 need_locks=$lt_need_locks
19193 # Do we need the lib prefix for modules?
19194 need_lib_prefix=$need_lib_prefix
19196 # Do we need a version for libraries?
19197 need_version=$need_version
19199 # Whether dlopen is supported.
19200 dlopen_support=$enable_dlopen
19202 # Whether dlopen of programs is supported.
19203 dlopen_self=$enable_dlopen_self
19205 # Whether dlopen of statically linked programs is supported.
19206 dlopen_self_static=$enable_dlopen_self_static
19208 # Compiler flag to prevent dynamic linking.
19209 link_static_flag=$lt_lt_prog_compiler_static_RC
19211 # Compiler flag to turn off builtin functions.
19212 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19214 # Compiler flag to allow reflexive dlopens.
19215 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19217 # Compiler flag to generate shared objects directly from archives.
19218 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19220 # Compiler flag to generate thread-safe objects.
19221 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19223 # Library versioning type.
19224 version_type=$version_type
19226 # Format of library name prefix.
19227 libname_spec=$lt_libname_spec
19229 # List of archive names. First name is the real one, the rest are links.
19230 # The last name is the one that the linker finds with -lNAME.
19231 library_names_spec=$lt_library_names_spec
19233 # The coded name of the library, if different from the real name.
19234 soname_spec=$lt_soname_spec
19236 # Commands used to build and install an old-style archive.
19238 old_archive_cmds=$lt_old_archive_cmds_RC
19239 old_postinstall_cmds=$lt_old_postinstall_cmds
19240 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19242 # Create an old-style archive from a shared archive.
19243 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19245 # Create a temporary old-style archive to link instead of a shared archive.
19246 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19248 # Commands used to build and install a shared archive.
19249 archive_cmds=$lt_archive_cmds_RC
19250 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19251 postinstall_cmds=$lt_postinstall_cmds
19252 postuninstall_cmds=$lt_postuninstall_cmds
19254 # Commands used to build a loadable module (assumed same as above if empty)
19255 module_cmds=$lt_module_cmds_RC
19256 module_expsym_cmds=$lt_module_expsym_cmds_RC
19258 # Commands to strip libraries.
19259 old_striplib=$lt_old_striplib
19260 striplib=$lt_striplib
19262 # Dependencies to place before the objects being linked to create a
19264 predep_objects=$lt_predep_objects_RC
19266 # Dependencies to place after the objects being linked to create a
19268 postdep_objects=$lt_postdep_objects_RC
19270 # Dependencies to place before the objects being linked to create a
19272 predeps=$lt_predeps_RC
19274 # Dependencies to place after the objects being linked to create a
19276 postdeps=$lt_postdeps_RC
19278 # The library search path used internally by the compiler when linking
19279 # a shared library.
19280 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19282 # Method to check whether dependent libraries are shared objects.
19283 deplibs_check_method=$lt_deplibs_check_method
19285 # Command to use when deplibs_check_method == file_magic.
19286 file_magic_cmd=$lt_file_magic_cmd
19288 # Flag that allows shared libraries with undefined symbols to be built.
19289 allow_undefined_flag=$lt_allow_undefined_flag_RC
19291 # Flag that forces no undefined symbols.
19292 no_undefined_flag=$lt_no_undefined_flag_RC
19294 # Commands used to finish a libtool library installation in a directory.
19295 finish_cmds=$lt_finish_cmds
19297 # Same as above, but a single script fragment to be evaled but not shown.
19298 finish_eval=$lt_finish_eval
19300 # Take the output of nm and produce a listing of raw symbols and C names.
19301 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19303 # Transform the output of nm in a proper C declaration
19304 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19306 # Transform the output of nm in a C name address pair
19307 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19309 # This is the shared library runtime path variable.
19310 runpath_var=$runpath_var
19312 # This is the shared library path variable.
19313 shlibpath_var=$shlibpath_var
19315 # Is shlibpath searched before the hard-coded library search path?
19316 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19318 # How to hardcode a shared library path into an executable.
19319 hardcode_action=$hardcode_action_RC
19321 # Whether we should hardcode library paths into libraries.
19322 hardcode_into_libs=$hardcode_into_libs
19324 # Flag to hardcode \$libdir into a binary during linking.
19325 # This must work even if \$libdir does not exist.
19326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19328 # If ld is used when linking, flag to hardcode \$libdir into
19329 # a binary during linking. This must work even if \$libdir does
19331 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19333 # Whether we need a single -rpath flag with a separated argument.
19334 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19336 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19337 # resulting binary.
19338 hardcode_direct=$hardcode_direct_RC
19340 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19341 # resulting binary.
19342 hardcode_minus_L=$hardcode_minus_L_RC
19344 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19345 # the resulting binary.
19346 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19348 # Set to yes if building a shared library automatically hardcodes DIR into the library
19349 # and all subsequent libraries and executables linked against it.
19350 hardcode_automatic=$hardcode_automatic_RC
19352 # Variables whose values should be saved in libtool wrapper scripts and
19353 # restored at relink time.
19354 variables_saved_for_relink="$variables_saved_for_relink"
19356 # Whether libtool must link a program against all its dependency libraries.
19357 link_all_deplibs=$link_all_deplibs_RC
19359 # Compile-time system search path for libraries
19360 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19362 # Run-time system search path for libraries
19363 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19365 # Fix the shell variable \$srcfile for the compiler.
19366 fix_srcfile_path=$lt_fix_srcfile_path
19368 # Set to yes if exported symbols are required.
19369 always_export_symbols=$always_export_symbols_RC
19371 # The commands to list exported symbols.
19372 export_symbols_cmds=$lt_export_symbols_cmds_RC
19374 # The commands to extract the exported symbol list from a shared archive.
19375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19377 # Symbols that should not be listed in the preloaded symbols.
19378 exclude_expsyms=$lt_exclude_expsyms_RC
19380 # Symbols that must always be exported.
19381 include_expsyms=$lt_include_expsyms_RC
19383 # ### END LIBTOOL TAG CONFIG: $tagname
19389 # If there is no Makefile yet, we rely on a make rule to execute
19390 # `config.status --recheck' to rerun these tests and create the
19391 # libtool script then.
19392 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19393 if test -f "$ltmain_in"; then
19394 test -f Makefile
&& make "$ltmain"
19400 ac_cpp
='$CPP $CPPFLAGS'
19401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19410 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19411 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19412 { (exit 1); exit 1; }; }
19416 # Append the new tag name to the list of available tags.
19417 if test -n "$tagname" ; then
19418 available_tags
="$available_tags $tagname"
19424 # Now substitute the updated list of available tags.
19425 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19426 mv "${ofile}T" "$ofile"
19430 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19431 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19432 { (exit 1); exit 1; }; }
19438 # This can be used to rebuild libtool when needed
19439 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19441 # Always use our own libtool.
19442 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19444 # Prevent multiple expansion
19465 for ac_prog
in perl5 perl
19467 # Extract the first word of "$ac_prog", so it can be a program name with args.
19468 set dummy
$ac_prog; ac_word
=$2
19469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19471 if test "${ac_cv_path_PERL+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
19479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19480 for as_dir
in $LPATH
19483 test -z "$as_dir" && as_dir
=.
19484 for ac_exec_ext
in '' $ac_executable_extensions; do
19485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19486 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
19487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19497 PERL
=$ac_cv_path_PERL
19498 if test -n "$PERL"; then
19499 { echo "$as_me:$LINENO: result: $PERL" >&5
19500 echo "${ECHO_T}$PERL" >&6; }
19502 { echo "$as_me:$LINENO: result: no" >&5
19503 echo "${ECHO_T}no" >&6; }
19507 test -n "$PERL" && break
19509 test -n "$PERL" || PERL
="perl"
19512 if test "$PERL" = "perl"
19514 { { echo "$as_me:$LINENO: error: Perl not found." >&5
19515 echo "$as_me: error: Perl not found." >&2;}
19516 { (exit 1); exit 1; }; }
19519 if test "$GCC" = "yes"
19521 CFLAGS
="$CFLAGS -Wall"
19524 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.."
19528 # Check whether --with-userdb was given.
19529 if test "${with_userdb+set}" = set; then
19530 withval
=$with_userdb; userdb
="$withval"
19532 userdb
="/etc/userdb"
19536 USERDB
="`echo $userdb | tr 'a-z' 'A-Z'`"
19540 # Check whether --with-userdbmandir was given.
19541 if test "${with_userdbmandir+set}" = set; then
19542 withval
=$with_userdbmandir; mandir
="$withval"
19547 # Check whether --with-userdbtmpdir was given.
19548 if test "${with_userdbtmpdir+set}" = set; then
19549 withval
=$with_userdbtmpdir; tmpdir
="$withval"
19557 if test "$tmpdir" = ""
19559 tmpdir
=`echo "$userdb" | sed 's/\/[^\/]*$//'`
19568 # Check whether --with-makedatprog was given.
19569 if test "${with_makedatprog+set}" = set; then
19570 withval
=$with_makedatprog; makedat
="$withval"
19572 makedat
="$bindir/makedat"
19577 if test -d ${srcdir}/..
/md5
19580 cat >>confdefs.h
<<_ACEOF
19584 MD5LIB
=..
/md
5/libmd5.la
19590 if test -d ${srcdir}/..
/sha1
19592 SHA1LIB
=..
/sha
1/libsha1.la
19598 if test -d ${srcdir}/..
/libhmac
19601 cat >>confdefs.h
<<_ACEOF
19602 #define HAVE_HMAC 1
19605 HMACLIB
=..
/libhmac
/libhmac.la
19611 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19612 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19613 if test "${ac_cv_header_stdc+set}" = set; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 cat >conftest.
$ac_ext <<_ACEOF
19619 cat confdefs.h
>>conftest.
$ac_ext
19620 cat >>conftest.
$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 #include <stdlib.h>
19623 #include <stdarg.h>
19624 #include <string.h>
19635 rm -f conftest.
$ac_objext
19636 if { (ac_try
="$ac_compile"
19637 case "(($ac_try" in
19638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_compile") 2>conftest.er1
19644 grep -v '^ *+' conftest.er1 >conftest.err
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest.$ac_objext; then
19652 ac_cv_header_stdc=yes
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19657 ac_cv_header_stdc=no
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662 if test $ac_cv_header_stdc = yes; then
19663 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19664 cat >conftest.$ac_ext <<_ACEOF
19667 cat confdefs.h >>conftest.$ac_ext
19668 cat >>conftest.$ac_ext <<_ACEOF
19669 /* end confdefs.h. */
19670 #include <string.h>
19673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19674 $EGREP "memchr" >/dev/null 2>&1; then
19677 ac_cv_header_stdc=no
19683 if test $ac_cv_header_stdc = yes; then
19684 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19685 cat >conftest.$ac_ext <<_ACEOF
19688 cat confdefs.h >>conftest.$ac_ext
19689 cat >>conftest.$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19691 #include <stdlib.h>
19694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19695 $EGREP "free" >/dev/null 2>&1; then
19698 ac_cv_header_stdc=no
19704 if test $ac_cv_header_stdc = yes; then
19705 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19706 if test "$cross_compiling" = yes; then
19709 cat >conftest.$ac_ext <<_ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19716 #include <stdlib.h>
19717 #if ((' ' & 0x0FF) == 0x020)
19718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19721 # define ISLOWER(c) \
19722 (('a' <= (c) && (c) <= 'i') \
19723 || ('j' <= (c) && (c) <= 'r') \
19724 || ('s' <= (c) && (c) <= 'z'))
19725 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19733 for (i = 0; i < 256; i++)
19734 if (XOR (islower (i), ISLOWER (i))
19735 || toupper (i) != TOUPPER (i))
19740 rm -f conftest$ac_exeext
19741 if { (ac_try="$ac_link"
19742 case "(($ac_try" in
19743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19744 *) ac_try_echo
=$ac_try;;
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_link") 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19751 { (case "(($ac_try" in
19752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_try") 2>&5
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; }; then
19762 echo "$as_me: program exited with status $ac_status" >&5
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19766 ( exit $ac_status )
19767 ac_cv_header_stdc=no
19769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19775 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19776 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19777 if test $ac_cv_header_stdc = yes; then
19779 cat >>confdefs.h <<\_ACEOF
19780 #define STDC_HEADERS 1
19791 for ac_header in sys/stat.h sys/time.h unistd.h fcntl.h termios.h crypt.h
19793 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19795 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19797 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19798 echo $ECHO_N "(cached) $ECHO_C" >&6
19800 ac_res=`eval echo '${'$as_ac_Header'}'`
19801 { echo "$as_me:$LINENO: result: $ac_res" >&5
19802 echo "${ECHO_T}$ac_res" >&6; }
19804 # Is the header compilable?
19805 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19807 cat >conftest.$ac_ext <<_ACEOF
19810 cat confdefs.h >>conftest.$ac_ext
19811 cat >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 $ac_includes_default
19814 #include <$ac_header>
19816 rm -f conftest.$ac_objext
19817 if { (ac_try="$ac_compile"
19818 case "(($ac_try" in
19819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19820 *) ac_try_echo
=$ac_try;;
19822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19823 (eval "$ac_compile") 2>conftest.er1
19825 grep -v '^ *+' conftest.er1
>conftest.err
19827 cat conftest.err
>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } && {
19830 test -z "$ac_c_werror_flag" ||
19831 test ! -s conftest.err
19832 } && test -s conftest.
$ac_objext; then
19833 ac_header_compiler
=yes
19835 echo "$as_me: failed program was:" >&5
19836 sed 's/^/| /' conftest.
$ac_ext >&5
19838 ac_header_compiler
=no
19841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19842 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19843 echo "${ECHO_T}$ac_header_compiler" >&6; }
19845 # Is the header present?
19846 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19848 cat >conftest.
$ac_ext <<_ACEOF
19851 cat confdefs.h
>>conftest.
$ac_ext
19852 cat >>conftest.
$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 #include <$ac_header>
19856 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19857 case "(($ac_try" in
19858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19862 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19864 grep -v '^ *+' conftest.er1 >conftest.err
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } >/dev/null && {
19869 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19870 test ! -s conftest.err
19872 ac_header_preproc=yes
19874 echo "$as_me: failed program was:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19877 ac_header_preproc=no
19880 rm -f conftest.err conftest.$ac_ext
19881 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19882 echo "${ECHO_T}$ac_header_preproc" >&6; }
19884 # So? What about this header?
19885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19891 ac_header_preproc=yes
19894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19907 ## -------------------------------------------------- ##
19908 ## Report this to courier-users@lists.sourceforge.net ##
19909 ## -------------------------------------------------- ##
19911 ) | sed "s/^/$as_me: WARNING: /" >&2
19914 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 eval "$as_ac_Header=\$ac_header_preproc"
19921 ac_res=`eval echo '${'$as_ac_Header'}'`
19922 { echo "$as_me:$LINENO: result: $ac_res" >&5
19923 echo "${ECHO_T}$ac_res" >&6; }
19926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19927 cat >>confdefs.h <<_ACEOF
19928 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19935 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19936 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
19937 if test "${ac_cv_header_time+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 cat >conftest.$ac_ext <<_ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 #include <sys/types.h>
19947 #include <sys/time.h>
19953 if ((struct tm *) 0)
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19963 *) ac_try_echo
=$ac_try;;
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1
>conftest.err
19970 cat conftest.err
>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.
$ac_objext; then
19976 ac_cv_header_time
=yes
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.
$ac_ext >&5
19981 ac_cv_header_time
=no
19984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19986 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19987 echo "${ECHO_T}$ac_cv_header_time" >&6; }
19988 if test $ac_cv_header_time = yes; then
19990 cat >>confdefs.h
<<\_ACEOF
19991 #define TIME_WITH_SYS_TIME 1
19997 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19998 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19999 if test "${ac_cv_c_const+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 cat >conftest.
$ac_ext <<_ACEOF
20005 cat confdefs.h
>>conftest.
$ac_ext
20006 cat >>conftest.
$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20012 /* FIXME: Include the comments suggested by Paul. */
20013 #ifndef __cplusplus
20014 /* Ultrix mips cc rejects this. */
20015 typedef int charset[2];
20017 /* SunOS 4.1.1 cc rejects this. */
20018 char const *const *pcpcc;
20020 /* NEC SVR4.0.2 mips cc rejects this. */
20021 struct point {int x, y;};
20022 static struct point const zero = {0,0};
20023 /* AIX XL C 1.02.0.0 rejects this.
20024 It does not let you subtract one const X* pointer from another in
20025 an arm of an if-expression whose if-part is not a constant
20027 const char *g = "string";
20028 pcpcc = &g + (g ? g-g : 0);
20029 /* HPUX 7.0 cc rejects these. */
20031 ppc = (char**) pcpcc;
20032 pcpcc = (char const *const *) ppc;
20033 { /* SCO 3.2v4 cc rejects this. */
20035 char const *s = 0 ? (char *) 0 : (char const *) 0;
20040 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20041 int x[] = {25, 17};
20042 const int *foo = &x[0];
20045 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20046 typedef const int *iptr;
20050 { /* AIX XL C 1.02.0.0 rejects this saying
20051 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20052 struct s { int j; const int *ap[3]; };
20053 struct s *b; b->j = 5;
20055 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20056 const int foo = 10;
20057 if (!foo) return 0;
20059 return !cs[0] && !zero.x;
20066 rm -f conftest.
$ac_objext
20067 if { (ac_try
="$ac_compile"
20068 case "(($ac_try" in
20069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20070 *) ac_try_echo=$ac_try;;
20072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20073 (eval "$ac_compile") 2>conftest.er1
20075 grep -v '^ *+' conftest.er1 >conftest.err
20077 cat conftest.err >&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } && {
20080 test -z "$ac_c_werror_flag" ||
20081 test ! -s conftest.err
20082 } && test -s conftest.$ac_objext; then
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20094 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20095 if test $ac_cv_c_const = no; then
20097 cat >>confdefs.h <<\_ACEOF
20103 { echo "$as_me:$LINENO: checking for pid_t" >&5
20104 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
20105 if test "${ac_cv_type_pid_t+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 cat >conftest.$ac_ext <<_ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 $ac_includes_default
20115 typedef pid_t ac__type_new_;
20119 if ((ac__type_new_ *) 0)
20121 if (sizeof (ac__type_new_))
20127 rm -f conftest.$ac_objext
20128 if { (ac_try="$ac_compile"
20129 case "(($ac_try" in
20130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20131 *) ac_try_echo
=$ac_try;;
20133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20134 (eval "$ac_compile") 2>conftest.er1
20136 grep -v '^ *+' conftest.er1
>conftest.err
20138 cat conftest.err
>&5
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); } && {
20141 test -z "$ac_c_werror_flag" ||
20142 test ! -s conftest.err
20143 } && test -s conftest.
$ac_objext; then
20144 ac_cv_type_pid_t
=yes
20146 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.
$ac_ext >&5
20149 ac_cv_type_pid_t
=no
20152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20154 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20155 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20156 if test $ac_cv_type_pid_t = yes; then
20160 cat >>confdefs.h
<<_ACEOF
20166 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
20167 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
20168 if test "${ac_cv_type_uid_t+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 cat >conftest.
$ac_ext <<_ACEOF
20174 cat confdefs.h
>>conftest.
$ac_ext
20175 cat >>conftest.
$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20177 #include <sys/types.h>
20180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20181 $EGREP "uid_t" >/dev
/null
2>&1; then
20182 ac_cv_type_uid_t
=yes
20184 ac_cv_type_uid_t
=no
20189 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
20190 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
20191 if test $ac_cv_type_uid_t = no
; then
20193 cat >>confdefs.h
<<\_ACEOF
20198 cat >>confdefs.h
<<\_ACEOF
20204 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
20205 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
20206 if test "${ac_cv_type_signal+set}" = set; then
20207 echo $ECHO_N "(cached) $ECHO_C" >&6
20209 cat >conftest.
$ac_ext <<_ACEOF
20212 cat confdefs.h
>>conftest.
$ac_ext
20213 cat >>conftest.
$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215 #include <sys/types.h>
20216 #include <signal.h>
20221 return *(signal (0, 0)) (0) == 1;
20226 rm -f conftest.
$ac_objext
20227 if { (ac_try
="$ac_compile"
20228 case "(($ac_try" in
20229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20230 *) ac_try_echo=$ac_try;;
20232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20233 (eval "$ac_compile") 2>conftest.er1
20235 grep -v '^ *+' conftest.er1 >conftest.err
20237 cat conftest.err >&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } && {
20240 test -z "$ac_c_werror_flag" ||
20241 test ! -s conftest.err
20242 } && test -s conftest.$ac_objext; then
20243 ac_cv_type_signal=int
20245 echo "$as_me: failed program was:" >&5
20246 sed 's/^/| /' conftest.$ac_ext >&5
20248 ac_cv_type_signal=void
20251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
20254 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
20256 cat >>confdefs.h <<_ACEOF
20257 #define RETSIGTYPE $ac_cv_type_signal
20263 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
20264 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
20265 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 ac_check_lib_save_LIBS=$LIBS
20269 LIBS="-lcrypt $LIBS"
20270 cat >conftest.$ac_ext <<_ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20277 /* Override any GCC internal prototype to avoid an error.
20278 Use char because int might match the return type of a GCC
20279 builtin and then its argument prototype would still apply. */
20292 rm -f conftest.$ac_objext conftest$ac_exeext
20293 if { (ac_try="$ac_link"
20294 case "(($ac_try" in
20295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20296 *) ac_try_echo
=$ac_try;;
20298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20299 (eval "$ac_link") 2>conftest.er1
20301 grep -v '^ *+' conftest.er1
>conftest.err
20303 cat conftest.err
>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } && {
20306 test -z "$ac_c_werror_flag" ||
20307 test ! -s conftest.err
20308 } && test -s conftest
$ac_exeext &&
20309 $as_test_x conftest
$ac_exeext; then
20310 ac_cv_lib_crypt_crypt
=yes
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.
$ac_ext >&5
20315 ac_cv_lib_crypt_crypt
=no
20318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20319 conftest
$ac_exeext conftest.
$ac_ext
20320 LIBS
=$ac_check_lib_save_LIBS
20322 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
20323 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
20324 if test $ac_cv_lib_crypt_crypt = yes; then
20325 CRYPTLIBS
="-lcrypt"
20329 LIBS
="$CRYPTLIBS $LIBS"
20330 { echo "$as_me:$LINENO: checking for crypt" >&5
20331 echo $ECHO_N "checking for crypt... $ECHO_C" >&6; }
20332 if test "${ac_cv_func_crypt+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
20342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20343 #define crypt innocuous_crypt
20345 /* System header to define __stub macros and hopefully few prototypes,
20346 which can conflict with char crypt (); below.
20347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20348 <limits.h> exists even on freestanding compilers. */
20351 # include <limits.h>
20353 # include <assert.h>
20358 /* Override any GCC internal prototype to avoid an error.
20359 Use char because int might match the return type of a GCC
20360 builtin and then its argument prototype would still apply. */
20365 /* The GNU C library defines this for functions which it implements
20366 to always fail with ENOSYS. Some functions are actually named
20367 something starting with __ and the normal name is an alias. */
20368 #if defined __stub_crypt || defined __stub___crypt
20380 rm -f conftest.
$ac_objext conftest
$ac_exeext
20381 if { (ac_try
="$ac_link"
20382 case "(($ac_try" in
20383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20384 *) ac_try_echo=$ac_try;;
20386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20387 (eval "$ac_link") 2>conftest.er1
20389 grep -v '^ *+' conftest.er1 >conftest.err
20391 cat conftest.err >&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } && {
20394 test -z "$ac_c_werror_flag" ||
20395 test ! -s conftest.err
20396 } && test -s conftest$ac_exeext &&
20397 $as_test_x conftest$ac_exeext; then
20398 ac_cv_func_crypt=yes
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20403 ac_cv_func_crypt=no
20406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20407 conftest$ac_exeext conftest.$ac_ext
20409 { echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
20410 echo "${ECHO_T}$ac_cv_func_crypt" >&6; }
20411 if test $ac_cv_func_crypt = yes; then
20413 cat >>confdefs.h <<_ACEOF
20414 #define HAVE_CRYPT 1
20420 { echo "$as_me:$LINENO: checking for crypt() prototype" >&5
20421 echo $ECHO_N "checking for crypt() prototype... $ECHO_C" >&6; }
20422 if test "${userdb_cv_NEED_CRYPT_PROTOTYPE+set}" = set; then
20423 echo $ECHO_N "(cached) $ECHO_C" >&6
20425 cat >conftest.$ac_ext <<_ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20436 #include <unistd.h>
20438 int crypt(int, int);
20449 rm -f conftest.$ac_objext
20450 if { (ac_try="$ac_compile"
20451 case "(($ac_try" in
20452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20453 *) ac_try_echo
=$ac_try;;
20455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20456 (eval "$ac_compile") 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } && {
20463 test -z "$ac_c_werror_flag" ||
20464 test ! -s conftest.err
20465 } && test -s conftest.
$ac_objext; then
20466 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.
$ac_ext >&5
20471 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
20474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20478 { echo "$as_me:$LINENO: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
20479 echo "${ECHO_T}$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
20482 cat >>confdefs.h
<<_ACEOF
20483 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
20490 for ac_func
in isatty gettimeofday
20492 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20495 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20498 cat >conftest.
$ac_ext <<_ACEOF
20501 cat confdefs.h
>>conftest.
$ac_ext
20502 cat >>conftest.
$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20506 #define $ac_func innocuous_$ac_func
20508 /* System header to define __stub macros and hopefully few prototypes,
20509 which can conflict with char $ac_func (); below.
20510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20511 <limits.h> exists even on freestanding compilers. */
20514 # include <limits.h>
20516 # include <assert.h>
20521 /* Override any GCC internal prototype to avoid an error.
20522 Use char because int might match the return type of a GCC
20523 builtin and then its argument prototype would still apply. */
20528 /* The GNU C library defines this for functions which it implements
20529 to always fail with ENOSYS. Some functions are actually named
20530 something starting with __ and the normal name is an alias. */
20531 #if defined __stub_$ac_func || defined __stub___$ac_func
20538 return $ac_func ();
20543 rm -f conftest.
$ac_objext conftest
$ac_exeext
20544 if { (ac_try
="$ac_link"
20545 case "(($ac_try" in
20546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20547 *) ac_try_echo=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_link") 2>conftest.er1
20552 grep -v '^ *+' conftest.er1 >conftest.err
20554 cat conftest.err >&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } && {
20557 test -z "$ac_c_werror_flag" ||
20558 test ! -s conftest.err
20559 } && test -s conftest$ac_exeext &&
20560 $as_test_x conftest$ac_exeext; then
20561 eval "$as_ac_var=yes"
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20566 eval "$as_ac_var=no"
20569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20570 conftest$ac_exeext conftest.$ac_ext
20572 ac_res=`eval echo '${'$as_ac_var'}'`
20573 { echo "$as_me:$LINENO: result: $ac_res" >&5
20574 echo "${ECHO_T}$ac_res" >&6; }
20575 if test `eval echo '${'$as_ac_var'}'` = yes; then
20576 cat >>confdefs.h <<_ACEOF
20577 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20585 # Check whether --with-random was given.
20586 if test "${with_random+set}" = set; then
20587 withval=$with_random; random="$withval"
20597 { echo "$as_me:$LINENO: checking for random source" >&5
20598 echo $ECHO_N "checking for random source... $ECHO_C" >&6; }
20599 if test "${userdb_cv_RANDOM+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 if test -c /dev/urandom
20604 userdb_cv_RANDOM=/dev/urandom
20606 if test -c /dev/random
20608 userdb_cv_RANDOM=/dev/random
20610 userdb_cv_RANDOM="none"
20615 { echo "$as_me:$LINENO: result: $userdb_cv_RANDOM" >&5
20616 echo "${ECHO_T}$userdb_cv_RANDOM" >&6; }
20617 random="$userdb_cv_RANDOM"
20624 if test "$random" != "none"
20627 cat >>confdefs.h <<_ACEOF
20628 #define RANDOM "$random"
20633 if test -d ${srcdir}/../docbook; then
20635 HAVE_SGML_FALSE='#'
20642 ac_config_files="$ac_config_files Makefile userdb.pl makeuserdb pw2userdb"
20644 cat >confcache <<\_ACEOF
20645 # This file is a shell script that caches the results of configure
20646 # tests run on this system so they can be shared between configure
20647 # scripts and configure runs, see configure's option --config-cache.
20648 # It is not useful on other systems. If it contains results you don't
20649 # want to keep, you may remove or edit it.
20651 # config.status only pays attention to the cache file if you give it
20652 # the --recheck option to rerun configure.
20654 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20656 # following values.
20660 # The following way of writing the cache mishandles newlines in values,
20661 # but we know of no workaround that is simple, portable, and efficient.
20662 # So, we kill variables containing newlines.
20663 # Ultrix sh set writes to stderr and can't be redirected directly,
20664 # and sets the high bit in the cache file unless we assign to the vars.
20666 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20667 eval ac_val
=\$
$ac_var
20671 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20672 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20675 _ | IFS | as_nl
) ;; #(
20676 *) $as_unset $ac_var ;;
20682 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20683 *${as_nl}ac_space
=\
*)
20684 # `set' does not quote correctly, so add quotes (double-quote
20685 # substitution turns \\\\ into \\, and sed turns \\ into \).
20688 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20691 # `set' quotes correctly as required by POSIX, so do not add quotes.
20692 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20701 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20703 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20705 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20706 if test -w "$cache_file"; then
20707 test "x$cache_file" != "x/dev/null" &&
20708 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20709 echo "$as_me: updating cache $cache_file" >&6;}
20710 cat confcache
>$cache_file
20712 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20713 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20718 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20719 # Let make expand exec_prefix.
20720 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20722 # Transform confdefs.h into DEFS.
20723 # Protect against shell expansion while executing Makefile rules.
20724 # Protect against Makefile macro expansion.
20726 # If the first sed substitution is executed (which looks for macros that
20727 # take arguments), then branch to the quote section. Otherwise,
20728 # look for a macro that doesn't take arguments.
20732 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20734 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20738 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20751 DEFS
=`sed -n "$ac_script" confdefs.h`
20756 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20757 # 1. Remove the extension, and $U if already installed.
20758 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20759 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20760 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20761 # will be set to the directory where LIBOBJS objects are built.
20762 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20763 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20765 LIBOBJS
=$ac_libobjs
20767 LTLIBOBJS
=$ac_ltlibobjs
20770 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20771 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20772 Usually this means the macro was only invoked conditionally." >&5
20773 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20774 Usually this means the macro was only invoked conditionally." >&2;}
20775 { (exit 1); exit 1; }; }
20777 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20778 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20779 Usually this means the macro was only invoked conditionally." >&5
20780 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20781 Usually this means the macro was only invoked conditionally." >&2;}
20782 { (exit 1); exit 1; }; }
20784 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20785 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20786 Usually this means the macro was only invoked conditionally." >&5
20787 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20788 Usually this means the macro was only invoked conditionally." >&2;}
20789 { (exit 1); exit 1; }; }
20791 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
20792 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
20793 Usually this means the macro was only invoked conditionally." >&5
20794 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
20795 Usually this means the macro was only invoked conditionally." >&2;}
20796 { (exit 1); exit 1; }; }
20799 : ${CONFIG_STATUS=./config.status}
20800 ac_clean_files_save
=$ac_clean_files
20801 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20802 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20803 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20804 cat >$CONFIG_STATUS <<_ACEOF
20806 # Generated by $as_me.
20807 # Run this file to recreate the current configuration.
20808 # Compiler output produced by configure, useful for debugging
20809 # configure, is in config.log if it exists.
20812 ac_cs_recheck=false
20814 SHELL=\${CONFIG_SHELL-$SHELL}
20817 cat >>$CONFIG_STATUS <<\_ACEOF
20818 ## --------------------- ##
20819 ## M4sh Initialization. ##
20820 ## --------------------- ##
20822 # Be more Bourne compatible
20823 DUALCASE
=1; export DUALCASE
# for MKS sh
20824 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20827 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20828 # is contrary to our usage. Disable this feature.
20829 alias -g '${1+"$@"}'='"$@"'
20830 setopt NO_GLOB_SUBST
20832 case `(set -o) 2>/dev/null` in
20833 *posix
*) set -o posix
;;
20842 # Avoid depending upon Character Ranges.
20843 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20844 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20845 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20846 as_cr_digits
='0123456789'
20847 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20849 # The user is always right.
20850 if test "${PATH_SEPARATOR+set}" != set; then
20851 echo "#! /bin/sh" >conf$$.sh
20852 echo "exit 0" >>conf$$.sh
20854 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20862 # Support unset when possible.
20863 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20871 # We need space, tab and new line, in precisely that order. Quoting is
20872 # there to prevent editors from complaining about space-tab.
20873 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20874 # splitting by setting IFS to empty value.)
20879 # Find who we are. Look in the path if we contain no directory separator.
20881 *[\\/]* ) as_myself
=$0 ;;
20882 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20883 for as_dir
in $PATH
20886 test -z "$as_dir" && as_dir
=.
20887 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20893 # We did not find ourselves, most probably we were run as `sh COMMAND'
20894 # in which case we are not to be found in the path.
20895 if test "x$as_myself" = x
; then
20898 if test ! -f "$as_myself"; then
20899 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20900 { (exit 1); exit 1; }
20903 # Work around bugs in pre-3.0 UWIN ksh.
20904 for as_var
in ENV MAIL MAILPATH
20905 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20913 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20914 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20915 LC_TELEPHONE LC_TIME
20917 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20918 eval $as_var=C
; export $as_var
20920 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20924 # Required to use basename.
20925 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20926 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20932 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20933 as_basename
=basename
20939 # Name of the executable.
20940 as_me
=`$as_basename -- "$0" ||
20941 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20942 X"$0" : 'X\(//\)$' \| \
20943 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20945 sed '/^.*\/\([^/][^/]*\)\/*$/{
20964 as_lineno_1
=$LINENO
20965 as_lineno_2
=$LINENO
20966 test "x$as_lineno_1" != "x$as_lineno_2" &&
20967 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20969 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20970 # uniformly replaced by the line number. The first 'sed' inserts a
20971 # line-number line after each line using $LINENO; the second 'sed'
20972 # does the real work. The second script uses 'N' to pair each
20973 # line-number line with the line containing $LINENO, and appends
20974 # trailing '-' during substitution so that $LINENO is not a special
20975 # case at line end.
20976 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20977 # scripts with optimization help from Paolo Bonzini. Blame Lee
20978 # E. McMahon (1931-1989) for sed's syntax. :-)
20990 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20993 ' >$as_me.lineno
&&
20994 chmod +x
"$as_me.lineno" ||
20995 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20996 { (exit 1); exit 1; }; }
20998 # Don't try to exec as it changes $[0], causing all sort of problems
20999 # (the dirname of $[0] is not the place where we might find the
21000 # original and so on. Autoconf is especially sensitive to this).
21001 .
"./$as_me.lineno"
21002 # Exit status is that of the last command.
21007 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21013 ECHO_C
= ECHO_N
= ECHO_T
=
21014 case `echo -n x` in
21016 case `echo 'x\c'` in
21017 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21024 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21025 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21031 rm -f conf$$ conf$$.exe conf$$.
file
21032 if test -d conf$$.dir
; then
21033 rm -f conf$$.dir
/conf$$.
file
21039 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21041 # ... but there are two gotchas:
21042 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21043 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21044 # In both cases, we have to default to `cp -p'.
21045 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21047 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21052 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21053 rmdir conf$$.dir
2>/dev
/null
21055 if mkdir
-p .
2>/dev
/null
; then
21058 test -d .
/-p && rmdir .
/-p
21062 if test -x / >/dev
/null
2>&1; then
21063 as_test_x
='test -x'
21065 if ls -dL / >/dev
/null
2>&1; then
21072 if test -d "$1"; then
21078 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21079 ???[sx]*):;;*)false;;esac;fi
21083 as_executable_p
=$as_test_x
21085 # Sed expression to map a string onto a valid CPP name.
21086 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21088 # Sed expression to map a string onto a valid variable name.
21089 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21094 # Save the log message, to keep $[0] and so on meaningful, and to
21095 # report actual input values of CONFIG_FILES etc. instead of their
21096 # values after options handling.
21098 This file was extended by libuserdb $as_me 0.10, which was
21099 generated by GNU Autoconf 2.61. Invocation command line was
21101 CONFIG_FILES = $CONFIG_FILES
21102 CONFIG_HEADERS = $CONFIG_HEADERS
21103 CONFIG_LINKS = $CONFIG_LINKS
21104 CONFIG_COMMANDS = $CONFIG_COMMANDS
21107 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21112 cat >>$CONFIG_STATUS <<_ACEOF
21113 # Files that config.status was made for.
21114 config_files="$ac_config_files"
21115 config_commands="$ac_config_commands"
21119 cat >>$CONFIG_STATUS <<\_ACEOF
21121 \`$as_me' instantiates files from templates according to the
21122 current configuration.
21124 Usage: $0 [OPTIONS] [FILE]...
21126 -h, --help print this help, then exit
21127 -V, --version print version number and configuration settings, then exit
21128 -q, --quiet do not print progress messages
21129 -d, --debug don't remove temporary files
21130 --recheck update $as_me by reconfiguring in the same conditions
21131 --file=FILE[:TEMPLATE]
21132 instantiate the configuration file FILE
21134 Configuration files:
21137 Configuration commands:
21140 Report bugs to <bug-autoconf@gnu.org>."
21143 cat >>$CONFIG_STATUS <<_ACEOF
21145 libuserdb config.status 0.10
21146 configured by $0, generated by GNU Autoconf 2.61,
21147 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21149 Copyright (C) 2006 Free Software Foundation, Inc.
21150 This config.status script is free software; the Free Software Foundation
21151 gives unlimited permission to copy, distribute and modify it."
21159 cat >>$CONFIG_STATUS <<\_ACEOF
21160 # If no file are specified by the user, then we need to provide default
21161 # value. By we need to know if files were specified by the user.
21167 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21168 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21179 # Handling of the options.
21180 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21182 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21183 echo "$ac_cs_version"; exit ;;
21184 --debug |
--debu |
--deb |
--de |
--d |
-d )
21186 --file |
--fil |
--fi |
--f )
21188 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21189 ac_need_defaults
=false
;;
21190 --he |
--h |
--help |
--hel |
-h )
21191 echo "$ac_cs_usage"; exit ;;
21192 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21193 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21196 # This is an error.
21197 -*) { echo "$as_me: error: unrecognized option: $1
21198 Try \`$0 --help' for more information." >&2
21199 { (exit 1); exit 1; }; } ;;
21201 *) ac_config_targets
="$ac_config_targets $1"
21202 ac_need_defaults
=false
;;
21208 ac_configure_extra_args
=
21210 if $ac_cs_silent; then
21212 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21216 cat >>$CONFIG_STATUS <<_ACEOF
21217 if \$ac_cs_recheck; then
21218 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21219 CONFIG_SHELL=$SHELL
21220 export CONFIG_SHELL
21221 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21225 cat >>$CONFIG_STATUS <<\_ACEOF
21229 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21230 ## Running $as_me. ##
21236 cat >>$CONFIG_STATUS <<_ACEOF
21240 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21244 cat >>$CONFIG_STATUS <<\_ACEOF
21246 # Handling of arguments.
21247 for ac_config_target
in $ac_config_targets
21249 case $ac_config_target in
21250 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21251 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21252 "userdb.pl") CONFIG_FILES
="$CONFIG_FILES userdb.pl" ;;
21253 "makeuserdb") CONFIG_FILES
="$CONFIG_FILES makeuserdb" ;;
21254 "pw2userdb") CONFIG_FILES
="$CONFIG_FILES pw2userdb" ;;
21256 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21257 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21258 { (exit 1); exit 1; }; };;
21263 # If the user did not use the arguments to specify the items to instantiate,
21264 # then the envvar interface is used. Set only those that are not.
21265 # We use the long form for the default assignment because of an extremely
21266 # bizarre bug on SunOS 4.1.3.
21267 if $ac_need_defaults; then
21268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21269 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21272 # Have a temporary directory for convenience. Make it in the build tree
21273 # simply because there is no reason against having it here, and in addition,
21274 # creating and moving files from /tmp can sometimes cause problems.
21275 # Hook for its removal unless debugging.
21276 # Note that there is a small window in which the directory will not be cleaned:
21277 # after its creation but before its name has been assigned to `$tmp'.
21281 trap 'exit_status=$?
21282 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21284 trap '{ (exit 1); exit 1; }' 1 2 13 15
21286 # Create a (secure) tmp directory for tmp files.
21289 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21290 test -n "$tmp" && test -d "$tmp"
21293 tmp
=.
/conf$$
-$RANDOM
21294 (umask 077 && mkdir
"$tmp")
21297 echo "$me: cannot create a temporary directory in ." >&2
21298 { (exit 1); exit 1; }
21302 # Set up the sed scripts for CONFIG_FILES section.
21305 # No need to generate the scripts if there are no CONFIG_FILES.
21306 # This happens for instance when ./config.status config.h
21307 if test -n "$CONFIG_FILES"; then
21314 for ac_last_try
in false false false false false
:; do
21315 cat >conf$
$subs.
sed <<_ACEOF
21316 SHELL!$SHELL$ac_delim
21317 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21318 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21319 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21320 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21321 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21322 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21323 exec_prefix!$exec_prefix$ac_delim
21324 prefix!$prefix$ac_delim
21325 program_transform_name!$program_transform_name$ac_delim
21326 bindir!$bindir$ac_delim
21327 sbindir!$sbindir$ac_delim
21328 libexecdir!$libexecdir$ac_delim
21329 datarootdir!$datarootdir$ac_delim
21330 datadir!$datadir$ac_delim
21331 sysconfdir!$sysconfdir$ac_delim
21332 sharedstatedir!$sharedstatedir$ac_delim
21333 localstatedir!$localstatedir$ac_delim
21334 includedir!$includedir$ac_delim
21335 oldincludedir!$oldincludedir$ac_delim
21336 docdir!$docdir$ac_delim
21337 infodir!$infodir$ac_delim
21338 htmldir!$htmldir$ac_delim
21339 dvidir!$dvidir$ac_delim
21340 pdfdir!$pdfdir$ac_delim
21341 psdir!$psdir$ac_delim
21342 libdir!$libdir$ac_delim
21343 localedir!$localedir$ac_delim
21344 mandir!$mandir$ac_delim
21345 DEFS!$DEFS$ac_delim
21346 ECHO_C!$ECHO_C$ac_delim
21347 ECHO_N!$ECHO_N$ac_delim
21348 ECHO_T!$ECHO_T$ac_delim
21349 LIBS!$LIBS$ac_delim
21350 build_alias!$build_alias$ac_delim
21351 host_alias!$host_alias$ac_delim
21352 target_alias!$target_alias$ac_delim
21353 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21354 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21355 INSTALL_DATA!$INSTALL_DATA$ac_delim
21356 am__isrc!$am__isrc$ac_delim
21357 CYGPATH_W!$CYGPATH_W$ac_delim
21358 PACKAGE!$PACKAGE$ac_delim
21359 VERSION!$VERSION$ac_delim
21360 ACLOCAL!$ACLOCAL$ac_delim
21361 AUTOCONF!$AUTOCONF$ac_delim
21362 AUTOMAKE!$AUTOMAKE$ac_delim
21363 AUTOHEADER!$AUTOHEADER$ac_delim
21364 MAKEINFO!$MAKEINFO$ac_delim
21365 install_sh!$install_sh$ac_delim
21366 STRIP!$STRIP$ac_delim
21367 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21368 mkdir_p!$mkdir_p$ac_delim
21370 SET_MAKE!$SET_MAKE$ac_delim
21371 am__leading_dot!$am__leading_dot$ac_delim
21372 AMTAR!$AMTAR$ac_delim
21373 am__tar!$am__tar$ac_delim
21374 am__untar!$am__untar$ac_delim
21376 CFLAGS!$CFLAGS$ac_delim
21377 LDFLAGS!$LDFLAGS$ac_delim
21378 CPPFLAGS!$CPPFLAGS$ac_delim
21379 ac_ct_CC!$ac_ct_CC$ac_delim
21380 EXEEXT!$EXEEXT$ac_delim
21381 OBJEXT!$OBJEXT$ac_delim
21382 DEPDIR!$DEPDIR$ac_delim
21383 am__include!$am__include$ac_delim
21384 am__quote!$am__quote$ac_delim
21385 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21386 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21387 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21388 CCDEPMODE!$CCDEPMODE$ac_delim
21389 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21390 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21391 LN_S!$LN_S$ac_delim
21392 build!$build$ac_delim
21393 build_cpu!$build_cpu$ac_delim
21394 build_vendor!$build_vendor$ac_delim
21395 build_os!$build_os$ac_delim
21396 host!$host$ac_delim
21397 host_cpu!$host_cpu$ac_delim
21398 host_vendor!$host_vendor$ac_delim
21399 host_os!$host_os$ac_delim
21401 GREP!$GREP$ac_delim
21402 EGREP!$EGREP$ac_delim
21403 ECHO!$ECHO$ac_delim
21405 RANLIB!$RANLIB$ac_delim
21408 CXXFLAGS!$CXXFLAGS$ac_delim
21409 ac_ct_CXX!$ac_ct_CXX$ac_delim
21410 CXXDEPMODE!$CXXDEPMODE$ac_delim
21411 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21412 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21415 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21417 elif $ac_last_try; then
21418 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21419 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21420 { (exit 1); exit 1; }; }
21422 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21426 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21427 if test -n "$ac_eof"; then
21428 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21429 ac_eof
=`expr $ac_eof + 1`
21432 cat >>$CONFIG_STATUS <<_ACEOF
21433 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21437 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21438 s/^/s,@/; s/!/@,|#_!!_#|/
21441 s/'"$ac_delim"'$/,g/; t
21443 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21444 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21445 rm -f conf$
$subs.
sed
21446 cat >>$CONFIG_STATUS <<_ACEOF
21452 for ac_last_try
in false false false false false
:; do
21453 cat >conf$
$subs.
sed <<_ACEOF
21454 CXXCPP!$CXXCPP$ac_delim
21456 FFLAGS!$FFLAGS$ac_delim
21457 ac_ct_F77!$ac_ct_F77$ac_delim
21458 LIBTOOL!$LIBTOOL$ac_delim
21459 PERL!$PERL$ac_delim
21460 userdb!$userdb$ac_delim
21461 USERDB!$USERDB$ac_delim
21462 userdbtmpdir!$userdbtmpdir$ac_delim
21463 tmpdir!$tmpdir$ac_delim
21464 makedat!$makedat$ac_delim
21465 MD5LIB!$MD5LIB$ac_delim
21466 SHA1LIB!$SHA1LIB$ac_delim
21467 HMACLIB!$HMACLIB$ac_delim
21468 CRYPTLIBS!$CRYPTLIBS$ac_delim
21469 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
21470 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
21471 LIBOBJS!$LIBOBJS$ac_delim
21472 LTLIBOBJS!$LTLIBOBJS$ac_delim
21475 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
21477 elif $ac_last_try; then
21478 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21479 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21480 { (exit 1); exit 1; }; }
21482 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21486 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21487 if test -n "$ac_eof"; then
21488 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21489 ac_eof
=`expr $ac_eof + 1`
21492 cat >>$CONFIG_STATUS <<_ACEOF
21493 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21497 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21498 s/^/s,@/; s/!/@,|#_!!_#|/
21501 s/'"$ac_delim"'$/,g/; t
21503 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21504 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21505 rm -f conf$
$subs.
sed
21506 cat >>$CONFIG_STATUS <<_ACEOF
21513 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21514 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21515 # trailing colons and then remove the whole line if VPATH becomes empty
21516 # (actually we leave an empty line to preserve line numbers).
21517 if test "x$srcdir" = x.
; then
21518 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21519 s/:*\$(srcdir):*/:/
21520 s/:*\${srcdir}:*/:/
21522 s/^\([^=]*=[ ]*\):*/\1/
21528 cat >>$CONFIG_STATUS <<\_ACEOF
21529 fi # test -n "$CONFIG_FILES"
21532 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
21535 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21537 case $ac_mode$ac_tag in
21539 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21540 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21541 { (exit 1); exit 1; }; };;
21542 :[FH
]-) ac_tag
=-:-;;
21543 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21560 -) ac_f
="$tmp/stdin";;
21561 *) # Look for the file first in the build tree, then in the source tree
21562 # (if the path is not absolute). The absolute path cannot be DOS-style,
21563 # because $ac_f cannot contain `:'.
21567 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21569 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21570 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21571 { (exit 1); exit 1; }; };;
21573 ac_file_inputs
="$ac_file_inputs $ac_f"
21576 # Let's still pretend it is `configure' which instantiates (i.e., don't
21577 # use $as_me), people would be surprised to read:
21578 # /* config.h. Generated by config.status. */
21579 configure_input
="Generated from "`IFS=:
21580 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21581 if test x
"$ac_file" != x-
; then
21582 configure_input
="$ac_file. $configure_input"
21583 { echo "$as_me:$LINENO: creating $ac_file" >&5
21584 echo "$as_me: creating $ac_file" >&6;}
21588 *:-:* |
*:-) cat >"$tmp/stdin";;
21593 ac_dir
=`$as_dirname -- "$ac_file" ||
21594 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21595 X"$ac_file" : 'X\(//\)[^/]' \| \
21596 X"$ac_file" : 'X\(//\)$' \| \
21597 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21603 /^X\(\/\/\)[^/].*/{
21618 -*) as_dir
=.
/$as_dir;;
21620 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21624 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21625 *) as_qdir
=$as_dir;;
21627 as_dirs
="'$as_qdir' $as_dirs"
21628 as_dir
=`$as_dirname -- "$as_dir" ||
21629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21630 X"$as_dir" : 'X\(//\)[^/]' \| \
21631 X"$as_dir" : 'X\(//\)$' \| \
21632 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21638 /^X\(\/\/\)[^/].*/{
21651 test -d "$as_dir" && break
21653 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21654 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21655 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21656 { (exit 1); exit 1; }; }; }
21660 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21662 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21663 # A ".." for each directory in $ac_dir_suffix.
21664 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21665 case $ac_top_builddir_sub in
21666 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21667 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21670 ac_abs_top_builddir
=$ac_pwd
21671 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21672 # for backward compatibility:
21673 ac_top_builddir
=$ac_top_build_prefix
21676 .
) # We are building in place.
21678 ac_top_srcdir
=$ac_top_builddir_sub
21679 ac_abs_top_srcdir
=$ac_pwd ;;
21680 [\\/]* | ?
:[\\/]* ) # Absolute name.
21681 ac_srcdir
=$srcdir$ac_dir_suffix;
21682 ac_top_srcdir
=$srcdir
21683 ac_abs_top_srcdir
=$srcdir ;;
21684 *) # Relative name.
21685 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21686 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21687 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21689 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21699 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21700 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21702 ac_MKDIR_P
=$MKDIR_P
21704 [\\/$
]* | ?
:[\\/]* ) ;;
21705 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21709 cat >>$CONFIG_STATUS <<\_ACEOF
21710 # If the template does not know about datarootdir, expand it.
21711 # FIXME: This hack should be removed a few years after 2.60.
21712 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21714 case `sed -n '/datarootdir/ {
21723 ' $ac_file_inputs` in
21724 *datarootdir
*) ac_datarootdir_seen
=yes;;
21725 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21726 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21727 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21729 cat >>$CONFIG_STATUS <<_ACEOF
21730 ac_datarootdir_hack='
21731 s&@datadir@&$datadir&g
21732 s&@docdir@&$docdir&g
21733 s&@infodir@&$infodir&g
21734 s&@localedir@&$localedir&g
21735 s&@mandir@&$mandir&g
21736 s&\\\${datarootdir}&$datarootdir&g' ;;
21740 # Neutralize VPATH when `$srcdir' = `.'.
21741 # Shell code in configure.ac might set extrasub.
21742 # FIXME: do we really want to maintain this feature?
21743 cat >>$CONFIG_STATUS <<_ACEOF
21747 cat >>$CONFIG_STATUS <<\_ACEOF
21749 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21750 s
&@configure_input@
&$configure_input&;t t
21751 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21752 s
&@srcdir@
&$ac_srcdir&;t t
21753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21756 s
&@builddir@
&$ac_builddir&;t t
21757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21759 s
&@INSTALL@
&$ac_INSTALL&;t t
21760 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21761 $ac_datarootdir_hack
21762 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21764 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21765 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21766 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21767 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21768 which seems to be undefined. Please make sure it is defined." >&5
21769 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21770 which seems to be undefined. Please make sure it is defined." >&2;}
21774 -) cat "$tmp/out"; rm -f "$tmp/out";;
21775 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21780 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21781 echo "$as_me: executing $ac_file commands" >&6;}
21786 case $ac_file$ac_mode in
21787 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21788 # Strip MF so we end up with the name of the file.
21789 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
21790 # Check whether this is an Automake generated Makefile or not.
21791 # We used to match only the files named `Makefile.in', but
21792 # some people rename them; so instead we look at the file content.
21793 # Grep'ing the first line is not enough: some people post-process
21794 # each Makefile.in and add a new line on top of each file to say so.
21795 # Grep'ing the whole file is not good either: AIX grep has a line
21796 # limit of 2048, but all sed's we know have understand at least 4000.
21797 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21798 dirpart
=`$as_dirname -- "$mf" ||
21799 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21800 X"$mf" : 'X\(//\)[^/]' \| \
21801 X"$mf" : 'X\(//\)$' \| \
21802 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21808 /^X\(\/\/\)[^/].*/{
21824 # Extract the definition of DEPDIR, am__include, and am__quote
21825 # from the Makefile without running `make'.
21826 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21827 test -z "$DEPDIR" && continue
21828 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21829 test -z "am__include" && continue
21830 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21831 # When using ansi2knr, U may be empty or an underscore; expand it
21832 U
=`sed -n 's/^U = //p' < "$mf"`
21833 # Find all dependency output files, they are included files with
21834 # $(DEPDIR) in their names. We invoke sed twice because it is the
21835 # simplest approach to changing $(DEPDIR) to its actual value in the
21837 for file in `sed -n "
21838 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21839 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21840 # Make sure the directory exists.
21841 test -f "$dirpart/$file" && continue
21842 fdir
=`$as_dirname -- "$file" ||
21843 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21844 X"$file" : 'X\(//\)[^/]' \| \
21845 X"$file" : 'X\(//\)$' \| \
21846 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21852 /^X\(\/\/\)[^/].*/{
21865 { as_dir
=$dirpart/$fdir
21867 -*) as_dir
=.
/$as_dir;;
21869 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21873 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21874 *) as_qdir
=$as_dir;;
21876 as_dirs
="'$as_qdir' $as_dirs"
21877 as_dir
=`$as_dirname -- "$as_dir" ||
21878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21879 X"$as_dir" : 'X\(//\)[^/]' \| \
21880 X"$as_dir" : 'X\(//\)$' \| \
21881 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21887 /^X\(\/\/\)[^/].*/{
21900 test -d "$as_dir" && break
21902 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21903 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21904 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21905 { (exit 1); exit 1; }; }; }
21906 # echo "creating $dirpart/$file"
21907 echo '# dummy' > "$dirpart/$file"
21916 { (exit 0); exit 0; }
21918 chmod +x
$CONFIG_STATUS
21919 ac_clean_files
=$ac_clean_files_save
21922 # configure is writing to config.log, and then calls config.status.
21923 # config.status does its own redirection, appending to config.log.
21924 # Unfortunately, on DOS this fails, as config.log is still kept open
21925 # by configure, so config.status won't be able to write to it; its
21926 # output is simply discarded. So we exec the FD to /dev/null,
21927 # effectively closing config.log, so it can be properly (re)opened and
21928 # appended to by config.status. When coming back to configure, we
21929 # need to make the FD available again.
21930 if test "$no_create" != yes; then
21932 ac_config_status_args
=
21933 test "$silent" = yes &&
21934 ac_config_status_args
="$ac_config_status_args --quiet"
21936 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21938 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21939 # would make configure fail if this is the last instruction.
21940 $ac_cs_success ||
{ (exit 1); exit 1; }