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 $as_executable_p "$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 recognise dependent libraries" >&5
4213 echo $ECHO_N "checking how to recognise 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 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4256 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4259 darwin
* | rhapsody
*)
4260 lt_cv_deplibs_check_method
=pass_all
4263 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4264 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4267 # Not sure whether the presence of OpenBSD here was a mistake.
4268 # Let's accept both of them until this is cleared up.
4269 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4270 lt_cv_file_magic_cmd
=/usr
/bin
/file
4271 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4275 lt_cv_deplibs_check_method
=pass_all
4280 lt_cv_deplibs_check_method
=pass_all
4283 hpux10.20
* | hpux11
*)
4284 lt_cv_file_magic_cmd
=/usr
/bin
/file
4287 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4288 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4291 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]'
4292 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4295 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4296 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4302 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4303 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4306 irix5
* | irix6
* | nonstopux
*)
4308 *-32|
*"-32 ") libmagic
=32-bit;;
4309 *-n32|
*"-n32 ") libmagic
=N32
;;
4310 *-64|
*"-64 ") libmagic
=64-bit;;
4311 *) libmagic
=never-match
;;
4313 lt_cv_deplibs_check_method
=pass_all
4316 # This must be Linux ELF.
4318 lt_cv_deplibs_check_method
=pass_all
4322 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4323 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4325 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4330 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4331 lt_cv_file_magic_cmd
=/usr
/bin
/file
4332 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4336 lt_cv_deplibs_check_method
=unknown
4340 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4341 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4343 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4347 osf3
* | osf4
* | osf5
*)
4348 lt_cv_deplibs_check_method
=pass_all
4352 lt_cv_deplibs_check_method
=pass_all
4356 case $host_vendor in
4358 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]'
4359 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4362 lt_cv_deplibs_check_method
=pass_all
4365 lt_cv_file_magic_cmd
='/bin/file'
4366 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4369 lt_cv_file_magic_cmd
='/bin/file'
4370 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4371 lt_cv_file_magic_test_file
=/lib
/libc.so
4374 lt_cv_deplibs_check_method
=pass_all
4377 lt_cv_deplibs_check_method
=pass_all
4382 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4383 lt_cv_deplibs_check_method
=pass_all
4388 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4389 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4390 file_magic_cmd
=$lt_cv_file_magic_cmd
4391 deplibs_check_method
=$lt_cv_deplibs_check_method
4392 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4397 # If no C compiler was specified, use CC.
4400 # If no C compiler flags were specified, use CFLAGS.
4401 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4403 # Allow CC to be a program name with arguments.
4407 # Check whether --enable-libtool-lock was given.
4408 if test "${enable_libtool_lock+set}" = set; then
4409 enableval
=$enable_libtool_lock;
4412 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4414 # Some flags need to be propagated to the compiler or linker for good
4418 # Find out which ABI we are using.
4419 echo 'int i;' > conftest.
$ac_ext
4420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4421 (eval $ac_compile) 2>&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; then
4425 case `/usr/bin/file conftest.$ac_objext` in
4437 # Find out which ABI we are using.
4438 echo '#line 4438 "configure"' > conftest.
$ac_ext
4439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4440 (eval $ac_compile) 2>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); }; then
4444 if test "$lt_cv_prog_gnu_ld" = yes; then
4445 case `/usr/bin/file conftest.$ac_objext` in
4447 LD
="${LD-ld} -melf32bsmip"
4450 LD
="${LD-ld} -melf32bmipn32"
4453 LD
="${LD-ld} -melf64bmip"
4457 case `/usr/bin/file conftest.$ac_objext` in
4473 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4474 # Find out which ABI we are using.
4475 echo 'int i;' > conftest.
$ac_ext
4476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4477 (eval $ac_compile) 2>&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }; then
4481 case `/usr/bin/file conftest.o` in
4485 LD
="${LD-ld} -m elf_i386"
4487 ppc64-
*linux
*|powerpc64-
*linux
*)
4488 LD
="${LD-ld} -m elf32ppclinux"
4491 LD
="${LD-ld} -m elf_s390"
4494 LD
="${LD-ld} -m elf32_sparc"
4501 LD
="${LD-ld} -m elf_x86_64"
4503 ppc
*-*linux
*|powerpc
*-*linux
*)
4504 LD
="${LD-ld} -m elf64ppc"
4507 LD
="${LD-ld} -m elf64_s390"
4510 LD
="${LD-ld} -m elf64_sparc"
4520 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4521 SAVE_CFLAGS
="$CFLAGS"
4522 CFLAGS
="$CFLAGS -belf"
4523 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4524 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4525 if test "${lt_cv_cc_needs_belf+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 ac_cpp
='$CPP $CPPFLAGS'
4530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4534 cat >conftest.
$ac_ext <<_ACEOF
4537 cat confdefs.h
>>conftest.
$ac_ext
4538 cat >>conftest.
$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4549 rm -f conftest.
$ac_objext conftest
$ac_exeext
4550 if { (ac_try
="$ac_link"
4552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 (eval "$ac_link") 2>conftest.er1
4558 grep -v '^ *+' conftest.er1 >conftest.err
4560 cat conftest.err >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } && {
4563 test -z "$ac_c_werror_flag" ||
4564 test ! -s conftest.err
4565 } && test -s conftest$ac_exeext &&
4566 $as_test_x conftest$ac_exeext; then
4567 lt_cv_cc_needs_belf=yes
4569 echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4572 lt_cv_cc_needs_belf=no
4575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4576 conftest$ac_exeext conftest.$ac_ext
4578 ac_cpp='$CPP $CPPFLAGS'
4579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4584 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4585 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4586 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4587 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4588 CFLAGS="$SAVE_CFLAGS"
4592 # Find out which ABI we are using.
4593 echo 'int i;' > conftest.$ac_ext
4594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4595 (eval $ac_compile) 2>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; then
4599 case `/usr
/bin
/file conftest.o
` in
4601 case $lt_cv_prog_gnu_ld in
4602 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4603 *) LD="${LD-ld} -64" ;;
4614 need_locks="$enable_libtool_lock"
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4623 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4624 # On Suns, sometimes $CPP names a directory.
4625 if test -n "$CPP" && test -d "$CPP"; then
4628 if test -z "$CPP"; then
4629 if test "${ac_cv_prog_CPP+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 # Double quotes because CPP needs to be expanded
4633 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4636 for ac_c_preproc_warn_flag in '' yes
4638 # Use a header file that comes with gcc, so configuring glibc
4639 # with a fresh cross-compiler works.
4640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4641 # <limits.h> exists even on freestanding compilers.
4642 # On the NeXT, cc -E runs the code through the compiler's parser,
4643 # not just through cpp. "Syntax error" is here to catch this case.
4644 cat >conftest.$ac_ext <<_ACEOF
4647 cat confdefs.h >>conftest.$ac_ext
4648 cat >>conftest.$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4651 # include <limits.h>
4653 # include <assert.h>
4657 if { (ac_try="$ac_cpp conftest.$ac_ext"
4659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4660 *) ac_try_echo
=$ac_try;;
4662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4665 grep -v '^ *+' conftest.er1
>conftest.err
4667 cat conftest.err
>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); } >/dev
/null
&& {
4670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4671 test ! -s conftest.err
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.
$ac_ext >&5
4678 # Broken: fails on valid input.
4682 rm -f conftest.err conftest.
$ac_ext
4684 # OK, works on sane cases. Now check whether nonexistent headers
4685 # can be detected and how.
4686 cat >conftest.
$ac_ext <<_ACEOF
4689 cat confdefs.h
>>conftest.
$ac_ext
4690 cat >>conftest.
$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 #include <ac_nonexistent.h>
4694 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4702 grep -v '^ *+' conftest.er1 >conftest.err
4704 cat conftest.err >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } >/dev/null && {
4707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4708 test ! -s conftest.err
4710 # Broken: success on invalid input.
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4716 # Passes both tests.
4721 rm -f conftest.err conftest.$ac_ext
4724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4725 rm -f conftest.err conftest.
$ac_ext
4726 if $ac_preproc_ok; then
4738 { echo "$as_me:$LINENO: result: $CPP" >&5
4739 echo "${ECHO_T}$CPP" >&6; }
4741 for ac_c_preproc_warn_flag
in '' yes
4743 # Use a header file that comes with gcc, so configuring glibc
4744 # with a fresh cross-compiler works.
4745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4746 # <limits.h> exists even on freestanding compilers.
4747 # On the NeXT, cc -E runs the code through the compiler's parser,
4748 # not just through cpp. "Syntax error" is here to catch this case.
4749 cat >conftest.
$ac_ext <<_ACEOF
4752 cat confdefs.h
>>conftest.
$ac_ext
4753 cat >>conftest.
$ac_ext <<_ACEOF
4754 /* end confdefs.h. */
4756 # include <limits.h>
4758 # include <assert.h>
4762 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4770 grep -v '^ *+' conftest.er1 >conftest.err
4772 cat conftest.err >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } >/dev/null && {
4775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4776 test ! -s conftest.err
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.$ac_ext >&5
4783 # Broken: fails on valid input.
4787 rm -f conftest.err conftest.$ac_ext
4789 # OK, works on sane cases. Now check whether nonexistent headers
4790 # can be detected and how.
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 #include <ac_nonexistent.h>
4799 if { (ac_try="$ac_cpp conftest.$ac_ext"
4801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4802 *) ac_try_echo
=$ac_try;;
4804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4807 grep -v '^ *+' conftest.er1
>conftest.err
4809 cat conftest.err
>&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); } >/dev
/null
&& {
4812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4813 test ! -s conftest.err
4815 # Broken: success on invalid input.
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.
$ac_ext >&5
4821 # Passes both tests.
4826 rm -f conftest.err conftest.
$ac_ext
4829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4830 rm -f conftest.err conftest.
$ac_ext
4831 if $ac_preproc_ok; then
4834 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4835 See \`config.log' for more details." >&5
4836 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4837 See \`config.log' for more details." >&2;}
4838 { (exit 1); exit 1; }; }
4842 ac_cpp
='$CPP $CPPFLAGS'
4843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4848 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4849 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4850 if test "${ac_cv_header_stdc+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 cat >conftest.
$ac_ext <<_ACEOF
4856 cat confdefs.h
>>conftest.
$ac_ext
4857 cat >>conftest.
$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4872 rm -f conftest.
$ac_objext
4873 if { (ac_try
="$ac_compile"
4875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4879 (eval "$ac_compile") 2>conftest.er1
4881 grep -v '^ *+' conftest.er1 >conftest.err
4883 cat conftest.err >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } && {
4886 test -z "$ac_c_werror_flag" ||
4887 test ! -s conftest.err
4888 } && test -s conftest.$ac_objext; then
4889 ac_cv_header_stdc=yes
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4894 ac_cv_header_stdc=no
4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 if test $ac_cv_header_stdc = yes; then
4900 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4901 cat >conftest.$ac_ext <<_ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4911 $EGREP "memchr" >/dev/null 2>&1; then
4914 ac_cv_header_stdc=no
4920 if test $ac_cv_header_stdc = yes; then
4921 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4922 cat >conftest.$ac_ext <<_ACEOF
4925 cat confdefs.h >>conftest.$ac_ext
4926 cat >>conftest.$ac_ext <<_ACEOF
4927 /* end confdefs.h. */
4931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4932 $EGREP "free" >/dev/null 2>&1; then
4935 ac_cv_header_stdc=no
4941 if test $ac_cv_header_stdc = yes; then
4942 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4943 if test "$cross_compiling" = yes; then
4946 cat >conftest.$ac_ext <<_ACEOF
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4954 #if ((' ' & 0x0FF) == 0x020)
4955 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4956 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4958 # define ISLOWER(c) \
4959 (('a' <= (c) && (c) <= 'i') \
4960 || ('j' <= (c) && (c) <= 'r') \
4961 || ('s' <= (c) && (c) <= 'z'))
4962 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4965 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4970 for (i = 0; i < 256; i++)
4971 if (XOR (islower (i), ISLOWER (i))
4972 || toupper (i) != TOUPPER (i))
4977 rm -f conftest$ac_exeext
4978 if { (ac_try="$ac_link"
4980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4981 *) ac_try_echo
=$ac_try;;
4983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4984 (eval "$ac_link") 2>&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4988 { (case "(($ac_try" in
4989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4990 *) ac_try_echo=$ac_try;;
4992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4993 (eval "$ac_try") 2>&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); }; }; then
4999 echo "$as_me: program exited with status $ac_status" >&5
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.$ac_ext >&5
5004 ac_cv_header_stdc=no
5006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5012 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5013 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5014 if test $ac_cv_header_stdc = yes; then
5016 cat >>confdefs.h <<\_ACEOF
5017 #define STDC_HEADERS 1
5022 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5032 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5033 inttypes.h stdint.h unistd.h
5035 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5036 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 cat >conftest.$ac_ext <<_ACEOF
5044 cat confdefs.h >>conftest.$ac_ext
5045 cat >>conftest.$ac_ext <<_ACEOF
5046 /* end confdefs.h. */
5047 $ac_includes_default
5049 #include <$ac_header>
5051 rm -f conftest.$ac_objext
5052 if { (ac_try="$ac_compile"
5054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5055 *) ac_try_echo
=$ac_try;;
5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5058 (eval "$ac_compile") 2>conftest.er1
5060 grep -v '^ *+' conftest.er1
>conftest.err
5062 cat conftest.err
>&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } && {
5065 test -z "$ac_c_werror_flag" ||
5066 test ! -s conftest.err
5067 } && test -s conftest.
$ac_objext; then
5068 eval "$as_ac_Header=yes"
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.
$ac_ext >&5
5073 eval "$as_ac_Header=no"
5076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5078 ac_res
=`eval echo '${'$as_ac_Header'}'`
5079 { echo "$as_me:$LINENO: result: $ac_res" >&5
5080 echo "${ECHO_T}$ac_res" >&6; }
5081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5082 cat >>confdefs.h
<<_ACEOF
5083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5092 for ac_header
in dlfcn.h
5094 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5095 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5098 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 ac_res
=`eval echo '${'$as_ac_Header'}'`
5102 { echo "$as_me:$LINENO: result: $ac_res" >&5
5103 echo "${ECHO_T}$ac_res" >&6; }
5105 # Is the header compilable?
5106 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5108 cat >conftest.
$ac_ext <<_ACEOF
5111 cat confdefs.h
>>conftest.
$ac_ext
5112 cat >>conftest.
$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 $ac_includes_default
5115 #include <$ac_header>
5117 rm -f conftest.
$ac_objext
5118 if { (ac_try
="$ac_compile"
5120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_compile") 2>conftest.er1
5126 grep -v '^ *+' conftest.er1 >conftest.err
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest.$ac_objext; then
5134 ac_header_compiler=yes
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.$ac_ext >&5
5139 ac_header_compiler=no
5142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5143 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5144 echo "${ECHO_T}$ac_header_compiler" >&6; }
5146 # Is the header present?
5147 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5149 cat >conftest.$ac_ext <<_ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5155 #include <$ac_header>
5157 if { (ac_try="$ac_cpp conftest.$ac_ext"
5159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5160 *) ac_try_echo
=$ac_try;;
5162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5165 grep -v '^ *+' conftest.er1
>conftest.err
5167 cat conftest.err
>&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); } >/dev
/null
&& {
5170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5171 test ! -s conftest.err
5173 ac_header_preproc
=yes
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.
$ac_ext >&5
5178 ac_header_preproc
=no
5181 rm -f conftest.err conftest.
$ac_ext
5182 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5183 echo "${ECHO_T}$ac_header_preproc" >&6; }
5185 # So? What about this header?
5186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5192 ac_header_preproc
=yes
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5208 ## -------------------------------------------------- ##
5209 ## Report this to courier-users@lists.sourceforge.net ##
5210 ## -------------------------------------------------- ##
5212 ) |
sed "s/^/$as_me: WARNING: /" >&2
5215 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5217 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5218 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 eval "$as_ac_Header=\$ac_header_preproc"
5222 ac_res
=`eval echo '${'$as_ac_Header'}'`
5223 { echo "$as_me:$LINENO: result: $ac_res" >&5
5224 echo "${ECHO_T}$ac_res" >&6; }
5227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5228 cat >>confdefs.h
<<_ACEOF
5229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5237 ac_cpp
='$CXXCPP $CPPFLAGS'
5238 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5239 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5240 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5241 if test -z "$CXX"; then
5242 if test -n "$CCC"; then
5245 if test -n "$ac_tool_prefix"; then
5246 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5249 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5252 if test "${ac_cv_prog_CXX+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 if test -n "$CXX"; then
5256 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5262 test -z "$as_dir" && as_dir
=.
5263 for ac_exec_ext
in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 if test -n "$CXX"; then
5277 { echo "$as_me:$LINENO: result: $CXX" >&5
5278 echo "${ECHO_T}$CXX" >&6; }
5280 { echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6; }
5285 test -n "$CXX" && break
5288 if test -z "$CXX"; then
5290 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy
$ac_prog; ac_word
=$2
5294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5296 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5299 if test -n "$ac_ct_CXX"; then
5300 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5320 if test -n "$ac_ct_CXX"; then
5321 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5322 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5324 { echo "$as_me:$LINENO: result: no" >&5
5325 echo "${ECHO_T}no" >&6; }
5329 test -n "$ac_ct_CXX" && break
5332 if test "x$ac_ct_CXX" = x
; then
5335 case $cross_compiling:$ac_tool_warned in
5337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5338 whose name does not start with the host triplet. If you think this
5339 configuration is useful to you, please write to autoconf@gnu.org." >&5
5340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5341 whose name does not start with the host triplet. If you think this
5342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5343 ac_tool_warned
=yes ;;
5351 # Provide some information about the compiler.
5352 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5353 ac_compiler
=`set X $ac_compile; echo $2`
5354 { (ac_try
="$ac_compiler --version >&5"
5356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5357 *) ac_try_echo=$ac_try;;
5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5360 (eval "$ac_compiler --version >&5") 2>&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); }
5364 { (ac_try="$ac_compiler -v >&5"
5366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5367 *) ac_try_echo
=$ac_try;;
5369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5370 (eval "$ac_compiler -v >&5") 2>&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); }
5374 { (ac_try
="$ac_compiler -V >&5"
5376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5377 *) ac_try_echo=$ac_try;;
5379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5380 (eval "$ac_compiler -V >&5") 2>&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }
5385 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5386 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5387 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5390 cat >conftest.$ac_ext <<_ACEOF
5393 cat confdefs.h >>conftest.$ac_ext
5394 cat >>conftest.$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5408 rm -f conftest.$ac_objext
5409 if { (ac_try="$ac_compile"
5411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5412 *) ac_try_echo
=$ac_try;;
5414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5415 (eval "$ac_compile") 2>conftest.er1
5417 grep -v '^ *+' conftest.er1
>conftest.err
5419 cat conftest.err
>&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); } && {
5422 test -z "$ac_cxx_werror_flag" ||
5423 test ! -s conftest.err
5424 } && test -s conftest.
$ac_objext; then
5427 echo "$as_me: failed program was:" >&5
5428 sed 's/^/| /' conftest.
$ac_ext >&5
5433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5434 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5437 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5438 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5439 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5440 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5441 ac_save_CXXFLAGS
=$CXXFLAGS
5442 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5443 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5444 if test "${ac_cv_prog_cxx_g+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5447 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5448 ac_cxx_werror_flag
=yes
5451 cat >conftest.
$ac_ext <<_ACEOF
5454 cat confdefs.h
>>conftest.
$ac_ext
5455 cat >>conftest.
$ac_ext <<_ACEOF
5456 /* end confdefs.h. */
5466 rm -f conftest.
$ac_objext
5467 if { (ac_try
="$ac_compile"
5469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5470 *) ac_try_echo=$ac_try;;
5472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5473 (eval "$ac_compile") 2>conftest.er1
5475 grep -v '^ *+' conftest.er1 >conftest.err
5477 cat conftest.err >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } && {
5480 test -z "$ac_cxx_werror_flag" ||
5481 test ! -s conftest.err
5482 } && test -s conftest.$ac_objext; then
5483 ac_cv_prog_cxx_g=yes
5485 echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5489 cat >conftest.$ac_ext <<_ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5504 rm -f conftest.$ac_objext
5505 if { (ac_try="$ac_compile"
5507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5508 *) ac_try_echo
=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_compile") 2>conftest.er1
5513 grep -v '^ *+' conftest.er1
>conftest.err
5515 cat conftest.err
>&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } && {
5518 test -z "$ac_cxx_werror_flag" ||
5519 test ! -s conftest.err
5520 } && test -s conftest.
$ac_objext; then
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.
$ac_ext >&5
5526 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5528 cat >conftest.
$ac_ext <<_ACEOF
5531 cat confdefs.h
>>conftest.
$ac_ext
5532 cat >>conftest.
$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5543 rm -f conftest.
$ac_objext
5544 if { (ac_try
="$ac_compile"
5546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5547 *) ac_try_echo=$ac_try;;
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_compile") 2>conftest.er1
5552 grep -v '^ *+' conftest.er1 >conftest.err
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && {
5557 test -z "$ac_cxx_werror_flag" ||
5558 test ! -s conftest.err
5559 } && test -s conftest.$ac_objext; then
5560 ac_cv_prog_cxx_g=yes
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.$ac_ext >&5
5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5575 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5577 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5578 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5579 if test "$ac_test_CXXFLAGS" = set; then
5580 CXXFLAGS=$ac_save_CXXFLAGS
5581 elif test $ac_cv_prog_cxx_g = yes; then
5582 if test "$GXX" = yes; then
5588 if test "$GXX" = yes; then
5595 ac_cpp='$CXXCPP $CPPFLAGS'
5596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5600 depcc="$CXX" am_compiler_list=
5602 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5603 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5604 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5605 echo $ECHO_N "(cached) $ECHO_C" >&6
5607 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5608 # We make a subdir and do the tests there. Otherwise we can end up
5609 # making bogus files that we don't know about and never remove. For
5610 # instance it was reported that on HP-UX the gcc test will end up
5611 # making a dummy file named `D
' -- because `-MD' means
`put the output
5614 # Copy depcomp to subdir because otherwise we won't find it if we're
5615 # using a relative directory.
5616 cp "$am_depcomp" conftest.dir
5618 # We will build objects and dependencies in a subdirectory because
5619 # it helps to detect inapplicable dependency modes. For instance
5620 # both Tru64's cc and ICC support -MD to output dependencies as a
5621 # side effect of compilation, but ICC will put the dependencies in
5622 # the current directory while Tru64 will put them in the object
5626 am_cv_CXX_dependencies_compiler_type=none
5627 if test "$am_compiler_list" = ""; then
5628 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5630 for depmode in $am_compiler_list; do
5631 # Setup a source with many dependencies, because some compilers
5632 # like to wrap large dependency lists on column 80 (with \), and
5633 # we should not choose a depcomp mode which is confused by this.
5635 # We need to recreate these files for each test, as the compiler may
5636 # overwrite some of them when testing with obscure command lines.
5637 # This happens at least with the AIX C compiler.
5639 for i in 1 2 3 4 5 6; do
5640 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5641 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5642 # Solaris 8's
{/usr
,}/bin
/sh.
5643 touch sub
/conftst
$i.h
5645 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5649 # after this tag, mechanisms are not by side-effect, so they'll
5650 # only be used when explicitly requested
5651 if test "x$enable_dependency_tracking" = xyes
; then
5659 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5660 # mode. It turns out that the SunPro C++ compiler does not properly
5661 # handle `-M -o', and we need to detect this.
5662 if depmode
=$depmode \
5663 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5664 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5665 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5666 >/dev
/null
2>conftest.err
&&
5667 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5668 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5669 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5670 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5671 # icc doesn't choke on unknown options, it will just issue warnings
5672 # or remarks (even with -Werror). So we grep stderr for any message
5673 # that says an option was ignored or not supported.
5674 # When given -MP, icc 7.0 and 7.1 complain thusly:
5675 # icc: Command line warning: ignoring option '-M'; no argument required
5676 # The diagnosis changed in icc 8.0:
5677 # icc: Command line remark: option '-MP' not supported
5678 if (grep 'ignoring option' conftest.err ||
5679 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5680 am_cv_CXX_dependencies_compiler_type
=$depmode
5689 am_cv_CXX_dependencies_compiler_type
=none
5693 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5694 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5695 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5698 test "x$enable_dependency_tracking" != xno \
5699 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5700 am__fastdepCXX_TRUE
=
5701 am__fastdepCXX_FALSE
='#'
5703 am__fastdepCXX_TRUE
='#'
5704 am__fastdepCXX_FALSE
=
5710 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5711 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5712 (test "X$CXX" != "Xg++"))) ; then
5714 ac_cpp
='$CXXCPP $CPPFLAGS'
5715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5718 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5719 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5720 if test -z "$CXXCPP"; then
5721 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 # Double quotes because CXXCPP needs to be expanded
5725 for CXXCPP
in "$CXX -E" "/lib/cpp"
5728 for ac_cxx_preproc_warn_flag
in '' yes
5730 # Use a header file that comes with gcc, so configuring glibc
5731 # with a fresh cross-compiler works.
5732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5733 # <limits.h> exists even on freestanding compilers.
5734 # On the NeXT, cc -E runs the code through the compiler's parser,
5735 # not just through cpp. "Syntax error" is here to catch this case.
5736 cat >conftest.
$ac_ext <<_ACEOF
5739 cat confdefs.h
>>conftest.
$ac_ext
5740 cat >>conftest.
$ac_ext <<_ACEOF
5741 /* end confdefs.h. */
5743 # include <limits.h>
5745 # include <assert.h>
5749 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5752 *) ac_try_echo=$ac_try;;
5754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5757 grep -v '^ *+' conftest.er1 >conftest.err
5759 cat conftest.err >&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } >/dev/null && {
5762 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5763 test ! -s conftest.err
5767 echo "$as_me: failed program was:" >&5
5768 sed 's/^/| /' conftest.$ac_ext >&5
5770 # Broken: fails on valid input.
5774 rm -f conftest.err conftest.$ac_ext
5776 # OK, works on sane cases. Now check whether nonexistent headers
5777 # can be detected and how.
5778 cat >conftest.$ac_ext <<_ACEOF
5781 cat confdefs.h >>conftest.$ac_ext
5782 cat >>conftest.$ac_ext <<_ACEOF
5783 /* end confdefs.h. */
5784 #include <ac_nonexistent.h>
5786 if { (ac_try="$ac_cpp conftest.$ac_ext"
5788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5789 *) ac_try_echo
=$ac_try;;
5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5794 grep -v '^ *+' conftest.er1
>conftest.err
5796 cat conftest.err
>&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } >/dev
/null
&& {
5799 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5800 test ! -s conftest.err
5802 # Broken: success on invalid input.
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.
$ac_ext >&5
5808 # Passes both tests.
5813 rm -f conftest.err conftest.
$ac_ext
5816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5817 rm -f conftest.err conftest.
$ac_ext
5818 if $ac_preproc_ok; then
5823 ac_cv_prog_CXXCPP
=$CXXCPP
5826 CXXCPP
=$ac_cv_prog_CXXCPP
5828 ac_cv_prog_CXXCPP
=$CXXCPP
5830 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5831 echo "${ECHO_T}$CXXCPP" >&6; }
5833 for ac_cxx_preproc_warn_flag
in '' yes
5835 # Use a header file that comes with gcc, so configuring glibc
5836 # with a fresh cross-compiler works.
5837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5838 # <limits.h> exists even on freestanding compilers.
5839 # On the NeXT, cc -E runs the code through the compiler's parser,
5840 # not just through cpp. "Syntax error" is here to catch this case.
5841 cat >conftest.
$ac_ext <<_ACEOF
5844 cat confdefs.h
>>conftest.
$ac_ext
5845 cat >>conftest.
$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5848 # include <limits.h>
5850 # include <assert.h>
5854 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5857 *) ac_try_echo=$ac_try;;
5859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5862 grep -v '^ *+' conftest.er1 >conftest.err
5864 cat conftest.err >&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } >/dev/null && {
5867 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5868 test ! -s conftest.err
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.$ac_ext >&5
5875 # Broken: fails on valid input.
5879 rm -f conftest.err conftest.$ac_ext
5881 # OK, works on sane cases. Now check whether nonexistent headers
5882 # can be detected and how.
5883 cat >conftest.$ac_ext <<_ACEOF
5886 cat confdefs.h >>conftest.$ac_ext
5887 cat >>conftest.$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5889 #include <ac_nonexistent.h>
5891 if { (ac_try="$ac_cpp conftest.$ac_ext"
5893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5894 *) ac_try_echo
=$ac_try;;
5896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5899 grep -v '^ *+' conftest.er1
>conftest.err
5901 cat conftest.err
>&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } >/dev
/null
&& {
5904 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5905 test ! -s conftest.err
5907 # Broken: success on invalid input.
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.
$ac_ext >&5
5913 # Passes both tests.
5918 rm -f conftest.err conftest.
$ac_ext
5921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5922 rm -f conftest.err conftest.
$ac_ext
5923 if $ac_preproc_ok; then
5926 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5927 See \`config.log' for more details." >&5
5928 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5929 See \`config.log' for more details." >&2;}
5930 { (exit 1); exit 1; }; }
5934 ac_cpp
='$CXXCPP $CPPFLAGS'
5935 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5936 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5937 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5943 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5944 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5945 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5946 if test -n "$ac_tool_prefix"; then
5947 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
5949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5950 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_F77+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 if test -n "$F77"; then
5957 ac_cv_prog_F77
="$F77" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 if test -n "$F77"; then
5978 { echo "$as_me:$LINENO: result: $F77" >&5
5979 echo "${ECHO_T}$F77" >&6; }
5981 { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5986 test -n "$F77" && break
5989 if test -z "$F77"; then
5991 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
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy
$ac_prog; ac_word
=$2
5995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5997 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 if test -n "$ac_ct_F77"; then
6001 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir
=.
6008 for ac_exec_ext
in '' $ac_executable_extensions; do
6009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 ac_cv_prog_ac_ct_F77
="$ac_prog"
6011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6021 if test -n "$ac_ct_F77"; then
6022 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6023 echo "${ECHO_T}$ac_ct_F77" >&6; }
6025 { echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6; }
6030 test -n "$ac_ct_F77" && break
6033 if test "x$ac_ct_F77" = x
; then
6036 case $cross_compiling:$ac_tool_warned in
6038 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6039 whose name does not start with the host triplet. If you think this
6040 configuration is useful to you, please write to autoconf@gnu.org." >&5
6041 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6042 whose name does not start with the host triplet. If you think this
6043 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6044 ac_tool_warned
=yes ;;
6051 # Provide some information about the compiler.
6052 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6053 ac_compiler
=`set X $ac_compile; echo $2`
6054 { (ac_try
="$ac_compiler --version >&5"
6056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6057 *) ac_try_echo=$ac_try;;
6059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6060 (eval "$ac_compiler --version >&5") 2>&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }
6064 { (ac_try="$ac_compiler -v >&5"
6066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6067 *) ac_try_echo
=$ac_try;;
6069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6070 (eval "$ac_compiler -v >&5") 2>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); }
6074 { (ac_try
="$ac_compiler -V >&5"
6076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6077 *) ac_try_echo=$ac_try;;
6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6080 (eval "$ac_compiler -V >&5") 2>&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); }
6086 # If we don't use `.F
' as extension, the preprocessor is not run on the
6087 # input file. (Note that this only needs to work for GNU compilers.)
6090 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6091 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6092 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 cat >conftest.$ac_ext <<_ACEOF
6103 rm -f conftest.$ac_objext
6104 if { (ac_try="$ac_compile"
6106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6107 *) ac_try_echo=$ac_try;;
6109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6110 (eval "$ac_compile") 2>conftest.er1
6112 grep -v '^
*+' conftest.er1 >conftest.err
6114 cat conftest.err >&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); } && {
6117 test -z "$ac_f77_werror_flag" ||
6118 test ! -s conftest.err
6119 } && test -s conftest.$ac_objext; then
6122 echo "$as_me: failed program was:" >&5
6123 sed 's
/^
/|
/' conftest.$ac_ext >&5
6128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6129 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6132 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6133 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6135 ac_test_FFLAGS=${FFLAGS+set}
6136 ac_save_FFLAGS=$FFLAGS
6138 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6139 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6140 if test "${ac_cv_prog_f77_g+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 cat >conftest.$ac_ext <<_ACEOF
6149 rm -f conftest.$ac_objext
6150 if { (ac_try="$ac_compile"
6152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6153 *) ac_try_echo=$ac_try;;
6155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6156 (eval "$ac_compile") 2>conftest.er1
6158 grep -v '^
*+' conftest.er1 >conftest.err
6160 cat conftest.err >&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } && {
6163 test -z "$ac_f77_werror_flag" ||
6164 test ! -s conftest.err
6165 } && test -s conftest.$ac_objext; then
6166 ac_cv_prog_f77_g=yes
6168 echo "$as_me: failed program was:" >&5
6169 sed 's
/^
/|
/' conftest.$ac_ext >&5
6174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6177 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6178 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6179 if test "$ac_test_FFLAGS" = set; then
6180 FFLAGS=$ac_save_FFLAGS
6181 elif test $ac_cv_prog_f77_g = yes; then
6182 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6188 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6195 G77=`test $ac_compiler_gnu = yes && echo yes`
6197 ac_cpp='$CPP $CPPFLAGS'
6198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6199 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6204 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6206 # find the maximum length of command line arguments
6207 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6208 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6209 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 # On DJGPP, this test can blow up pretty badly due to problems in libc
6218 # (any single argument exceeding 2000 bytes causes a buffer overrun
6219 # during glob expansion). Even if it were fixed, the result of this
6220 # check would be larger than it should be.
6221 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6225 # Under GNU Hurd, this test is not required because there is
6226 # no limit to the length of command line arguments.
6227 # Libtool will interpret -1 as no limit whatsoever
6228 lt_cv_sys_max_cmd_len
=-1;
6232 # On Win9x/ME, this test blows up -- it succeeds, but takes
6233 # about 5 minutes as the teststring grows exponentially.
6234 # Worse, since 9x/ME are not pre-emptively multitasking,
6235 # you end up with a "frozen" computer, even though with patience
6236 # the test eventually succeeds (with a max line length of 256k).
6237 # Instead, let's just punt: use the minimum linelength reported by
6238 # all of the supported platforms: 8192 (on NT/2K/XP).
6239 lt_cv_sys_max_cmd_len
=8192;
6243 # On AmigaOS with pdksh, this test takes hours, literally.
6244 # So we just punt and use a minimum line length of 8192.
6245 lt_cv_sys_max_cmd_len
=8192;
6248 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6249 # This has been around since 386BSD, at least. Likely further.
6250 if test -x /sbin
/sysctl
; then
6251 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6252 elif test -x /usr
/sbin
/sysctl
; then
6253 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6255 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6257 # And add a safety zone
6258 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6259 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6263 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6264 lt_cv_sys_max_cmd_len
=196608
6268 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6269 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6270 # nice to cause kernel panics so lets avoid the loop below.
6271 # First set a reasonable default.
6272 lt_cv_sys_max_cmd_len
=16384
6274 if test -x /sbin
/sysconfig
; then
6275 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6276 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6281 lt_cv_sys_max_cmd_len
=102400
6283 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6284 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6285 if test -n "$kargmax"; then
6286 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6288 lt_cv_sys_max_cmd_len
=32768
6292 # If test is not a shell built-in, we'll probably end up computing a
6293 # maximum length that is only half of the actual maximum length, but
6295 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6296 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6297 = "XX$teststring") >/dev
/null
2>&1 &&
6298 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6299 lt_cv_sys_max_cmd_len
=$new_result &&
6300 test $i != 17 # 1/2 MB should be enough
6303 teststring
=$teststring$teststring
6306 # Add a significant safety factor because C++ compilers can tack on massive
6307 # amounts of additional arguments before passing them to the linker.
6308 # It appears as though 1/2 is a usable value.
6309 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6315 if test -n $lt_cv_sys_max_cmd_len ; then
6316 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6317 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6319 { echo "$as_me:$LINENO: result: none" >&5
6320 echo "${ECHO_T}none" >&6; }
6326 # Check for command to grab the raw symbol name followed by C symbol from nm.
6327 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6328 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6329 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6333 # These are sane defaults that work on at least a few old systems.
6334 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6336 # Character class describing NM global symbol codes.
6337 symcode
='[BCDEGRST]'
6339 # Regexp to match symbols that can be accessed directly from C.
6340 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6342 # Transform an extracted symbol line into a proper C declaration
6343 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6345 # Transform an extracted symbol line into symbol name and symbol address
6346 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'"
6348 # Define system-specific variables.
6353 cygwin
* | mingw
* | pw32
*)
6354 symcode
='[ABCDGISTW]'
6356 hpux
*) # Its linker distinguishes data from code symbols
6357 if test "$host_cpu" = ia64
; then
6358 symcode
='[ABCDEGRST]'
6360 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6361 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'"
6364 if test "$host_cpu" = ia64
; then
6365 symcode
='[ABCDGIRSTW]'
6366 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6367 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'"
6371 symcode
='[BCDEGRST]'
6374 symcode
='[BCDEGQRST]'
6385 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6393 # Handle CRLF in mingw tool chain
6397 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6401 # If we're using GNU nm, then use its standard symbol codes.
6402 case `$NM -V 2>&1` in
6403 *GNU
* |
*'with BFD'*)
6404 symcode
='[ABCDGIRSTW]' ;;
6407 # Try without a prefix undercore, then with it.
6408 for ac_symprfx
in "" "_"; do
6410 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6411 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6413 # Write the raw and C identifiers.
6414 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6416 # Check to see that the pipe works correctly.
6420 cat > conftest.
$ac_ext <<EOF
6425 void nm_test_func(){}
6429 int main(){nm_test_var='a';nm_test_func();return(0);}
6432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6433 (eval $ac_compile) 2>&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; then
6437 # Now try to grab the symbols.
6439 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6440 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } && test -s "$nlist"; then
6444 # Try sorting and uniquifying the output.
6445 if sort "$nlist" |
uniq > "$nlist"T
; then
6446 mv -f "$nlist"T
"$nlist"
6451 # Make sure that we snagged all the symbols we need.
6452 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6453 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6454 cat <<EOF > conftest.$ac_ext
6460 # Now generate the symbol file.
6461 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6463 cat <<EOF >> conftest.$ac_ext
6464 #if defined (__STDC__) && __STDC__
6465 # define lt_ptr_t void *
6467 # define lt_ptr_t char *
6471 /* The mapping between symbol names and symbols. */
6476 lt_preloaded_symbols[] =
6479 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6480 cat <<\EOF
>> conftest.
$ac_ext
6488 # Now try linking the two files.
6489 mv conftest.
$ac_objext conftstm.
$ac_objext
6490 lt_save_LIBS
="$LIBS"
6491 lt_save_CFLAGS
="$CFLAGS"
6492 LIBS
="conftstm.$ac_objext"
6493 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6495 (eval $ac_link) 2>&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6501 LIBS
="$lt_save_LIBS"
6502 CFLAGS
="$lt_save_CFLAGS"
6504 echo "cannot find nm_test_func in $nlist" >&5
6507 echo "cannot find nm_test_var in $nlist" >&5
6510 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6513 echo "$progname: failed program was:" >&5
6514 cat conftest.
$ac_ext >&5
6516 rm -f conftest
* conftst
*
6518 # Do not use the global_symbol_pipe unless it works.
6519 if test "$pipe_works" = yes; then
6522 lt_cv_sys_global_symbol_pipe
=
6528 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6529 lt_cv_sys_global_symbol_to_cdecl
=
6531 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6532 { echo "$as_me:$LINENO: result: failed" >&5
6533 echo "${ECHO_T}failed" >&6; }
6535 { echo "$as_me:$LINENO: result: ok" >&5
6536 echo "${ECHO_T}ok" >&6; }
6539 { echo "$as_me:$LINENO: checking for objdir" >&5
6540 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6541 if test "${lt_cv_objdir+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 rm -f .libs
2>/dev
/null
6545 mkdir .libs
2>/dev
/null
6546 if test -d .libs
; then
6549 # MS-DOS does not allow filenames that begin with a dot.
6552 rmdir .libs
2>/dev
/null
6554 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6555 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6556 objdir
=$lt_cv_objdir
6564 # AIX sometimes has problems with the GCC collect2 program. For some
6565 # reason, if we set the COLLECT_NAMES environment variable, the problems
6566 # vanish in a puff of smoke.
6567 if test "X${COLLECT_NAMES+set}" != Xset
; then
6569 export COLLECT_NAMES
6574 # Sed substitution that helps us do robust quoting. It backslashifies
6575 # metacharacters that are still active within double-quoted strings.
6576 Xsed
='sed -e 1s/^X//'
6577 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6579 # Same as above, but do not quote variable references.
6580 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6582 # Sed substitution to delay expansion of an escaped shell variable in a
6583 # double_quote_subst'ed string.
6584 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6586 # Sed substitution to avoid accidental globbing in evaled expressions
6587 no_glob_subst
='s/\*/\\\*/g'
6593 default_ofile
=libtool
6594 can_build_shared
=yes
6596 # All known linkers require a `.a' archive for static linking (except MSVC,
6597 # which needs '.lib').
6599 ltmain
="$ac_aux_dir/ltmain.sh"
6600 ofile
="$default_ofile"
6601 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6603 if test -n "$ac_tool_prefix"; then
6604 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6605 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6608 if test "${ac_cv_prog_AR+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 if test -n "$AR"; then
6612 ac_cv_prog_AR
="$AR" # Let the user override the test.
6614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir
=.
6619 for ac_exec_ext
in '' $ac_executable_extensions; do
6620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6632 if test -n "$AR"; then
6633 { echo "$as_me:$LINENO: result: $AR" >&5
6634 echo "${ECHO_T}$AR" >&6; }
6636 { echo "$as_me:$LINENO: result: no" >&5
6637 echo "${ECHO_T}no" >&6; }
6642 if test -z "$ac_cv_prog_AR"; then
6644 # Extract the first word of "ar", so it can be a program name with args.
6645 set dummy
ar; ac_word
=$2
6646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6648 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 if test -n "$ac_ct_AR"; then
6652 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6658 test -z "$as_dir" && as_dir
=.
6659 for ac_exec_ext
in '' $ac_executable_extensions; do
6660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661 ac_cv_prog_ac_ct_AR
="ar"
6662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6672 if test -n "$ac_ct_AR"; then
6673 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6674 echo "${ECHO_T}$ac_ct_AR" >&6; }
6676 { echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6; }
6680 if test "x$ac_ct_AR" = x
; then
6683 case $cross_compiling:$ac_tool_warned in
6685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6686 whose name does not start with the host triplet. If you think this
6687 configuration is useful to you, please write to autoconf@gnu.org." >&5
6688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6689 whose name does not start with the host triplet. If you think this
6690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6691 ac_tool_warned
=yes ;;
6699 if test -n "$ac_tool_prefix"; then
6700 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6701 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6704 if test "${ac_cv_prog_RANLIB+set}" = set; then
6705 echo $ECHO_N "(cached) $ECHO_C" >&6
6707 if test -n "$RANLIB"; then
6708 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6714 test -z "$as_dir" && as_dir
=.
6715 for ac_exec_ext
in '' $ac_executable_extensions; do
6716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 RANLIB
=$ac_cv_prog_RANLIB
6728 if test -n "$RANLIB"; then
6729 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6730 echo "${ECHO_T}$RANLIB" >&6; }
6732 { echo "$as_me:$LINENO: result: no" >&5
6733 echo "${ECHO_T}no" >&6; }
6738 if test -z "$ac_cv_prog_RANLIB"; then
6739 ac_ct_RANLIB
=$RANLIB
6740 # Extract the first word of "ranlib", so it can be a program name with args.
6741 set dummy ranlib
; ac_word
=$2
6742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6744 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 if test -n "$ac_ct_RANLIB"; then
6748 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir
=.
6755 for ac_exec_ext
in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6768 if test -n "$ac_ct_RANLIB"; then
6769 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6770 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6772 { echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6; }
6776 if test "x$ac_ct_RANLIB" = x
; then
6779 case $cross_compiling:$ac_tool_warned in
6781 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6782 whose name does not start with the host triplet. If you think this
6783 configuration is useful to you, please write to autoconf@gnu.org." >&5
6784 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6785 whose name does not start with the host triplet. If you think this
6786 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6787 ac_tool_warned
=yes ;;
6789 RANLIB
=$ac_ct_RANLIB
6792 RANLIB
="$ac_cv_prog_RANLIB"
6795 if test -n "$ac_tool_prefix"; then
6796 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6797 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6800 if test "${ac_cv_prog_STRIP+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6803 if test -n "$STRIP"; then
6804 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir
=.
6811 for ac_exec_ext
in '' $ac_executable_extensions; do
6812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6813 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6823 STRIP
=$ac_cv_prog_STRIP
6824 if test -n "$STRIP"; then
6825 { echo "$as_me:$LINENO: result: $STRIP" >&5
6826 echo "${ECHO_T}$STRIP" >&6; }
6828 { echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6; }
6834 if test -z "$ac_cv_prog_STRIP"; then
6836 # Extract the first word of "strip", so it can be a program name with args.
6837 set dummy strip
; ac_word
=$2
6838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 if test -n "$ac_ct_STRIP"; then
6844 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir
=.
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_prog_ac_ct_STRIP
="strip"
6854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6863 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6864 if test -n "$ac_ct_STRIP"; then
6865 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6866 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6868 { echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6; }
6872 if test "x$ac_ct_STRIP" = x
; then
6875 case $cross_compiling:$ac_tool_warned in
6877 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6878 whose name does not start with the host triplet. If you think this
6879 configuration is useful to you, please write to autoconf@gnu.org." >&5
6880 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6881 whose name does not start with the host triplet. If you think this
6882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6883 ac_tool_warned
=yes ;;
6888 STRIP
="$ac_cv_prog_STRIP"
6893 old_CFLAGS
="$CFLAGS"
6895 # Set sane defaults for various variables
6896 test -z "$AR" && AR
=ar
6897 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6898 test -z "$AS" && AS
=as
6899 test -z "$CC" && CC
=cc
6900 test -z "$LTCC" && LTCC
=$CC
6901 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6902 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6903 test -z "$LD" && LD
=ld
6904 test -z "$LN_S" && LN_S
="ln -s"
6905 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6906 test -z "$NM" && NM
=nm
6907 test -z "$SED" && SED
=sed
6908 test -z "$OBJDUMP" && OBJDUMP
=objdump
6909 test -z "$RANLIB" && RANLIB
=:
6910 test -z "$STRIP" && STRIP
=:
6911 test -z "$ac_objext" && ac_objext
=o
6913 # Determine commands to create old-style static archives.
6914 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6915 old_postinstall_cmds
='chmod 644 $oldlib'
6916 old_postuninstall_cmds
=
6918 if test -n "$RANLIB"; then
6921 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6924 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6927 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6930 for cc_temp
in $compiler""; do
6932 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6933 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6938 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6941 # Only perform the check for file, if the check method requires it
6942 case $deplibs_check_method in
6944 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6945 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6946 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6947 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6955 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6956 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6957 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6958 for ac_dir
in $ac_dummy; do
6960 test -z "$ac_dir" && ac_dir
=.
6961 if test -f $ac_dir/${ac_tool_prefix}file; then
6962 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6963 if test -n "$file_magic_test_file"; then
6964 case $deplibs_check_method in
6966 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6967 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6968 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6969 $EGREP "$file_magic_regex" > /dev
/null
; then
6974 *** Warning: the command libtool uses to detect shared libraries,
6975 *** $file_magic_cmd, produces output that libtool cannot recognize.
6976 *** The result is that libtool may fail to recognize shared libraries
6977 *** as such. This will affect the creation of libtool libraries that
6978 *** depend on shared libraries, but programs linked with such libtool
6979 *** libraries will work regardless of this problem. Nevertheless, you
6980 *** may want to report the problem to your system manager and/or to
6981 *** bug-libtool@gnu.org
6991 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6996 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6997 if test -n "$MAGIC_CMD"; then
6998 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6999 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7001 { echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6; }
7005 if test -z "$lt_cv_path_MAGIC_CMD"; then
7006 if test -n "$ac_tool_prefix"; then
7007 { echo "$as_me:$LINENO: checking for file" >&5
7008 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7009 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7017 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7018 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7019 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7020 for ac_dir
in $ac_dummy; do
7022 test -z "$ac_dir" && ac_dir
=.
7023 if test -f $ac_dir/file; then
7024 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7025 if test -n "$file_magic_test_file"; then
7026 case $deplibs_check_method in
7028 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7029 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7030 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7031 $EGREP "$file_magic_regex" > /dev
/null
; then
7036 *** Warning: the command libtool uses to detect shared libraries,
7037 *** $file_magic_cmd, produces output that libtool cannot recognize.
7038 *** The result is that libtool may fail to recognize shared libraries
7039 *** as such. This will affect the creation of libtool libraries that
7040 *** depend on shared libraries, but programs linked with such libtool
7041 *** libraries will work regardless of this problem. Nevertheless, you
7042 *** may want to report the problem to your system manager and/or to
7043 *** bug-libtool@gnu.org
7053 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7058 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7059 if test -n "$MAGIC_CMD"; then
7060 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7061 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7063 { echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6; }
7079 # Check whether --enable-libtool-lock was given.
7080 if test "${enable_libtool_lock+set}" = set; then
7081 enableval
=$enable_libtool_lock;
7084 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7087 # Check whether --with-pic was given.
7088 if test "${with_pic+set}" = set; then
7089 withval
=$with_pic; pic_mode
="$withval"
7094 test -z "$pic_mode" && pic_mode
=default
7096 # Use C for the default configuration in the libtool script
7100 ac_cpp
='$CPP $CPPFLAGS'
7101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7106 # Source file extension for C test sources.
7109 # Object file extension for compiled C test sources.
7113 # Code to be used in simple compile tests
7114 lt_simple_compile_test_code
="int some_variable = 0;\n"
7116 # Code to be used in simple link tests
7117 lt_simple_link_test_code
='int main(){return(0);}\n'
7120 # If no C compiler was specified, use CC.
7123 # If no C compiler flags were specified, use CFLAGS.
7124 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7126 # Allow CC to be a program name with arguments.
7130 # save warnings/boilerplate of simple test code
7131 ac_outfile
=conftest.
$ac_objext
7132 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7133 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7134 _lt_compiler_boilerplate
=`cat conftest.err`
7137 ac_outfile
=conftest.
$ac_objext
7138 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7139 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7140 _lt_linker_boilerplate
=`cat conftest.err`
7145 lt_prog_compiler_no_builtin_flag
=
7147 if test "$GCC" = yes; then
7148 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7151 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7152 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7153 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 lt_cv_prog_compiler_rtti_exceptions
=no
7157 ac_outfile
=conftest.
$ac_objext
7158 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7159 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7160 # Insert the option either (1) after the last *FLAGS variable, or
7161 # (2) before a word containing "conftest.", or (3) at the end.
7162 # Note that $ac_compile itself does not contain backslashes and begins
7163 # with a dollar sign (not a hyphen), so the echo should work correctly.
7164 # The option is referenced via a variable to avoid confusing sed.
7165 lt_compile
=`echo "$ac_compile" | $SED \
7166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7168 -e 's:$: $lt_compiler_flag:'`
7169 (eval echo "\"\$as_me:7169: $lt_compile\"" >&5)
7170 (eval "$lt_compile" 2>conftest.err
)
7172 cat conftest.err
>&5
7173 echo "$as_me:7173: \$? = $ac_status" >&5
7174 if (exit $ac_status) && test -s "$ac_outfile"; then
7175 # The compiler can only warn and ignore the option if not recognized
7176 # So say no if there are warnings other than the usual output.
7177 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7178 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7179 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7180 lt_cv_prog_compiler_rtti_exceptions
=yes
7186 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7187 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7189 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7190 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7197 lt_prog_compiler_wl
=
7198 lt_prog_compiler_pic
=
7199 lt_prog_compiler_static
=
7201 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7202 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7204 if test "$GCC" = yes; then
7205 lt_prog_compiler_wl
='-Wl,'
7206 lt_prog_compiler_static
='-static'
7210 # All AIX code is PIC.
7211 if test "$host_cpu" = ia64
; then
7212 # AIX 5 now supports IA64 processor
7213 lt_prog_compiler_static
='-Bstatic'
7218 # FIXME: we need at least 68020 code to build shared libraries, but
7219 # adding the `-m68020' flag to GCC prevents building anything better,
7221 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7224 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7225 # PIC is the default for these OSes.
7228 mingw
* | pw32
* | os2
*)
7229 # This hack is so that the source file can tell whether it is being
7230 # built for inclusion in a dll (and should export symbols for example).
7231 lt_prog_compiler_pic
='-DDLL_EXPORT'
7234 darwin
* | rhapsody
*)
7235 # PIC is the default on this platform
7236 # Common symbols not allowed in MH_DYLIB files
7237 lt_prog_compiler_pic
='-fno-common'
7241 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7242 # Instead, we relocate shared libraries at runtime.
7246 # Just because we use GCC doesn't mean we suddenly get shared libraries
7247 # on systems that don't support them.
7248 lt_prog_compiler_can_build_shared
=no
7253 if test -d /usr
/nec
; then
7254 lt_prog_compiler_pic
=-Kconform_pic
7259 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7266 lt_prog_compiler_pic
='-fPIC'
7272 lt_prog_compiler_pic
='-fPIC'
7276 # PORTME Check for flag to pass linker flags through the system compiler.
7279 lt_prog_compiler_wl
='-Wl,'
7280 if test "$host_cpu" = ia64
; then
7281 # AIX 5 now supports IA64 processor
7282 lt_prog_compiler_static
='-Bstatic'
7284 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7288 # PIC is the default on this platform
7289 # Common symbols not allowed in MH_DYLIB files
7290 case $cc_basename in
7292 lt_prog_compiler_pic
='-qnocommon'
7293 lt_prog_compiler_wl
='-Wl,'
7298 mingw
* | pw32
* | os2
*)
7299 # This hack is so that the source file can tell whether it is being
7300 # built for inclusion in a dll (and should export symbols for example).
7301 lt_prog_compiler_pic
='-DDLL_EXPORT'
7304 hpux9
* | hpux10
* | hpux11
*)
7305 lt_prog_compiler_wl
='-Wl,'
7306 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7313 lt_prog_compiler_pic
='+Z'
7316 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7317 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7320 irix5
* | irix6
* | nonstopux
*)
7321 lt_prog_compiler_wl
='-Wl,'
7322 # PIC (with -KPIC) is the default.
7323 lt_prog_compiler_static
='-non_shared'
7327 lt_prog_compiler_pic
='-KPIC'
7328 lt_prog_compiler_static
='-Bstatic'
7332 case $cc_basename in
7334 lt_prog_compiler_wl
='-Wl,'
7335 lt_prog_compiler_pic
='-KPIC'
7336 lt_prog_compiler_static
='-static'
7338 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7339 # Portland Group compilers (*not* the Pentium gcc compiler,
7340 # which looks to be a dead project)
7341 lt_prog_compiler_wl
='-Wl,'
7342 lt_prog_compiler_pic
='-fpic'
7343 lt_prog_compiler_static
='-Bstatic'
7346 lt_prog_compiler_wl
='-Wl,'
7347 # All Alpha code is PIC.
7348 lt_prog_compiler_static
='-non_shared'
7353 osf3
* | osf4
* | osf5
*)
7354 lt_prog_compiler_wl
='-Wl,'
7355 # All OSF/1 code is PIC.
7356 lt_prog_compiler_static
='-non_shared'
7360 lt_prog_compiler_pic
='-KPIC'
7361 lt_prog_compiler_static
='-Bstatic'
7362 case $cc_basename in
7364 lt_prog_compiler_wl
='-Qoption ld ';;
7366 lt_prog_compiler_wl
='-Wl,';;
7371 lt_prog_compiler_wl
='-Qoption ld '
7372 lt_prog_compiler_pic
='-PIC'
7373 lt_prog_compiler_static
='-Bstatic'
7376 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7377 lt_prog_compiler_wl
='-Wl,'
7378 lt_prog_compiler_pic
='-KPIC'
7379 lt_prog_compiler_static
='-Bstatic'
7383 if test -d /usr
/nec
;then
7384 lt_prog_compiler_pic
='-Kconform_pic'
7385 lt_prog_compiler_static
='-Bstatic'
7389 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7390 lt_prog_compiler_wl
='-Wl,'
7391 lt_prog_compiler_pic
='-KPIC'
7392 lt_prog_compiler_static
='-Bstatic'
7396 lt_prog_compiler_wl
='-Wl,'
7397 lt_prog_compiler_can_build_shared
=no
7401 lt_prog_compiler_pic
='-pic'
7402 lt_prog_compiler_static
='-Bstatic'
7406 lt_prog_compiler_can_build_shared
=no
7411 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7412 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7415 # Check to make sure the PIC flag actually works.
7417 if test -n "$lt_prog_compiler_pic"; then
7419 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7420 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7421 if test "${lt_prog_compiler_pic_works+set}" = set; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 lt_prog_compiler_pic_works
=no
7425 ac_outfile
=conftest.
$ac_objext
7426 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7427 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7428 # Insert the option either (1) after the last *FLAGS variable, or
7429 # (2) before a word containing "conftest.", or (3) at the end.
7430 # Note that $ac_compile itself does not contain backslashes and begins
7431 # with a dollar sign (not a hyphen), so the echo should work correctly.
7432 # The option is referenced via a variable to avoid confusing sed.
7433 lt_compile
=`echo "$ac_compile" | $SED \
7434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7436 -e 's:$: $lt_compiler_flag:'`
7437 (eval echo "\"\$as_me:7437: $lt_compile\"" >&5)
7438 (eval "$lt_compile" 2>conftest.err
)
7440 cat conftest.err
>&5
7441 echo "$as_me:7441: \$? = $ac_status" >&5
7442 if (exit $ac_status) && test -s "$ac_outfile"; then
7443 # The compiler can only warn and ignore the option if not recognized
7444 # So say no if there are warnings other than the usual output.
7445 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7446 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7447 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7448 lt_prog_compiler_pic_works
=yes
7454 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7455 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7457 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7458 case $lt_prog_compiler_pic in
7460 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7463 lt_prog_compiler_pic
=
7464 lt_prog_compiler_can_build_shared
=no
7469 # For platforms which do not support PIC, -DPIC is meaningless:
7471 lt_prog_compiler_pic
=
7474 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7479 # Check to make sure the static flag actually works.
7481 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7482 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7483 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7484 if test "${lt_prog_compiler_static_works+set}" = set; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 lt_prog_compiler_static_works
=no
7488 save_LDFLAGS
="$LDFLAGS"
7489 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7490 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7491 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7492 # The linker can only warn and ignore the option if not recognized
7493 # So say no if there are warnings
7494 if test -s conftest.err
; then
7495 # Append any errors to the config.log.
7496 cat conftest.err
1>&5
7497 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7498 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7499 if diff conftest.exp conftest.er2
>/dev
/null
; then
7500 lt_prog_compiler_static_works
=yes
7503 lt_prog_compiler_static_works
=yes
7507 LDFLAGS
="$save_LDFLAGS"
7510 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7511 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7513 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7516 lt_prog_compiler_static
=
7520 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7521 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7522 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7523 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 lt_cv_prog_compiler_c_o
=no
7526 $rm -r conftest
2>/dev
/null
7530 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7532 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7533 # Insert the option either (1) after the last *FLAGS variable, or
7534 # (2) before a word containing "conftest.", or (3) at the end.
7535 # Note that $ac_compile itself does not contain backslashes and begins
7536 # with a dollar sign (not a hyphen), so the echo should work correctly.
7537 lt_compile
=`echo "$ac_compile" | $SED \
7538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7540 -e 's:$: $lt_compiler_flag:'`
7541 (eval echo "\"\$as_me:7541: $lt_compile\"" >&5)
7542 (eval "$lt_compile" 2>out
/conftest.err
)
7544 cat out
/conftest.err
>&5
7545 echo "$as_me:7545: \$? = $ac_status" >&5
7546 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7548 # The compiler can only warn and ignore the option if not recognized
7549 # So say no if there are warnings
7550 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7551 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7552 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7553 lt_cv_prog_compiler_c_o
=yes
7558 # SGI C++ compiler will create directory out/ii_files/ for
7559 # template instantiation
7560 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7561 $rm out
/* && rmdir out
7567 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7568 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7571 hard_links
="nottested"
7572 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7573 # do not overwrite the value of need_locks provided by the user
7574 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7575 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7578 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7580 ln conftest.a conftest.b
2>&5 || hard_links
=no
7581 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7582 { echo "$as_me:$LINENO: result: $hard_links" >&5
7583 echo "${ECHO_T}$hard_links" >&6; }
7584 if test "$hard_links" = no
; then
7585 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7586 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7593 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7594 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7597 allow_undefined_flag
=
7598 enable_shared_with_static_runtimes
=no
7600 archive_expsym_cmds
=
7601 old_archive_From_new_cmds
=
7602 old_archive_from_expsyms_cmds
=
7603 export_dynamic_flag_spec
=
7604 whole_archive_flag_spec
=
7605 thread_safe_flag_spec
=
7606 hardcode_libdir_flag_spec
=
7607 hardcode_libdir_flag_spec_ld
=
7608 hardcode_libdir_separator
=
7611 hardcode_shlibpath_var
=unsupported
7612 link_all_deplibs
=unknown
7613 hardcode_automatic
=no
7616 always_export_symbols
=no
7617 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7618 # include_expsyms should be a list of space-separated symbols to be *always*
7619 # included in the symbol list
7621 # exclude_expsyms can be an extended regexp of symbols to exclude
7622 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7623 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7624 # as well as any symbol that contains `d'.
7625 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7626 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7627 # platforms (ab)use it in PIC code, but their linkers get confused if
7628 # the symbol is explicitly referenced. Since portable code cannot
7629 # rely on this symbol name, it's probably fine to never include it in
7630 # preloaded symbol tables.
7631 extract_expsyms_cmds
=
7632 # Just being paranoid about ensuring that cc_basename is set.
7633 for cc_temp
in $compiler""; do
7635 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7636 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7641 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7644 cygwin
* | mingw
* | pw32
*)
7645 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7646 # When not using gcc, we currently assume that we are using
7647 # Microsoft Visual C++.
7648 if test "$GCC" != yes; then
7653 # we just hope/assume this is gcc and not c89 (= MSVC++)
7662 if test "$with_gnu_ld" = yes; then
7663 # If archive_cmds runs LD, not CC, wlarc should be empty
7666 # Set some defaults for GNU ld with shared library support. These
7667 # are reset later if shared libraries are not supported. Putting them
7668 # here allows them to be overridden if necessary.
7669 runpath_var
=LD_RUN_PATH
7670 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7671 export_dynamic_flag_spec
='${wl}--export-dynamic'
7672 # ancient GNU ld didn't support --whole-archive et. al.
7673 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7674 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7676 whole_archive_flag_spec
=
7678 supports_anon_versioning
=no
7679 case `$LD -v 2>/dev/null` in
7680 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7681 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7682 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7683 *\
2.11.
*) ;; # other 2.11 versions
7684 *) supports_anon_versioning
=yes ;;
7687 # See if GNU ld supports shared libraries.
7689 aix3
* | aix4
* | aix5
*)
7690 # On AIX/PPC, the GNU linker is very broken
7691 if test "$host_cpu" != ia64
; then
7695 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7696 *** to be unable to reliably create shared libraries on AIX.
7697 *** Therefore, libtool is disabling shared libraries support. If you
7698 *** really care for shared libraries, you may want to modify your PATH
7699 *** so that a non-GNU linker is found, and then restart.
7706 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)'
7707 hardcode_libdir_flag_spec
='-L$libdir'
7708 hardcode_minus_L
=yes
7710 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7711 # that the semantics of dynamic libraries on AmigaOS, at least up
7712 # to version 4, is to share data among multiple programs linked
7713 # with the same dynamic library. Since this doesn't match the
7714 # behavior of shared libraries on other platforms, we can't use
7720 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7721 allow_undefined_flag
=unsupported
7722 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7723 # support --undefined. This deserves some investigation. FIXME
7724 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7730 cygwin
* | mingw
* | pw32
*)
7731 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7732 # as there is no search path for DLLs.
7733 hardcode_libdir_flag_spec
='-L$libdir'
7734 allow_undefined_flag
=unsupported
7735 always_export_symbols
=no
7736 enable_shared_with_static_runtimes
=yes
7737 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7739 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7740 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7741 # If the export-symbols file already is a .def file (1st line
7742 # is EXPORTS), use it as is; otherwise, prepend...
7743 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7744 cp $export_symbols $output_objdir/$soname.def;
7746 echo EXPORTS > $output_objdir/$soname.def;
7747 cat $export_symbols >> $output_objdir/$soname.def;
7749 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7757 hardcode_shlibpath_var
=no
7758 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7759 export_dynamic_flag_spec
='${wl}-E'
7760 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7761 # Instead, shared libraries are loaded at an image base (0x10000000 by
7762 # default) and relocated if they conflict, which is a slow very memory
7763 # consuming and fragmenting process. To avoid this, we pick a random,
7764 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7765 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7766 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7767 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'
7771 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7773 case $cc_basename,$host_cpu in
7774 pgcc
*) # Portland Group C compiler
7775 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'
7776 tmp_addflag
=' $pic_flag'
7778 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7779 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'
7780 tmp_addflag
=' $pic_flag -Mnomain' ;;
7781 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7782 tmp_addflag
=' -i_dynamic' ;;
7783 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7784 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7785 ifc
* | ifort
*) # Intel Fortran compiler
7786 tmp_addflag
=' -nofor_main' ;;
7788 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7790 if test $supports_anon_versioning = yes; then
7791 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7792 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7793 $echo "local: *; };" >> $output_objdir/$libname.ver~
7794 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7802 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7803 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7806 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7807 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7812 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7816 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7817 *** create shared libraries on Solaris systems. Therefore, libtool
7818 *** is disabling shared libraries support. We urge you to upgrade GNU
7819 *** binutils to release 2.9.1 or newer. Another option is to modify
7820 *** your PATH or compiler configuration so that the native linker is
7821 *** used, and then restart.
7824 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7825 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7832 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7833 case `$LD -v 2>&1` in
7834 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7838 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7839 *** reliably create shared libraries on SCO systems. Therefore, libtool
7840 *** is disabling shared libraries support. We urge you to upgrade GNU
7841 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7842 *** your PATH or compiler configuration so that the native linker is
7843 *** used, and then restart.
7848 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7849 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7850 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7851 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7860 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7863 hardcode_shlibpath_var
=no
7867 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7868 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7869 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7876 if test "$ld_shlibs" = no
; then
7878 hardcode_libdir_flag_spec
=
7879 export_dynamic_flag_spec
=
7880 whole_archive_flag_spec
=
7883 # PORTME fill in a description of your system's linker (not GNU ld)
7886 allow_undefined_flag
=unsupported
7887 always_export_symbols
=yes
7888 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'
7889 # Note: this linker hardcodes the directories in LIBPATH if there
7890 # are no directories specified by -L.
7891 hardcode_minus_L
=yes
7892 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7893 # Neither direct hardcoding nor static linking is supported with a
7895 hardcode_direct
=unsupported
7900 if test "$host_cpu" = ia64
; then
7901 # On IA64, the linker does run time linking by default, so we don't
7902 # have to do anything special.
7903 aix_use_runtimelinking
=no
7904 exp_sym_flag
='-Bexport'
7907 # If we're using GNU nm, then we don't want the "-C" option.
7908 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7909 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7910 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'
7912 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'
7914 aix_use_runtimelinking
=no
7916 # Test if we are trying to use run time linking or normal
7917 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7918 # need to do runtime linking.
7919 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7920 for ld_flag
in $LDFLAGS; do
7921 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7922 aix_use_runtimelinking
=yes
7929 exp_sym_flag
='-bexport'
7930 no_entry_flag
='-bnoentry'
7933 # When large executables or shared objects are built, AIX ld can
7934 # have problems creating the table of contents. If linking a library
7935 # or program results in "error TOC overflow" add -mminimal-toc to
7936 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7937 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7941 hardcode_libdir_separator
=':'
7942 link_all_deplibs
=yes
7944 if test "$GCC" = yes; then
7945 case $host_os in aix4.
[012]|aix4.
[012].
*)
7946 # We only want to do this on AIX 4.2 and lower, the check
7947 # below for broken collect2 doesn't work under 4.3+
7948 collect2name
=`${CC} -print-prog-name=collect2`
7949 if test -f "$collect2name" && \
7950 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7952 # We have reworked collect2
7955 # We have old collect2
7956 hardcode_direct
=unsupported
7957 # It fails to find uninstalled libraries when the uninstalled
7958 # path is not listed in the libpath. Setting hardcode_minus_L
7959 # to unsupported forces relinking
7960 hardcode_minus_L
=yes
7961 hardcode_libdir_flag_spec
='-L$libdir'
7962 hardcode_libdir_separator
=
7966 shared_flag
='-shared'
7967 if test "$aix_use_runtimelinking" = yes; then
7968 shared_flag
="$shared_flag "'${wl}-G'
7972 if test "$host_cpu" = ia64
; then
7973 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7974 # chokes on -Wl,-G. The following line is correct:
7977 if test "$aix_use_runtimelinking" = yes; then
7978 shared_flag
='${wl}-G'
7980 shared_flag
='${wl}-bM:SRE'
7985 # It seems that -bexpall does not export symbols beginning with
7986 # underscore (_), so it is better to generate a list of symbols to export.
7987 always_export_symbols
=yes
7988 if test "$aix_use_runtimelinking" = yes; then
7989 # Warning - without using the other runtime loading flags (-brtl),
7990 # -berok will link without error, but may produce a broken library.
7991 allow_undefined_flag
='-berok'
7992 # Determine the default libpath from the value encoded in an empty executable.
7993 cat >conftest.
$ac_ext <<_ACEOF
7996 cat confdefs.h
>>conftest.
$ac_ext
7997 cat >>conftest.
$ac_ext <<_ACEOF
7998 /* end confdefs.h. */
8008 rm -f conftest.
$ac_objext conftest
$ac_exeext
8009 if { (ac_try
="$ac_link"
8011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8012 *) ac_try_echo=$ac_try;;
8014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8015 (eval "$ac_link") 2>conftest.er1
8017 grep -v '^ *+' conftest.er1 >conftest.err
8019 cat conftest.err >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } && {
8022 test -z "$ac_c_werror_flag" ||
8023 test ! -s conftest.err
8024 } && test -s conftest$ac_exeext &&
8025 $as_test_x conftest$ac_exeext; then
8027 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8029 # Check for a 64-bit object if we didn't find anything.
8030 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8033 echo "$as_me: failed program was:" >&5
8034 sed 's/^/| /' conftest.$ac_ext >&5
8039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8040 conftest$ac_exeext conftest.$ac_ext
8041 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8043 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8044 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"
8046 if test "$host_cpu" = ia64; then
8047 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8048 allow_undefined_flag="-z nodefs"
8049 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"
8051 # Determine the default libpath from the value encoded in an empty executable.
8052 cat >conftest.$ac_ext <<_ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8067 rm -f conftest.$ac_objext conftest$ac_exeext
8068 if { (ac_try="$ac_link"
8070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8071 *) ac_try_echo
=$ac_try;;
8073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8074 (eval "$ac_link") 2>conftest.er1
8076 grep -v '^ *+' conftest.er1
>conftest.err
8078 cat conftest.err
>&5
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); } && {
8081 test -z "$ac_c_werror_flag" ||
8082 test ! -s conftest.err
8083 } && test -s conftest
$ac_exeext &&
8084 $as_test_x conftest
$ac_exeext; then
8086 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8088 # Check for a 64-bit object if we didn't find anything.
8089 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8092 echo "$as_me: failed program was:" >&5
8093 sed 's/^/| /' conftest.
$ac_ext >&5
8098 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8099 conftest
$ac_exeext conftest.
$ac_ext
8100 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8102 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8103 # Warning - without using the other run time loading flags,
8104 # -berok will link without error, but may produce a broken library.
8105 no_undefined_flag
=' ${wl}-bernotok'
8106 allow_undefined_flag
=' ${wl}-berok'
8107 # Exported symbols can be pulled into shared objects from archives
8108 whole_archive_flag_spec
='$convenience'
8109 archive_cmds_need_lc
=yes
8110 # This is similar to how AIX traditionally builds its shared libraries.
8111 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'
8117 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)'
8118 hardcode_libdir_flag_spec
='-L$libdir'
8119 hardcode_minus_L
=yes
8120 # see comment about different semantics on the GNU ld section
8125 export_dynamic_flag_spec
=-rdynamic
8128 cygwin
* | mingw
* | pw32
*)
8129 # When not using gcc, we currently assume that we are using
8130 # Microsoft Visual C++.
8131 # hardcode_libdir_flag_spec is actually meaningless, as there is
8132 # no search path for DLLs.
8133 hardcode_libdir_flag_spec
=' '
8134 allow_undefined_flag
=unsupported
8135 # Tell ltmain to make .lib files, not .a files.
8137 # Tell ltmain to make .dll files, not .so files.
8139 # FIXME: Setting linknames here is a bad hack.
8140 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8141 # The linker will automatically build a .lib file if we build a DLL.
8142 old_archive_From_new_cmds
='true'
8143 # FIXME: Should let the user specify the lib program.
8144 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8145 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8146 enable_shared_with_static_runtimes
=yes
8149 darwin
* | rhapsody
*)
8151 rhapsody
* | darwin1.
[012])
8152 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8155 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8156 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8158 case ${MACOSX_DEPLOYMENT_TARGET} in
8160 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8163 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8169 archive_cmds_need_lc
=no
8171 hardcode_automatic
=yes
8172 hardcode_shlibpath_var
=unsupported
8173 whole_archive_flag_spec
=''
8174 link_all_deplibs
=yes
8175 if test "$GCC" = yes ; then
8176 output_verbose_link_cmd
='echo'
8177 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8178 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8179 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8180 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}'
8181 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}'
8183 case $cc_basename in
8185 output_verbose_link_cmd
='echo'
8186 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8187 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8188 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8189 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8190 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}'
8200 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8201 hardcode_libdir_flag_spec
='-L$libdir'
8202 hardcode_shlibpath_var
=no
8209 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8210 # support. Future versions do this automatically, but an explicit c++rt0.o
8211 # does not break anything, and helps significantly (at the cost of a little
8214 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8215 hardcode_libdir_flag_spec
='-R$libdir'
8217 hardcode_shlibpath_var
=no
8220 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8222 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8224 hardcode_minus_L
=yes
8225 hardcode_shlibpath_var
=no
8228 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8229 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8230 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8231 hardcode_libdir_flag_spec
='-R$libdir'
8233 hardcode_shlibpath_var
=no
8237 if test "$GCC" = yes; then
8238 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'
8240 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'
8242 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8243 hardcode_libdir_separator
=:
8246 # hardcode_minus_L: Not really in the search PATH,
8247 # but as the default location of the library.
8248 hardcode_minus_L
=yes
8249 export_dynamic_flag_spec
='${wl}-E'
8253 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8254 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8256 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8258 if test "$with_gnu_ld" = no
; then
8259 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8260 hardcode_libdir_separator
=:
8263 export_dynamic_flag_spec
='${wl}-E'
8265 # hardcode_minus_L: Not really in the search PATH,
8266 # but as the default location of the library.
8267 hardcode_minus_L
=yes
8272 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8275 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8278 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8281 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8287 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8290 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8293 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8297 if test "$with_gnu_ld" = no
; then
8298 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8299 hardcode_libdir_separator
=:
8303 hardcode_libdir_flag_spec_ld
='+b $libdir'
8305 hardcode_shlibpath_var
=no
8309 export_dynamic_flag_spec
='${wl}-E'
8311 # hardcode_minus_L: Not really in the search PATH,
8312 # but as the default location of the library.
8313 hardcode_minus_L
=yes
8319 irix5
* | irix6
* | nonstopux
*)
8320 if test "$GCC" = yes; then
8321 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'
8323 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'
8324 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8326 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8327 hardcode_libdir_separator
=:
8328 link_all_deplibs
=yes
8332 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8333 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8335 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8337 hardcode_libdir_flag_spec
='-R$libdir'
8339 hardcode_shlibpath_var
=no
8343 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8345 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8346 hardcode_libdir_separator
=:
8347 hardcode_shlibpath_var
=no
8352 hardcode_shlibpath_var
=no
8353 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8354 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8355 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8356 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8357 export_dynamic_flag_spec
='${wl}-E'
8360 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8361 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8362 hardcode_libdir_flag_spec
='-R$libdir'
8365 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8366 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8373 hardcode_libdir_flag_spec
='-L$libdir'
8374 hardcode_minus_L
=yes
8375 allow_undefined_flag
=unsupported
8376 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'
8377 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8381 if test "$GCC" = yes; then
8382 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8383 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'
8385 allow_undefined_flag
=' -expect_unresolved \*'
8386 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'
8388 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8389 hardcode_libdir_separator
=:
8392 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8393 if test "$GCC" = yes; then
8394 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8395 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'
8396 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8398 allow_undefined_flag
=' -expect_unresolved \*'
8399 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'
8400 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8401 $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'
8403 # Both c and cxx compiler support -rpath directly
8404 hardcode_libdir_flag_spec
='-rpath $libdir'
8406 hardcode_libdir_separator
=:
8410 no_undefined_flag
=' -z text'
8411 if test "$GCC" = yes; then
8413 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8414 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8415 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8418 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8419 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8420 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8422 hardcode_libdir_flag_spec
='-R$libdir'
8423 hardcode_shlibpath_var
=no
8425 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8427 # The compiler driver will combine linker options so we
8428 # cannot just pass the convience library names through
8429 # without $wl, iff we do not link with $LD.
8430 # Luckily, gcc supports the same syntax we need for Sun Studio.
8431 # Supported since Solaris 2.6 (maybe 2.5.1?)
8434 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8436 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8439 link_all_deplibs
=yes
8443 if test "x$host_vendor" = xsequent
; then
8444 # Use $CC to link under sequent, because it throws in some extra .o
8445 # files that make .init and .fini sections work.
8446 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8448 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8450 hardcode_libdir_flag_spec
='-L$libdir'
8452 hardcode_minus_L
=yes
8453 hardcode_shlibpath_var
=no
8457 case $host_vendor in
8459 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8460 hardcode_direct
=yes # is this really true???
8463 ## LD is ld it makes a PLAMLIB
8464 ## CC just makes a GrossModule.
8465 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8466 reload_cmds
='$CC -r -o $output$reload_objs'
8470 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8471 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8474 runpath_var
='LD_RUN_PATH'
8475 hardcode_shlibpath_var
=no
8479 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8480 hardcode_shlibpath_var
=no
8481 export_dynamic_flag_spec
='-Bexport'
8485 if test -d /usr
/nec
; then
8486 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8487 hardcode_shlibpath_var
=no
8488 runpath_var
=LD_RUN_PATH
8489 hardcode_runpath_var
=yes
8494 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8495 no_undefined_flag
='${wl}-z,text'
8496 archive_cmds_need_lc
=no
8497 hardcode_shlibpath_var
=no
8498 runpath_var
='LD_RUN_PATH'
8500 if test "$GCC" = yes; then
8501 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8502 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8504 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8505 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8509 sysv5
* | sco3.2v5
* | sco5v6
*)
8510 # Note: We can NOT use -z defs as we might desire, because we do not
8511 # link with -lc, and that would cause any symbols used from libc to
8512 # always be unresolved, which means just about no library would
8513 # ever link correctly. If we're not using GNU ld we use -z text
8514 # though, which does catch some bad symbols but isn't as heavy-handed
8516 no_undefined_flag
='${wl}-z,text'
8517 allow_undefined_flag
='${wl}-z,nodefs'
8518 archive_cmds_need_lc
=no
8519 hardcode_shlibpath_var
=no
8520 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8521 hardcode_libdir_separator
=':'
8522 link_all_deplibs
=yes
8523 export_dynamic_flag_spec
='${wl}-Bexport'
8524 runpath_var
='LD_RUN_PATH'
8526 if test "$GCC" = yes; then
8527 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8528 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8530 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8531 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8536 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8537 hardcode_libdir_flag_spec
='-L$libdir'
8538 hardcode_shlibpath_var
=no
8547 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8548 echo "${ECHO_T}$ld_shlibs" >&6; }
8549 test "$ld_shlibs" = no
&& can_build_shared
=no
8552 # Do we need to explicitly link libc?
8554 case "x$archive_cmds_need_lc" in
8556 # Assume -lc should be added
8557 archive_cmds_need_lc
=yes
8559 if test "$enable_shared" = yes && test "$GCC" = yes; then
8560 case $archive_cmds in
8562 # FIXME: we may have to deal with multi-command sequences.
8565 # Test whether the compiler implicitly links with -lc since on some
8566 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8567 # to ld, don't add -lc before -lgcc.
8568 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8569 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8571 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8574 (eval $ac_compile) 2>&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); } 2>conftest.err
; then
8580 libobjs
=conftest.
$ac_objext
8582 wl
=$lt_prog_compiler_wl
8583 pic_flag
=$lt_prog_compiler_pic
8589 lt_save_allow_undefined_flag
=$allow_undefined_flag
8590 allow_undefined_flag
=
8591 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8592 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595 (exit $ac_status); }
8597 archive_cmds_need_lc
=no
8599 archive_cmds_need_lc
=yes
8601 allow_undefined_flag
=$lt_save_allow_undefined_flag
8603 cat conftest.err
1>&5
8606 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8607 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8614 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8615 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8617 libname_spec
='lib$name'
8625 shlibpath_overrides_runpath
=unknown
8627 dynamic_linker
="$host_os ld.so"
8628 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8629 if test "$GCC" = yes; then
8630 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8631 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8632 # if the path contains ";" then we assume it to be the separator
8633 # otherwise default to the standard path separator (i.e. ":") - it is
8634 # assumed that no part of a normal pathname contains ";" but that should
8635 # okay in the real world where ";" in dirpaths is itself problematic.
8636 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8638 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8641 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8643 need_lib_prefix
=unknown
8644 hardcode_into_libs
=no
8646 # when you set need_version to no, make sure it does not cause -set_version
8647 # flags to be left without arguments
8648 need_version
=unknown
8653 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8654 shlibpath_var
=LIBPATH
8656 # AIX 3 has no versioning support, so we append a major version to the name.
8657 soname_spec
='${libname}${release}${shared_ext}$major'
8664 hardcode_into_libs
=yes
8665 if test "$host_cpu" = ia64
; then
8666 # AIX 5 supports IA64
8667 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8668 shlibpath_var
=LD_LIBRARY_PATH
8670 # With GCC up to 2.95.x, collect2 would create an import file
8671 # for dependence libraries. The import file would start with
8672 # the line `#! .'. This would cause the generated library to
8673 # depend on `.', always an invalid library. This was fixed in
8674 # development snapshots of GCC prior to 3.0.
8676 aix4 | aix4.
[01] | aix4.
[01].
*)
8677 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8679 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8686 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8687 # soname into executable. Probably we can add versioning support to
8688 # collect2, so additional links can be useful in future.
8689 if test "$aix_use_runtimelinking" = yes; then
8690 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8691 # instead of lib<name>.a to let people know that these are not
8692 # typical AIX shared libraries.
8693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8695 # We preserve .a as extension for shared libraries through AIX4.2
8696 # and later when we are not doing run time linking.
8697 library_names_spec
='${libname}${release}.a $libname.a'
8698 soname_spec
='${libname}${release}${shared_ext}$major'
8700 shlibpath_var
=LIBPATH
8705 library_names_spec
='$libname.ixlibrary $libname.a'
8706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8707 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'
8711 library_names_spec
='${libname}${shared_ext}'
8712 dynamic_linker
="$host_os ld.so"
8713 shlibpath_var
=LIBRARY_PATH
8719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8720 soname_spec
='${libname}${release}${shared_ext}$major'
8721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8722 shlibpath_var
=LD_LIBRARY_PATH
8723 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8724 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8725 # the default ld.so.conf also contains /usr/contrib/lib and
8726 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8727 # libtool to hard-code these into programs
8730 cygwin
* | mingw
* | pw32
*)
8731 version_type
=windows
8736 case $GCC,$host_os in
8737 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8738 library_names_spec
='$libname.dll.a'
8739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8740 postinstall_cmds
='base_file=`basename \${file}`~
8741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8742 dldir=$destdir/`dirname \$dlpath`~
8743 test -d \$dldir || mkdir -p \$dldir~
8744 $install_prog $dir/$dlname \$dldir/$dlname~
8745 chmod a+x \$dldir/$dlname'
8746 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8747 dlpath=$dir/\$dldll~
8749 shlibpath_overrides_runpath
=yes
8753 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8754 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8755 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8758 # MinGW DLLs use traditional 'lib' prefix
8759 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8760 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8761 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8762 # It is most probably a Windows format PATH printed by
8763 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8764 # path with ; separators, and with drive letters. We can handle the
8765 # drive letters (cygwin fileutils understands them), so leave them,
8766 # especially as we might pass files found there to a mingw objdump,
8767 # which wouldn't understand a cygwinified path. Ahh.
8768 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8770 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8774 # pw32 DLLs use 'pw' prefix rather than 'lib'
8775 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8781 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8784 dynamic_linker
='Win32 ld.exe'
8785 # FIXME: first we should search . and the directory the executable is in
8789 darwin
* | rhapsody
*)
8790 dynamic_linker
="$host_os dyld"
8794 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8795 soname_spec
='${libname}${release}${major}$shared_ext'
8796 shlibpath_overrides_runpath
=yes
8797 shlibpath_var
=DYLD_LIBRARY_PATH
8798 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8799 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8800 if test "$GCC" = yes; then
8801 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8803 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8805 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8813 soname_spec
='${libname}${release}${shared_ext}$major'
8814 shlibpath_var
=LD_LIBRARY_PATH
8825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8826 soname_spec
='${libname}${release}${shared_ext}$major'
8827 shlibpath_var
=LD_LIBRARY_PATH
8828 shlibpath_overrides_runpath
=no
8829 hardcode_into_libs
=yes
8830 dynamic_linker
='GNU ld.so'
8833 freebsd
* | dragonfly
*)
8834 # DragonFly does not have aout. When/if they implement a new
8835 # versioning mechanism, adjust this.
8836 if test -x /usr
/bin
/objformat
; then
8837 objformat
=`/usr/bin/objformat`
8840 freebsd
[123]*) objformat
=aout
;;
8844 version_type
=freebsd-
$objformat
8845 case $version_type in
8847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8852 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8856 shlibpath_var
=LD_LIBRARY_PATH
8859 shlibpath_overrides_runpath
=yes
8861 freebsd3.
[01]* | freebsdelf3.
[01]*)
8862 shlibpath_overrides_runpath
=yes
8863 hardcode_into_libs
=yes
8865 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8866 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8867 shlibpath_overrides_runpath
=no
8868 hardcode_into_libs
=yes
8870 freebsd
*) # from 4.6 on
8871 shlibpath_overrides_runpath
=yes
8872 hardcode_into_libs
=yes
8881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8882 soname_spec
='${libname}${release}${shared_ext}$major'
8883 shlibpath_var
=LD_LIBRARY_PATH
8884 hardcode_into_libs
=yes
8887 hpux9
* | hpux10
* | hpux11
*)
8888 # Give a soname corresponding to the major version so that dld.sl refuses to
8889 # link against other versions.
8896 hardcode_into_libs
=yes
8897 dynamic_linker
="$host_os dld.so"
8898 shlibpath_var
=LD_LIBRARY_PATH
8899 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8901 soname_spec
='${libname}${release}${shared_ext}$major'
8902 if test "X$HPUX_IA64_MODE" = X32
; then
8903 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8905 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8911 hardcode_into_libs
=yes
8912 dynamic_linker
="$host_os dld.sl"
8913 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8914 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8916 soname_spec
='${libname}${release}${shared_ext}$major'
8917 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8918 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8922 dynamic_linker
="$host_os dld.sl"
8923 shlibpath_var
=SHLIB_PATH
8924 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8926 soname_spec
='${libname}${release}${shared_ext}$major'
8929 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8930 postinstall_cmds
='chmod 555 $lib'
8937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8938 soname_spec
='${libname}${release}${shared_ext}$major'
8939 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8940 shlibpath_var
=LD_LIBRARY_PATH
8941 shlibpath_overrides_runpath
=no
8942 hardcode_into_libs
=yes
8945 irix5
* | irix6
* | nonstopux
*)
8947 nonstopux
*) version_type
=nonstopux
;;
8949 if test "$lt_cv_prog_gnu_ld" = yes; then
8957 soname_spec
='${libname}${release}${shared_ext}$major'
8958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8960 irix5
* | nonstopux
*)
8964 case $LD in # libtool.m4 will add one of these switches to LD
8965 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8966 libsuff
= shlibsuff
= libmagic
=32-bit;;
8967 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8968 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8969 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8970 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8971 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8975 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8976 shlibpath_overrides_runpath
=no
8977 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8978 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8979 hardcode_into_libs
=yes
8982 # No shared lib support for Linux oldld, aout, or coff.
8983 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8987 # This must be Linux ELF.
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8995 shlibpath_var
=LD_LIBRARY_PATH
8996 shlibpath_overrides_runpath
=no
8997 # This implies no fast_install, which is unacceptable.
8998 # Some rework will be needed to allow for fast_install
8999 # before this can be enabled.
9000 hardcode_into_libs
=yes
9002 # find out which ABI we are using
9005 x86_64
*|s390x
*|powerpc64
*)
9006 echo '#line 9006 "configure"' > conftest.
$ac_ext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; then
9012 case `/usr/bin/file conftest.$ac_objext` in
9015 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9023 # Append ld.so.conf contents to the search path
9024 if test -f /etc
/ld.so.conf
; then
9025 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9026 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9029 # We used to test for /lib/ld.so.1 and disable shared libraries on
9030 # powerpc, because MkLinux only supported shared libraries with the
9031 # GNU dynamic linker. Since this was broken with cross compilers,
9032 # most powerpc-linux boxes support dynamic linking these days and
9033 # people can always --disable-shared, the test was removed, and we
9034 # assume the GNU/Linux dynamic linker is in use.
9035 dynamic_linker
='GNU/Linux ld.so'
9042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9043 soname_spec
='${libname}${release}${shared_ext}$major'
9044 shlibpath_var
=LD_LIBRARY_PATH
9045 shlibpath_overrides_runpath
=no
9046 hardcode_into_libs
=yes
9047 dynamic_linker
='GNU ld.so'
9054 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9056 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9057 dynamic_linker
='NetBSD (a.out) ld.so'
9059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9060 soname_spec
='${libname}${release}${shared_ext}$major'
9061 dynamic_linker
='NetBSD ld.elf_so'
9063 shlibpath_var
=LD_LIBRARY_PATH
9064 shlibpath_overrides_runpath
=yes
9065 hardcode_into_libs
=yes
9070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9071 shlibpath_var
=LD_LIBRARY_PATH
9072 shlibpath_overrides_runpath
=yes
9079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9080 soname_spec
='${libname}${release}${shared_ext}$major'
9081 shlibpath_var
=LD_LIBRARY_PATH
9082 shlibpath_overrides_runpath
=yes
9087 sys_lib_dlsearch_path_spec
="/usr/lib"
9089 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9091 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9092 *) need_version
=no
;;
9094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9095 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9096 shlibpath_var
=LD_LIBRARY_PATH
9097 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9099 openbsd2.
[89] | openbsd2.
[89].
*)
9100 shlibpath_overrides_runpath
=no
9103 shlibpath_overrides_runpath
=yes
9107 shlibpath_overrides_runpath
=yes
9112 libname_spec
='$name'
9115 library_names_spec
='$libname${shared_ext} $libname.a'
9116 dynamic_linker
='OS/2 ld.exe'
9117 shlibpath_var
=LIBPATH
9120 osf3
* | osf4
* | osf5
*)
9124 soname_spec
='${libname}${release}${shared_ext}$major'
9125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9126 shlibpath_var
=LD_LIBRARY_PATH
9127 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9128 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9136 soname_spec
='${libname}${release}${shared_ext}$major'
9137 shlibpath_var
=LD_LIBRARY_PATH
9138 shlibpath_overrides_runpath
=yes
9139 hardcode_into_libs
=yes
9140 # ldd complains unless libraries are executable
9141 postinstall_cmds
='chmod +x $lib'
9146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9147 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9148 shlibpath_var
=LD_LIBRARY_PATH
9149 shlibpath_overrides_runpath
=yes
9150 if test "$with_gnu_ld" = yes; then
9158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9159 soname_spec
='${libname}${release}${shared_ext}$major'
9160 shlibpath_var
=LD_LIBRARY_PATH
9161 case $host_vendor in
9163 shlibpath_overrides_runpath
=no
9165 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9166 runpath_var
=LD_RUN_PATH
9174 shlibpath_overrides_runpath
=no
9175 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9181 if test -d /usr
/nec
;then
9183 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9184 soname_spec
='$libname${shared_ext}.$major'
9185 shlibpath_var
=LD_LIBRARY_PATH
9189 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9190 version_type
=freebsd-elf
9193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9194 soname_spec
='${libname}${release}${shared_ext}$major'
9195 shlibpath_var
=LD_LIBRARY_PATH
9196 hardcode_into_libs
=yes
9197 if test "$with_gnu_ld" = yes; then
9198 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9199 shlibpath_overrides_runpath
=no
9201 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9202 shlibpath_overrides_runpath
=yes
9205 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9209 sys_lib_dlsearch_path_spec
='/usr/lib'
9214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9215 soname_spec
='${libname}${release}${shared_ext}$major'
9216 shlibpath_var
=LD_LIBRARY_PATH
9223 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9224 echo "${ECHO_T}$dynamic_linker" >&6; }
9225 test "$dynamic_linker" = no
&& can_build_shared
=no
9227 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9228 if test "$GCC" = yes; then
9229 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9232 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9233 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9235 if test -n "$hardcode_libdir_flag_spec" || \
9236 test -n "$runpath_var" || \
9237 test "X$hardcode_automatic" = "Xyes" ; then
9239 # We can hardcode non-existant directories.
9240 if test "$hardcode_direct" != no
&&
9241 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9242 # have to relink, otherwise we might link with an installed library
9243 # when we should be linking with a yet-to-be-installed one
9244 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9245 test "$hardcode_minus_L" != no
; then
9246 # Linking always hardcodes the temporary library directory.
9247 hardcode_action
=relink
9249 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9250 hardcode_action
=immediate
9253 # We cannot hardcode anything, or else we can only hardcode existing
9255 hardcode_action
=unsupported
9257 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9258 echo "${ECHO_T}$hardcode_action" >&6; }
9260 if test "$hardcode_action" = relink
; then
9261 # Fast installation is not supported
9262 enable_fast_install
=no
9263 elif test "$shlibpath_overrides_runpath" = yes ||
9264 test "$enable_shared" = no
; then
9265 # Fast installation is not necessary
9266 enable_fast_install
=needless
9271 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9272 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9273 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9274 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9275 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9276 { echo "$as_me:$LINENO: result: yes" >&5
9277 echo "${ECHO_T}yes" >&6; }
9279 # FIXME - insert some real tests, host_os isn't really good enough
9282 if test -n "$STRIP" ; then
9283 striplib
="$STRIP -x"
9284 { echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6; }
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9292 { echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6; }
9298 if test "x$enable_dlopen" != xyes
; then
9299 enable_dlopen
=unknown
9300 enable_dlopen_self
=unknown
9301 enable_dlopen_self_static
=unknown
9308 lt_cv_dlopen
="load_add_on"
9310 lt_cv_dlopen_self
=yes
9314 lt_cv_dlopen
="LoadLibrary"
9319 lt_cv_dlopen
="dlopen"
9324 # if libdl is installed we need to link against it
9325 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9326 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 ac_check_lib_save_LIBS
=$LIBS
9332 cat >conftest.
$ac_ext <<_ACEOF
9335 cat confdefs.h
>>conftest.
$ac_ext
9336 cat >>conftest.
$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9339 /* Override any GCC internal prototype to avoid an error.
9340 Use char because int might match the return type of a GCC
9341 builtin and then its argument prototype would still apply. */
9354 rm -f conftest.
$ac_objext conftest
$ac_exeext
9355 if { (ac_try
="$ac_link"
9357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9358 *) ac_try_echo=$ac_try;;
9360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9361 (eval "$ac_link") 2>conftest.er1
9363 grep -v '^ *+' conftest.er1 >conftest.err
9365 cat conftest.err >&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } && {
9368 test -z "$ac_c_werror_flag" ||
9369 test ! -s conftest.err
9370 } && test -s conftest$ac_exeext &&
9371 $as_test_x conftest$ac_exeext; then
9372 ac_cv_lib_dl_dlopen=yes
9374 echo "$as_me: failed program was:" >&5
9375 sed 's/^/| /' conftest.$ac_ext >&5
9377 ac_cv_lib_dl_dlopen=no
9380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9381 conftest$ac_exeext conftest.$ac_ext
9382 LIBS=$ac_check_lib_save_LIBS
9384 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9385 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9386 if test $ac_cv_lib_dl_dlopen = yes; then
9387 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9392 lt_cv_dlopen_self=yes
9399 { echo "$as_me:$LINENO: checking for shl_load" >&5
9400 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9401 if test "${ac_cv_func_shl_load+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 cat >conftest.$ac_ext <<_ACEOF
9407 cat confdefs.h >>conftest.$ac_ext
9408 cat >>conftest.$ac_ext <<_ACEOF
9409 /* end confdefs.h. */
9410 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9412 #define shl_load innocuous_shl_load
9414 /* System header to define __stub macros and hopefully few prototypes,
9415 which can conflict with char shl_load (); below.
9416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9417 <limits.h> exists even on freestanding compilers. */
9420 # include <limits.h>
9422 # include <assert.h>
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9434 /* The GNU C library defines this for functions which it implements
9435 to always fail with ENOSYS. Some functions are actually named
9436 something starting with __ and the normal name is an alias. */
9437 #if defined __stub_shl_load || defined __stub___shl_load
9449 rm -f conftest.$ac_objext conftest$ac_exeext
9450 if { (ac_try="$ac_link"
9452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9453 *) ac_try_echo
=$ac_try;;
9455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9456 (eval "$ac_link") 2>conftest.er1
9458 grep -v '^ *+' conftest.er1
>conftest.err
9460 cat conftest.err
>&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } && {
9463 test -z "$ac_c_werror_flag" ||
9464 test ! -s conftest.err
9465 } && test -s conftest
$ac_exeext &&
9466 $as_test_x conftest
$ac_exeext; then
9467 ac_cv_func_shl_load
=yes
9469 echo "$as_me: failed program was:" >&5
9470 sed 's/^/| /' conftest.
$ac_ext >&5
9472 ac_cv_func_shl_load
=no
9475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9476 conftest
$ac_exeext conftest.
$ac_ext
9478 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9479 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9480 if test $ac_cv_func_shl_load = yes; then
9481 lt_cv_dlopen
="shl_load"
9483 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9484 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9485 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 ac_check_lib_save_LIBS
=$LIBS
9490 cat >conftest.
$ac_ext <<_ACEOF
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9497 /* Override any GCC internal prototype to avoid an error.
9498 Use char because int might match the return type of a GCC
9499 builtin and then its argument prototype would still apply. */
9512 rm -f conftest.
$ac_objext conftest
$ac_exeext
9513 if { (ac_try
="$ac_link"
9515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9516 *) ac_try_echo=$ac_try;;
9518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9519 (eval "$ac_link") 2>conftest.er1
9521 grep -v '^ *+' conftest.er1 >conftest.err
9523 cat conftest.err >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } && {
9526 test -z "$ac_c_werror_flag" ||
9527 test ! -s conftest.err
9528 } && test -s conftest$ac_exeext &&
9529 $as_test_x conftest$ac_exeext; then
9530 ac_cv_lib_dld_shl_load=yes
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.$ac_ext >&5
9535 ac_cv_lib_dld_shl_load=no
9538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9539 conftest$ac_exeext conftest.$ac_ext
9540 LIBS=$ac_check_lib_save_LIBS
9542 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9543 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9544 if test $ac_cv_lib_dld_shl_load = yes; then
9545 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9547 { echo "$as_me:$LINENO: checking for dlopen" >&5
9548 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9549 if test "${ac_cv_func_dlopen+set}" = set; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 cat >conftest.$ac_ext <<_ACEOF
9555 cat confdefs.h >>conftest.$ac_ext
9556 cat >>conftest.$ac_ext <<_ACEOF
9557 /* end confdefs.h. */
9558 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9560 #define dlopen innocuous_dlopen
9562 /* System header to define __stub macros and hopefully few prototypes,
9563 which can conflict with char dlopen (); below.
9564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9565 <limits.h> exists even on freestanding compilers. */
9568 # include <limits.h>
9570 # include <assert.h>
9575 /* Override any GCC internal prototype to avoid an error.
9576 Use char because int might match the return type of a GCC
9577 builtin and then its argument prototype would still apply. */
9582 /* The GNU C library defines this for functions which it implements
9583 to always fail with ENOSYS. Some functions are actually named
9584 something starting with __ and the normal name is an alias. */
9585 #if defined __stub_dlopen || defined __stub___dlopen
9597 rm -f conftest.$ac_objext conftest$ac_exeext
9598 if { (ac_try="$ac_link"
9600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9601 *) ac_try_echo
=$ac_try;;
9603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9604 (eval "$ac_link") 2>conftest.er1
9606 grep -v '^ *+' conftest.er1
>conftest.err
9608 cat conftest.err
>&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); } && {
9611 test -z "$ac_c_werror_flag" ||
9612 test ! -s conftest.err
9613 } && test -s conftest
$ac_exeext &&
9614 $as_test_x conftest
$ac_exeext; then
9615 ac_cv_func_dlopen
=yes
9617 echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.
$ac_ext >&5
9620 ac_cv_func_dlopen
=no
9623 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9624 conftest
$ac_exeext conftest.
$ac_ext
9626 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9627 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9628 if test $ac_cv_func_dlopen = yes; then
9629 lt_cv_dlopen
="dlopen"
9631 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9632 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9633 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 ac_check_lib_save_LIBS
=$LIBS
9638 cat >conftest.
$ac_ext <<_ACEOF
9641 cat confdefs.h
>>conftest.
$ac_ext
9642 cat >>conftest.
$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9660 rm -f conftest.
$ac_objext conftest
$ac_exeext
9661 if { (ac_try
="$ac_link"
9663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9664 *) ac_try_echo=$ac_try;;
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_link") 2>conftest.er1
9669 grep -v '^ *+' conftest.er1 >conftest.err
9671 cat conftest.err >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } && {
9674 test -z "$ac_c_werror_flag" ||
9675 test ! -s conftest.err
9676 } && test -s conftest$ac_exeext &&
9677 $as_test_x conftest$ac_exeext; then
9678 ac_cv_lib_dl_dlopen=yes
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.$ac_ext >&5
9683 ac_cv_lib_dl_dlopen=no
9686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_lib_save_LIBS
9690 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9691 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9692 if test $ac_cv_lib_dl_dlopen = yes; then
9693 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9695 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9696 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9697 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9700 ac_check_lib_save_LIBS=$LIBS
9702 cat >conftest.$ac_ext <<_ACEOF
9705 cat confdefs.h >>conftest.$ac_ext
9706 cat >>conftest.$ac_ext <<_ACEOF
9707 /* end confdefs.h. */
9709 /* Override any GCC internal prototype to avoid an error.
9710 Use char because int might match the return type of a GCC
9711 builtin and then its argument prototype would still apply. */
9724 rm -f conftest.$ac_objext conftest$ac_exeext
9725 if { (ac_try="$ac_link"
9727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9728 *) ac_try_echo
=$ac_try;;
9730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9731 (eval "$ac_link") 2>conftest.er1
9733 grep -v '^ *+' conftest.er1
>conftest.err
9735 cat conftest.err
>&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); } && {
9738 test -z "$ac_c_werror_flag" ||
9739 test ! -s conftest.err
9740 } && test -s conftest
$ac_exeext &&
9741 $as_test_x conftest
$ac_exeext; then
9742 ac_cv_lib_svld_dlopen
=yes
9744 echo "$as_me: failed program was:" >&5
9745 sed 's/^/| /' conftest.
$ac_ext >&5
9747 ac_cv_lib_svld_dlopen
=no
9750 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9751 conftest
$ac_exeext conftest.
$ac_ext
9752 LIBS
=$ac_check_lib_save_LIBS
9754 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9755 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9756 if test $ac_cv_lib_svld_dlopen = yes; then
9757 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9759 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9760 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9761 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 ac_check_lib_save_LIBS
=$LIBS
9766 cat >conftest.
$ac_ext <<_ACEOF
9769 cat confdefs.h
>>conftest.
$ac_ext
9770 cat >>conftest.
$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9788 rm -f conftest.
$ac_objext conftest
$ac_exeext
9789 if { (ac_try
="$ac_link"
9791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9792 *) ac_try_echo=$ac_try;;
9794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9795 (eval "$ac_link") 2>conftest.er1
9797 grep -v '^ *+' conftest.er1 >conftest.err
9799 cat conftest.err >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } && {
9802 test -z "$ac_c_werror_flag" ||
9803 test ! -s conftest.err
9804 } && test -s conftest$ac_exeext &&
9805 $as_test_x conftest$ac_exeext; then
9806 ac_cv_lib_dld_dld_link=yes
9808 echo "$as_me: failed program was:" >&5
9809 sed 's/^/| /' conftest.$ac_ext >&5
9811 ac_cv_lib_dld_dld_link=no
9814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9815 conftest$ac_exeext conftest.$ac_ext
9816 LIBS=$ac_check_lib_save_LIBS
9818 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9819 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9820 if test $ac_cv_lib_dld_dld_link = yes; then
9821 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9842 if test "x$lt_cv_dlopen" != xno; then
9848 case $lt_cv_dlopen in
9850 save_CPPFLAGS="$CPPFLAGS"
9851 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9853 save_LDFLAGS="$LDFLAGS"
9854 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9857 LIBS="$lt_cv_dlopen_libs $LIBS"
9859 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9860 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9861 if test "${lt_cv_dlopen_self+set}" = set; then
9862 echo $ECHO_N "(cached) $ECHO_C" >&6
9864 if test "$cross_compiling" = yes; then :
9865 lt_cv_dlopen_self=cross
9867 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9868 lt_status=$lt_dlunknown
9869 cat > conftest.$ac_ext <<EOF
9870 #line 9870 "configure"
9871 #include "confdefs.h"
9880 # define LT_DLGLOBAL RTLD_GLOBAL
9883 # define LT_DLGLOBAL DL_GLOBAL
9885 # define LT_DLGLOBAL 0
9889 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9890 find out it does not work in some platform. */
9891 #ifndef LT_DLLAZY_OR_NOW
9893 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9896 # define LT_DLLAZY_OR_NOW DL_LAZY
9899 # define LT_DLLAZY_OR_NOW RTLD_NOW
9902 # define LT_DLLAZY_OR_NOW DL_NOW
9904 # define LT_DLLAZY_OR_NOW 0
9912 extern "C" void exit (int);
9915 void fnord() { int i=42;}
9918 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9919 int status = $lt_dlunknown;
9923 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9924 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9925 /* dlclose (self); */
9933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9934 (eval $ac_link) 2>&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9938 (./conftest; exit; ) >&5 2>/dev/null
9941 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9942 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9943 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9946 # compilation failed
9947 lt_cv_dlopen_self=no
9954 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9955 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9957 if test "x$lt_cv_dlopen_self" = xyes; then
9958 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9959 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9960 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9961 if test "${lt_cv_dlopen_self_static+set}" = set; then
9962 echo $ECHO_N "(cached) $ECHO_C" >&6
9964 if test "$cross_compiling" = yes; then :
9965 lt_cv_dlopen_self_static=cross
9967 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9968 lt_status=$lt_dlunknown
9969 cat > conftest.$ac_ext <<EOF
9970 #line 9970 "configure"
9971 #include "confdefs.h"
9980 # define LT_DLGLOBAL RTLD_GLOBAL
9983 # define LT_DLGLOBAL DL_GLOBAL
9985 # define LT_DLGLOBAL 0
9989 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9990 find out it does not work in some platform. */
9991 #ifndef LT_DLLAZY_OR_NOW
9993 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9996 # define LT_DLLAZY_OR_NOW DL_LAZY
9999 # define LT_DLLAZY_OR_NOW RTLD_NOW
10002 # define LT_DLLAZY_OR_NOW DL_NOW
10004 # define LT_DLLAZY_OR_NOW 0
10012 extern "C" void exit (int);
10015 void fnord() { int i=42;}
10018 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10019 int status = $lt_dlunknown;
10023 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10024 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10025 /* dlclose (self); */
10033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10034 (eval $ac_link) 2>&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10038 (./conftest; exit; ) >&5 2>/dev/null
10040 case x$lt_status in
10041 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10042 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10043 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10046 # compilation failed
10047 lt_cv_dlopen_self_static=no
10054 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10055 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10058 CPPFLAGS="$save_CPPFLAGS"
10059 LDFLAGS="$save_LDFLAGS"
10064 case $lt_cv_dlopen_self in
10065 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10066 *) enable_dlopen_self=unknown ;;
10069 case $lt_cv_dlopen_self_static in
10070 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10071 *) enable_dlopen_self_static=unknown ;;
10076 # Report which library types will actually be built
10077 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10078 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10079 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10080 echo "${ECHO_T}$can_build_shared" >&6; }
10082 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10083 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10084 test "$can_build_shared" = "no" && enable_shared=no
10086 # On AIX, shared libraries and static libraries use the same namespace, and
10087 # are all built from PIC.
10090 test "$enable_shared" = yes && enable_static=no
10091 if test -n "$RANLIB"; then
10092 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10093 postinstall_cmds='$RANLIB $lib'
10098 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10099 test "$enable_shared" = yes && enable_static=no
10103 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10104 echo "${ECHO_T}$enable_shared" >&6; }
10106 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10107 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10108 # Make sure either enable_shared or enable_static is yes.
10109 test "$enable_shared" = yes || enable_static=yes
10110 { echo "$as_me:$LINENO: result: $enable_static" >&5
10111 echo "${ECHO_T}$enable_static" >&6; }
10113 # The else clause should only fire when bootstrapping the
10114 # libtool distribution, otherwise you forgot to ship ltmain.sh
10115 # with your package, and you will get complaints that there are
10116 # no rules to generate ltmain.sh.
10117 if test -f "$ltmain"; then
10118 # See if we are running on zsh, and set the options which allow our commands through
10119 # without removal of \ escapes.
10120 if test -n "${ZSH_VERSION+set}" ; then
10121 setopt NO_GLOB_SUBST
10123 # Now quote all the things that may contain metacharacters while being
10124 # careful not to overquote the AC_SUBSTed values. We take copies of the
10125 # variables and quote the copies for generation of the libtool script.
10126 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10128 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10129 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10130 deplibs_check_method reload_flag reload_cmds need_locks \
10131 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10132 lt_cv_sys_global_symbol_to_c_name_address \
10133 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10134 old_postinstall_cmds old_postuninstall_cmds \
10138 lt_prog_compiler_wl \
10139 lt_prog_compiler_pic \
10140 lt_prog_compiler_static \
10141 lt_prog_compiler_no_builtin_flag \
10142 export_dynamic_flag_spec \
10143 thread_safe_flag_spec \
10144 whole_archive_flag_spec \
10145 enable_shared_with_static_runtimes \
10147 old_archive_from_new_cmds \
10152 compiler_lib_search_path \
10154 archive_expsym_cmds \
10156 postuninstall_cmds \
10157 old_archive_from_expsyms_cmds \
10158 allow_undefined_flag \
10159 no_undefined_flag \
10160 export_symbols_cmds \
10161 hardcode_libdir_flag_spec \
10162 hardcode_libdir_flag_spec_ld \
10163 hardcode_libdir_separator \
10164 hardcode_automatic \
10166 module_expsym_cmds \
10167 lt_cv_prog_compiler_c_o \
10169 include_expsyms; do
10172 old_archive_cmds | \
10173 old_archive_from_new_cmds | \
10175 archive_expsym_cmds | \
10177 module_expsym_cmds | \
10178 old_archive_from_expsyms_cmds | \
10179 export_symbols_cmds | \
10180 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10181 postinstall_cmds | postuninstall_cmds | \
10182 old_postinstall_cmds | old_postuninstall_cmds | \
10183 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10184 # Double-quote double-evaled strings.
10185 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10188 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10194 *'\$0 --fallback-echo"')
10195 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10199 cfgfile="${ofile}T"
10200 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10202 { echo "$as_me:$LINENO: creating $ofile" >&5
10203 echo "$as_me: creating $ofile" >&6;}
10205 cat <<__EOF__ >> "$cfgfile"
10208 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10209 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10210 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10212 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10213 # Free Software Foundation, Inc.
10215 # This file is part of GNU Libtool:
10216 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10218 # This program is free software; you can redistribute it and/or modify
10219 # it under the terms of the GNU General Public License as published by
10220 # the Free Software Foundation; either version 2 of the License, or
10221 # (at your option) any later version.
10223 # This program is distributed in the hope that it will be useful, but
10224 # WITHOUT ANY WARRANTY; without even the implied warranty of
10225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10226 # General Public License for more details.
10228 # You should have received a copy of the GNU General Public License
10229 # along with this program; if not, write to the Free Software
10230 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10232 # As a special exception to the GNU General Public License, if you
10233 # distribute this file as part of a program that contains a
10234 # configuration script generated by Autoconf, you may include it under
10235 # the same distribution terms that you use for the rest of that program.
10237 # A sed program that does not truncate output.
10240 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10241 Xsed="$SED -e 1s/^X//"
10243 # The HP-UX ksh and POSIX shell print the target directory to stdout
10244 # if CDPATH is set.
10245 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10247 # The names of the tagged configurations supported by this script.
10250 # ### BEGIN LIBTOOL CONFIG
10252 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10254 # Shell to use when invoking shell scripts.
10257 # Whether or not to build shared libraries.
10258 build_libtool_libs=$enable_shared
10260 # Whether or not to build static libraries.
10261 build_old_libs=$enable_static
10263 # Whether or not to add -lc for building shared libraries.
10264 build_libtool_need_lc=$archive_cmds_need_lc
10266 # Whether or not to disallow shared libs when runtime libs are static
10267 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10269 # Whether or not to optimize for fast installation.
10270 fast_install=$enable_fast_install
10273 host_alias=$host_alias
10277 # The build system.
10278 build_alias=$build_alias
10282 # An echo program that does not interpret backslashes.
10287 AR_FLAGS=$lt_AR_FLAGS
10292 # LTCC compiler flags.
10293 LTCFLAGS=$lt_LTCFLAGS
10295 # A language-specific compiler.
10298 # Is the compiler the GNU C compiler?
10304 # The linker used to build libraries.
10307 # Whether we need hard or soft links.
10310 # A BSD-compatible nm program.
10313 # A symbol stripping program
10316 # Used to examine libraries when file_magic_cmd begins "file"
10317 MAGIC_CMD=$MAGIC_CMD
10319 # Used on cygwin: DLL creation program.
10322 # Used on cygwin: object dumper.
10325 # Used on cygwin: assembler.
10328 # The name of the directory that contains temporary libtool files.
10331 # How to create reloadable object files.
10332 reload_flag=$lt_reload_flag
10333 reload_cmds=$lt_reload_cmds
10335 # How to pass a linker flag through the compiler.
10336 wl=$lt_lt_prog_compiler_wl
10338 # Object file suffix (normally "o").
10339 objext="$ac_objext"
10341 # Old archive suffix (normally "a").
10344 # Shared library suffix (normally ".so").
10345 shrext_cmds='$shrext_cmds'
10347 # Executable file suffix (normally "").
10350 # Additional compiler flags for building library objects.
10351 pic_flag=$lt_lt_prog_compiler_pic
10354 # What is the maximum length of a command?
10355 max_cmd_len=$lt_cv_sys_max_cmd_len
10357 # Does compiler simultaneously support -c and -o options?
10358 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10360 # Must we lock files when doing compilation?
10361 need_locks=$lt_need_locks
10363 # Do we need the lib prefix for modules?
10364 need_lib_prefix=$need_lib_prefix
10366 # Do we need a version for libraries?
10367 need_version=$need_version
10369 # Whether dlopen is supported.
10370 dlopen_support=$enable_dlopen
10372 # Whether dlopen of programs is supported.
10373 dlopen_self=$enable_dlopen_self
10375 # Whether dlopen of statically linked programs is supported.
10376 dlopen_self_static=$enable_dlopen_self_static
10378 # Compiler flag to prevent dynamic linking.
10379 link_static_flag=$lt_lt_prog_compiler_static
10381 # Compiler flag to turn off builtin functions.
10382 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10384 # Compiler flag to allow reflexive dlopens.
10385 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10387 # Compiler flag to generate shared objects directly from archives.
10388 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10390 # Compiler flag to generate thread-safe objects.
10391 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10393 # Library versioning type.
10394 version_type=$version_type
10396 # Format of library name prefix.
10397 libname_spec=$lt_libname_spec
10399 # List of archive names. First name is the real one, the rest are links.
10400 # The last name is the one that the linker finds with -lNAME.
10401 library_names_spec=$lt_library_names_spec
10403 # The coded name of the library, if different from the real name.
10404 soname_spec=$lt_soname_spec
10406 # Commands used to build and install an old-style archive.
10408 old_archive_cmds=$lt_old_archive_cmds
10409 old_postinstall_cmds=$lt_old_postinstall_cmds
10410 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10412 # Create an old-style archive from a shared archive.
10413 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10415 # Create a temporary old-style archive to link instead of a shared archive.
10416 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10418 # Commands used to build and install a shared archive.
10419 archive_cmds=$lt_archive_cmds
10420 archive_expsym_cmds=$lt_archive_expsym_cmds
10421 postinstall_cmds=$lt_postinstall_cmds
10422 postuninstall_cmds=$lt_postuninstall_cmds
10424 # Commands used to build a loadable module (assumed same as above if empty)
10425 module_cmds=$lt_module_cmds
10426 module_expsym_cmds=$lt_module_expsym_cmds
10428 # Commands to strip libraries.
10429 old_striplib=$lt_old_striplib
10430 striplib=$lt_striplib
10432 # Dependencies to place before the objects being linked to create a
10434 predep_objects=$lt_predep_objects
10436 # Dependencies to place after the objects being linked to create a
10438 postdep_objects=$lt_postdep_objects
10440 # Dependencies to place before the objects being linked to create a
10442 predeps=$lt_predeps
10444 # Dependencies to place after the objects being linked to create a
10446 postdeps=$lt_postdeps
10448 # The library search path used internally by the compiler when linking
10449 # a shared library.
10450 compiler_lib_search_path=$lt_compiler_lib_search_path
10452 # Method to check whether dependent libraries are shared objects.
10453 deplibs_check_method=$lt_deplibs_check_method
10455 # Command to use when deplibs_check_method == file_magic.
10456 file_magic_cmd=$lt_file_magic_cmd
10458 # Flag that allows shared libraries with undefined symbols to be built.
10459 allow_undefined_flag=$lt_allow_undefined_flag
10461 # Flag that forces no undefined symbols.
10462 no_undefined_flag=$lt_no_undefined_flag
10464 # Commands used to finish a libtool library installation in a directory.
10465 finish_cmds=$lt_finish_cmds
10467 # Same as above, but a single script fragment to be evaled but not shown.
10468 finish_eval=$lt_finish_eval
10470 # Take the output of nm and produce a listing of raw symbols and C names.
10471 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10473 # Transform the output of nm in a proper C declaration
10474 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10476 # Transform the output of nm in a C name address pair
10477 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10479 # This is the shared library runtime path variable.
10480 runpath_var=$runpath_var
10482 # This is the shared library path variable.
10483 shlibpath_var=$shlibpath_var
10485 # Is shlibpath searched before the hard-coded library search path?
10486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10488 # How to hardcode a shared library path into an executable.
10489 hardcode_action=$hardcode_action
10491 # Whether we should hardcode library paths into libraries.
10492 hardcode_into_libs=$hardcode_into_libs
10494 # Flag to hardcode \$libdir into a binary during linking.
10495 # This must work even if \$libdir does not exist.
10496 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10498 # If ld is used when linking, flag to hardcode \$libdir into
10499 # a binary during linking. This must work even if \$libdir does
10501 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10503 # Whether we need a single -rpath flag with a separated argument.
10504 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10506 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10507 # resulting binary.
10508 hardcode_direct=$hardcode_direct
10510 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10511 # resulting binary.
10512 hardcode_minus_L=$hardcode_minus_L
10514 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10515 # the resulting binary.
10516 hardcode_shlibpath_var=$hardcode_shlibpath_var
10518 # Set to yes if building a shared library automatically hardcodes DIR into the library
10519 # and all subsequent libraries and executables linked against it.
10520 hardcode_automatic=$hardcode_automatic
10522 # Variables whose values should be saved in libtool wrapper scripts and
10523 # restored at relink time.
10524 variables_saved_for_relink="$variables_saved_for_relink"
10526 # Whether libtool must link a program against all its dependency libraries.
10527 link_all_deplibs=$link_all_deplibs
10529 # Compile-time system search path for libraries
10530 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10532 # Run-time system search path for libraries
10533 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10535 # Fix the shell variable \$srcfile for the compiler.
10536 fix_srcfile_path="$fix_srcfile_path"
10538 # Set to yes if exported symbols are required.
10539 always_export_symbols=$always_export_symbols
10541 # The commands to list exported symbols.
10542 export_symbols_cmds=$lt_export_symbols_cmds
10544 # The commands to extract the exported symbol list from a shared archive.
10545 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10547 # Symbols that should not be listed in the preloaded symbols.
10548 exclude_expsyms=$lt_exclude_expsyms
10550 # Symbols that must always be exported.
10551 include_expsyms=$lt_include_expsyms
10553 # ### END LIBTOOL CONFIG
10560 cat <<\EOF >> "$cfgfile"
10562 # AIX sometimes has problems with the GCC collect2 program. For some
10563 # reason, if we set the COLLECT_NAMES environment variable, the problems
10564 # vanish in a puff of smoke.
10565 if test "X${COLLECT_NAMES+set}" != Xset; then
10567 export COLLECT_NAMES
10573 # We use sed instead of cat because bash on DJGPP gets confused if
10574 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10575 # text mode, it properly converts lines to CR/LF. This bash problem
10576 # is reportedly fixed, but why not run on old versions too?
10577 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10579 mv -f "$cfgfile" "$ofile" || \
10580 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10584 # If there is no Makefile yet, we rely on a make rule to execute
10585 # `config.status
--recheck' to rerun these tests and create the
10586 # libtool script then.
10587 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10588 if test -f "$ltmain_in"; then
10589 test -f Makefile && make "$ltmain"
10595 ac_cpp='$CPP $CPPFLAGS'
10596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10597 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10603 # Check whether --with-tags was given.
10604 if test "${with_tags+set}" = set; then
10605 withval=$with_tags; tagnames="$withval"
10609 if test -f "$ltmain" && test -n "$tagnames"; then
10610 if test ! -f "${ofile}"; then
10611 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10612 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10615 if test -z "$LTCC"; then
10616 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10617 if test -z "$LTCC"; then
10618 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10619 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10621 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10622 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10625 if test -z "$LTCFLAGS"; then
10626 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10629 # Extract list of available tagged configurations in $ofile.
10630 # Note that this assumes the entire list is on one line.
10631 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10633 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10634 for tagname in $tagnames; do
10636 # Check whether tagname contains only valid characters
10637 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10639 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10640 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10641 { (exit 1); exit 1; }; }
10645 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10647 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10648 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10649 { (exit 1); exit 1; }; }
10652 # Update the list of available tags.
10653 if test -n "$tagname"; then
10654 echo appending configuration tag \"$tagname\" to $ofile
10658 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10659 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10660 (test "X$CXX" != "Xg++"))) ; then
10662 ac_cpp='$CXXCPP $CPPFLAGS'
10663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10670 archive_cmds_need_lc_CXX=no
10671 allow_undefined_flag_CXX=
10672 always_export_symbols_CXX=no
10673 archive_expsym_cmds_CXX=
10674 export_dynamic_flag_spec_CXX=
10675 hardcode_direct_CXX=no
10676 hardcode_libdir_flag_spec_CXX=
10677 hardcode_libdir_flag_spec_ld_CXX=
10678 hardcode_libdir_separator_CXX=
10679 hardcode_minus_L_CXX=no
10680 hardcode_shlibpath_var_CXX=unsupported
10681 hardcode_automatic_CXX=no
10683 module_expsym_cmds_CXX=
10684 link_all_deplibs_CXX=unknown
10685 old_archive_cmds_CXX=$old_archive_cmds
10686 no_undefined_flag_CXX=
10687 whole_archive_flag_spec_CXX=
10688 enable_shared_with_static_runtimes_CXX=no
10690 # Dependencies to place before and after the object being linked:
10691 predep_objects_CXX=
10692 postdep_objects_CXX=
10695 compiler_lib_search_path_CXX=
10697 # Source file extension for C++ test sources.
10700 # Object file extension for compiled C++ test sources.
10704 # Code to be used in simple compile tests
10705 lt_simple_compile_test_code="int some_variable = 0;\n"
10707 # Code to be used in simple link tests
10708 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10710 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10712 # If no C compiler was specified, use CC.
10715 # If no C compiler flags were specified, use CFLAGS.
10716 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10718 # Allow CC to be a program name with arguments.
10722 # save warnings/boilerplate of simple test code
10723 ac_outfile=conftest.$ac_objext
10724 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10725 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10726 _lt_compiler_boilerplate=`cat conftest.err
`
10729 ac_outfile=conftest.$ac_objext
10730 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10731 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10732 _lt_linker_boilerplate=`cat conftest.err
`
10736 # Allow CC to be a program name with arguments.
10741 lt_save_with_gnu_ld=$with_gnu_ld
10742 lt_save_path_LD=$lt_cv_path_LD
10743 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10744 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10746 $as_unset lt_cv_prog_gnu_ld
10748 if test -n "${lt_cv_path_LDCXX+set}"; then
10749 lt_cv_path_LD=$lt_cv_path_LDCXX
10751 $as_unset lt_cv_path_LD
10753 test -z "${LDCXX+set}" || LD=$LDCXX
10757 for cc_temp in $compiler""; do
10759 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10760 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10765 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10768 # We don't want -fno-exception wen compiling C++ code, so set the
10769 # no_builtin_flag separately
10770 if test "$GXX" = yes; then
10771 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10773 lt_prog_compiler_no_builtin_flag_CXX=
10776 if test "$GXX" = yes; then
10777 # Set up default GNU C++ configuration
10780 # Check whether --with-gnu-ld was given.
10781 if test "${with_gnu_ld+set}" = set; then
10782 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10788 if test "$GCC" = yes; then
10789 # Check if gcc -print-prog-name=ld gives a path.
10790 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10791 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10794 # gcc leaves a trailing carriage return which upsets mingw
10795 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10797 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10800 # Accept absolute paths.
10802 re_direlt='/[^/][^/]*/\.\./'
10803 # Canonicalize the pathname of ld
10804 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10805 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10806 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10808 test -z "$LD" && LD="$ac_prog"
10811 # If it fails, then pretend we aren't using GCC.
10815 # If it is relative, then search for the first ld in PATH.
10816 with_gnu_ld=unknown
10819 elif test "$with_gnu_ld" = yes; then
10820 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10821 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10823 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10824 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10826 if test "${lt_cv_path_LD+set}" = set; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 if test -z "$LD"; then
10830 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10831 for ac_dir in $PATH; do
10833 test -z "$ac_dir" && ac_dir=.
10834 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10835 lt_cv_path_LD="$ac_dir/$ac_prog"
10836 # Check to see if the program is GNU ld. I'd rather use --version,
10837 # but apparently some variants of GNU ld only accept -v.
10838 # Break only if it was the GNU/non-GNU ld that we prefer.
10839 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10840 *GNU* | *'with BFD'*)
10841 test "$with_gnu_ld" != no && break
10844 test "$with_gnu_ld" != yes && break
10851 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10855 LD="$lt_cv_path_LD"
10856 if test -n "$LD"; then
10857 { echo "$as_me:$LINENO: result: $LD" >&5
10858 echo "${ECHO_T}$LD" >&6; }
10860 { echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6; }
10863 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10864 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10865 { (exit 1); exit 1; }; }
10866 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10867 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10868 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10872 case `$LD -v 2>&1 </dev
/null
` in
10873 *GNU* | *'with BFD'*)
10874 lt_cv_prog_gnu_ld=yes
10877 lt_cv_prog_gnu_ld=no
10881 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10882 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10883 with_gnu_ld=$lt_cv_prog_gnu_ld
10887 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10888 # archiving commands below assume that GNU ld is being used.
10889 if test "$with_gnu_ld" = yes; then
10890 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10891 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'
10893 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10894 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10896 # If archive_cmds runs LD, not CC, wlarc should be empty
10897 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10898 # investigate it a little bit more. (MM)
10901 # ancient GNU ld didn't support --whole-archive et. al.
10902 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10903 grep 'no-whole-archive' > /dev/null; then
10904 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10906 whole_archive_flag_spec_CXX=
10912 # A generic and very simple default shared library creation
10913 # command for GNU C++ for the case where it uses the native
10914 # linker, instead of GNU ld. If possible, this setting should
10915 # overridden to take advantage of the native linker features on
10916 # the platform it is being used on.
10917 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10920 # Commands to make compiler produce verbose output that lists
10921 # what "hidden" libraries, object files and flags are used when
10922 # linking a shared library.
10923 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10931 # PORTME: fill in a description of your system's C++ link characteristics
10932 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10933 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10937 # FIXME: insert proper C++ library support
10941 if test "$host_cpu" = ia64; then
10942 # On IA64, the linker does run time linking by default, so we don't
10943 # have to do anything special.
10944 aix_use_runtimelinking=no
10945 exp_sym_flag='-Bexport'
10948 aix_use_runtimelinking=no
10950 # Test if we are trying to use run time linking or normal
10951 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10952 # need to do runtime linking.
10953 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10954 for ld_flag in $LDFLAGS; do
10957 aix_use_runtimelinking=yes
10965 exp_sym_flag='-bexport'
10966 no_entry_flag='-bnoentry'
10969 # When large executables or shared objects are built, AIX ld can
10970 # have problems creating the table of contents. If linking a library
10971 # or program results in "error TOC overflow" add -mminimal-toc to
10972 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10973 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10975 archive_cmds_CXX=''
10976 hardcode_direct_CXX=yes
10977 hardcode_libdir_separator_CXX=':'
10978 link_all_deplibs_CXX=yes
10980 if test "$GXX" = yes; then
10981 case $host_os in aix4.[012]|aix4.[012].*)
10982 # We only want to do this on AIX 4.2 and lower, the check
10983 # below for broken collect2 doesn't work under 4.3+
10984 collect2name=`${CC} -print-prog-name=collect2
`
10985 if test -f "$collect2name" && \
10986 strings "$collect2name" | grep resolve_lib_name >/dev/null
10988 # We have reworked collect2
10989 hardcode_direct_CXX=yes
10991 # We have old collect2
10992 hardcode_direct_CXX=unsupported
10993 # It fails to find uninstalled libraries when the uninstalled
10994 # path is not listed in the libpath. Setting hardcode_minus_L
10995 # to unsupported forces relinking
10996 hardcode_minus_L_CXX=yes
10997 hardcode_libdir_flag_spec_CXX='-L$libdir'
10998 hardcode_libdir_separator_CXX=
11002 shared_flag='-shared'
11003 if test "$aix_use_runtimelinking" = yes; then
11004 shared_flag="$shared_flag "'${wl}-G'
11008 if test "$host_cpu" = ia64; then
11009 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11010 # chokes on -Wl,-G. The following line is correct:
11013 if test "$aix_use_runtimelinking" = yes; then
11014 shared_flag='${wl}-G'
11016 shared_flag='${wl}-bM:SRE'
11021 # It seems that -bexpall does not export symbols beginning with
11022 # underscore (_), so it is better to generate a list of symbols to export.
11023 always_export_symbols_CXX=yes
11024 if test "$aix_use_runtimelinking" = yes; then
11025 # Warning - without using the other runtime loading flags (-brtl),
11026 # -berok will link without error, but may produce a broken library.
11027 allow_undefined_flag_CXX='-berok'
11028 # Determine the default libpath from the value encoded in an empty executable.
11029 cat >conftest.$ac_ext <<_ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11044 rm -f conftest.$ac_objext conftest$ac_exeext
11045 if { (ac_try="$ac_link"
11046 case "(($ac_try" in
11047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11048 *) ac_try_echo
=$ac_try;;
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_link") 2>conftest.er1
11053 grep -v '^ *+' conftest.er1
>conftest.err
11055 cat conftest.err
>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } && {
11058 test -z "$ac_cxx_werror_flag" ||
11059 test ! -s conftest.err
11060 } && test -s conftest
$ac_exeext &&
11061 $as_test_x conftest
$ac_exeext; then
11063 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11065 # Check for a 64-bit object if we didn't find anything.
11066 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.
$ac_ext >&5
11075 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11076 conftest
$ac_exeext conftest.
$ac_ext
11077 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11079 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11081 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"
11083 if test "$host_cpu" = ia64
; then
11084 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11085 allow_undefined_flag_CXX
="-z nodefs"
11086 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"
11088 # Determine the default libpath from the value encoded in an empty executable.
11089 cat >conftest.
$ac_ext <<_ACEOF
11092 cat confdefs.h
>>conftest.
$ac_ext
11093 cat >>conftest.
$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11104 rm -f conftest.
$ac_objext conftest
$ac_exeext
11105 if { (ac_try
="$ac_link"
11106 case "(($ac_try" in
11107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11108 *) ac_try_echo=$ac_try;;
11110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11111 (eval "$ac_link") 2>conftest.er1
11113 grep -v '^ *+' conftest.er1 >conftest.err
11115 cat conftest.err >&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); } && {
11118 test -z "$ac_cxx_werror_flag" ||
11119 test ! -s conftest.err
11120 } && test -s conftest$ac_exeext &&
11121 $as_test_x conftest$ac_exeext; then
11123 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11125 # Check for a 64-bit object if we didn't find anything.
11126 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11129 echo "$as_me: failed program was:" >&5
11130 sed 's/^/| /' conftest.$ac_ext >&5
11135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11136 conftest$ac_exeext conftest.$ac_ext
11137 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11139 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11140 # Warning - without using the other run time loading flags,
11141 # -berok will link without error, but may produce a broken library.
11142 no_undefined_flag_CXX=' ${wl}-bernotok'
11143 allow_undefined_flag_CXX=' ${wl}-berok'
11144 # Exported symbols can be pulled into shared objects from archives
11145 whole_archive_flag_spec_CXX='$convenience'
11146 archive_cmds_need_lc_CXX=yes
11147 # This is similar to how AIX traditionally builds its shared libraries.
11148 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'
11154 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11155 allow_undefined_flag_CXX=unsupported
11156 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11157 # support --undefined. This deserves some investigation. FIXME
11158 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11165 case $cc_basename in
11167 # FIXME: insert proper C++ library support
11173 cygwin* | mingw* | pw32*)
11174 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11175 # as there is no search path for DLLs.
11176 hardcode_libdir_flag_spec_CXX='-L$libdir'
11177 allow_undefined_flag_CXX=unsupported
11178 always_export_symbols_CXX=no
11179 enable_shared_with_static_runtimes_CXX=yes
11181 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11182 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'
11183 # If the export-symbols file already is a .def file (1st line
11184 # is EXPORTS), use it as is; otherwise, prepend...
11185 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11186 cp $export_symbols $output_objdir/$soname.def;
11188 echo EXPORTS > $output_objdir/$soname.def;
11189 cat $export_symbols >> $output_objdir/$soname.def;
11191 $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'
11196 darwin* | rhapsody*)
11198 rhapsody* | darwin1.[012])
11199 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11202 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11203 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11205 case ${MACOSX_DEPLOYMENT_TARGET} in
11207 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11210 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11216 archive_cmds_need_lc_CXX=no
11217 hardcode_direct_CXX=no
11218 hardcode_automatic_CXX=yes
11219 hardcode_shlibpath_var_CXX=unsupported
11220 whole_archive_flag_spec_CXX=''
11221 link_all_deplibs_CXX=yes
11223 if test "$GXX" = yes ; then
11224 lt_int_apple_cc_single_mod=no
11225 output_verbose_link_cmd='echo'
11226 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11227 lt_int_apple_cc_single_mod=yes
11229 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11230 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11232 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'
11234 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11235 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11236 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11237 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}'
11239 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}'
11241 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}'
11243 case $cc_basename in
11245 output_verbose_link_cmd='echo'
11246 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11247 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11248 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11249 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11250 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}'
11260 case $cc_basename in
11262 # FIXME: insert proper C++ library support
11266 # Green Hills C++ Compiler
11267 # FIXME: insert proper C++ library support
11271 # FIXME: insert proper C++ library support
11277 # C++ shared libraries reported to be fairly broken before switch to ELF
11281 archive_cmds_need_lc_CXX=no
11283 freebsd* | kfreebsd*-gnu | dragonfly*)
11284 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11291 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11292 hardcode_libdir_separator_CXX=:
11293 export_dynamic_flag_spec_CXX='${wl}-E'
11294 hardcode_direct_CXX=yes
11295 hardcode_minus_L_CXX=yes # Not in the search PATH,
11296 # but as the default
11297 # location of the library.
11299 case $cc_basename in
11301 # FIXME: insert proper C++ library support
11305 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'
11306 # Commands to make compiler produce verbose output that lists
11307 # what "hidden" libraries, object files and flags are used when
11308 # linking a shared library.
11310 # There doesn't appear to be a way to prevent this compiler from
11311 # explicitly linking system object files so we need to strip them
11312 # from the output so that they don't get included in the library
11314 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'
11317 if test "$GXX" = yes; then
11318 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'
11320 # FIXME: insert proper C++ library support
11327 if test $with_gnu_ld = no; then
11328 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11329 hardcode_libdir_separator_CXX=:
11333 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11336 export_dynamic_flag_spec_CXX='${wl}-E'
11342 hardcode_direct_CXX=no
11343 hardcode_shlibpath_var_CXX=no
11346 hardcode_direct_CXX=yes
11347 hardcode_minus_L_CXX=yes # Not in the search PATH,
11348 # but as the default
11349 # location of the library.
11353 case $cc_basename in
11355 # FIXME: insert proper C++ library support
11361 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11364 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11367 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11370 # Commands to make compiler produce verbose output that lists
11371 # what "hidden" libraries, object files and flags are used when
11372 # linking a shared library.
11374 # There doesn't appear to be a way to prevent this compiler from
11375 # explicitly linking system object files so we need to strip them
11376 # from the output so that they don't get included in the library
11378 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'
11381 if test "$GXX" = yes; then
11382 if test $with_gnu_ld = no; then
11385 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11388 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11391 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'
11396 # FIXME: insert proper C++ library support
11403 hardcode_direct_CXX=no
11404 hardcode_shlibpath_var_CXX=no
11405 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11406 export_dynamic_flag_spec_CXX='${wl}-E'
11407 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11408 # Instead, shared libraries are loaded at an image base (0x10000000 by
11409 # default) and relocated if they conflict, which is a slow very memory
11410 # consuming and fragmenting process. To avoid this, we pick a random,
11411 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11412 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11413 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'
11414 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'
11417 case $cc_basename in
11420 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'
11422 # Archives containing C++ object files must be created using
11423 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11424 # necessary to make sure instantiated templates are included
11426 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11429 if test "$GXX" = yes; then
11430 if test "$with_gnu_ld" = no; then
11431 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'
11433 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'
11436 link_all_deplibs_CXX=yes
11439 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11440 hardcode_libdir_separator_CXX=:
11443 case $cc_basename in
11445 # Kuck and Associates, Inc. (KAI) C++ Compiler
11447 # KCC will only create a shared library if the output file
11448 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11449 # to its proper name (with version) after linking.
11450 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'
11451 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'
11452 # Commands to make compiler produce verbose output that lists
11453 # what "hidden" libraries, object files and flags are used when
11454 # linking a shared library.
11456 # There doesn't appear to be a way to prevent this compiler from
11457 # explicitly linking system object files so we need to strip them
11458 # from the output so that they don't get included in the library
11460 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'
11462 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11463 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11465 # Archives containing C++ object files must be created using
11466 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11467 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11472 # version 8.0 and above of icpc choke on multiply defined symbols
11473 # if we add $predep_objects and $postdep_objects, however 7.1 and
11474 # earlier do not add the objects themselves.
11475 case `$CC -V 2>&1` in
11477 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11478 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'
11480 *) # Version 8.0 or newer
11483 ia64
*) tmp_idyn
=' -i_dynamic';;
11485 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11486 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'
11489 archive_cmds_need_lc_CXX
=no
11490 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11491 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11492 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11495 # Portland Group C++ compiler
11496 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11497 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'
11499 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11500 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11501 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'
11505 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11506 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'
11508 runpath_var
=LD_RUN_PATH
11509 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11510 hardcode_libdir_separator_CXX
=:
11512 # Commands to make compiler produce verbose output that lists
11513 # what "hidden" libraries, object files and flags are used when
11514 # linking a shared library.
11516 # There doesn't appear to be a way to prevent this compiler from
11517 # explicitly linking system object files so we need to strip them
11518 # from the output so that they don't get included in the library
11520 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'
11525 # FIXME: insert proper C++ library support
11529 # FIXME: insert proper C++ library support
11533 case $cc_basename in
11535 # FIXME: insert proper C++ library support
11539 # FIXME: insert proper C++ library support
11545 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11546 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11548 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11549 hardcode_direct_CXX
=yes
11550 hardcode_shlibpath_var_CXX
=no
11552 # Workaround some broken pre-1.5 toolchains
11553 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11556 # C++ shared libraries are fairly broken
11560 hardcode_direct_CXX
=yes
11561 hardcode_shlibpath_var_CXX
=no
11562 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11563 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11564 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11565 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11566 export_dynamic_flag_spec_CXX
='${wl}-E'
11567 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11569 output_verbose_link_cmd
='echo'
11572 case $cc_basename in
11574 # Kuck and Associates, Inc. (KAI) C++ Compiler
11576 # KCC will only create a shared library if the output file
11577 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11578 # to its proper name (with version) after linking.
11579 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'
11581 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11582 hardcode_libdir_separator_CXX
=:
11584 # Archives containing C++ object files must be created using
11585 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11586 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11590 # Rational C++ 2.4.1
11591 # FIXME: insert proper C++ library support
11595 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11596 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'
11598 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11599 hardcode_libdir_separator_CXX
=:
11601 # Commands to make compiler produce verbose output that lists
11602 # what "hidden" libraries, object files and flags are used when
11603 # linking a shared library.
11605 # There doesn't appear to be a way to prevent this compiler from
11606 # explicitly linking system object files so we need to strip them
11607 # from the output so that they don't get included in the library
11609 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'
11612 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11613 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11614 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'
11616 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11617 hardcode_libdir_separator_CXX
=:
11619 # Commands to make compiler produce verbose output that lists
11620 # what "hidden" libraries, object files and flags are used when
11621 # linking a shared library.
11622 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11625 # FIXME: insert proper C++ library support
11632 case $cc_basename in
11634 # Kuck and Associates, Inc. (KAI) C++ Compiler
11636 # KCC will only create a shared library if the output file
11637 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11638 # to its proper name (with version) after linking.
11639 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'
11641 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11642 hardcode_libdir_separator_CXX
=:
11644 # Archives containing C++ object files must be created using
11645 # the KAI C++ compiler.
11646 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11649 # Rational C++ 2.4.1
11650 # FIXME: insert proper C++ library support
11654 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11655 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'
11656 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11657 echo "-hidden">> $lib.exp~
11658 $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~
11661 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11662 hardcode_libdir_separator_CXX
=:
11664 # Commands to make compiler produce verbose output that lists
11665 # what "hidden" libraries, object files and flags are used when
11666 # linking a shared library.
11668 # There doesn't appear to be a way to prevent this compiler from
11669 # explicitly linking system object files so we need to strip them
11670 # from the output so that they don't get included in the library
11672 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'
11675 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11676 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11677 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'
11679 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11680 hardcode_libdir_separator_CXX
=:
11682 # Commands to make compiler produce verbose output that lists
11683 # what "hidden" libraries, object files and flags are used when
11684 # linking a shared library.
11685 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11688 # FIXME: insert proper C++ library support
11695 # FIXME: insert proper C++ library support
11699 case $cc_basename in
11702 # FIXME: insert proper C++ library support
11707 # FIXME: insert proper C++ library support
11711 # FIXME: insert proper C++ library support
11717 case $cc_basename in
11719 # Sun C++ 4.2, 5.x and Centerline C++
11720 archive_cmds_need_lc_CXX
=yes
11721 no_undefined_flag_CXX
=' -zdefs'
11722 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11723 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11724 $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'
11726 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11727 hardcode_shlibpath_var_CXX
=no
11729 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11731 # The C++ compiler is used as linker so we must use $wl
11732 # flag to pass the commands to the underlying system
11733 # linker. We must also pass each convience library through
11734 # to the system linker between allextract/defaultextract.
11735 # The C++ compiler will combine linker options so we
11736 # cannot just pass the convience library names through
11738 # Supported since Solaris 2.6 (maybe 2.5.1?)
11739 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11742 link_all_deplibs_CXX
=yes
11744 output_verbose_link_cmd
='echo'
11746 # Archives containing C++ object files must be created using
11747 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11748 # necessary to make sure instantiated templates are included
11750 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11753 # Green Hills C++ Compiler
11754 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11756 # The C++ compiler must be used to create the archive.
11757 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11760 # GNU C++ compiler with Solaris linker
11761 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11762 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11763 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11764 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11765 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11766 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11768 # Commands to make compiler produce verbose output that lists
11769 # what "hidden" libraries, object files and flags are used when
11770 # linking a shared library.
11771 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11773 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11775 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11776 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11777 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11779 # Commands to make compiler produce verbose output that lists
11780 # what "hidden" libraries, object files and flags are used when
11781 # linking a shared library.
11782 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11785 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11790 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11791 no_undefined_flag_CXX
='${wl}-z,text'
11792 archive_cmds_need_lc_CXX
=no
11793 hardcode_shlibpath_var_CXX
=no
11794 runpath_var
='LD_RUN_PATH'
11796 case $cc_basename in
11798 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11799 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11802 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11803 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11807 sysv5
* | sco3.2v5
* | sco5v6
*)
11808 # Note: We can NOT use -z defs as we might desire, because we do not
11809 # link with -lc, and that would cause any symbols used from libc to
11810 # always be unresolved, which means just about no library would
11811 # ever link correctly. If we're not using GNU ld we use -z text
11812 # though, which does catch some bad symbols but isn't as heavy-handed
11814 # For security reasons, it is highly recommended that you always
11815 # use absolute paths for naming shared libraries, and exclude the
11816 # DT_RUNPATH tag from executables and libraries. But doing so
11817 # requires that you compile everything twice, which is a pain.
11818 # So that behaviour is only enabled if SCOABSPATH is set to a
11819 # non-empty value in the environment. Most likely only useful for
11820 # creating official distributions of packages.
11821 # This is a hack until libtool officially supports absolute path
11822 # names for shared libraries.
11823 no_undefined_flag_CXX
='${wl}-z,text'
11824 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11825 archive_cmds_need_lc_CXX
=no
11826 hardcode_shlibpath_var_CXX
=no
11827 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11828 hardcode_libdir_separator_CXX
=':'
11829 link_all_deplibs_CXX
=yes
11830 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11831 runpath_var
='LD_RUN_PATH'
11833 case $cc_basename in
11835 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11836 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11839 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11840 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11845 case $cc_basename in
11847 # NonStop-UX NCC 3.20
11848 # FIXME: insert proper C++ library support
11852 # FIXME: insert proper C++ library support
11858 # FIXME: insert proper C++ library support
11862 # FIXME: insert proper C++ library support
11866 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11867 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11868 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11874 cat > conftest.
$ac_ext <<EOF
11878 Foo (void) { a = 0; }
11884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); }; then
11889 # Parse the compiler output and extract the necessary
11890 # objects, libraries and library flags.
11892 # Sentinel used to keep track of whether or not we are before
11893 # the conftest object file.
11894 pre_test_object_deps_done
=no
11896 # The `*' in the case matches for architectures that use `case' in
11897 # $output_verbose_cmd can trigger glob expansion during the loop
11898 # eval without this substitution.
11899 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11901 for p
in `eval $output_verbose_link_cmd`; do
11905 # Some compilers place space between "-{L,R}" and the path.
11906 # Remove the space.
11907 if test $p = "-L" \
11908 ||
test $p = "-R"; then
11915 if test "$pre_test_object_deps_done" = no
; then
11918 # Internal compiler library paths should come after those
11919 # provided the user. The postdeps already come after the
11920 # user supplied libs so there is no need to process them.
11921 if test -z "$compiler_lib_search_path_CXX"; then
11922 compiler_lib_search_path_CXX
="${prev}${p}"
11924 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11927 # The "-l" case would never come before the object being
11928 # linked, so don't bother handling this case.
11931 if test -z "$postdeps_CXX"; then
11932 postdeps_CXX
="${prev}${p}"
11934 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11940 # This assumes that the test object file only shows up
11941 # once in the compiler output.
11942 if test "$p" = "conftest.$objext"; then
11943 pre_test_object_deps_done
=yes
11947 if test "$pre_test_object_deps_done" = no
; then
11948 if test -z "$predep_objects_CXX"; then
11949 predep_objects_CXX
="$p"
11951 predep_objects_CXX
="$predep_objects_CXX $p"
11954 if test -z "$postdep_objects_CXX"; then
11955 postdep_objects_CXX
="$p"
11957 postdep_objects_CXX
="$postdep_objects_CXX $p"
11962 *) ;; # Ignore the rest.
11970 echo "libtool.m4: error: problem compiling CXX test program"
11973 $rm -f confest.
$objext
11975 # PORTME: override above test on systems where it is broken
11978 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11979 # hack all around it, let's just trust "g++" to DTRT.
11980 predep_objects_CXX
=
11981 postdep_objects_CXX
=
11986 case $cc_basename in
11988 # Adding this requires a known-good setup of shared libraries for
11989 # Sun compiler versions before 5.6, else PIC objects from an old
11990 # archive will be linked into the output, leading to subtle bugs.
11991 postdeps_CXX
='-lCstd -lCrun'
11998 case " $postdeps_CXX " in
11999 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12002 lt_prog_compiler_wl_CXX
=
12003 lt_prog_compiler_pic_CXX
=
12004 lt_prog_compiler_static_CXX
=
12006 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12007 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12009 # C++ specific cases for pic, static, wl, etc.
12010 if test "$GXX" = yes; then
12011 lt_prog_compiler_wl_CXX
='-Wl,'
12012 lt_prog_compiler_static_CXX
='-static'
12016 # All AIX code is PIC.
12017 if test "$host_cpu" = ia64
; then
12018 # AIX 5 now supports IA64 processor
12019 lt_prog_compiler_static_CXX
='-Bstatic'
12023 # FIXME: we need at least 68020 code to build shared libraries, but
12024 # adding the `-m68020' flag to GCC prevents building anything better,
12026 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12028 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12029 # PIC is the default for these OSes.
12031 mingw
* | os2
* | pw32
*)
12032 # This hack is so that the source file can tell whether it is being
12033 # built for inclusion in a dll (and should export symbols for example).
12034 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12036 darwin
* | rhapsody
*)
12037 # PIC is the default on this platform
12038 # Common symbols not allowed in MH_DYLIB files
12039 lt_prog_compiler_pic_CXX
='-fno-common'
12042 # DJGPP does not support shared libraries at all
12043 lt_prog_compiler_pic_CXX
=
12046 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12047 # Instead, we relocate shared libraries at runtime.
12050 if test -d /usr
/nec
; then
12051 lt_prog_compiler_pic_CXX
=-Kconform_pic
12055 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12056 # not for PA HP-UX.
12061 lt_prog_compiler_pic_CXX
='-fPIC'
12066 lt_prog_compiler_pic_CXX
='-fPIC'
12072 # All AIX code is PIC.
12073 if test "$host_cpu" = ia64
; then
12074 # AIX 5 now supports IA64 processor
12075 lt_prog_compiler_static_CXX
='-Bstatic'
12077 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12081 case $cc_basename in
12083 # Green Hills C++ Compiler
12084 # _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"
12089 # PIC is the default on this platform
12090 # Common symbols not allowed in MH_DYLIB files
12091 case $cc_basename in
12093 lt_prog_compiler_pic_CXX
='-qnocommon'
12094 lt_prog_compiler_wl_CXX
='-Wl,'
12099 case $cc_basename in
12101 lt_prog_compiler_pic_CXX
='-KPIC'
12104 # Green Hills C++ Compiler
12105 lt_prog_compiler_pic_CXX
='-pic'
12111 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12112 # FreeBSD uses GNU C++
12114 hpux9
* | hpux10
* | hpux11
*)
12115 case $cc_basename in
12117 lt_prog_compiler_wl_CXX
='-Wl,'
12118 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12119 if test "$host_cpu" != ia64
; then
12120 lt_prog_compiler_pic_CXX
='+Z'
12124 lt_prog_compiler_wl_CXX
='-Wl,'
12125 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12131 lt_prog_compiler_pic_CXX
='+Z'
12140 # This is c89, which is MS Visual C++ (no shared libs)
12141 # Anyone wants to do a port?
12143 irix5
* | irix6
* | nonstopux
*)
12144 case $cc_basename in
12146 lt_prog_compiler_wl_CXX
='-Wl,'
12147 lt_prog_compiler_static_CXX
='-non_shared'
12148 # CC pic flag -KPIC is the default.
12155 case $cc_basename in
12158 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12159 lt_prog_compiler_pic_CXX
='-fPIC'
12163 lt_prog_compiler_wl_CXX
='-Wl,'
12164 lt_prog_compiler_pic_CXX
='-KPIC'
12165 lt_prog_compiler_static_CXX
='-static'
12168 # Portland Group C++ compiler.
12169 lt_prog_compiler_wl_CXX
='-Wl,'
12170 lt_prog_compiler_pic_CXX
='-fpic'
12171 lt_prog_compiler_static_CXX
='-Bstatic'
12175 # Make sure the PIC flag is empty. It appears that all Alpha
12176 # Linux and Compaq Tru64 Unix objects are PIC.
12177 lt_prog_compiler_pic_CXX
=
12178 lt_prog_compiler_static_CXX
='-non_shared'
12189 case $cc_basename in
12191 lt_prog_compiler_pic_CXX
='-W c,exportall'
12199 osf3
* | osf4
* | osf5
*)
12200 case $cc_basename in
12202 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12205 # Rational C++ 2.4.1
12206 lt_prog_compiler_pic_CXX
='-pic'
12209 # Digital/Compaq C++
12210 lt_prog_compiler_wl_CXX
='-Wl,'
12211 # Make sure the PIC flag is empty. It appears that all Alpha
12212 # Linux and Compaq Tru64 Unix objects are PIC.
12213 lt_prog_compiler_pic_CXX
=
12214 lt_prog_compiler_static_CXX
='-non_shared'
12223 case $cc_basename in
12225 # Sun C++ 4.2, 5.x and Centerline C++
12226 lt_prog_compiler_pic_CXX
='-KPIC'
12227 lt_prog_compiler_static_CXX
='-Bstatic'
12228 lt_prog_compiler_wl_CXX
='-Qoption ld '
12231 # Green Hills C++ Compiler
12232 lt_prog_compiler_pic_CXX
='-PIC'
12239 case $cc_basename in
12242 lt_prog_compiler_pic_CXX
='-pic'
12243 lt_prog_compiler_static_CXX
='-Bstatic'
12247 lt_prog_compiler_pic_CXX
='-pic'
12254 case $cc_basename in
12256 # NonStop-UX NCC 3.20
12257 lt_prog_compiler_pic_CXX
='-KPIC'
12263 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12264 case $cc_basename in
12266 lt_prog_compiler_wl_CXX
='-Wl,'
12267 lt_prog_compiler_pic_CXX
='-KPIC'
12268 lt_prog_compiler_static_CXX
='-Bstatic'
12275 lt_prog_compiler_can_build_shared_CXX
=no
12280 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12281 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12284 # Check to make sure the PIC flag actually works.
12286 if test -n "$lt_prog_compiler_pic_CXX"; then
12288 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12289 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12290 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 lt_prog_compiler_pic_works_CXX
=no
12294 ac_outfile
=conftest.
$ac_objext
12295 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12296 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12297 # Insert the option either (1) after the last *FLAGS variable, or
12298 # (2) before a word containing "conftest.", or (3) at the end.
12299 # Note that $ac_compile itself does not contain backslashes and begins
12300 # with a dollar sign (not a hyphen), so the echo should work correctly.
12301 # The option is referenced via a variable to avoid confusing sed.
12302 lt_compile
=`echo "$ac_compile" | $SED \
12303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12305 -e 's:$: $lt_compiler_flag:'`
12306 (eval echo "\"\$as_me:12306: $lt_compile\"" >&5)
12307 (eval "$lt_compile" 2>conftest.err
)
12309 cat conftest.err
>&5
12310 echo "$as_me:12310: \$? = $ac_status" >&5
12311 if (exit $ac_status) && test -s "$ac_outfile"; then
12312 # The compiler can only warn and ignore the option if not recognized
12313 # So say no if there are warnings other than the usual output.
12314 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12316 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12317 lt_prog_compiler_pic_works_CXX
=yes
12323 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12324 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12326 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12327 case $lt_prog_compiler_pic_CXX in
12329 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12332 lt_prog_compiler_pic_CXX
=
12333 lt_prog_compiler_can_build_shared_CXX
=no
12338 # For platforms which do not support PIC, -DPIC is meaningless:
12340 lt_prog_compiler_pic_CXX
=
12343 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12348 # Check to make sure the static flag actually works.
12350 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12351 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12352 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12353 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12354 echo $ECHO_N "(cached) $ECHO_C" >&6
12356 lt_prog_compiler_static_works_CXX
=no
12357 save_LDFLAGS
="$LDFLAGS"
12358 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12359 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12360 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12361 # The linker can only warn and ignore the option if not recognized
12362 # So say no if there are warnings
12363 if test -s conftest.err
; then
12364 # Append any errors to the config.log.
12365 cat conftest.err
1>&5
12366 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12367 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12368 if diff conftest.exp conftest.er2
>/dev
/null
; then
12369 lt_prog_compiler_static_works_CXX
=yes
12372 lt_prog_compiler_static_works_CXX
=yes
12376 LDFLAGS
="$save_LDFLAGS"
12379 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12380 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12382 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12385 lt_prog_compiler_static_CXX
=
12389 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12390 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12391 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 lt_cv_prog_compiler_c_o_CXX
=no
12395 $rm -r conftest
2>/dev
/null
12399 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12401 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12402 # Insert the option either (1) after the last *FLAGS variable, or
12403 # (2) before a word containing "conftest.", or (3) at the end.
12404 # Note that $ac_compile itself does not contain backslashes and begins
12405 # with a dollar sign (not a hyphen), so the echo should work correctly.
12406 lt_compile
=`echo "$ac_compile" | $SED \
12407 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12408 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12409 -e 's:$: $lt_compiler_flag:'`
12410 (eval echo "\"\$as_me:12410: $lt_compile\"" >&5)
12411 (eval "$lt_compile" 2>out
/conftest.err
)
12413 cat out
/conftest.err
>&5
12414 echo "$as_me:12414: \$? = $ac_status" >&5
12415 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12417 # The compiler can only warn and ignore the option if not recognized
12418 # So say no if there are warnings
12419 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12420 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12421 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12422 lt_cv_prog_compiler_c_o_CXX
=yes
12427 # SGI C++ compiler will create directory out/ii_files/ for
12428 # template instantiation
12429 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12430 $rm out
/* && rmdir out
12436 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12437 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12440 hard_links
="nottested"
12441 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12442 # do not overwrite the value of need_locks provided by the user
12443 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12444 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12447 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12449 ln conftest.a conftest.b
2>&5 || hard_links
=no
12450 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12451 { echo "$as_me:$LINENO: result: $hard_links" >&5
12452 echo "${ECHO_T}$hard_links" >&6; }
12453 if test "$hard_links" = no
; then
12454 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12455 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12462 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12463 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12465 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12468 # If we're using GNU nm, then we don't want the "-C" option.
12469 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12470 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12471 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'
12473 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'
12477 export_symbols_cmds_CXX
="$ltdll_cmds"
12480 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'
12483 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12487 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12488 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12489 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12492 # Do we need to explicitly link libc?
12494 case "x$archive_cmds_need_lc_CXX" in
12496 # Assume -lc should be added
12497 archive_cmds_need_lc_CXX
=yes
12499 if test "$enable_shared" = yes && test "$GCC" = yes; then
12500 case $archive_cmds_CXX in
12502 # FIXME: we may have to deal with multi-command sequences.
12505 # Test whether the compiler implicitly links with -lc since on some
12506 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12507 # to ld, don't add -lc before -lgcc.
12508 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12509 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12511 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12514 (eval $ac_compile) 2>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } 2>conftest.err
; then
12520 libobjs
=conftest.
$ac_objext
12522 wl
=$lt_prog_compiler_wl_CXX
12523 pic_flag
=$lt_prog_compiler_pic_CXX
12529 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12530 allow_undefined_flag_CXX
=
12531 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12532 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }
12537 archive_cmds_need_lc_CXX
=no
12539 archive_cmds_need_lc_CXX
=yes
12541 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12543 cat conftest.err
1>&5
12546 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12547 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12554 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12555 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12556 library_names_spec
=
12557 libname_spec
='lib$name'
12561 postuninstall_cmds
=
12565 shlibpath_overrides_runpath
=unknown
12567 dynamic_linker
="$host_os ld.so"
12568 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12569 if test "$GCC" = yes; then
12570 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12571 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12572 # if the path contains ";" then we assume it to be the separator
12573 # otherwise default to the standard path separator (i.e. ":") - it is
12574 # assumed that no part of a normal pathname contains ";" but that should
12575 # okay in the real world where ";" in dirpaths is itself problematic.
12576 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12578 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12581 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12583 need_lib_prefix
=unknown
12584 hardcode_into_libs
=no
12586 # when you set need_version to no, make sure it does not cause -set_version
12587 # flags to be left without arguments
12588 need_version
=unknown
12593 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12594 shlibpath_var
=LIBPATH
12596 # AIX 3 has no versioning support, so we append a major version to the name.
12597 soname_spec
='${libname}${release}${shared_ext}$major'
12604 hardcode_into_libs
=yes
12605 if test "$host_cpu" = ia64
; then
12606 # AIX 5 supports IA64
12607 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12608 shlibpath_var
=LD_LIBRARY_PATH
12610 # With GCC up to 2.95.x, collect2 would create an import file
12611 # for dependence libraries. The import file would start with
12612 # the line `#! .'. This would cause the generated library to
12613 # depend on `.', always an invalid library. This was fixed in
12614 # development snapshots of GCC prior to 3.0.
12616 aix4 | aix4.
[01] | aix4.
[01].
*)
12617 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12619 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12622 can_build_shared
=no
12626 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12627 # soname into executable. Probably we can add versioning support to
12628 # collect2, so additional links can be useful in future.
12629 if test "$aix_use_runtimelinking" = yes; then
12630 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12631 # instead of lib<name>.a to let people know that these are not
12632 # typical AIX shared libraries.
12633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12635 # We preserve .a as extension for shared libraries through AIX4.2
12636 # and later when we are not doing run time linking.
12637 library_names_spec
='${libname}${release}.a $libname.a'
12638 soname_spec
='${libname}${release}${shared_ext}$major'
12640 shlibpath_var
=LIBPATH
12645 library_names_spec
='$libname.ixlibrary $libname.a'
12646 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12647 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'
12651 library_names_spec
='${libname}${shared_ext}'
12652 dynamic_linker
="$host_os ld.so"
12653 shlibpath_var
=LIBRARY_PATH
12659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12660 soname_spec
='${libname}${release}${shared_ext}$major'
12661 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12662 shlibpath_var
=LD_LIBRARY_PATH
12663 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12664 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12665 # the default ld.so.conf also contains /usr/contrib/lib and
12666 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12667 # libtool to hard-code these into programs
12670 cygwin
* | mingw
* | pw32
*)
12671 version_type
=windows
12676 case $GCC,$host_os in
12677 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12678 library_names_spec
='$libname.dll.a'
12679 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12680 postinstall_cmds
='base_file=`basename \${file}`~
12681 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12682 dldir=$destdir/`dirname \$dlpath`~
12683 test -d \$dldir || mkdir -p \$dldir~
12684 $install_prog $dir/$dlname \$dldir/$dlname~
12685 chmod a+x \$dldir/$dlname'
12686 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12687 dlpath=$dir/\$dldll~
12689 shlibpath_overrides_runpath
=yes
12693 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12694 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12695 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12698 # MinGW DLLs use traditional 'lib' prefix
12699 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12700 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12701 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12702 # It is most probably a Windows format PATH printed by
12703 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12704 # path with ; separators, and with drive letters. We can handle the
12705 # drive letters (cygwin fileutils understands them), so leave them,
12706 # especially as we might pass files found there to a mingw objdump,
12707 # which wouldn't understand a cygwinified path. Ahh.
12708 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12710 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12714 # pw32 DLLs use 'pw' prefix rather than 'lib'
12715 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12721 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12724 dynamic_linker
='Win32 ld.exe'
12725 # FIXME: first we should search . and the directory the executable is in
12729 darwin
* | rhapsody
*)
12730 dynamic_linker
="$host_os dyld"
12731 version_type
=darwin
12734 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12735 soname_spec
='${libname}${release}${major}$shared_ext'
12736 shlibpath_overrides_runpath
=yes
12737 shlibpath_var
=DYLD_LIBRARY_PATH
12738 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12739 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12740 if test "$GCC" = yes; then
12741 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12743 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12745 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12753 soname_spec
='${libname}${release}${shared_ext}$major'
12754 shlibpath_var
=LD_LIBRARY_PATH
12765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12766 soname_spec
='${libname}${release}${shared_ext}$major'
12767 shlibpath_var
=LD_LIBRARY_PATH
12768 shlibpath_overrides_runpath
=no
12769 hardcode_into_libs
=yes
12770 dynamic_linker
='GNU ld.so'
12773 freebsd
* | dragonfly
*)
12774 # DragonFly does not have aout. When/if they implement a new
12775 # versioning mechanism, adjust this.
12776 if test -x /usr
/bin
/objformat
; then
12777 objformat
=`/usr/bin/objformat`
12780 freebsd
[123]*) objformat
=aout
;;
12781 *) objformat
=elf
;;
12784 version_type
=freebsd-
$objformat
12785 case $version_type in
12787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12792 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12796 shlibpath_var
=LD_LIBRARY_PATH
12799 shlibpath_overrides_runpath
=yes
12801 freebsd3.
[01]* | freebsdelf3.
[01]*)
12802 shlibpath_overrides_runpath
=yes
12803 hardcode_into_libs
=yes
12805 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12806 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12807 shlibpath_overrides_runpath
=no
12808 hardcode_into_libs
=yes
12810 freebsd
*) # from 4.6 on
12811 shlibpath_overrides_runpath
=yes
12812 hardcode_into_libs
=yes
12821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12822 soname_spec
='${libname}${release}${shared_ext}$major'
12823 shlibpath_var
=LD_LIBRARY_PATH
12824 hardcode_into_libs
=yes
12827 hpux9
* | hpux10
* | hpux11
*)
12828 # Give a soname corresponding to the major version so that dld.sl refuses to
12829 # link against other versions.
12836 hardcode_into_libs
=yes
12837 dynamic_linker
="$host_os dld.so"
12838 shlibpath_var
=LD_LIBRARY_PATH
12839 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12841 soname_spec
='${libname}${release}${shared_ext}$major'
12842 if test "X$HPUX_IA64_MODE" = X32
; then
12843 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12845 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12847 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12851 hardcode_into_libs
=yes
12852 dynamic_linker
="$host_os dld.sl"
12853 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12854 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12856 soname_spec
='${libname}${release}${shared_ext}$major'
12857 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12858 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12862 dynamic_linker
="$host_os dld.sl"
12863 shlibpath_var
=SHLIB_PATH
12864 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12866 soname_spec
='${libname}${release}${shared_ext}$major'
12869 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12870 postinstall_cmds
='chmod 555 $lib'
12877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12878 soname_spec
='${libname}${release}${shared_ext}$major'
12879 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12880 shlibpath_var
=LD_LIBRARY_PATH
12881 shlibpath_overrides_runpath
=no
12882 hardcode_into_libs
=yes
12885 irix5
* | irix6
* | nonstopux
*)
12887 nonstopux
*) version_type
=nonstopux
;;
12889 if test "$lt_cv_prog_gnu_ld" = yes; then
12897 soname_spec
='${libname}${release}${shared_ext}$major'
12898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12900 irix5
* | nonstopux
*)
12901 libsuff
= shlibsuff
=
12904 case $LD in # libtool.m4 will add one of these switches to LD
12905 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12906 libsuff
= shlibsuff
= libmagic
=32-bit;;
12907 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12908 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12909 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12910 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12911 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12915 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12916 shlibpath_overrides_runpath
=no
12917 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12918 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12919 hardcode_into_libs
=yes
12922 # No shared lib support for Linux oldld, aout, or coff.
12923 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12927 # This must be Linux ELF.
12932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12933 soname_spec
='${libname}${release}${shared_ext}$major'
12934 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12935 shlibpath_var
=LD_LIBRARY_PATH
12936 shlibpath_overrides_runpath
=no
12937 # This implies no fast_install, which is unacceptable.
12938 # Some rework will be needed to allow for fast_install
12939 # before this can be enabled.
12940 hardcode_into_libs
=yes
12942 # find out which ABI we are using
12944 case "$host_cpu" in
12945 x86_64
*|s390x
*|powerpc64
*)
12946 echo '#line 12946 "configure"' > conftest.
$ac_ext
12947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12948 (eval $ac_compile) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; then
12952 case `/usr/bin/file conftest.$ac_objext` in
12955 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12963 # Append ld.so.conf contents to the search path
12964 if test -f /etc
/ld.so.conf
; then
12965 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12966 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12969 # We used to test for /lib/ld.so.1 and disable shared libraries on
12970 # powerpc, because MkLinux only supported shared libraries with the
12971 # GNU dynamic linker. Since this was broken with cross compilers,
12972 # most powerpc-linux boxes support dynamic linking these days and
12973 # people can always --disable-shared, the test was removed, and we
12974 # assume the GNU/Linux dynamic linker is in use.
12975 dynamic_linker
='GNU/Linux ld.so'
12982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12983 soname_spec
='${libname}${release}${shared_ext}$major'
12984 shlibpath_var
=LD_LIBRARY_PATH
12985 shlibpath_overrides_runpath
=no
12986 hardcode_into_libs
=yes
12987 dynamic_linker
='GNU ld.so'
12994 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12996 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12997 dynamic_linker
='NetBSD (a.out) ld.so'
12999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13000 soname_spec
='${libname}${release}${shared_ext}$major'
13001 dynamic_linker
='NetBSD ld.elf_so'
13003 shlibpath_var
=LD_LIBRARY_PATH
13004 shlibpath_overrides_runpath
=yes
13005 hardcode_into_libs
=yes
13010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13011 shlibpath_var
=LD_LIBRARY_PATH
13012 shlibpath_overrides_runpath
=yes
13019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13020 soname_spec
='${libname}${release}${shared_ext}$major'
13021 shlibpath_var
=LD_LIBRARY_PATH
13022 shlibpath_overrides_runpath
=yes
13027 sys_lib_dlsearch_path_spec
="/usr/lib"
13029 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13031 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13032 *) need_version
=no
;;
13034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13035 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13036 shlibpath_var
=LD_LIBRARY_PATH
13037 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13039 openbsd2.
[89] | openbsd2.
[89].
*)
13040 shlibpath_overrides_runpath
=no
13043 shlibpath_overrides_runpath
=yes
13047 shlibpath_overrides_runpath
=yes
13052 libname_spec
='$name'
13055 library_names_spec
='$libname${shared_ext} $libname.a'
13056 dynamic_linker
='OS/2 ld.exe'
13057 shlibpath_var
=LIBPATH
13060 osf3
* | osf4
* | osf5
*)
13064 soname_spec
='${libname}${release}${shared_ext}$major'
13065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 shlibpath_var
=LD_LIBRARY_PATH
13067 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13068 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13076 soname_spec
='${libname}${release}${shared_ext}$major'
13077 shlibpath_var
=LD_LIBRARY_PATH
13078 shlibpath_overrides_runpath
=yes
13079 hardcode_into_libs
=yes
13080 # ldd complains unless libraries are executable
13081 postinstall_cmds
='chmod +x $lib'
13086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13087 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13088 shlibpath_var
=LD_LIBRARY_PATH
13089 shlibpath_overrides_runpath
=yes
13090 if test "$with_gnu_ld" = yes; then
13098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13099 soname_spec
='${libname}${release}${shared_ext}$major'
13100 shlibpath_var
=LD_LIBRARY_PATH
13101 case $host_vendor in
13103 shlibpath_overrides_runpath
=no
13105 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13106 runpath_var
=LD_RUN_PATH
13114 shlibpath_overrides_runpath
=no
13115 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13121 if test -d /usr
/nec
;then
13123 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13124 soname_spec
='$libname${shared_ext}.$major'
13125 shlibpath_var
=LD_LIBRARY_PATH
13129 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13130 version_type
=freebsd-elf
13133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13134 soname_spec
='${libname}${release}${shared_ext}$major'
13135 shlibpath_var
=LD_LIBRARY_PATH
13136 hardcode_into_libs
=yes
13137 if test "$with_gnu_ld" = yes; then
13138 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13139 shlibpath_overrides_runpath
=no
13141 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13142 shlibpath_overrides_runpath
=yes
13145 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13149 sys_lib_dlsearch_path_spec
='/usr/lib'
13154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13155 soname_spec
='${libname}${release}${shared_ext}$major'
13156 shlibpath_var
=LD_LIBRARY_PATH
13163 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13164 echo "${ECHO_T}$dynamic_linker" >&6; }
13165 test "$dynamic_linker" = no
&& can_build_shared
=no
13167 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13168 if test "$GCC" = yes; then
13169 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13172 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13173 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13174 hardcode_action_CXX
=
13175 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13176 test -n "$runpath_var_CXX" || \
13177 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13179 # We can hardcode non-existant directories.
13180 if test "$hardcode_direct_CXX" != no
&&
13181 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13182 # have to relink, otherwise we might link with an installed library
13183 # when we should be linking with a yet-to-be-installed one
13184 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13185 test "$hardcode_minus_L_CXX" != no
; then
13186 # Linking always hardcodes the temporary library directory.
13187 hardcode_action_CXX
=relink
13189 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13190 hardcode_action_CXX
=immediate
13193 # We cannot hardcode anything, or else we can only hardcode existing
13195 hardcode_action_CXX
=unsupported
13197 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13198 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13200 if test "$hardcode_action_CXX" = relink
; then
13201 # Fast installation is not supported
13202 enable_fast_install
=no
13203 elif test "$shlibpath_overrides_runpath" = yes ||
13204 test "$enable_shared" = no
; then
13205 # Fast installation is not necessary
13206 enable_fast_install
=needless
13210 # The else clause should only fire when bootstrapping the
13211 # libtool distribution, otherwise you forgot to ship ltmain.sh
13212 # with your package, and you will get complaints that there are
13213 # no rules to generate ltmain.sh.
13214 if test -f "$ltmain"; then
13215 # See if we are running on zsh, and set the options which allow our commands through
13216 # without removal of \ escapes.
13217 if test -n "${ZSH_VERSION+set}" ; then
13218 setopt NO_GLOB_SUBST
13220 # Now quote all the things that may contain metacharacters while being
13221 # careful not to overquote the AC_SUBSTed values. We take copies of the
13222 # variables and quote the copies for generation of the libtool script.
13223 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13225 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13226 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13227 deplibs_check_method reload_flag reload_cmds need_locks \
13228 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13229 lt_cv_sys_global_symbol_to_c_name_address \
13230 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13231 old_postinstall_cmds old_postuninstall_cmds \
13235 lt_prog_compiler_wl_CXX \
13236 lt_prog_compiler_pic_CXX \
13237 lt_prog_compiler_static_CXX \
13238 lt_prog_compiler_no_builtin_flag_CXX \
13239 export_dynamic_flag_spec_CXX \
13240 thread_safe_flag_spec_CXX \
13241 whole_archive_flag_spec_CXX \
13242 enable_shared_with_static_runtimes_CXX \
13243 old_archive_cmds_CXX \
13244 old_archive_from_new_cmds_CXX \
13245 predep_objects_CXX \
13246 postdep_objects_CXX \
13249 compiler_lib_search_path_CXX \
13251 archive_expsym_cmds_CXX \
13252 postinstall_cmds_CXX \
13253 postuninstall_cmds_CXX \
13254 old_archive_from_expsyms_cmds_CXX \
13255 allow_undefined_flag_CXX \
13256 no_undefined_flag_CXX \
13257 export_symbols_cmds_CXX \
13258 hardcode_libdir_flag_spec_CXX \
13259 hardcode_libdir_flag_spec_ld_CXX \
13260 hardcode_libdir_separator_CXX \
13261 hardcode_automatic_CXX \
13263 module_expsym_cmds_CXX \
13264 lt_cv_prog_compiler_c_o_CXX \
13265 exclude_expsyms_CXX \
13266 include_expsyms_CXX
; do
13269 old_archive_cmds_CXX | \
13270 old_archive_from_new_cmds_CXX | \
13271 archive_cmds_CXX | \
13272 archive_expsym_cmds_CXX | \
13273 module_cmds_CXX | \
13274 module_expsym_cmds_CXX | \
13275 old_archive_from_expsyms_cmds_CXX | \
13276 export_symbols_cmds_CXX | \
13277 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13278 postinstall_cmds | postuninstall_cmds | \
13279 old_postinstall_cmds | old_postuninstall_cmds | \
13280 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13281 # Double-quote double-evaled strings.
13282 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13285 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13291 *'\$0 --fallback-echo"')
13292 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13298 cat <<__EOF__ >> "$cfgfile"
13299 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13301 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13303 # Shell to use when invoking shell scripts.
13306 # Whether or not to build shared libraries.
13307 build_libtool_libs=$enable_shared
13309 # Whether or not to build static libraries.
13310 build_old_libs=$enable_static
13312 # Whether or not to add -lc for building shared libraries.
13313 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13315 # Whether or not to disallow shared libs when runtime libs are static
13316 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13318 # Whether or not to optimize for fast installation.
13319 fast_install=$enable_fast_install
13322 host_alias=$host_alias
13326 # The build system.
13327 build_alias=$build_alias
13331 # An echo program that does not interpret backslashes.
13336 AR_FLAGS=$lt_AR_FLAGS
13341 # LTCC compiler flags.
13342 LTCFLAGS=$lt_LTCFLAGS
13344 # A language-specific compiler.
13345 CC=$lt_compiler_CXX
13347 # Is the compiler the GNU C compiler?
13353 # The linker used to build libraries.
13356 # Whether we need hard or soft links.
13359 # A BSD-compatible nm program.
13362 # A symbol stripping program
13365 # Used to examine libraries when file_magic_cmd begins "file"
13366 MAGIC_CMD=$MAGIC_CMD
13368 # Used on cygwin: DLL creation program.
13371 # Used on cygwin: object dumper.
13374 # Used on cygwin: assembler.
13377 # The name of the directory that contains temporary libtool files.
13380 # How to create reloadable object files.
13381 reload_flag=$lt_reload_flag
13382 reload_cmds=$lt_reload_cmds
13384 # How to pass a linker flag through the compiler.
13385 wl=$lt_lt_prog_compiler_wl_CXX
13387 # Object file suffix (normally "o").
13388 objext="$ac_objext"
13390 # Old archive suffix (normally "a").
13393 # Shared library suffix (normally ".so").
13394 shrext_cmds='$shrext_cmds'
13396 # Executable file suffix (normally "").
13399 # Additional compiler flags for building library objects.
13400 pic_flag=$lt_lt_prog_compiler_pic_CXX
13403 # What is the maximum length of a command?
13404 max_cmd_len=$lt_cv_sys_max_cmd_len
13406 # Does compiler simultaneously support -c and -o options?
13407 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13409 # Must we lock files when doing compilation?
13410 need_locks=$lt_need_locks
13412 # Do we need the lib prefix for modules?
13413 need_lib_prefix=$need_lib_prefix
13415 # Do we need a version for libraries?
13416 need_version=$need_version
13418 # Whether dlopen is supported.
13419 dlopen_support=$enable_dlopen
13421 # Whether dlopen of programs is supported.
13422 dlopen_self=$enable_dlopen_self
13424 # Whether dlopen of statically linked programs is supported.
13425 dlopen_self_static=$enable_dlopen_self_static
13427 # Compiler flag to prevent dynamic linking.
13428 link_static_flag=$lt_lt_prog_compiler_static_CXX
13430 # Compiler flag to turn off builtin functions.
13431 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13433 # Compiler flag to allow reflexive dlopens.
13434 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13436 # Compiler flag to generate shared objects directly from archives.
13437 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13439 # Compiler flag to generate thread-safe objects.
13440 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13442 # Library versioning type.
13443 version_type=$version_type
13445 # Format of library name prefix.
13446 libname_spec=$lt_libname_spec
13448 # List of archive names. First name is the real one, the rest are links.
13449 # The last name is the one that the linker finds with -lNAME.
13450 library_names_spec=$lt_library_names_spec
13452 # The coded name of the library, if different from the real name.
13453 soname_spec=$lt_soname_spec
13455 # Commands used to build and install an old-style archive.
13457 old_archive_cmds=$lt_old_archive_cmds_CXX
13458 old_postinstall_cmds=$lt_old_postinstall_cmds
13459 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13461 # Create an old-style archive from a shared archive.
13462 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13464 # Create a temporary old-style archive to link instead of a shared archive.
13465 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13467 # Commands used to build and install a shared archive.
13468 archive_cmds=$lt_archive_cmds_CXX
13469 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13470 postinstall_cmds=$lt_postinstall_cmds
13471 postuninstall_cmds=$lt_postuninstall_cmds
13473 # Commands used to build a loadable module (assumed same as above if empty)
13474 module_cmds=$lt_module_cmds_CXX
13475 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13477 # Commands to strip libraries.
13478 old_striplib=$lt_old_striplib
13479 striplib=$lt_striplib
13481 # Dependencies to place before the objects being linked to create a
13483 predep_objects=$lt_predep_objects_CXX
13485 # Dependencies to place after the objects being linked to create a
13487 postdep_objects=$lt_postdep_objects_CXX
13489 # Dependencies to place before the objects being linked to create a
13491 predeps=$lt_predeps_CXX
13493 # Dependencies to place after the objects being linked to create a
13495 postdeps=$lt_postdeps_CXX
13497 # The library search path used internally by the compiler when linking
13498 # a shared library.
13499 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13501 # Method to check whether dependent libraries are shared objects.
13502 deplibs_check_method=$lt_deplibs_check_method
13504 # Command to use when deplibs_check_method == file_magic.
13505 file_magic_cmd=$lt_file_magic_cmd
13507 # Flag that allows shared libraries with undefined symbols to be built.
13508 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13510 # Flag that forces no undefined symbols.
13511 no_undefined_flag=$lt_no_undefined_flag_CXX
13513 # Commands used to finish a libtool library installation in a directory.
13514 finish_cmds=$lt_finish_cmds
13516 # Same as above, but a single script fragment to be evaled but not shown.
13517 finish_eval=$lt_finish_eval
13519 # Take the output of nm and produce a listing of raw symbols and C names.
13520 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13522 # Transform the output of nm in a proper C declaration
13523 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13525 # Transform the output of nm in a C name address pair
13526 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13528 # This is the shared library runtime path variable.
13529 runpath_var=$runpath_var
13531 # This is the shared library path variable.
13532 shlibpath_var=$shlibpath_var
13534 # Is shlibpath searched before the hard-coded library search path?
13535 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13537 # How to hardcode a shared library path into an executable.
13538 hardcode_action=$hardcode_action_CXX
13540 # Whether we should hardcode library paths into libraries.
13541 hardcode_into_libs=$hardcode_into_libs
13543 # Flag to hardcode \$libdir into a binary during linking.
13544 # This must work even if \$libdir does not exist.
13545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13547 # If ld is used when linking, flag to hardcode \$libdir into
13548 # a binary during linking. This must work even if \$libdir does
13550 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13552 # Whether we need a single -rpath flag with a separated argument.
13553 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13555 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13556 # resulting binary.
13557 hardcode_direct=$hardcode_direct_CXX
13559 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13560 # resulting binary.
13561 hardcode_minus_L=$hardcode_minus_L_CXX
13563 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13564 # the resulting binary.
13565 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13567 # Set to yes if building a shared library automatically hardcodes DIR into the library
13568 # and all subsequent libraries and executables linked against it.
13569 hardcode_automatic=$hardcode_automatic_CXX
13571 # Variables whose values should be saved in libtool wrapper scripts and
13572 # restored at relink time.
13573 variables_saved_for_relink="$variables_saved_for_relink"
13575 # Whether libtool must link a program against all its dependency libraries.
13576 link_all_deplibs=$link_all_deplibs_CXX
13578 # Compile-time system search path for libraries
13579 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13581 # Run-time system search path for libraries
13582 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13584 # Fix the shell variable \$srcfile for the compiler.
13585 fix_srcfile_path="$fix_srcfile_path_CXX"
13587 # Set to yes if exported symbols are required.
13588 always_export_symbols=$always_export_symbols_CXX
13590 # The commands to list exported symbols.
13591 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13593 # The commands to extract the exported symbol list from a shared archive.
13594 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13596 # Symbols that should not be listed in the preloaded symbols.
13597 exclude_expsyms=$lt_exclude_expsyms_CXX
13599 # Symbols that must always be exported.
13600 include_expsyms=$lt_include_expsyms_CXX
13602 # ### END LIBTOOL TAG CONFIG: $tagname
13608 # If there is no Makefile yet, we rely on a make rule to execute
13609 # `config.status --recheck' to rerun these tests and create the
13610 # libtool script then.
13611 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13612 if test -f "$ltmain_in"; then
13613 test -f Makefile
&& make "$ltmain"
13619 ac_cpp
='$CPP $CPPFLAGS'
13620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13628 with_gnu_ldcxx
=$with_gnu_ld
13629 with_gnu_ld
=$lt_save_with_gnu_ld
13630 lt_cv_path_LDCXX
=$lt_cv_path_LD
13631 lt_cv_path_LD
=$lt_save_path_LD
13632 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13633 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13641 if test -n "$F77" && test "X$F77" != "Xno"; then
13644 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13645 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13646 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13649 archive_cmds_need_lc_F77
=no
13650 allow_undefined_flag_F77
=
13651 always_export_symbols_F77
=no
13652 archive_expsym_cmds_F77
=
13653 export_dynamic_flag_spec_F77
=
13654 hardcode_direct_F77
=no
13655 hardcode_libdir_flag_spec_F77
=
13656 hardcode_libdir_flag_spec_ld_F77
=
13657 hardcode_libdir_separator_F77
=
13658 hardcode_minus_L_F77
=no
13659 hardcode_automatic_F77
=no
13661 module_expsym_cmds_F77
=
13662 link_all_deplibs_F77
=unknown
13663 old_archive_cmds_F77
=$old_archive_cmds
13664 no_undefined_flag_F77
=
13665 whole_archive_flag_spec_F77
=
13666 enable_shared_with_static_runtimes_F77
=no
13668 # Source file extension for f77 test sources.
13671 # Object file extension for compiled f77 test sources.
13675 # Code to be used in simple compile tests
13676 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13678 # Code to be used in simple link tests
13679 lt_simple_link_test_code
=" program t\n end\n"
13681 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13683 # If no C compiler was specified, use CC.
13686 # If no C compiler flags were specified, use CFLAGS.
13687 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13689 # Allow CC to be a program name with arguments.
13693 # save warnings/boilerplate of simple test code
13694 ac_outfile
=conftest.
$ac_objext
13695 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13696 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13697 _lt_compiler_boilerplate
=`cat conftest.err`
13700 ac_outfile
=conftest.
$ac_objext
13701 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13702 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13703 _lt_linker_boilerplate
=`cat conftest.err`
13707 # Allow CC to be a program name with arguments.
13712 for cc_temp
in $compiler""; do
13714 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13715 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13720 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13723 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13724 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13725 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13726 echo "${ECHO_T}$can_build_shared" >&6; }
13728 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13729 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13730 test "$can_build_shared" = "no" && enable_shared
=no
13732 # On AIX, shared libraries and static libraries use the same namespace, and
13733 # are all built from PIC.
13736 test "$enable_shared" = yes && enable_static
=no
13737 if test -n "$RANLIB"; then
13738 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13739 postinstall_cmds
='$RANLIB $lib'
13743 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13744 test "$enable_shared" = yes && enable_static
=no
13748 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13749 echo "${ECHO_T}$enable_shared" >&6; }
13751 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13752 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13753 # Make sure either enable_shared or enable_static is yes.
13754 test "$enable_shared" = yes || enable_static
=yes
13755 { echo "$as_me:$LINENO: result: $enable_static" >&5
13756 echo "${ECHO_T}$enable_static" >&6; }
13761 lt_prog_compiler_wl_F77
=
13762 lt_prog_compiler_pic_F77
=
13763 lt_prog_compiler_static_F77
=
13765 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13766 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13768 if test "$GCC" = yes; then
13769 lt_prog_compiler_wl_F77
='-Wl,'
13770 lt_prog_compiler_static_F77
='-static'
13774 # All AIX code is PIC.
13775 if test "$host_cpu" = ia64
; then
13776 # AIX 5 now supports IA64 processor
13777 lt_prog_compiler_static_F77
='-Bstatic'
13782 # FIXME: we need at least 68020 code to build shared libraries, but
13783 # adding the `-m68020' flag to GCC prevents building anything better,
13785 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13788 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13789 # PIC is the default for these OSes.
13792 mingw
* | pw32
* | os2
*)
13793 # This hack is so that the source file can tell whether it is being
13794 # built for inclusion in a dll (and should export symbols for example).
13795 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13798 darwin
* | rhapsody
*)
13799 # PIC is the default on this platform
13800 # Common symbols not allowed in MH_DYLIB files
13801 lt_prog_compiler_pic_F77
='-fno-common'
13805 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13806 # Instead, we relocate shared libraries at runtime.
13810 # Just because we use GCC doesn't mean we suddenly get shared libraries
13811 # on systems that don't support them.
13812 lt_prog_compiler_can_build_shared_F77
=no
13817 if test -d /usr
/nec
; then
13818 lt_prog_compiler_pic_F77
=-Kconform_pic
13823 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13824 # not for PA HP-UX.
13830 lt_prog_compiler_pic_F77
='-fPIC'
13836 lt_prog_compiler_pic_F77
='-fPIC'
13840 # PORTME Check for flag to pass linker flags through the system compiler.
13843 lt_prog_compiler_wl_F77
='-Wl,'
13844 if test "$host_cpu" = ia64
; then
13845 # AIX 5 now supports IA64 processor
13846 lt_prog_compiler_static_F77
='-Bstatic'
13848 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13852 # PIC is the default on this platform
13853 # Common symbols not allowed in MH_DYLIB files
13854 case $cc_basename in
13856 lt_prog_compiler_pic_F77
='-qnocommon'
13857 lt_prog_compiler_wl_F77
='-Wl,'
13862 mingw
* | pw32
* | os2
*)
13863 # This hack is so that the source file can tell whether it is being
13864 # built for inclusion in a dll (and should export symbols for example).
13865 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13868 hpux9
* | hpux10
* | hpux11
*)
13869 lt_prog_compiler_wl_F77
='-Wl,'
13870 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13871 # not for PA HP-UX.
13877 lt_prog_compiler_pic_F77
='+Z'
13880 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13881 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13884 irix5
* | irix6
* | nonstopux
*)
13885 lt_prog_compiler_wl_F77
='-Wl,'
13886 # PIC (with -KPIC) is the default.
13887 lt_prog_compiler_static_F77
='-non_shared'
13891 lt_prog_compiler_pic_F77
='-KPIC'
13892 lt_prog_compiler_static_F77
='-Bstatic'
13896 case $cc_basename in
13898 lt_prog_compiler_wl_F77
='-Wl,'
13899 lt_prog_compiler_pic_F77
='-KPIC'
13900 lt_prog_compiler_static_F77
='-static'
13902 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13903 # Portland Group compilers (*not* the Pentium gcc compiler,
13904 # which looks to be a dead project)
13905 lt_prog_compiler_wl_F77
='-Wl,'
13906 lt_prog_compiler_pic_F77
='-fpic'
13907 lt_prog_compiler_static_F77
='-Bstatic'
13910 lt_prog_compiler_wl_F77
='-Wl,'
13911 # All Alpha code is PIC.
13912 lt_prog_compiler_static_F77
='-non_shared'
13917 osf3
* | osf4
* | osf5
*)
13918 lt_prog_compiler_wl_F77
='-Wl,'
13919 # All OSF/1 code is PIC.
13920 lt_prog_compiler_static_F77
='-non_shared'
13924 lt_prog_compiler_pic_F77
='-KPIC'
13925 lt_prog_compiler_static_F77
='-Bstatic'
13926 case $cc_basename in
13927 f77
* | f90
* | f95
*)
13928 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13930 lt_prog_compiler_wl_F77
='-Wl,';;
13935 lt_prog_compiler_wl_F77
='-Qoption ld '
13936 lt_prog_compiler_pic_F77
='-PIC'
13937 lt_prog_compiler_static_F77
='-Bstatic'
13940 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13941 lt_prog_compiler_wl_F77
='-Wl,'
13942 lt_prog_compiler_pic_F77
='-KPIC'
13943 lt_prog_compiler_static_F77
='-Bstatic'
13947 if test -d /usr
/nec
;then
13948 lt_prog_compiler_pic_F77
='-Kconform_pic'
13949 lt_prog_compiler_static_F77
='-Bstatic'
13953 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13954 lt_prog_compiler_wl_F77
='-Wl,'
13955 lt_prog_compiler_pic_F77
='-KPIC'
13956 lt_prog_compiler_static_F77
='-Bstatic'
13960 lt_prog_compiler_wl_F77
='-Wl,'
13961 lt_prog_compiler_can_build_shared_F77
=no
13965 lt_prog_compiler_pic_F77
='-pic'
13966 lt_prog_compiler_static_F77
='-Bstatic'
13970 lt_prog_compiler_can_build_shared_F77
=no
13975 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13976 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13979 # Check to make sure the PIC flag actually works.
13981 if test -n "$lt_prog_compiler_pic_F77"; then
13983 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13984 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13985 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13986 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 lt_prog_compiler_pic_works_F77
=no
13989 ac_outfile
=conftest.
$ac_objext
13990 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13991 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13992 # Insert the option either (1) after the last *FLAGS variable, or
13993 # (2) before a word containing "conftest.", or (3) at the end.
13994 # Note that $ac_compile itself does not contain backslashes and begins
13995 # with a dollar sign (not a hyphen), so the echo should work correctly.
13996 # The option is referenced via a variable to avoid confusing sed.
13997 lt_compile
=`echo "$ac_compile" | $SED \
13998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14000 -e 's:$: $lt_compiler_flag:'`
14001 (eval echo "\"\$as_me:14001: $lt_compile\"" >&5)
14002 (eval "$lt_compile" 2>conftest.err
)
14004 cat conftest.err
>&5
14005 echo "$as_me:14005: \$? = $ac_status" >&5
14006 if (exit $ac_status) && test -s "$ac_outfile"; then
14007 # The compiler can only warn and ignore the option if not recognized
14008 # So say no if there are warnings other than the usual output.
14009 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14010 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14011 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14012 lt_prog_compiler_pic_works_F77
=yes
14018 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14019 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14021 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14022 case $lt_prog_compiler_pic_F77 in
14024 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14027 lt_prog_compiler_pic_F77
=
14028 lt_prog_compiler_can_build_shared_F77
=no
14033 # For platforms which do not support PIC, -DPIC is meaningless:
14035 lt_prog_compiler_pic_F77
=
14038 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14043 # Check to make sure the static flag actually works.
14045 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14046 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14047 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14048 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 lt_prog_compiler_static_works_F77
=no
14052 save_LDFLAGS
="$LDFLAGS"
14053 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14054 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14055 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14056 # The linker can only warn and ignore the option if not recognized
14057 # So say no if there are warnings
14058 if test -s conftest.err
; then
14059 # Append any errors to the config.log.
14060 cat conftest.err
1>&5
14061 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14062 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14063 if diff conftest.exp conftest.er2
>/dev
/null
; then
14064 lt_prog_compiler_static_works_F77
=yes
14067 lt_prog_compiler_static_works_F77
=yes
14071 LDFLAGS
="$save_LDFLAGS"
14074 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14075 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14077 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14080 lt_prog_compiler_static_F77
=
14084 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14085 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14086 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14087 echo $ECHO_N "(cached) $ECHO_C" >&6
14089 lt_cv_prog_compiler_c_o_F77
=no
14090 $rm -r conftest
2>/dev
/null
14094 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14096 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14097 # Insert the option either (1) after the last *FLAGS variable, or
14098 # (2) before a word containing "conftest.", or (3) at the end.
14099 # Note that $ac_compile itself does not contain backslashes and begins
14100 # with a dollar sign (not a hyphen), so the echo should work correctly.
14101 lt_compile
=`echo "$ac_compile" | $SED \
14102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14104 -e 's:$: $lt_compiler_flag:'`
14105 (eval echo "\"\$as_me:14105: $lt_compile\"" >&5)
14106 (eval "$lt_compile" 2>out
/conftest.err
)
14108 cat out
/conftest.err
>&5
14109 echo "$as_me:14109: \$? = $ac_status" >&5
14110 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14112 # The compiler can only warn and ignore the option if not recognized
14113 # So say no if there are warnings
14114 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14115 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14116 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14117 lt_cv_prog_compiler_c_o_F77
=yes
14122 # SGI C++ compiler will create directory out/ii_files/ for
14123 # template instantiation
14124 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14125 $rm out
/* && rmdir out
14131 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14132 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14135 hard_links
="nottested"
14136 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14137 # do not overwrite the value of need_locks provided by the user
14138 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14139 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14142 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14144 ln conftest.a conftest.b
2>&5 || hard_links
=no
14145 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14146 { echo "$as_me:$LINENO: result: $hard_links" >&5
14147 echo "${ECHO_T}$hard_links" >&6; }
14148 if test "$hard_links" = no
; then
14149 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14150 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14157 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14158 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14161 allow_undefined_flag_F77
=
14162 enable_shared_with_static_runtimes_F77
=no
14164 archive_expsym_cmds_F77
=
14165 old_archive_From_new_cmds_F77
=
14166 old_archive_from_expsyms_cmds_F77
=
14167 export_dynamic_flag_spec_F77
=
14168 whole_archive_flag_spec_F77
=
14169 thread_safe_flag_spec_F77
=
14170 hardcode_libdir_flag_spec_F77
=
14171 hardcode_libdir_flag_spec_ld_F77
=
14172 hardcode_libdir_separator_F77
=
14173 hardcode_direct_F77
=no
14174 hardcode_minus_L_F77
=no
14175 hardcode_shlibpath_var_F77
=unsupported
14176 link_all_deplibs_F77
=unknown
14177 hardcode_automatic_F77
=no
14179 module_expsym_cmds_F77
=
14180 always_export_symbols_F77
=no
14181 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14182 # include_expsyms should be a list of space-separated symbols to be *always*
14183 # included in the symbol list
14184 include_expsyms_F77
=
14185 # exclude_expsyms can be an extended regexp of symbols to exclude
14186 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14187 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14188 # as well as any symbol that contains `d'.
14189 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14190 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14191 # platforms (ab)use it in PIC code, but their linkers get confused if
14192 # the symbol is explicitly referenced. Since portable code cannot
14193 # rely on this symbol name, it's probably fine to never include it in
14194 # preloaded symbol tables.
14195 extract_expsyms_cmds
=
14196 # Just being paranoid about ensuring that cc_basename is set.
14197 for cc_temp
in $compiler""; do
14199 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14200 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14205 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14208 cygwin
* | mingw
* | pw32
*)
14209 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14210 # When not using gcc, we currently assume that we are using
14211 # Microsoft Visual C++.
14212 if test "$GCC" != yes; then
14217 # we just hope/assume this is gcc and not c89 (= MSVC++)
14226 if test "$with_gnu_ld" = yes; then
14227 # If archive_cmds runs LD, not CC, wlarc should be empty
14230 # Set some defaults for GNU ld with shared library support. These
14231 # are reset later if shared libraries are not supported. Putting them
14232 # here allows them to be overridden if necessary.
14233 runpath_var
=LD_RUN_PATH
14234 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14235 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14236 # ancient GNU ld didn't support --whole-archive et. al.
14237 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14238 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14240 whole_archive_flag_spec_F77
=
14242 supports_anon_versioning
=no
14243 case `$LD -v 2>/dev/null` in
14244 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14245 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14246 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14247 *\
2.11.
*) ;; # other 2.11 versions
14248 *) supports_anon_versioning
=yes ;;
14251 # See if GNU ld supports shared libraries.
14253 aix3
* | aix4
* | aix5
*)
14254 # On AIX/PPC, the GNU linker is very broken
14255 if test "$host_cpu" != ia64
; then
14259 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14260 *** to be unable to reliably create shared libraries on AIX.
14261 *** Therefore, libtool is disabling shared libraries support. If you
14262 *** really care for shared libraries, you may want to modify your PATH
14263 *** so that a non-GNU linker is found, and then restart.
14270 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)'
14271 hardcode_libdir_flag_spec_F77
='-L$libdir'
14272 hardcode_minus_L_F77
=yes
14274 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14275 # that the semantics of dynamic libraries on AmigaOS, at least up
14276 # to version 4, is to share data among multiple programs linked
14277 # with the same dynamic library. Since this doesn't match the
14278 # behavior of shared libraries on other platforms, we can't use
14284 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14285 allow_undefined_flag_F77
=unsupported
14286 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14287 # support --undefined. This deserves some investigation. FIXME
14288 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14294 cygwin
* | mingw
* | pw32
*)
14295 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14296 # as there is no search path for DLLs.
14297 hardcode_libdir_flag_spec_F77
='-L$libdir'
14298 allow_undefined_flag_F77
=unsupported
14299 always_export_symbols_F77
=no
14300 enable_shared_with_static_runtimes_F77
=yes
14301 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14303 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14304 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14305 # If the export-symbols file already is a .def file (1st line
14306 # is EXPORTS), use it as is; otherwise, prepend...
14307 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14308 cp $export_symbols $output_objdir/$soname.def;
14310 echo EXPORTS > $output_objdir/$soname.def;
14311 cat $export_symbols >> $output_objdir/$soname.def;
14313 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14320 hardcode_direct_F77
=no
14321 hardcode_shlibpath_var_F77
=no
14322 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14323 export_dynamic_flag_spec_F77
='${wl}-E'
14324 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14325 # Instead, shared libraries are loaded at an image base (0x10000000 by
14326 # default) and relocated if they conflict, which is a slow very memory
14327 # consuming and fragmenting process. To avoid this, we pick a random,
14328 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14329 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14330 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'
14331 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'
14335 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14337 case $cc_basename,$host_cpu in
14338 pgcc
*) # Portland Group C compiler
14339 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'
14340 tmp_addflag
=' $pic_flag'
14342 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14343 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'
14344 tmp_addflag
=' $pic_flag -Mnomain' ;;
14345 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14346 tmp_addflag
=' -i_dynamic' ;;
14347 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14348 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14349 ifc
* | ifort
*) # Intel Fortran compiler
14350 tmp_addflag
=' -nofor_main' ;;
14352 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14354 if test $supports_anon_versioning = yes; then
14355 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14356 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14357 $echo "local: *; };" >> $output_objdir/$libname.ver~
14358 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14366 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14367 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14370 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14371 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14376 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14380 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14381 *** create shared libraries on Solaris systems. Therefore, libtool
14382 *** is disabling shared libraries support. We urge you to upgrade GNU
14383 *** binutils to release 2.9.1 or newer. Another option is to modify
14384 *** your PATH or compiler configuration so that the native linker is
14385 *** used, and then restart.
14388 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14389 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14390 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14396 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14397 case `$LD -v 2>&1` in
14398 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14402 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14403 *** reliably create shared libraries on SCO systems. Therefore, libtool
14404 *** is disabling shared libraries support. We urge you to upgrade GNU
14405 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14406 *** your PATH or compiler configuration so that the native linker is
14407 *** used, and then restart.
14412 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14413 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14414 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14415 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14424 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14426 hardcode_direct_F77
=yes
14427 hardcode_shlibpath_var_F77
=no
14431 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14432 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14433 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14440 if test "$ld_shlibs_F77" = no
; then
14442 hardcode_libdir_flag_spec_F77
=
14443 export_dynamic_flag_spec_F77
=
14444 whole_archive_flag_spec_F77
=
14447 # PORTME fill in a description of your system's linker (not GNU ld)
14450 allow_undefined_flag_F77
=unsupported
14451 always_export_symbols_F77
=yes
14452 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'
14453 # Note: this linker hardcodes the directories in LIBPATH if there
14454 # are no directories specified by -L.
14455 hardcode_minus_L_F77
=yes
14456 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14457 # Neither direct hardcoding nor static linking is supported with a
14459 hardcode_direct_F77
=unsupported
14464 if test "$host_cpu" = ia64
; then
14465 # On IA64, the linker does run time linking by default, so we don't
14466 # have to do anything special.
14467 aix_use_runtimelinking
=no
14468 exp_sym_flag
='-Bexport'
14471 # If we're using GNU nm, then we don't want the "-C" option.
14472 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14473 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14474 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'
14476 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'
14478 aix_use_runtimelinking
=no
14480 # Test if we are trying to use run time linking or normal
14481 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14482 # need to do runtime linking.
14483 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14484 for ld_flag
in $LDFLAGS; do
14485 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14486 aix_use_runtimelinking
=yes
14493 exp_sym_flag
='-bexport'
14494 no_entry_flag
='-bnoentry'
14497 # When large executables or shared objects are built, AIX ld can
14498 # have problems creating the table of contents. If linking a library
14499 # or program results in "error TOC overflow" add -mminimal-toc to
14500 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14501 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14503 archive_cmds_F77
=''
14504 hardcode_direct_F77
=yes
14505 hardcode_libdir_separator_F77
=':'
14506 link_all_deplibs_F77
=yes
14508 if test "$GCC" = yes; then
14509 case $host_os in aix4.
[012]|aix4.
[012].
*)
14510 # We only want to do this on AIX 4.2 and lower, the check
14511 # below for broken collect2 doesn't work under 4.3+
14512 collect2name
=`${CC} -print-prog-name=collect2`
14513 if test -f "$collect2name" && \
14514 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14516 # We have reworked collect2
14517 hardcode_direct_F77
=yes
14519 # We have old collect2
14520 hardcode_direct_F77
=unsupported
14521 # It fails to find uninstalled libraries when the uninstalled
14522 # path is not listed in the libpath. Setting hardcode_minus_L
14523 # to unsupported forces relinking
14524 hardcode_minus_L_F77
=yes
14525 hardcode_libdir_flag_spec_F77
='-L$libdir'
14526 hardcode_libdir_separator_F77
=
14530 shared_flag
='-shared'
14531 if test "$aix_use_runtimelinking" = yes; then
14532 shared_flag
="$shared_flag "'${wl}-G'
14536 if test "$host_cpu" = ia64
; then
14537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14538 # chokes on -Wl,-G. The following line is correct:
14541 if test "$aix_use_runtimelinking" = yes; then
14542 shared_flag
='${wl}-G'
14544 shared_flag
='${wl}-bM:SRE'
14549 # It seems that -bexpall does not export symbols beginning with
14550 # underscore (_), so it is better to generate a list of symbols to export.
14551 always_export_symbols_F77
=yes
14552 if test "$aix_use_runtimelinking" = yes; then
14553 # Warning - without using the other runtime loading flags (-brtl),
14554 # -berok will link without error, but may produce a broken library.
14555 allow_undefined_flag_F77
='-berok'
14556 # Determine the default libpath from the value encoded in an empty executable.
14557 cat >conftest.
$ac_ext <<_ACEOF
14562 rm -f conftest.
$ac_objext conftest
$ac_exeext
14563 if { (ac_try
="$ac_link"
14564 case "(($ac_try" in
14565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_link") 2>conftest.er1
14571 grep -v '^ *+' conftest.er1 >conftest.err
14573 cat conftest.err >&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); } && {
14576 test -z "$ac_f77_werror_flag" ||
14577 test ! -s conftest.err
14578 } && test -s conftest$ac_exeext &&
14579 $as_test_x conftest$ac_exeext; then
14581 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14583 # Check for a 64-bit object if we didn't find anything.
14584 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.$ac_ext >&5
14593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14594 conftest$ac_exeext conftest.$ac_ext
14595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14597 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14598 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"
14600 if test "$host_cpu" = ia64; then
14601 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14602 allow_undefined_flag_F77="-z nodefs"
14603 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"
14605 # Determine the default libpath from the value encoded in an empty executable.
14606 cat >conftest.$ac_ext <<_ACEOF
14611 rm -f conftest.$ac_objext conftest$ac_exeext
14612 if { (ac_try="$ac_link"
14613 case "(($ac_try" in
14614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14615 *) ac_try_echo
=$ac_try;;
14617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14618 (eval "$ac_link") 2>conftest.er1
14620 grep -v '^ *+' conftest.er1
>conftest.err
14622 cat conftest.err
>&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } && {
14625 test -z "$ac_f77_werror_flag" ||
14626 test ! -s conftest.err
14627 } && test -s conftest
$ac_exeext &&
14628 $as_test_x conftest
$ac_exeext; then
14630 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14632 # Check for a 64-bit object if we didn't find anything.
14633 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14643 conftest
$ac_exeext conftest.
$ac_ext
14644 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14646 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14647 # Warning - without using the other run time loading flags,
14648 # -berok will link without error, but may produce a broken library.
14649 no_undefined_flag_F77
=' ${wl}-bernotok'
14650 allow_undefined_flag_F77
=' ${wl}-berok'
14651 # Exported symbols can be pulled into shared objects from archives
14652 whole_archive_flag_spec_F77
='$convenience'
14653 archive_cmds_need_lc_F77
=yes
14654 # This is similar to how AIX traditionally builds its shared libraries.
14655 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'
14661 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)'
14662 hardcode_libdir_flag_spec_F77
='-L$libdir'
14663 hardcode_minus_L_F77
=yes
14664 # see comment about different semantics on the GNU ld section
14669 export_dynamic_flag_spec_F77
=-rdynamic
14672 cygwin
* | mingw
* | pw32
*)
14673 # When not using gcc, we currently assume that we are using
14674 # Microsoft Visual C++.
14675 # hardcode_libdir_flag_spec is actually meaningless, as there is
14676 # no search path for DLLs.
14677 hardcode_libdir_flag_spec_F77
=' '
14678 allow_undefined_flag_F77
=unsupported
14679 # Tell ltmain to make .lib files, not .a files.
14681 # Tell ltmain to make .dll files, not .so files.
14683 # FIXME: Setting linknames here is a bad hack.
14684 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14685 # The linker will automatically build a .lib file if we build a DLL.
14686 old_archive_From_new_cmds_F77
='true'
14687 # FIXME: Should let the user specify the lib program.
14688 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14689 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14690 enable_shared_with_static_runtimes_F77
=yes
14693 darwin
* | rhapsody
*)
14695 rhapsody
* | darwin1.
[012])
14696 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14699 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14700 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14702 case ${MACOSX_DEPLOYMENT_TARGET} in
14704 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14707 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14713 archive_cmds_need_lc_F77
=no
14714 hardcode_direct_F77
=no
14715 hardcode_automatic_F77
=yes
14716 hardcode_shlibpath_var_F77
=unsupported
14717 whole_archive_flag_spec_F77
=''
14718 link_all_deplibs_F77
=yes
14719 if test "$GCC" = yes ; then
14720 output_verbose_link_cmd
='echo'
14721 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14722 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14723 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14724 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}'
14725 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}'
14727 case $cc_basename in
14729 output_verbose_link_cmd
='echo'
14730 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14731 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14732 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14733 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14734 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}'
14744 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14745 hardcode_libdir_flag_spec_F77
='-L$libdir'
14746 hardcode_shlibpath_var_F77
=no
14753 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14754 # support. Future versions do this automatically, but an explicit c++rt0.o
14755 # does not break anything, and helps significantly (at the cost of a little
14758 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14759 hardcode_libdir_flag_spec_F77
='-R$libdir'
14760 hardcode_direct_F77
=yes
14761 hardcode_shlibpath_var_F77
=no
14764 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14766 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14767 hardcode_direct_F77
=yes
14768 hardcode_minus_L_F77
=yes
14769 hardcode_shlibpath_var_F77
=no
14772 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14773 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14774 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14775 hardcode_libdir_flag_spec_F77
='-R$libdir'
14776 hardcode_direct_F77
=yes
14777 hardcode_shlibpath_var_F77
=no
14781 if test "$GCC" = yes; then
14782 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'
14784 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'
14786 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14787 hardcode_libdir_separator_F77
=:
14788 hardcode_direct_F77
=yes
14790 # hardcode_minus_L: Not really in the search PATH,
14791 # but as the default location of the library.
14792 hardcode_minus_L_F77
=yes
14793 export_dynamic_flag_spec_F77
='${wl}-E'
14797 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14798 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14800 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14802 if test "$with_gnu_ld" = no
; then
14803 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14804 hardcode_libdir_separator_F77
=:
14806 hardcode_direct_F77
=yes
14807 export_dynamic_flag_spec_F77
='${wl}-E'
14809 # hardcode_minus_L: Not really in the search PATH,
14810 # but as the default location of the library.
14811 hardcode_minus_L_F77
=yes
14816 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14819 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14822 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14825 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14831 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14834 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14837 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14841 if test "$with_gnu_ld" = no
; then
14842 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14843 hardcode_libdir_separator_F77
=:
14847 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14848 hardcode_direct_F77
=no
14849 hardcode_shlibpath_var_F77
=no
14852 hardcode_direct_F77
=yes
14853 export_dynamic_flag_spec_F77
='${wl}-E'
14855 # hardcode_minus_L: Not really in the search PATH,
14856 # but as the default location of the library.
14857 hardcode_minus_L_F77
=yes
14863 irix5
* | irix6
* | nonstopux
*)
14864 if test "$GCC" = yes; then
14865 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'
14867 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'
14868 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14870 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14871 hardcode_libdir_separator_F77
=:
14872 link_all_deplibs_F77
=yes
14876 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14877 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14879 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14881 hardcode_libdir_flag_spec_F77
='-R$libdir'
14882 hardcode_direct_F77
=yes
14883 hardcode_shlibpath_var_F77
=no
14887 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14888 hardcode_direct_F77
=yes
14889 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14890 hardcode_libdir_separator_F77
=:
14891 hardcode_shlibpath_var_F77
=no
14895 hardcode_direct_F77
=yes
14896 hardcode_shlibpath_var_F77
=no
14897 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14898 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14899 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14900 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14901 export_dynamic_flag_spec_F77
='${wl}-E'
14904 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14905 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14906 hardcode_libdir_flag_spec_F77
='-R$libdir'
14909 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14910 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14917 hardcode_libdir_flag_spec_F77
='-L$libdir'
14918 hardcode_minus_L_F77
=yes
14919 allow_undefined_flag_F77
=unsupported
14920 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'
14921 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14925 if test "$GCC" = yes; then
14926 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14927 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'
14929 allow_undefined_flag_F77
=' -expect_unresolved \*'
14930 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'
14932 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14933 hardcode_libdir_separator_F77
=:
14936 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14937 if test "$GCC" = yes; then
14938 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14939 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'
14940 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14942 allow_undefined_flag_F77
=' -expect_unresolved \*'
14943 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'
14944 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~
14945 $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'
14947 # Both c and cxx compiler support -rpath directly
14948 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14950 hardcode_libdir_separator_F77
=:
14954 no_undefined_flag_F77
=' -z text'
14955 if test "$GCC" = yes; then
14957 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14958 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14959 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14962 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14963 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14964 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14966 hardcode_libdir_flag_spec_F77
='-R$libdir'
14967 hardcode_shlibpath_var_F77
=no
14969 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14971 # The compiler driver will combine linker options so we
14972 # cannot just pass the convience library names through
14973 # without $wl, iff we do not link with $LD.
14974 # Luckily, gcc supports the same syntax we need for Sun Studio.
14975 # Supported since Solaris 2.6 (maybe 2.5.1?)
14978 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14980 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14983 link_all_deplibs_F77
=yes
14987 if test "x$host_vendor" = xsequent
; then
14988 # Use $CC to link under sequent, because it throws in some extra .o
14989 # files that make .init and .fini sections work.
14990 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14992 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14994 hardcode_libdir_flag_spec_F77
='-L$libdir'
14995 hardcode_direct_F77
=yes
14996 hardcode_minus_L_F77
=yes
14997 hardcode_shlibpath_var_F77
=no
15001 case $host_vendor in
15003 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15004 hardcode_direct_F77
=yes # is this really true???
15007 ## LD is ld it makes a PLAMLIB
15008 ## CC just makes a GrossModule.
15009 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15010 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15011 hardcode_direct_F77
=no
15014 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15015 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15018 runpath_var
='LD_RUN_PATH'
15019 hardcode_shlibpath_var_F77
=no
15023 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15024 hardcode_shlibpath_var_F77
=no
15025 export_dynamic_flag_spec_F77
='-Bexport'
15029 if test -d /usr
/nec
; then
15030 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15031 hardcode_shlibpath_var_F77
=no
15032 runpath_var
=LD_RUN_PATH
15033 hardcode_runpath_var
=yes
15038 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15039 no_undefined_flag_F77
='${wl}-z,text'
15040 archive_cmds_need_lc_F77
=no
15041 hardcode_shlibpath_var_F77
=no
15042 runpath_var
='LD_RUN_PATH'
15044 if test "$GCC" = yes; then
15045 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15046 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15048 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15049 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15053 sysv5
* | sco3.2v5
* | sco5v6
*)
15054 # Note: We can NOT use -z defs as we might desire, because we do not
15055 # link with -lc, and that would cause any symbols used from libc to
15056 # always be unresolved, which means just about no library would
15057 # ever link correctly. If we're not using GNU ld we use -z text
15058 # though, which does catch some bad symbols but isn't as heavy-handed
15060 no_undefined_flag_F77
='${wl}-z,text'
15061 allow_undefined_flag_F77
='${wl}-z,nodefs'
15062 archive_cmds_need_lc_F77
=no
15063 hardcode_shlibpath_var_F77
=no
15064 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15065 hardcode_libdir_separator_F77
=':'
15066 link_all_deplibs_F77
=yes
15067 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15068 runpath_var
='LD_RUN_PATH'
15070 if test "$GCC" = yes; then
15071 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15072 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15074 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15075 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15080 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15081 hardcode_libdir_flag_spec_F77
='-L$libdir'
15082 hardcode_shlibpath_var_F77
=no
15091 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15092 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15093 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15096 # Do we need to explicitly link libc?
15098 case "x$archive_cmds_need_lc_F77" in
15100 # Assume -lc should be added
15101 archive_cmds_need_lc_F77
=yes
15103 if test "$enable_shared" = yes && test "$GCC" = yes; then
15104 case $archive_cmds_F77 in
15106 # FIXME: we may have to deal with multi-command sequences.
15109 # Test whether the compiler implicitly links with -lc since on some
15110 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15111 # to ld, don't add -lc before -lgcc.
15112 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15113 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15115 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15118 (eval $ac_compile) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } 2>conftest.err
; then
15124 libobjs
=conftest.
$ac_objext
15126 wl
=$lt_prog_compiler_wl_F77
15127 pic_flag
=$lt_prog_compiler_pic_F77
15133 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15134 allow_undefined_flag_F77
=
15135 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15136 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }
15141 archive_cmds_need_lc_F77
=no
15143 archive_cmds_need_lc_F77
=yes
15145 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15147 cat conftest.err
1>&5
15150 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15151 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15158 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15159 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15160 library_names_spec
=
15161 libname_spec
='lib$name'
15165 postuninstall_cmds
=
15169 shlibpath_overrides_runpath
=unknown
15171 dynamic_linker
="$host_os ld.so"
15172 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15173 if test "$GCC" = yes; then
15174 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15175 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15176 # if the path contains ";" then we assume it to be the separator
15177 # otherwise default to the standard path separator (i.e. ":") - it is
15178 # assumed that no part of a normal pathname contains ";" but that should
15179 # okay in the real world where ";" in dirpaths is itself problematic.
15180 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15182 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15185 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15187 need_lib_prefix
=unknown
15188 hardcode_into_libs
=no
15190 # when you set need_version to no, make sure it does not cause -set_version
15191 # flags to be left without arguments
15192 need_version
=unknown
15197 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15198 shlibpath_var
=LIBPATH
15200 # AIX 3 has no versioning support, so we append a major version to the name.
15201 soname_spec
='${libname}${release}${shared_ext}$major'
15208 hardcode_into_libs
=yes
15209 if test "$host_cpu" = ia64
; then
15210 # AIX 5 supports IA64
15211 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15212 shlibpath_var
=LD_LIBRARY_PATH
15214 # With GCC up to 2.95.x, collect2 would create an import file
15215 # for dependence libraries. The import file would start with
15216 # the line `#! .'. This would cause the generated library to
15217 # depend on `.', always an invalid library. This was fixed in
15218 # development snapshots of GCC prior to 3.0.
15220 aix4 | aix4.
[01] | aix4.
[01].
*)
15221 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15223 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15226 can_build_shared
=no
15230 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15231 # soname into executable. Probably we can add versioning support to
15232 # collect2, so additional links can be useful in future.
15233 if test "$aix_use_runtimelinking" = yes; then
15234 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15235 # instead of lib<name>.a to let people know that these are not
15236 # typical AIX shared libraries.
15237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15239 # We preserve .a as extension for shared libraries through AIX4.2
15240 # and later when we are not doing run time linking.
15241 library_names_spec
='${libname}${release}.a $libname.a'
15242 soname_spec
='${libname}${release}${shared_ext}$major'
15244 shlibpath_var
=LIBPATH
15249 library_names_spec
='$libname.ixlibrary $libname.a'
15250 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15251 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'
15255 library_names_spec
='${libname}${shared_ext}'
15256 dynamic_linker
="$host_os ld.so"
15257 shlibpath_var
=LIBRARY_PATH
15263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15264 soname_spec
='${libname}${release}${shared_ext}$major'
15265 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15266 shlibpath_var
=LD_LIBRARY_PATH
15267 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15268 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15269 # the default ld.so.conf also contains /usr/contrib/lib and
15270 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15271 # libtool to hard-code these into programs
15274 cygwin
* | mingw
* | pw32
*)
15275 version_type
=windows
15280 case $GCC,$host_os in
15281 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15282 library_names_spec
='$libname.dll.a'
15283 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15284 postinstall_cmds
='base_file=`basename \${file}`~
15285 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15286 dldir=$destdir/`dirname \$dlpath`~
15287 test -d \$dldir || mkdir -p \$dldir~
15288 $install_prog $dir/$dlname \$dldir/$dlname~
15289 chmod a+x \$dldir/$dlname'
15290 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15291 dlpath=$dir/\$dldll~
15293 shlibpath_overrides_runpath
=yes
15297 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15298 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15299 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15302 # MinGW DLLs use traditional 'lib' prefix
15303 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15304 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15305 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15306 # It is most probably a Windows format PATH printed by
15307 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15308 # path with ; separators, and with drive letters. We can handle the
15309 # drive letters (cygwin fileutils understands them), so leave them,
15310 # especially as we might pass files found there to a mingw objdump,
15311 # which wouldn't understand a cygwinified path. Ahh.
15312 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15314 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15318 # pw32 DLLs use 'pw' prefix rather than 'lib'
15319 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15325 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15328 dynamic_linker
='Win32 ld.exe'
15329 # FIXME: first we should search . and the directory the executable is in
15333 darwin
* | rhapsody
*)
15334 dynamic_linker
="$host_os dyld"
15335 version_type
=darwin
15338 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15339 soname_spec
='${libname}${release}${major}$shared_ext'
15340 shlibpath_overrides_runpath
=yes
15341 shlibpath_var
=DYLD_LIBRARY_PATH
15342 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15343 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15344 if test "$GCC" = yes; then
15345 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15347 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15349 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15357 soname_spec
='${libname}${release}${shared_ext}$major'
15358 shlibpath_var
=LD_LIBRARY_PATH
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15370 soname_spec
='${libname}${release}${shared_ext}$major'
15371 shlibpath_var
=LD_LIBRARY_PATH
15372 shlibpath_overrides_runpath
=no
15373 hardcode_into_libs
=yes
15374 dynamic_linker
='GNU ld.so'
15377 freebsd
* | dragonfly
*)
15378 # DragonFly does not have aout. When/if they implement a new
15379 # versioning mechanism, adjust this.
15380 if test -x /usr
/bin
/objformat
; then
15381 objformat
=`/usr/bin/objformat`
15384 freebsd
[123]*) objformat
=aout
;;
15385 *) objformat
=elf
;;
15388 version_type
=freebsd-
$objformat
15389 case $version_type in
15391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15396 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15400 shlibpath_var
=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath
=yes
15405 freebsd3.
[01]* | freebsdelf3.
[01]*)
15406 shlibpath_overrides_runpath
=yes
15407 hardcode_into_libs
=yes
15409 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15410 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15411 shlibpath_overrides_runpath
=no
15412 hardcode_into_libs
=yes
15414 freebsd
*) # from 4.6 on
15415 shlibpath_overrides_runpath
=yes
15416 hardcode_into_libs
=yes
15425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15426 soname_spec
='${libname}${release}${shared_ext}$major'
15427 shlibpath_var
=LD_LIBRARY_PATH
15428 hardcode_into_libs
=yes
15431 hpux9
* | hpux10
* | hpux11
*)
15432 # Give a soname corresponding to the major version so that dld.sl refuses to
15433 # link against other versions.
15440 hardcode_into_libs
=yes
15441 dynamic_linker
="$host_os dld.so"
15442 shlibpath_var
=LD_LIBRARY_PATH
15443 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15445 soname_spec
='${libname}${release}${shared_ext}$major'
15446 if test "X$HPUX_IA64_MODE" = X32
; then
15447 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15449 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15451 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15455 hardcode_into_libs
=yes
15456 dynamic_linker
="$host_os dld.sl"
15457 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15458 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15460 soname_spec
='${libname}${release}${shared_ext}$major'
15461 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15462 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15466 dynamic_linker
="$host_os dld.sl"
15467 shlibpath_var
=SHLIB_PATH
15468 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15470 soname_spec
='${libname}${release}${shared_ext}$major'
15473 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15474 postinstall_cmds
='chmod 555 $lib'
15481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15482 soname_spec
='${libname}${release}${shared_ext}$major'
15483 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15484 shlibpath_var
=LD_LIBRARY_PATH
15485 shlibpath_overrides_runpath
=no
15486 hardcode_into_libs
=yes
15489 irix5
* | irix6
* | nonstopux
*)
15491 nonstopux
*) version_type
=nonstopux
;;
15493 if test "$lt_cv_prog_gnu_ld" = yes; then
15501 soname_spec
='${libname}${release}${shared_ext}$major'
15502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15504 irix5
* | nonstopux
*)
15505 libsuff
= shlibsuff
=
15508 case $LD in # libtool.m4 will add one of these switches to LD
15509 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15510 libsuff
= shlibsuff
= libmagic
=32-bit;;
15511 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15512 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15513 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15514 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15515 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15519 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15520 shlibpath_overrides_runpath
=no
15521 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15522 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15523 hardcode_into_libs
=yes
15526 # No shared lib support for Linux oldld, aout, or coff.
15527 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15531 # This must be Linux ELF.
15536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15537 soname_spec
='${libname}${release}${shared_ext}$major'
15538 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15539 shlibpath_var
=LD_LIBRARY_PATH
15540 shlibpath_overrides_runpath
=no
15541 # This implies no fast_install, which is unacceptable.
15542 # Some rework will be needed to allow for fast_install
15543 # before this can be enabled.
15544 hardcode_into_libs
=yes
15546 # find out which ABI we are using
15548 case "$host_cpu" in
15549 x86_64
*|s390x
*|powerpc64
*)
15550 echo '#line 15550 "configure"' > conftest.
$ac_ext
15551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15552 (eval $ac_compile) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; then
15556 case `/usr/bin/file conftest.$ac_objext` in
15559 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15567 # Append ld.so.conf contents to the search path
15568 if test -f /etc
/ld.so.conf
; then
15569 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15570 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15573 # We used to test for /lib/ld.so.1 and disable shared libraries on
15574 # powerpc, because MkLinux only supported shared libraries with the
15575 # GNU dynamic linker. Since this was broken with cross compilers,
15576 # most powerpc-linux boxes support dynamic linking these days and
15577 # people can always --disable-shared, the test was removed, and we
15578 # assume the GNU/Linux dynamic linker is in use.
15579 dynamic_linker
='GNU/Linux ld.so'
15586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15587 soname_spec
='${libname}${release}${shared_ext}$major'
15588 shlibpath_var
=LD_LIBRARY_PATH
15589 shlibpath_overrides_runpath
=no
15590 hardcode_into_libs
=yes
15591 dynamic_linker
='GNU ld.so'
15598 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15600 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15601 dynamic_linker
='NetBSD (a.out) ld.so'
15603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15604 soname_spec
='${libname}${release}${shared_ext}$major'
15605 dynamic_linker
='NetBSD ld.elf_so'
15607 shlibpath_var
=LD_LIBRARY_PATH
15608 shlibpath_overrides_runpath
=yes
15609 hardcode_into_libs
=yes
15614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15615 shlibpath_var
=LD_LIBRARY_PATH
15616 shlibpath_overrides_runpath
=yes
15623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15624 soname_spec
='${libname}${release}${shared_ext}$major'
15625 shlibpath_var
=LD_LIBRARY_PATH
15626 shlibpath_overrides_runpath
=yes
15631 sys_lib_dlsearch_path_spec
="/usr/lib"
15633 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15635 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15636 *) need_version
=no
;;
15638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15640 shlibpath_var
=LD_LIBRARY_PATH
15641 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15643 openbsd2.
[89] | openbsd2.
[89].
*)
15644 shlibpath_overrides_runpath
=no
15647 shlibpath_overrides_runpath
=yes
15651 shlibpath_overrides_runpath
=yes
15656 libname_spec
='$name'
15659 library_names_spec
='$libname${shared_ext} $libname.a'
15660 dynamic_linker
='OS/2 ld.exe'
15661 shlibpath_var
=LIBPATH
15664 osf3
* | osf4
* | osf5
*)
15668 soname_spec
='${libname}${release}${shared_ext}$major'
15669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15670 shlibpath_var
=LD_LIBRARY_PATH
15671 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15672 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15680 soname_spec
='${libname}${release}${shared_ext}$major'
15681 shlibpath_var
=LD_LIBRARY_PATH
15682 shlibpath_overrides_runpath
=yes
15683 hardcode_into_libs
=yes
15684 # ldd complains unless libraries are executable
15685 postinstall_cmds
='chmod +x $lib'
15690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15691 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15692 shlibpath_var
=LD_LIBRARY_PATH
15693 shlibpath_overrides_runpath
=yes
15694 if test "$with_gnu_ld" = yes; then
15702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15703 soname_spec
='${libname}${release}${shared_ext}$major'
15704 shlibpath_var
=LD_LIBRARY_PATH
15705 case $host_vendor in
15707 shlibpath_overrides_runpath
=no
15709 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15710 runpath_var
=LD_RUN_PATH
15718 shlibpath_overrides_runpath
=no
15719 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15725 if test -d /usr
/nec
;then
15727 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15728 soname_spec
='$libname${shared_ext}.$major'
15729 shlibpath_var
=LD_LIBRARY_PATH
15733 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15734 version_type
=freebsd-elf
15737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15738 soname_spec
='${libname}${release}${shared_ext}$major'
15739 shlibpath_var
=LD_LIBRARY_PATH
15740 hardcode_into_libs
=yes
15741 if test "$with_gnu_ld" = yes; then
15742 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15743 shlibpath_overrides_runpath
=no
15745 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15746 shlibpath_overrides_runpath
=yes
15749 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15753 sys_lib_dlsearch_path_spec
='/usr/lib'
15758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15759 soname_spec
='${libname}${release}${shared_ext}$major'
15760 shlibpath_var
=LD_LIBRARY_PATH
15767 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15768 echo "${ECHO_T}$dynamic_linker" >&6; }
15769 test "$dynamic_linker" = no
&& can_build_shared
=no
15771 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15772 if test "$GCC" = yes; then
15773 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15776 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15777 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15778 hardcode_action_F77
=
15779 if test -n "$hardcode_libdir_flag_spec_F77" || \
15780 test -n "$runpath_var_F77" || \
15781 test "X$hardcode_automatic_F77" = "Xyes" ; then
15783 # We can hardcode non-existant directories.
15784 if test "$hardcode_direct_F77" != no
&&
15785 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15786 # have to relink, otherwise we might link with an installed library
15787 # when we should be linking with a yet-to-be-installed one
15788 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15789 test "$hardcode_minus_L_F77" != no
; then
15790 # Linking always hardcodes the temporary library directory.
15791 hardcode_action_F77
=relink
15793 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15794 hardcode_action_F77
=immediate
15797 # We cannot hardcode anything, or else we can only hardcode existing
15799 hardcode_action_F77
=unsupported
15801 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15802 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15804 if test "$hardcode_action_F77" = relink
; then
15805 # Fast installation is not supported
15806 enable_fast_install
=no
15807 elif test "$shlibpath_overrides_runpath" = yes ||
15808 test "$enable_shared" = no
; then
15809 # Fast installation is not necessary
15810 enable_fast_install
=needless
15814 # The else clause should only fire when bootstrapping the
15815 # libtool distribution, otherwise you forgot to ship ltmain.sh
15816 # with your package, and you will get complaints that there are
15817 # no rules to generate ltmain.sh.
15818 if test -f "$ltmain"; then
15819 # See if we are running on zsh, and set the options which allow our commands through
15820 # without removal of \ escapes.
15821 if test -n "${ZSH_VERSION+set}" ; then
15822 setopt NO_GLOB_SUBST
15824 # Now quote all the things that may contain metacharacters while being
15825 # careful not to overquote the AC_SUBSTed values. We take copies of the
15826 # variables and quote the copies for generation of the libtool script.
15827 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15829 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15830 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15831 deplibs_check_method reload_flag reload_cmds need_locks \
15832 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15833 lt_cv_sys_global_symbol_to_c_name_address \
15834 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15835 old_postinstall_cmds old_postuninstall_cmds \
15839 lt_prog_compiler_wl_F77 \
15840 lt_prog_compiler_pic_F77 \
15841 lt_prog_compiler_static_F77 \
15842 lt_prog_compiler_no_builtin_flag_F77 \
15843 export_dynamic_flag_spec_F77 \
15844 thread_safe_flag_spec_F77 \
15845 whole_archive_flag_spec_F77 \
15846 enable_shared_with_static_runtimes_F77 \
15847 old_archive_cmds_F77 \
15848 old_archive_from_new_cmds_F77 \
15849 predep_objects_F77 \
15850 postdep_objects_F77 \
15853 compiler_lib_search_path_F77 \
15855 archive_expsym_cmds_F77 \
15856 postinstall_cmds_F77 \
15857 postuninstall_cmds_F77 \
15858 old_archive_from_expsyms_cmds_F77 \
15859 allow_undefined_flag_F77 \
15860 no_undefined_flag_F77 \
15861 export_symbols_cmds_F77 \
15862 hardcode_libdir_flag_spec_F77 \
15863 hardcode_libdir_flag_spec_ld_F77 \
15864 hardcode_libdir_separator_F77 \
15865 hardcode_automatic_F77 \
15867 module_expsym_cmds_F77 \
15868 lt_cv_prog_compiler_c_o_F77 \
15869 exclude_expsyms_F77 \
15870 include_expsyms_F77
; do
15873 old_archive_cmds_F77 | \
15874 old_archive_from_new_cmds_F77 | \
15875 archive_cmds_F77 | \
15876 archive_expsym_cmds_F77 | \
15877 module_cmds_F77 | \
15878 module_expsym_cmds_F77 | \
15879 old_archive_from_expsyms_cmds_F77 | \
15880 export_symbols_cmds_F77 | \
15881 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15882 postinstall_cmds | postuninstall_cmds | \
15883 old_postinstall_cmds | old_postuninstall_cmds | \
15884 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15885 # Double-quote double-evaled strings.
15886 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15889 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15895 *'\$0 --fallback-echo"')
15896 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15902 cat <<__EOF__ >> "$cfgfile"
15903 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15905 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15907 # Shell to use when invoking shell scripts.
15910 # Whether or not to build shared libraries.
15911 build_libtool_libs=$enable_shared
15913 # Whether or not to build static libraries.
15914 build_old_libs=$enable_static
15916 # Whether or not to add -lc for building shared libraries.
15917 build_libtool_need_lc=$archive_cmds_need_lc_F77
15919 # Whether or not to disallow shared libs when runtime libs are static
15920 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15922 # Whether or not to optimize for fast installation.
15923 fast_install=$enable_fast_install
15926 host_alias=$host_alias
15930 # The build system.
15931 build_alias=$build_alias
15935 # An echo program that does not interpret backslashes.
15940 AR_FLAGS=$lt_AR_FLAGS
15945 # LTCC compiler flags.
15946 LTCFLAGS=$lt_LTCFLAGS
15948 # A language-specific compiler.
15949 CC=$lt_compiler_F77
15951 # Is the compiler the GNU C compiler?
15957 # The linker used to build libraries.
15960 # Whether we need hard or soft links.
15963 # A BSD-compatible nm program.
15966 # A symbol stripping program
15969 # Used to examine libraries when file_magic_cmd begins "file"
15970 MAGIC_CMD=$MAGIC_CMD
15972 # Used on cygwin: DLL creation program.
15975 # Used on cygwin: object dumper.
15978 # Used on cygwin: assembler.
15981 # The name of the directory that contains temporary libtool files.
15984 # How to create reloadable object files.
15985 reload_flag=$lt_reload_flag
15986 reload_cmds=$lt_reload_cmds
15988 # How to pass a linker flag through the compiler.
15989 wl=$lt_lt_prog_compiler_wl_F77
15991 # Object file suffix (normally "o").
15992 objext="$ac_objext"
15994 # Old archive suffix (normally "a").
15997 # Shared library suffix (normally ".so").
15998 shrext_cmds='$shrext_cmds'
16000 # Executable file suffix (normally "").
16003 # Additional compiler flags for building library objects.
16004 pic_flag=$lt_lt_prog_compiler_pic_F77
16007 # What is the maximum length of a command?
16008 max_cmd_len=$lt_cv_sys_max_cmd_len
16010 # Does compiler simultaneously support -c and -o options?
16011 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16013 # Must we lock files when doing compilation?
16014 need_locks=$lt_need_locks
16016 # Do we need the lib prefix for modules?
16017 need_lib_prefix=$need_lib_prefix
16019 # Do we need a version for libraries?
16020 need_version=$need_version
16022 # Whether dlopen is supported.
16023 dlopen_support=$enable_dlopen
16025 # Whether dlopen of programs is supported.
16026 dlopen_self=$enable_dlopen_self
16028 # Whether dlopen of statically linked programs is supported.
16029 dlopen_self_static=$enable_dlopen_self_static
16031 # Compiler flag to prevent dynamic linking.
16032 link_static_flag=$lt_lt_prog_compiler_static_F77
16034 # Compiler flag to turn off builtin functions.
16035 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16037 # Compiler flag to allow reflexive dlopens.
16038 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16040 # Compiler flag to generate shared objects directly from archives.
16041 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16043 # Compiler flag to generate thread-safe objects.
16044 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16046 # Library versioning type.
16047 version_type=$version_type
16049 # Format of library name prefix.
16050 libname_spec=$lt_libname_spec
16052 # List of archive names. First name is the real one, the rest are links.
16053 # The last name is the one that the linker finds with -lNAME.
16054 library_names_spec=$lt_library_names_spec
16056 # The coded name of the library, if different from the real name.
16057 soname_spec=$lt_soname_spec
16059 # Commands used to build and install an old-style archive.
16061 old_archive_cmds=$lt_old_archive_cmds_F77
16062 old_postinstall_cmds=$lt_old_postinstall_cmds
16063 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16065 # Create an old-style archive from a shared archive.
16066 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16068 # Create a temporary old-style archive to link instead of a shared archive.
16069 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16071 # Commands used to build and install a shared archive.
16072 archive_cmds=$lt_archive_cmds_F77
16073 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16074 postinstall_cmds=$lt_postinstall_cmds
16075 postuninstall_cmds=$lt_postuninstall_cmds
16077 # Commands used to build a loadable module (assumed same as above if empty)
16078 module_cmds=$lt_module_cmds_F77
16079 module_expsym_cmds=$lt_module_expsym_cmds_F77
16081 # Commands to strip libraries.
16082 old_striplib=$lt_old_striplib
16083 striplib=$lt_striplib
16085 # Dependencies to place before the objects being linked to create a
16087 predep_objects=$lt_predep_objects_F77
16089 # Dependencies to place after the objects being linked to create a
16091 postdep_objects=$lt_postdep_objects_F77
16093 # Dependencies to place before the objects being linked to create a
16095 predeps=$lt_predeps_F77
16097 # Dependencies to place after the objects being linked to create a
16099 postdeps=$lt_postdeps_F77
16101 # The library search path used internally by the compiler when linking
16102 # a shared library.
16103 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16105 # Method to check whether dependent libraries are shared objects.
16106 deplibs_check_method=$lt_deplibs_check_method
16108 # Command to use when deplibs_check_method == file_magic.
16109 file_magic_cmd=$lt_file_magic_cmd
16111 # Flag that allows shared libraries with undefined symbols to be built.
16112 allow_undefined_flag=$lt_allow_undefined_flag_F77
16114 # Flag that forces no undefined symbols.
16115 no_undefined_flag=$lt_no_undefined_flag_F77
16117 # Commands used to finish a libtool library installation in a directory.
16118 finish_cmds=$lt_finish_cmds
16120 # Same as above, but a single script fragment to be evaled but not shown.
16121 finish_eval=$lt_finish_eval
16123 # Take the output of nm and produce a listing of raw symbols and C names.
16124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16126 # Transform the output of nm in a proper C declaration
16127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16129 # Transform the output of nm in a C name address pair
16130 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16132 # This is the shared library runtime path variable.
16133 runpath_var=$runpath_var
16135 # This is the shared library path variable.
16136 shlibpath_var=$shlibpath_var
16138 # Is shlibpath searched before the hard-coded library search path?
16139 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16141 # How to hardcode a shared library path into an executable.
16142 hardcode_action=$hardcode_action_F77
16144 # Whether we should hardcode library paths into libraries.
16145 hardcode_into_libs=$hardcode_into_libs
16147 # Flag to hardcode \$libdir into a binary during linking.
16148 # This must work even if \$libdir does not exist.
16149 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16151 # If ld is used when linking, flag to hardcode \$libdir into
16152 # a binary during linking. This must work even if \$libdir does
16154 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16156 # Whether we need a single -rpath flag with a separated argument.
16157 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16159 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16160 # resulting binary.
16161 hardcode_direct=$hardcode_direct_F77
16163 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16164 # resulting binary.
16165 hardcode_minus_L=$hardcode_minus_L_F77
16167 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16168 # the resulting binary.
16169 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16171 # Set to yes if building a shared library automatically hardcodes DIR into the library
16172 # and all subsequent libraries and executables linked against it.
16173 hardcode_automatic=$hardcode_automatic_F77
16175 # Variables whose values should be saved in libtool wrapper scripts and
16176 # restored at relink time.
16177 variables_saved_for_relink="$variables_saved_for_relink"
16179 # Whether libtool must link a program against all its dependency libraries.
16180 link_all_deplibs=$link_all_deplibs_F77
16182 # Compile-time system search path for libraries
16183 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16185 # Run-time system search path for libraries
16186 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16188 # Fix the shell variable \$srcfile for the compiler.
16189 fix_srcfile_path="$fix_srcfile_path_F77"
16191 # Set to yes if exported symbols are required.
16192 always_export_symbols=$always_export_symbols_F77
16194 # The commands to list exported symbols.
16195 export_symbols_cmds=$lt_export_symbols_cmds_F77
16197 # The commands to extract the exported symbol list from a shared archive.
16198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16200 # Symbols that should not be listed in the preloaded symbols.
16201 exclude_expsyms=$lt_exclude_expsyms_F77
16203 # Symbols that must always be exported.
16204 include_expsyms=$lt_include_expsyms_F77
16206 # ### END LIBTOOL TAG CONFIG: $tagname
16212 # If there is no Makefile yet, we rely on a make rule to execute
16213 # `config.status --recheck' to rerun these tests and create the
16214 # libtool script then.
16215 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16216 if test -f "$ltmain_in"; then
16217 test -f Makefile
&& make "$ltmain"
16223 ac_cpp
='$CPP $CPPFLAGS'
16224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16236 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16239 # Source file extension for Java test sources.
16242 # Object file extension for compiled Java test sources.
16246 # Code to be used in simple compile tests
16247 lt_simple_compile_test_code
="class foo {}\n"
16249 # Code to be used in simple link tests
16250 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16252 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16254 # If no C compiler was specified, use CC.
16257 # If no C compiler flags were specified, use CFLAGS.
16258 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16260 # Allow CC to be a program name with arguments.
16264 # save warnings/boilerplate of simple test code
16265 ac_outfile
=conftest.
$ac_objext
16266 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16267 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16268 _lt_compiler_boilerplate
=`cat conftest.err`
16271 ac_outfile
=conftest.
$ac_objext
16272 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16273 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16274 _lt_linker_boilerplate
=`cat conftest.err`
16278 # Allow CC to be a program name with arguments.
16283 for cc_temp
in $compiler""; do
16285 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16286 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16291 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16294 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16295 archive_cmds_need_lc_GCJ
=no
16297 old_archive_cmds_GCJ
=$old_archive_cmds
16300 lt_prog_compiler_no_builtin_flag_GCJ
=
16302 if test "$GCC" = yes; then
16303 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16306 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16307 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16308 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16309 echo $ECHO_N "(cached) $ECHO_C" >&6
16311 lt_cv_prog_compiler_rtti_exceptions
=no
16312 ac_outfile
=conftest.
$ac_objext
16313 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16314 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16315 # Insert the option either (1) after the last *FLAGS variable, or
16316 # (2) before a word containing "conftest.", or (3) at the end.
16317 # Note that $ac_compile itself does not contain backslashes and begins
16318 # with a dollar sign (not a hyphen), so the echo should work correctly.
16319 # The option is referenced via a variable to avoid confusing sed.
16320 lt_compile
=`echo "$ac_compile" | $SED \
16321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16323 -e 's:$: $lt_compiler_flag:'`
16324 (eval echo "\"\$as_me:16324: $lt_compile\"" >&5)
16325 (eval "$lt_compile" 2>conftest.err
)
16327 cat conftest.err
>&5
16328 echo "$as_me:16328: \$? = $ac_status" >&5
16329 if (exit $ac_status) && test -s "$ac_outfile"; then
16330 # The compiler can only warn and ignore the option if not recognized
16331 # So say no if there are warnings other than the usual output.
16332 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16333 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16334 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16335 lt_cv_prog_compiler_rtti_exceptions
=yes
16341 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16342 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16344 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16345 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16352 lt_prog_compiler_wl_GCJ
=
16353 lt_prog_compiler_pic_GCJ
=
16354 lt_prog_compiler_static_GCJ
=
16356 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16357 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16359 if test "$GCC" = yes; then
16360 lt_prog_compiler_wl_GCJ
='-Wl,'
16361 lt_prog_compiler_static_GCJ
='-static'
16365 # All AIX code is PIC.
16366 if test "$host_cpu" = ia64
; then
16367 # AIX 5 now supports IA64 processor
16368 lt_prog_compiler_static_GCJ
='-Bstatic'
16373 # FIXME: we need at least 68020 code to build shared libraries, but
16374 # adding the `-m68020' flag to GCC prevents building anything better,
16376 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16379 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16380 # PIC is the default for these OSes.
16383 mingw
* | pw32
* | os2
*)
16384 # This hack is so that the source file can tell whether it is being
16385 # built for inclusion in a dll (and should export symbols for example).
16386 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16389 darwin
* | rhapsody
*)
16390 # PIC is the default on this platform
16391 # Common symbols not allowed in MH_DYLIB files
16392 lt_prog_compiler_pic_GCJ
='-fno-common'
16396 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16397 # Instead, we relocate shared libraries at runtime.
16401 # Just because we use GCC doesn't mean we suddenly get shared libraries
16402 # on systems that don't support them.
16403 lt_prog_compiler_can_build_shared_GCJ
=no
16408 if test -d /usr
/nec
; then
16409 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16414 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16415 # not for PA HP-UX.
16421 lt_prog_compiler_pic_GCJ
='-fPIC'
16427 lt_prog_compiler_pic_GCJ
='-fPIC'
16431 # PORTME Check for flag to pass linker flags through the system compiler.
16434 lt_prog_compiler_wl_GCJ
='-Wl,'
16435 if test "$host_cpu" = ia64
; then
16436 # AIX 5 now supports IA64 processor
16437 lt_prog_compiler_static_GCJ
='-Bstatic'
16439 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16443 # PIC is the default on this platform
16444 # Common symbols not allowed in MH_DYLIB files
16445 case $cc_basename in
16447 lt_prog_compiler_pic_GCJ
='-qnocommon'
16448 lt_prog_compiler_wl_GCJ
='-Wl,'
16453 mingw
* | pw32
* | os2
*)
16454 # This hack is so that the source file can tell whether it is being
16455 # built for inclusion in a dll (and should export symbols for example).
16456 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16459 hpux9
* | hpux10
* | hpux11
*)
16460 lt_prog_compiler_wl_GCJ
='-Wl,'
16461 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16462 # not for PA HP-UX.
16468 lt_prog_compiler_pic_GCJ
='+Z'
16471 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16472 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16475 irix5
* | irix6
* | nonstopux
*)
16476 lt_prog_compiler_wl_GCJ
='-Wl,'
16477 # PIC (with -KPIC) is the default.
16478 lt_prog_compiler_static_GCJ
='-non_shared'
16482 lt_prog_compiler_pic_GCJ
='-KPIC'
16483 lt_prog_compiler_static_GCJ
='-Bstatic'
16487 case $cc_basename in
16489 lt_prog_compiler_wl_GCJ
='-Wl,'
16490 lt_prog_compiler_pic_GCJ
='-KPIC'
16491 lt_prog_compiler_static_GCJ
='-static'
16493 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16494 # Portland Group compilers (*not* the Pentium gcc compiler,
16495 # which looks to be a dead project)
16496 lt_prog_compiler_wl_GCJ
='-Wl,'
16497 lt_prog_compiler_pic_GCJ
='-fpic'
16498 lt_prog_compiler_static_GCJ
='-Bstatic'
16501 lt_prog_compiler_wl_GCJ
='-Wl,'
16502 # All Alpha code is PIC.
16503 lt_prog_compiler_static_GCJ
='-non_shared'
16508 osf3
* | osf4
* | osf5
*)
16509 lt_prog_compiler_wl_GCJ
='-Wl,'
16510 # All OSF/1 code is PIC.
16511 lt_prog_compiler_static_GCJ
='-non_shared'
16515 lt_prog_compiler_pic_GCJ
='-KPIC'
16516 lt_prog_compiler_static_GCJ
='-Bstatic'
16517 case $cc_basename in
16518 f77
* | f90
* | f95
*)
16519 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16521 lt_prog_compiler_wl_GCJ
='-Wl,';;
16526 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16527 lt_prog_compiler_pic_GCJ
='-PIC'
16528 lt_prog_compiler_static_GCJ
='-Bstatic'
16531 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16532 lt_prog_compiler_wl_GCJ
='-Wl,'
16533 lt_prog_compiler_pic_GCJ
='-KPIC'
16534 lt_prog_compiler_static_GCJ
='-Bstatic'
16538 if test -d /usr
/nec
;then
16539 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16540 lt_prog_compiler_static_GCJ
='-Bstatic'
16544 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16545 lt_prog_compiler_wl_GCJ
='-Wl,'
16546 lt_prog_compiler_pic_GCJ
='-KPIC'
16547 lt_prog_compiler_static_GCJ
='-Bstatic'
16551 lt_prog_compiler_wl_GCJ
='-Wl,'
16552 lt_prog_compiler_can_build_shared_GCJ
=no
16556 lt_prog_compiler_pic_GCJ
='-pic'
16557 lt_prog_compiler_static_GCJ
='-Bstatic'
16561 lt_prog_compiler_can_build_shared_GCJ
=no
16566 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16567 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16570 # Check to make sure the PIC flag actually works.
16572 if test -n "$lt_prog_compiler_pic_GCJ"; then
16574 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16575 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16576 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16577 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 lt_prog_compiler_pic_works_GCJ
=no
16580 ac_outfile
=conftest.
$ac_objext
16581 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16582 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16583 # Insert the option either (1) after the last *FLAGS variable, or
16584 # (2) before a word containing "conftest.", or (3) at the end.
16585 # Note that $ac_compile itself does not contain backslashes and begins
16586 # with a dollar sign (not a hyphen), so the echo should work correctly.
16587 # The option is referenced via a variable to avoid confusing sed.
16588 lt_compile
=`echo "$ac_compile" | $SED \
16589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16591 -e 's:$: $lt_compiler_flag:'`
16592 (eval echo "\"\$as_me:16592: $lt_compile\"" >&5)
16593 (eval "$lt_compile" 2>conftest.err
)
16595 cat conftest.err
>&5
16596 echo "$as_me:16596: \$? = $ac_status" >&5
16597 if (exit $ac_status) && test -s "$ac_outfile"; then
16598 # The compiler can only warn and ignore the option if not recognized
16599 # So say no if there are warnings other than the usual output.
16600 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16601 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16602 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16603 lt_prog_compiler_pic_works_GCJ
=yes
16609 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16610 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16612 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16613 case $lt_prog_compiler_pic_GCJ in
16615 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16618 lt_prog_compiler_pic_GCJ
=
16619 lt_prog_compiler_can_build_shared_GCJ
=no
16624 # For platforms which do not support PIC, -DPIC is meaningless:
16626 lt_prog_compiler_pic_GCJ
=
16629 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16634 # Check to make sure the static flag actually works.
16636 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16637 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16638 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16639 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 lt_prog_compiler_static_works_GCJ
=no
16643 save_LDFLAGS
="$LDFLAGS"
16644 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16645 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16646 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16647 # The linker can only warn and ignore the option if not recognized
16648 # So say no if there are warnings
16649 if test -s conftest.err
; then
16650 # Append any errors to the config.log.
16651 cat conftest.err
1>&5
16652 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16654 if diff conftest.exp conftest.er2
>/dev
/null
; then
16655 lt_prog_compiler_static_works_GCJ
=yes
16658 lt_prog_compiler_static_works_GCJ
=yes
16662 LDFLAGS
="$save_LDFLAGS"
16665 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16666 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16668 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16671 lt_prog_compiler_static_GCJ
=
16675 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16676 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16677 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 lt_cv_prog_compiler_c_o_GCJ
=no
16681 $rm -r conftest
2>/dev
/null
16685 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16687 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16688 # Insert the option either (1) after the last *FLAGS variable, or
16689 # (2) before a word containing "conftest.", or (3) at the end.
16690 # Note that $ac_compile itself does not contain backslashes and begins
16691 # with a dollar sign (not a hyphen), so the echo should work correctly.
16692 lt_compile
=`echo "$ac_compile" | $SED \
16693 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16694 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16695 -e 's:$: $lt_compiler_flag:'`
16696 (eval echo "\"\$as_me:16696: $lt_compile\"" >&5)
16697 (eval "$lt_compile" 2>out
/conftest.err
)
16699 cat out
/conftest.err
>&5
16700 echo "$as_me:16700: \$? = $ac_status" >&5
16701 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16703 # The compiler can only warn and ignore the option if not recognized
16704 # So say no if there are warnings
16705 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16706 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16707 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16708 lt_cv_prog_compiler_c_o_GCJ
=yes
16713 # SGI C++ compiler will create directory out/ii_files/ for
16714 # template instantiation
16715 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16716 $rm out
/* && rmdir out
16722 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16723 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16726 hard_links
="nottested"
16727 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16728 # do not overwrite the value of need_locks provided by the user
16729 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16730 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16733 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16735 ln conftest.a conftest.b
2>&5 || hard_links
=no
16736 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16737 { echo "$as_me:$LINENO: result: $hard_links" >&5
16738 echo "${ECHO_T}$hard_links" >&6; }
16739 if test "$hard_links" = no
; then
16740 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16741 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16748 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16749 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16752 allow_undefined_flag_GCJ
=
16753 enable_shared_with_static_runtimes_GCJ
=no
16755 archive_expsym_cmds_GCJ
=
16756 old_archive_From_new_cmds_GCJ
=
16757 old_archive_from_expsyms_cmds_GCJ
=
16758 export_dynamic_flag_spec_GCJ
=
16759 whole_archive_flag_spec_GCJ
=
16760 thread_safe_flag_spec_GCJ
=
16761 hardcode_libdir_flag_spec_GCJ
=
16762 hardcode_libdir_flag_spec_ld_GCJ
=
16763 hardcode_libdir_separator_GCJ
=
16764 hardcode_direct_GCJ
=no
16765 hardcode_minus_L_GCJ
=no
16766 hardcode_shlibpath_var_GCJ
=unsupported
16767 link_all_deplibs_GCJ
=unknown
16768 hardcode_automatic_GCJ
=no
16770 module_expsym_cmds_GCJ
=
16771 always_export_symbols_GCJ
=no
16772 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16773 # include_expsyms should be a list of space-separated symbols to be *always*
16774 # included in the symbol list
16775 include_expsyms_GCJ
=
16776 # exclude_expsyms can be an extended regexp of symbols to exclude
16777 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16778 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16779 # as well as any symbol that contains `d'.
16780 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16781 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16782 # platforms (ab)use it in PIC code, but their linkers get confused if
16783 # the symbol is explicitly referenced. Since portable code cannot
16784 # rely on this symbol name, it's probably fine to never include it in
16785 # preloaded symbol tables.
16786 extract_expsyms_cmds
=
16787 # Just being paranoid about ensuring that cc_basename is set.
16788 for cc_temp
in $compiler""; do
16790 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16791 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16796 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16799 cygwin
* | mingw
* | pw32
*)
16800 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16801 # When not using gcc, we currently assume that we are using
16802 # Microsoft Visual C++.
16803 if test "$GCC" != yes; then
16808 # we just hope/assume this is gcc and not c89 (= MSVC++)
16817 if test "$with_gnu_ld" = yes; then
16818 # If archive_cmds runs LD, not CC, wlarc should be empty
16821 # Set some defaults for GNU ld with shared library support. These
16822 # are reset later if shared libraries are not supported. Putting them
16823 # here allows them to be overridden if necessary.
16824 runpath_var
=LD_RUN_PATH
16825 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16826 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16827 # ancient GNU ld didn't support --whole-archive et. al.
16828 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16829 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16831 whole_archive_flag_spec_GCJ
=
16833 supports_anon_versioning
=no
16834 case `$LD -v 2>/dev/null` in
16835 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16836 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16837 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16838 *\
2.11.
*) ;; # other 2.11 versions
16839 *) supports_anon_versioning
=yes ;;
16842 # See if GNU ld supports shared libraries.
16844 aix3
* | aix4
* | aix5
*)
16845 # On AIX/PPC, the GNU linker is very broken
16846 if test "$host_cpu" != ia64
; then
16850 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16851 *** to be unable to reliably create shared libraries on AIX.
16852 *** Therefore, libtool is disabling shared libraries support. If you
16853 *** really care for shared libraries, you may want to modify your PATH
16854 *** so that a non-GNU linker is found, and then restart.
16861 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)'
16862 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16863 hardcode_minus_L_GCJ
=yes
16865 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16866 # that the semantics of dynamic libraries on AmigaOS, at least up
16867 # to version 4, is to share data among multiple programs linked
16868 # with the same dynamic library. Since this doesn't match the
16869 # behavior of shared libraries on other platforms, we can't use
16875 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16876 allow_undefined_flag_GCJ
=unsupported
16877 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16878 # support --undefined. This deserves some investigation. FIXME
16879 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16885 cygwin
* | mingw
* | pw32
*)
16886 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16887 # as there is no search path for DLLs.
16888 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16889 allow_undefined_flag_GCJ
=unsupported
16890 always_export_symbols_GCJ
=no
16891 enable_shared_with_static_runtimes_GCJ
=yes
16892 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16894 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16895 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16896 # If the export-symbols file already is a .def file (1st line
16897 # is EXPORTS), use it as is; otherwise, prepend...
16898 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16899 cp $export_symbols $output_objdir/$soname.def;
16901 echo EXPORTS > $output_objdir/$soname.def;
16902 cat $export_symbols >> $output_objdir/$soname.def;
16904 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16911 hardcode_direct_GCJ
=no
16912 hardcode_shlibpath_var_GCJ
=no
16913 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16914 export_dynamic_flag_spec_GCJ
='${wl}-E'
16915 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16916 # Instead, shared libraries are loaded at an image base (0x10000000 by
16917 # default) and relocated if they conflict, which is a slow very memory
16918 # consuming and fragmenting process. To avoid this, we pick a random,
16919 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16920 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16921 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'
16922 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'
16926 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16928 case $cc_basename,$host_cpu in
16929 pgcc
*) # Portland Group C compiler
16930 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'
16931 tmp_addflag
=' $pic_flag'
16933 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16934 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'
16935 tmp_addflag
=' $pic_flag -Mnomain' ;;
16936 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16937 tmp_addflag
=' -i_dynamic' ;;
16938 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16939 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16940 ifc
* | ifort
*) # Intel Fortran compiler
16941 tmp_addflag
=' -nofor_main' ;;
16943 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16945 if test $supports_anon_versioning = yes; then
16946 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16947 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16948 $echo "local: *; };" >> $output_objdir/$libname.ver~
16949 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16957 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16958 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16961 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16962 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16967 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16971 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16972 *** create shared libraries on Solaris systems. Therefore, libtool
16973 *** is disabling shared libraries support. We urge you to upgrade GNU
16974 *** binutils to release 2.9.1 or newer. Another option is to modify
16975 *** your PATH or compiler configuration so that the native linker is
16976 *** used, and then restart.
16979 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16980 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16981 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16987 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16988 case `$LD -v 2>&1` in
16989 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16993 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16994 *** reliably create shared libraries on SCO systems. Therefore, libtool
16995 *** is disabling shared libraries support. We urge you to upgrade GNU
16996 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16997 *** your PATH or compiler configuration so that the native linker is
16998 *** used, and then restart.
17003 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17004 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17005 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17006 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17015 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17017 hardcode_direct_GCJ
=yes
17018 hardcode_shlibpath_var_GCJ
=no
17022 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17023 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17024 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17031 if test "$ld_shlibs_GCJ" = no
; then
17033 hardcode_libdir_flag_spec_GCJ
=
17034 export_dynamic_flag_spec_GCJ
=
17035 whole_archive_flag_spec_GCJ
=
17038 # PORTME fill in a description of your system's linker (not GNU ld)
17041 allow_undefined_flag_GCJ
=unsupported
17042 always_export_symbols_GCJ
=yes
17043 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'
17044 # Note: this linker hardcodes the directories in LIBPATH if there
17045 # are no directories specified by -L.
17046 hardcode_minus_L_GCJ
=yes
17047 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17048 # Neither direct hardcoding nor static linking is supported with a
17050 hardcode_direct_GCJ
=unsupported
17055 if test "$host_cpu" = ia64
; then
17056 # On IA64, the linker does run time linking by default, so we don't
17057 # have to do anything special.
17058 aix_use_runtimelinking
=no
17059 exp_sym_flag
='-Bexport'
17062 # If we're using GNU nm, then we don't want the "-C" option.
17063 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17064 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17065 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'
17067 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'
17069 aix_use_runtimelinking
=no
17071 # Test if we are trying to use run time linking or normal
17072 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17073 # need to do runtime linking.
17074 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17075 for ld_flag
in $LDFLAGS; do
17076 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17077 aix_use_runtimelinking
=yes
17084 exp_sym_flag
='-bexport'
17085 no_entry_flag
='-bnoentry'
17088 # When large executables or shared objects are built, AIX ld can
17089 # have problems creating the table of contents. If linking a library
17090 # or program results in "error TOC overflow" add -mminimal-toc to
17091 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17092 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17094 archive_cmds_GCJ
=''
17095 hardcode_direct_GCJ
=yes
17096 hardcode_libdir_separator_GCJ
=':'
17097 link_all_deplibs_GCJ
=yes
17099 if test "$GCC" = yes; then
17100 case $host_os in aix4.
[012]|aix4.
[012].
*)
17101 # We only want to do this on AIX 4.2 and lower, the check
17102 # below for broken collect2 doesn't work under 4.3+
17103 collect2name
=`${CC} -print-prog-name=collect2`
17104 if test -f "$collect2name" && \
17105 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17107 # We have reworked collect2
17108 hardcode_direct_GCJ
=yes
17110 # We have old collect2
17111 hardcode_direct_GCJ
=unsupported
17112 # It fails to find uninstalled libraries when the uninstalled
17113 # path is not listed in the libpath. Setting hardcode_minus_L
17114 # to unsupported forces relinking
17115 hardcode_minus_L_GCJ
=yes
17116 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17117 hardcode_libdir_separator_GCJ
=
17121 shared_flag
='-shared'
17122 if test "$aix_use_runtimelinking" = yes; then
17123 shared_flag
="$shared_flag "'${wl}-G'
17127 if test "$host_cpu" = ia64
; then
17128 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17129 # chokes on -Wl,-G. The following line is correct:
17132 if test "$aix_use_runtimelinking" = yes; then
17133 shared_flag
='${wl}-G'
17135 shared_flag
='${wl}-bM:SRE'
17140 # It seems that -bexpall does not export symbols beginning with
17141 # underscore (_), so it is better to generate a list of symbols to export.
17142 always_export_symbols_GCJ
=yes
17143 if test "$aix_use_runtimelinking" = yes; then
17144 # Warning - without using the other runtime loading flags (-brtl),
17145 # -berok will link without error, but may produce a broken library.
17146 allow_undefined_flag_GCJ
='-berok'
17147 # Determine the default libpath from the value encoded in an empty executable.
17148 cat >conftest.
$ac_ext <<_ACEOF
17151 cat confdefs.h
>>conftest.
$ac_ext
17152 cat >>conftest.
$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17163 rm -f conftest.
$ac_objext conftest
$ac_exeext
17164 if { (ac_try
="$ac_link"
17165 case "(($ac_try" in
17166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_link") 2>conftest.er1
17172 grep -v '^ *+' conftest.er1 >conftest.err
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_c_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest$ac_exeext &&
17180 $as_test_x conftest$ac_exeext; then
17182 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17184 # Check for a 64-bit object if we didn't find anything.
17185 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17195 conftest$ac_exeext conftest.$ac_ext
17196 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17198 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17199 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"
17201 if test "$host_cpu" = ia64; then
17202 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17203 allow_undefined_flag_GCJ="-z nodefs"
17204 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"
17206 # Determine the default libpath from the value encoded in an empty executable.
17207 cat >conftest.$ac_ext <<_ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17222 rm -f conftest.$ac_objext conftest$ac_exeext
17223 if { (ac_try="$ac_link"
17224 case "(($ac_try" in
17225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17226 *) ac_try_echo
=$ac_try;;
17228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17229 (eval "$ac_link") 2>conftest.er1
17231 grep -v '^ *+' conftest.er1
>conftest.err
17233 cat conftest.err
>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } && {
17236 test -z "$ac_c_werror_flag" ||
17237 test ! -s conftest.err
17238 } && test -s conftest
$ac_exeext &&
17239 $as_test_x conftest
$ac_exeext; then
17241 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17243 # Check for a 64-bit object if we didn't find anything.
17244 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.
$ac_ext >&5
17253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17254 conftest
$ac_exeext conftest.
$ac_ext
17255 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17257 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17258 # Warning - without using the other run time loading flags,
17259 # -berok will link without error, but may produce a broken library.
17260 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17261 allow_undefined_flag_GCJ
=' ${wl}-berok'
17262 # Exported symbols can be pulled into shared objects from archives
17263 whole_archive_flag_spec_GCJ
='$convenience'
17264 archive_cmds_need_lc_GCJ
=yes
17265 # This is similar to how AIX traditionally builds its shared libraries.
17266 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'
17272 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)'
17273 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17274 hardcode_minus_L_GCJ
=yes
17275 # see comment about different semantics on the GNU ld section
17280 export_dynamic_flag_spec_GCJ
=-rdynamic
17283 cygwin
* | mingw
* | pw32
*)
17284 # When not using gcc, we currently assume that we are using
17285 # Microsoft Visual C++.
17286 # hardcode_libdir_flag_spec is actually meaningless, as there is
17287 # no search path for DLLs.
17288 hardcode_libdir_flag_spec_GCJ
=' '
17289 allow_undefined_flag_GCJ
=unsupported
17290 # Tell ltmain to make .lib files, not .a files.
17292 # Tell ltmain to make .dll files, not .so files.
17294 # FIXME: Setting linknames here is a bad hack.
17295 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17296 # The linker will automatically build a .lib file if we build a DLL.
17297 old_archive_From_new_cmds_GCJ
='true'
17298 # FIXME: Should let the user specify the lib program.
17299 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17300 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17301 enable_shared_with_static_runtimes_GCJ
=yes
17304 darwin
* | rhapsody
*)
17306 rhapsody
* | darwin1.
[012])
17307 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17310 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17311 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17313 case ${MACOSX_DEPLOYMENT_TARGET} in
17315 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17318 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17324 archive_cmds_need_lc_GCJ
=no
17325 hardcode_direct_GCJ
=no
17326 hardcode_automatic_GCJ
=yes
17327 hardcode_shlibpath_var_GCJ
=unsupported
17328 whole_archive_flag_spec_GCJ
=''
17329 link_all_deplibs_GCJ
=yes
17330 if test "$GCC" = yes ; then
17331 output_verbose_link_cmd
='echo'
17332 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17333 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17334 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17335 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}'
17336 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}'
17338 case $cc_basename in
17340 output_verbose_link_cmd
='echo'
17341 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17342 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17343 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17344 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17345 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}'
17355 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17356 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17357 hardcode_shlibpath_var_GCJ
=no
17364 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17365 # support. Future versions do this automatically, but an explicit c++rt0.o
17366 # does not break anything, and helps significantly (at the cost of a little
17369 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17370 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17371 hardcode_direct_GCJ
=yes
17372 hardcode_shlibpath_var_GCJ
=no
17375 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17377 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17378 hardcode_direct_GCJ
=yes
17379 hardcode_minus_L_GCJ
=yes
17380 hardcode_shlibpath_var_GCJ
=no
17383 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17384 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17385 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17386 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17387 hardcode_direct_GCJ
=yes
17388 hardcode_shlibpath_var_GCJ
=no
17392 if test "$GCC" = yes; then
17393 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'
17395 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'
17397 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17398 hardcode_libdir_separator_GCJ
=:
17399 hardcode_direct_GCJ
=yes
17401 # hardcode_minus_L: Not really in the search PATH,
17402 # but as the default location of the library.
17403 hardcode_minus_L_GCJ
=yes
17404 export_dynamic_flag_spec_GCJ
='${wl}-E'
17408 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17409 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17411 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17413 if test "$with_gnu_ld" = no
; then
17414 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17415 hardcode_libdir_separator_GCJ
=:
17417 hardcode_direct_GCJ
=yes
17418 export_dynamic_flag_spec_GCJ
='${wl}-E'
17420 # hardcode_minus_L: Not really in the search PATH,
17421 # but as the default location of the library.
17422 hardcode_minus_L_GCJ
=yes
17427 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17430 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17433 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17436 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17442 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17445 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17448 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17452 if test "$with_gnu_ld" = no
; then
17453 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17454 hardcode_libdir_separator_GCJ
=:
17458 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17459 hardcode_direct_GCJ
=no
17460 hardcode_shlibpath_var_GCJ
=no
17463 hardcode_direct_GCJ
=yes
17464 export_dynamic_flag_spec_GCJ
='${wl}-E'
17466 # hardcode_minus_L: Not really in the search PATH,
17467 # but as the default location of the library.
17468 hardcode_minus_L_GCJ
=yes
17474 irix5
* | irix6
* | nonstopux
*)
17475 if test "$GCC" = yes; then
17476 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'
17478 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'
17479 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17481 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17482 hardcode_libdir_separator_GCJ
=:
17483 link_all_deplibs_GCJ
=yes
17487 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17488 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17490 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17492 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17493 hardcode_direct_GCJ
=yes
17494 hardcode_shlibpath_var_GCJ
=no
17498 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17499 hardcode_direct_GCJ
=yes
17500 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17501 hardcode_libdir_separator_GCJ
=:
17502 hardcode_shlibpath_var_GCJ
=no
17506 hardcode_direct_GCJ
=yes
17507 hardcode_shlibpath_var_GCJ
=no
17508 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17509 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17510 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17511 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17512 export_dynamic_flag_spec_GCJ
='${wl}-E'
17515 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17516 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17517 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17520 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17521 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17528 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17529 hardcode_minus_L_GCJ
=yes
17530 allow_undefined_flag_GCJ
=unsupported
17531 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'
17532 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17536 if test "$GCC" = yes; then
17537 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17538 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'
17540 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17541 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'
17543 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17544 hardcode_libdir_separator_GCJ
=:
17547 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17548 if test "$GCC" = yes; then
17549 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17550 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'
17551 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17553 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17554 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'
17555 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~
17556 $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'
17558 # Both c and cxx compiler support -rpath directly
17559 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17561 hardcode_libdir_separator_GCJ
=:
17565 no_undefined_flag_GCJ
=' -z text'
17566 if test "$GCC" = yes; then
17568 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17569 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17570 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17573 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17574 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17575 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17577 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17578 hardcode_shlibpath_var_GCJ
=no
17580 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17582 # The compiler driver will combine linker options so we
17583 # cannot just pass the convience library names through
17584 # without $wl, iff we do not link with $LD.
17585 # Luckily, gcc supports the same syntax we need for Sun Studio.
17586 # Supported since Solaris 2.6 (maybe 2.5.1?)
17589 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17591 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17594 link_all_deplibs_GCJ
=yes
17598 if test "x$host_vendor" = xsequent
; then
17599 # Use $CC to link under sequent, because it throws in some extra .o
17600 # files that make .init and .fini sections work.
17601 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17603 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17605 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17606 hardcode_direct_GCJ
=yes
17607 hardcode_minus_L_GCJ
=yes
17608 hardcode_shlibpath_var_GCJ
=no
17612 case $host_vendor in
17614 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17615 hardcode_direct_GCJ
=yes # is this really true???
17618 ## LD is ld it makes a PLAMLIB
17619 ## CC just makes a GrossModule.
17620 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17621 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17622 hardcode_direct_GCJ
=no
17625 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17626 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17629 runpath_var
='LD_RUN_PATH'
17630 hardcode_shlibpath_var_GCJ
=no
17634 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17635 hardcode_shlibpath_var_GCJ
=no
17636 export_dynamic_flag_spec_GCJ
='-Bexport'
17640 if test -d /usr
/nec
; then
17641 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17642 hardcode_shlibpath_var_GCJ
=no
17643 runpath_var
=LD_RUN_PATH
17644 hardcode_runpath_var
=yes
17649 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17650 no_undefined_flag_GCJ
='${wl}-z,text'
17651 archive_cmds_need_lc_GCJ
=no
17652 hardcode_shlibpath_var_GCJ
=no
17653 runpath_var
='LD_RUN_PATH'
17655 if test "$GCC" = yes; then
17656 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17657 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17659 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17660 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17664 sysv5
* | sco3.2v5
* | sco5v6
*)
17665 # Note: We can NOT use -z defs as we might desire, because we do not
17666 # link with -lc, and that would cause any symbols used from libc to
17667 # always be unresolved, which means just about no library would
17668 # ever link correctly. If we're not using GNU ld we use -z text
17669 # though, which does catch some bad symbols but isn't as heavy-handed
17671 no_undefined_flag_GCJ
='${wl}-z,text'
17672 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17673 archive_cmds_need_lc_GCJ
=no
17674 hardcode_shlibpath_var_GCJ
=no
17675 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17676 hardcode_libdir_separator_GCJ
=':'
17677 link_all_deplibs_GCJ
=yes
17678 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17679 runpath_var
='LD_RUN_PATH'
17681 if test "$GCC" = yes; then
17682 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17683 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17685 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17686 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17691 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17692 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17693 hardcode_shlibpath_var_GCJ
=no
17702 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17703 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17704 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17707 # Do we need to explicitly link libc?
17709 case "x$archive_cmds_need_lc_GCJ" in
17711 # Assume -lc should be added
17712 archive_cmds_need_lc_GCJ
=yes
17714 if test "$enable_shared" = yes && test "$GCC" = yes; then
17715 case $archive_cmds_GCJ in
17717 # FIXME: we may have to deal with multi-command sequences.
17720 # Test whether the compiler implicitly links with -lc since on some
17721 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17722 # to ld, don't add -lc before -lgcc.
17723 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17724 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17726 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17729 (eval $ac_compile) 2>&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); } 2>conftest.err
; then
17735 libobjs
=conftest.
$ac_objext
17737 wl
=$lt_prog_compiler_wl_GCJ
17738 pic_flag
=$lt_prog_compiler_pic_GCJ
17744 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17745 allow_undefined_flag_GCJ
=
17746 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17747 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }
17752 archive_cmds_need_lc_GCJ
=no
17754 archive_cmds_need_lc_GCJ
=yes
17756 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17758 cat conftest.err
1>&5
17761 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17762 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17769 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17770 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17771 library_names_spec
=
17772 libname_spec
='lib$name'
17776 postuninstall_cmds
=
17780 shlibpath_overrides_runpath
=unknown
17782 dynamic_linker
="$host_os ld.so"
17783 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17784 if test "$GCC" = yes; then
17785 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17786 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17787 # if the path contains ";" then we assume it to be the separator
17788 # otherwise default to the standard path separator (i.e. ":") - it is
17789 # assumed that no part of a normal pathname contains ";" but that should
17790 # okay in the real world where ";" in dirpaths is itself problematic.
17791 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17793 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17796 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17798 need_lib_prefix
=unknown
17799 hardcode_into_libs
=no
17801 # when you set need_version to no, make sure it does not cause -set_version
17802 # flags to be left without arguments
17803 need_version
=unknown
17808 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17809 shlibpath_var
=LIBPATH
17811 # AIX 3 has no versioning support, so we append a major version to the name.
17812 soname_spec
='${libname}${release}${shared_ext}$major'
17819 hardcode_into_libs
=yes
17820 if test "$host_cpu" = ia64
; then
17821 # AIX 5 supports IA64
17822 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17823 shlibpath_var
=LD_LIBRARY_PATH
17825 # With GCC up to 2.95.x, collect2 would create an import file
17826 # for dependence libraries. The import file would start with
17827 # the line `#! .'. This would cause the generated library to
17828 # depend on `.', always an invalid library. This was fixed in
17829 # development snapshots of GCC prior to 3.0.
17831 aix4 | aix4.
[01] | aix4.
[01].
*)
17832 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17834 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17837 can_build_shared
=no
17841 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17842 # soname into executable. Probably we can add versioning support to
17843 # collect2, so additional links can be useful in future.
17844 if test "$aix_use_runtimelinking" = yes; then
17845 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17846 # instead of lib<name>.a to let people know that these are not
17847 # typical AIX shared libraries.
17848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17850 # We preserve .a as extension for shared libraries through AIX4.2
17851 # and later when we are not doing run time linking.
17852 library_names_spec
='${libname}${release}.a $libname.a'
17853 soname_spec
='${libname}${release}${shared_ext}$major'
17855 shlibpath_var
=LIBPATH
17860 library_names_spec
='$libname.ixlibrary $libname.a'
17861 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17862 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'
17866 library_names_spec
='${libname}${shared_ext}'
17867 dynamic_linker
="$host_os ld.so"
17868 shlibpath_var
=LIBRARY_PATH
17874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17875 soname_spec
='${libname}${release}${shared_ext}$major'
17876 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17877 shlibpath_var
=LD_LIBRARY_PATH
17878 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17879 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17880 # the default ld.so.conf also contains /usr/contrib/lib and
17881 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17882 # libtool to hard-code these into programs
17885 cygwin
* | mingw
* | pw32
*)
17886 version_type
=windows
17891 case $GCC,$host_os in
17892 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17893 library_names_spec
='$libname.dll.a'
17894 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17895 postinstall_cmds
='base_file=`basename \${file}`~
17896 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17897 dldir=$destdir/`dirname \$dlpath`~
17898 test -d \$dldir || mkdir -p \$dldir~
17899 $install_prog $dir/$dlname \$dldir/$dlname~
17900 chmod a+x \$dldir/$dlname'
17901 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17902 dlpath=$dir/\$dldll~
17904 shlibpath_overrides_runpath
=yes
17908 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17909 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17910 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17913 # MinGW DLLs use traditional 'lib' prefix
17914 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17915 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17916 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17917 # It is most probably a Windows format PATH printed by
17918 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17919 # path with ; separators, and with drive letters. We can handle the
17920 # drive letters (cygwin fileutils understands them), so leave them,
17921 # especially as we might pass files found there to a mingw objdump,
17922 # which wouldn't understand a cygwinified path. Ahh.
17923 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17925 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17929 # pw32 DLLs use 'pw' prefix rather than 'lib'
17930 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17936 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17939 dynamic_linker
='Win32 ld.exe'
17940 # FIXME: first we should search . and the directory the executable is in
17944 darwin
* | rhapsody
*)
17945 dynamic_linker
="$host_os dyld"
17946 version_type
=darwin
17949 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17950 soname_spec
='${libname}${release}${major}$shared_ext'
17951 shlibpath_overrides_runpath
=yes
17952 shlibpath_var
=DYLD_LIBRARY_PATH
17953 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17954 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17955 if test "$GCC" = yes; then
17956 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17958 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17960 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17968 soname_spec
='${libname}${release}${shared_ext}$major'
17969 shlibpath_var
=LD_LIBRARY_PATH
17980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17981 soname_spec
='${libname}${release}${shared_ext}$major'
17982 shlibpath_var
=LD_LIBRARY_PATH
17983 shlibpath_overrides_runpath
=no
17984 hardcode_into_libs
=yes
17985 dynamic_linker
='GNU ld.so'
17988 freebsd
* | dragonfly
*)
17989 # DragonFly does not have aout. When/if they implement a new
17990 # versioning mechanism, adjust this.
17991 if test -x /usr
/bin
/objformat
; then
17992 objformat
=`/usr/bin/objformat`
17995 freebsd
[123]*) objformat
=aout
;;
17996 *) objformat
=elf
;;
17999 version_type
=freebsd-
$objformat
18000 case $version_type in
18002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18007 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18011 shlibpath_var
=LD_LIBRARY_PATH
18014 shlibpath_overrides_runpath
=yes
18016 freebsd3.
[01]* | freebsdelf3.
[01]*)
18017 shlibpath_overrides_runpath
=yes
18018 hardcode_into_libs
=yes
18020 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18021 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18022 shlibpath_overrides_runpath
=no
18023 hardcode_into_libs
=yes
18025 freebsd
*) # from 4.6 on
18026 shlibpath_overrides_runpath
=yes
18027 hardcode_into_libs
=yes
18036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18037 soname_spec
='${libname}${release}${shared_ext}$major'
18038 shlibpath_var
=LD_LIBRARY_PATH
18039 hardcode_into_libs
=yes
18042 hpux9
* | hpux10
* | hpux11
*)
18043 # Give a soname corresponding to the major version so that dld.sl refuses to
18044 # link against other versions.
18051 hardcode_into_libs
=yes
18052 dynamic_linker
="$host_os dld.so"
18053 shlibpath_var
=LD_LIBRARY_PATH
18054 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18056 soname_spec
='${libname}${release}${shared_ext}$major'
18057 if test "X$HPUX_IA64_MODE" = X32
; then
18058 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18060 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18062 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18066 hardcode_into_libs
=yes
18067 dynamic_linker
="$host_os dld.sl"
18068 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18069 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18071 soname_spec
='${libname}${release}${shared_ext}$major'
18072 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18073 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18077 dynamic_linker
="$host_os dld.sl"
18078 shlibpath_var
=SHLIB_PATH
18079 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18081 soname_spec
='${libname}${release}${shared_ext}$major'
18084 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18085 postinstall_cmds
='chmod 555 $lib'
18092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18093 soname_spec
='${libname}${release}${shared_ext}$major'
18094 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18095 shlibpath_var
=LD_LIBRARY_PATH
18096 shlibpath_overrides_runpath
=no
18097 hardcode_into_libs
=yes
18100 irix5
* | irix6
* | nonstopux
*)
18102 nonstopux
*) version_type
=nonstopux
;;
18104 if test "$lt_cv_prog_gnu_ld" = yes; then
18112 soname_spec
='${libname}${release}${shared_ext}$major'
18113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18115 irix5
* | nonstopux
*)
18116 libsuff
= shlibsuff
=
18119 case $LD in # libtool.m4 will add one of these switches to LD
18120 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18121 libsuff
= shlibsuff
= libmagic
=32-bit;;
18122 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18123 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18124 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18125 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18126 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18130 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18131 shlibpath_overrides_runpath
=no
18132 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18133 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18134 hardcode_into_libs
=yes
18137 # No shared lib support for Linux oldld, aout, or coff.
18138 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18142 # This must be Linux ELF.
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18150 shlibpath_var
=LD_LIBRARY_PATH
18151 shlibpath_overrides_runpath
=no
18152 # This implies no fast_install, which is unacceptable.
18153 # Some rework will be needed to allow for fast_install
18154 # before this can be enabled.
18155 hardcode_into_libs
=yes
18157 # find out which ABI we are using
18159 case "$host_cpu" in
18160 x86_64
*|s390x
*|powerpc64
*)
18161 echo '#line 18161 "configure"' > conftest.
$ac_ext
18162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18163 (eval $ac_compile) 2>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; then
18167 case `/usr/bin/file conftest.$ac_objext` in
18170 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18178 # Append ld.so.conf contents to the search path
18179 if test -f /etc
/ld.so.conf
; then
18180 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18181 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18184 # We used to test for /lib/ld.so.1 and disable shared libraries on
18185 # powerpc, because MkLinux only supported shared libraries with the
18186 # GNU dynamic linker. Since this was broken with cross compilers,
18187 # most powerpc-linux boxes support dynamic linking these days and
18188 # people can always --disable-shared, the test was removed, and we
18189 # assume the GNU/Linux dynamic linker is in use.
18190 dynamic_linker
='GNU/Linux ld.so'
18197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18198 soname_spec
='${libname}${release}${shared_ext}$major'
18199 shlibpath_var
=LD_LIBRARY_PATH
18200 shlibpath_overrides_runpath
=no
18201 hardcode_into_libs
=yes
18202 dynamic_linker
='GNU ld.so'
18209 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18211 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18212 dynamic_linker
='NetBSD (a.out) ld.so'
18214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18215 soname_spec
='${libname}${release}${shared_ext}$major'
18216 dynamic_linker
='NetBSD ld.elf_so'
18218 shlibpath_var
=LD_LIBRARY_PATH
18219 shlibpath_overrides_runpath
=yes
18220 hardcode_into_libs
=yes
18225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18226 shlibpath_var
=LD_LIBRARY_PATH
18227 shlibpath_overrides_runpath
=yes
18234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18235 soname_spec
='${libname}${release}${shared_ext}$major'
18236 shlibpath_var
=LD_LIBRARY_PATH
18237 shlibpath_overrides_runpath
=yes
18242 sys_lib_dlsearch_path_spec
="/usr/lib"
18244 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18246 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18247 *) need_version
=no
;;
18249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18250 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18251 shlibpath_var
=LD_LIBRARY_PATH
18252 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18254 openbsd2.
[89] | openbsd2.
[89].
*)
18255 shlibpath_overrides_runpath
=no
18258 shlibpath_overrides_runpath
=yes
18262 shlibpath_overrides_runpath
=yes
18267 libname_spec
='$name'
18270 library_names_spec
='$libname${shared_ext} $libname.a'
18271 dynamic_linker
='OS/2 ld.exe'
18272 shlibpath_var
=LIBPATH
18275 osf3
* | osf4
* | osf5
*)
18279 soname_spec
='${libname}${release}${shared_ext}$major'
18280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18281 shlibpath_var
=LD_LIBRARY_PATH
18282 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18283 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18291 soname_spec
='${libname}${release}${shared_ext}$major'
18292 shlibpath_var
=LD_LIBRARY_PATH
18293 shlibpath_overrides_runpath
=yes
18294 hardcode_into_libs
=yes
18295 # ldd complains unless libraries are executable
18296 postinstall_cmds
='chmod +x $lib'
18301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18302 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18303 shlibpath_var
=LD_LIBRARY_PATH
18304 shlibpath_overrides_runpath
=yes
18305 if test "$with_gnu_ld" = yes; then
18313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18314 soname_spec
='${libname}${release}${shared_ext}$major'
18315 shlibpath_var
=LD_LIBRARY_PATH
18316 case $host_vendor in
18318 shlibpath_overrides_runpath
=no
18320 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18321 runpath_var
=LD_RUN_PATH
18329 shlibpath_overrides_runpath
=no
18330 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18336 if test -d /usr
/nec
;then
18338 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18339 soname_spec
='$libname${shared_ext}.$major'
18340 shlibpath_var
=LD_LIBRARY_PATH
18344 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18345 version_type
=freebsd-elf
18348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18349 soname_spec
='${libname}${release}${shared_ext}$major'
18350 shlibpath_var
=LD_LIBRARY_PATH
18351 hardcode_into_libs
=yes
18352 if test "$with_gnu_ld" = yes; then
18353 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18354 shlibpath_overrides_runpath
=no
18356 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18357 shlibpath_overrides_runpath
=yes
18360 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18364 sys_lib_dlsearch_path_spec
='/usr/lib'
18369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18370 soname_spec
='${libname}${release}${shared_ext}$major'
18371 shlibpath_var
=LD_LIBRARY_PATH
18378 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18379 echo "${ECHO_T}$dynamic_linker" >&6; }
18380 test "$dynamic_linker" = no
&& can_build_shared
=no
18382 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18383 if test "$GCC" = yes; then
18384 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18387 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18388 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18389 hardcode_action_GCJ
=
18390 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18391 test -n "$runpath_var_GCJ" || \
18392 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18394 # We can hardcode non-existant directories.
18395 if test "$hardcode_direct_GCJ" != no
&&
18396 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18397 # have to relink, otherwise we might link with an installed library
18398 # when we should be linking with a yet-to-be-installed one
18399 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18400 test "$hardcode_minus_L_GCJ" != no
; then
18401 # Linking always hardcodes the temporary library directory.
18402 hardcode_action_GCJ
=relink
18404 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18405 hardcode_action_GCJ
=immediate
18408 # We cannot hardcode anything, or else we can only hardcode existing
18410 hardcode_action_GCJ
=unsupported
18412 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18413 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18415 if test "$hardcode_action_GCJ" = relink
; then
18416 # Fast installation is not supported
18417 enable_fast_install
=no
18418 elif test "$shlibpath_overrides_runpath" = yes ||
18419 test "$enable_shared" = no
; then
18420 # Fast installation is not necessary
18421 enable_fast_install
=needless
18425 # The else clause should only fire when bootstrapping the
18426 # libtool distribution, otherwise you forgot to ship ltmain.sh
18427 # with your package, and you will get complaints that there are
18428 # no rules to generate ltmain.sh.
18429 if test -f "$ltmain"; then
18430 # See if we are running on zsh, and set the options which allow our commands through
18431 # without removal of \ escapes.
18432 if test -n "${ZSH_VERSION+set}" ; then
18433 setopt NO_GLOB_SUBST
18435 # Now quote all the things that may contain metacharacters while being
18436 # careful not to overquote the AC_SUBSTed values. We take copies of the
18437 # variables and quote the copies for generation of the libtool script.
18438 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18440 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18441 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18442 deplibs_check_method reload_flag reload_cmds need_locks \
18443 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18444 lt_cv_sys_global_symbol_to_c_name_address \
18445 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18446 old_postinstall_cmds old_postuninstall_cmds \
18450 lt_prog_compiler_wl_GCJ \
18451 lt_prog_compiler_pic_GCJ \
18452 lt_prog_compiler_static_GCJ \
18453 lt_prog_compiler_no_builtin_flag_GCJ \
18454 export_dynamic_flag_spec_GCJ \
18455 thread_safe_flag_spec_GCJ \
18456 whole_archive_flag_spec_GCJ \
18457 enable_shared_with_static_runtimes_GCJ \
18458 old_archive_cmds_GCJ \
18459 old_archive_from_new_cmds_GCJ \
18460 predep_objects_GCJ \
18461 postdep_objects_GCJ \
18464 compiler_lib_search_path_GCJ \
18466 archive_expsym_cmds_GCJ \
18467 postinstall_cmds_GCJ \
18468 postuninstall_cmds_GCJ \
18469 old_archive_from_expsyms_cmds_GCJ \
18470 allow_undefined_flag_GCJ \
18471 no_undefined_flag_GCJ \
18472 export_symbols_cmds_GCJ \
18473 hardcode_libdir_flag_spec_GCJ \
18474 hardcode_libdir_flag_spec_ld_GCJ \
18475 hardcode_libdir_separator_GCJ \
18476 hardcode_automatic_GCJ \
18478 module_expsym_cmds_GCJ \
18479 lt_cv_prog_compiler_c_o_GCJ \
18480 exclude_expsyms_GCJ \
18481 include_expsyms_GCJ
; do
18484 old_archive_cmds_GCJ | \
18485 old_archive_from_new_cmds_GCJ | \
18486 archive_cmds_GCJ | \
18487 archive_expsym_cmds_GCJ | \
18488 module_cmds_GCJ | \
18489 module_expsym_cmds_GCJ | \
18490 old_archive_from_expsyms_cmds_GCJ | \
18491 export_symbols_cmds_GCJ | \
18492 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18493 postinstall_cmds | postuninstall_cmds | \
18494 old_postinstall_cmds | old_postuninstall_cmds | \
18495 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18496 # Double-quote double-evaled strings.
18497 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18500 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18506 *'\$0 --fallback-echo"')
18507 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18513 cat <<__EOF__ >> "$cfgfile"
18514 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18516 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18518 # Shell to use when invoking shell scripts.
18521 # Whether or not to build shared libraries.
18522 build_libtool_libs=$enable_shared
18524 # Whether or not to build static libraries.
18525 build_old_libs=$enable_static
18527 # Whether or not to add -lc for building shared libraries.
18528 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18530 # Whether or not to disallow shared libs when runtime libs are static
18531 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18533 # Whether or not to optimize for fast installation.
18534 fast_install=$enable_fast_install
18537 host_alias=$host_alias
18541 # The build system.
18542 build_alias=$build_alias
18546 # An echo program that does not interpret backslashes.
18551 AR_FLAGS=$lt_AR_FLAGS
18556 # LTCC compiler flags.
18557 LTCFLAGS=$lt_LTCFLAGS
18559 # A language-specific compiler.
18560 CC=$lt_compiler_GCJ
18562 # Is the compiler the GNU C compiler?
18568 # The linker used to build libraries.
18571 # Whether we need hard or soft links.
18574 # A BSD-compatible nm program.
18577 # A symbol stripping program
18580 # Used to examine libraries when file_magic_cmd begins "file"
18581 MAGIC_CMD=$MAGIC_CMD
18583 # Used on cygwin: DLL creation program.
18586 # Used on cygwin: object dumper.
18589 # Used on cygwin: assembler.
18592 # The name of the directory that contains temporary libtool files.
18595 # How to create reloadable object files.
18596 reload_flag=$lt_reload_flag
18597 reload_cmds=$lt_reload_cmds
18599 # How to pass a linker flag through the compiler.
18600 wl=$lt_lt_prog_compiler_wl_GCJ
18602 # Object file suffix (normally "o").
18603 objext="$ac_objext"
18605 # Old archive suffix (normally "a").
18608 # Shared library suffix (normally ".so").
18609 shrext_cmds='$shrext_cmds'
18611 # Executable file suffix (normally "").
18614 # Additional compiler flags for building library objects.
18615 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18618 # What is the maximum length of a command?
18619 max_cmd_len=$lt_cv_sys_max_cmd_len
18621 # Does compiler simultaneously support -c and -o options?
18622 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18624 # Must we lock files when doing compilation?
18625 need_locks=$lt_need_locks
18627 # Do we need the lib prefix for modules?
18628 need_lib_prefix=$need_lib_prefix
18630 # Do we need a version for libraries?
18631 need_version=$need_version
18633 # Whether dlopen is supported.
18634 dlopen_support=$enable_dlopen
18636 # Whether dlopen of programs is supported.
18637 dlopen_self=$enable_dlopen_self
18639 # Whether dlopen of statically linked programs is supported.
18640 dlopen_self_static=$enable_dlopen_self_static
18642 # Compiler flag to prevent dynamic linking.
18643 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18645 # Compiler flag to turn off builtin functions.
18646 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18648 # Compiler flag to allow reflexive dlopens.
18649 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18651 # Compiler flag to generate shared objects directly from archives.
18652 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18654 # Compiler flag to generate thread-safe objects.
18655 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18657 # Library versioning type.
18658 version_type=$version_type
18660 # Format of library name prefix.
18661 libname_spec=$lt_libname_spec
18663 # List of archive names. First name is the real one, the rest are links.
18664 # The last name is the one that the linker finds with -lNAME.
18665 library_names_spec=$lt_library_names_spec
18667 # The coded name of the library, if different from the real name.
18668 soname_spec=$lt_soname_spec
18670 # Commands used to build and install an old-style archive.
18672 old_archive_cmds=$lt_old_archive_cmds_GCJ
18673 old_postinstall_cmds=$lt_old_postinstall_cmds
18674 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18676 # Create an old-style archive from a shared archive.
18677 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18679 # Create a temporary old-style archive to link instead of a shared archive.
18680 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18682 # Commands used to build and install a shared archive.
18683 archive_cmds=$lt_archive_cmds_GCJ
18684 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18685 postinstall_cmds=$lt_postinstall_cmds
18686 postuninstall_cmds=$lt_postuninstall_cmds
18688 # Commands used to build a loadable module (assumed same as above if empty)
18689 module_cmds=$lt_module_cmds_GCJ
18690 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18692 # Commands to strip libraries.
18693 old_striplib=$lt_old_striplib
18694 striplib=$lt_striplib
18696 # Dependencies to place before the objects being linked to create a
18698 predep_objects=$lt_predep_objects_GCJ
18700 # Dependencies to place after the objects being linked to create a
18702 postdep_objects=$lt_postdep_objects_GCJ
18704 # Dependencies to place before the objects being linked to create a
18706 predeps=$lt_predeps_GCJ
18708 # Dependencies to place after the objects being linked to create a
18710 postdeps=$lt_postdeps_GCJ
18712 # The library search path used internally by the compiler when linking
18713 # a shared library.
18714 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18716 # Method to check whether dependent libraries are shared objects.
18717 deplibs_check_method=$lt_deplibs_check_method
18719 # Command to use when deplibs_check_method == file_magic.
18720 file_magic_cmd=$lt_file_magic_cmd
18722 # Flag that allows shared libraries with undefined symbols to be built.
18723 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18725 # Flag that forces no undefined symbols.
18726 no_undefined_flag=$lt_no_undefined_flag_GCJ
18728 # Commands used to finish a libtool library installation in a directory.
18729 finish_cmds=$lt_finish_cmds
18731 # Same as above, but a single script fragment to be evaled but not shown.
18732 finish_eval=$lt_finish_eval
18734 # Take the output of nm and produce a listing of raw symbols and C names.
18735 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18737 # Transform the output of nm in a proper C declaration
18738 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18740 # Transform the output of nm in a C name address pair
18741 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18743 # This is the shared library runtime path variable.
18744 runpath_var=$runpath_var
18746 # This is the shared library path variable.
18747 shlibpath_var=$shlibpath_var
18749 # Is shlibpath searched before the hard-coded library search path?
18750 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18752 # How to hardcode a shared library path into an executable.
18753 hardcode_action=$hardcode_action_GCJ
18755 # Whether we should hardcode library paths into libraries.
18756 hardcode_into_libs=$hardcode_into_libs
18758 # Flag to hardcode \$libdir into a binary during linking.
18759 # This must work even if \$libdir does not exist.
18760 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18762 # If ld is used when linking, flag to hardcode \$libdir into
18763 # a binary during linking. This must work even if \$libdir does
18765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18767 # Whether we need a single -rpath flag with a separated argument.
18768 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18770 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18771 # resulting binary.
18772 hardcode_direct=$hardcode_direct_GCJ
18774 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18775 # resulting binary.
18776 hardcode_minus_L=$hardcode_minus_L_GCJ
18778 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18779 # the resulting binary.
18780 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18782 # Set to yes if building a shared library automatically hardcodes DIR into the library
18783 # and all subsequent libraries and executables linked against it.
18784 hardcode_automatic=$hardcode_automatic_GCJ
18786 # Variables whose values should be saved in libtool wrapper scripts and
18787 # restored at relink time.
18788 variables_saved_for_relink="$variables_saved_for_relink"
18790 # Whether libtool must link a program against all its dependency libraries.
18791 link_all_deplibs=$link_all_deplibs_GCJ
18793 # Compile-time system search path for libraries
18794 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18796 # Run-time system search path for libraries
18797 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18799 # Fix the shell variable \$srcfile for the compiler.
18800 fix_srcfile_path="$fix_srcfile_path_GCJ"
18802 # Set to yes if exported symbols are required.
18803 always_export_symbols=$always_export_symbols_GCJ
18805 # The commands to list exported symbols.
18806 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18808 # The commands to extract the exported symbol list from a shared archive.
18809 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18811 # Symbols that should not be listed in the preloaded symbols.
18812 exclude_expsyms=$lt_exclude_expsyms_GCJ
18814 # Symbols that must always be exported.
18815 include_expsyms=$lt_include_expsyms_GCJ
18817 # ### END LIBTOOL TAG CONFIG: $tagname
18823 # If there is no Makefile yet, we rely on a make rule to execute
18824 # `config.status --recheck' to rerun these tests and create the
18825 # libtool script then.
18826 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18827 if test -f "$ltmain_in"; then
18828 test -f Makefile
&& make "$ltmain"
18834 ac_cpp
='$CPP $CPPFLAGS'
18835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18849 # Source file extension for RC test sources.
18852 # Object file extension for compiled RC test sources.
18856 # Code to be used in simple compile tests
18857 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18859 # Code to be used in simple link tests
18860 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18862 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18864 # If no C compiler was specified, use CC.
18867 # If no C compiler flags were specified, use CFLAGS.
18868 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18870 # Allow CC to be a program name with arguments.
18874 # save warnings/boilerplate of simple test code
18875 ac_outfile
=conftest.
$ac_objext
18876 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18877 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18878 _lt_compiler_boilerplate
=`cat conftest.err`
18881 ac_outfile
=conftest.
$ac_objext
18882 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18883 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18884 _lt_linker_boilerplate
=`cat conftest.err`
18888 # Allow CC to be a program name with arguments.
18893 for cc_temp
in $compiler""; do
18895 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18896 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18901 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18903 lt_cv_prog_compiler_c_o_RC
=yes
18905 # The else clause should only fire when bootstrapping the
18906 # libtool distribution, otherwise you forgot to ship ltmain.sh
18907 # with your package, and you will get complaints that there are
18908 # no rules to generate ltmain.sh.
18909 if test -f "$ltmain"; then
18910 # See if we are running on zsh, and set the options which allow our commands through
18911 # without removal of \ escapes.
18912 if test -n "${ZSH_VERSION+set}" ; then
18913 setopt NO_GLOB_SUBST
18915 # Now quote all the things that may contain metacharacters while being
18916 # careful not to overquote the AC_SUBSTed values. We take copies of the
18917 # variables and quote the copies for generation of the libtool script.
18918 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18920 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18921 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18922 deplibs_check_method reload_flag reload_cmds need_locks \
18923 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18924 lt_cv_sys_global_symbol_to_c_name_address \
18925 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18926 old_postinstall_cmds old_postuninstall_cmds \
18930 lt_prog_compiler_wl_RC \
18931 lt_prog_compiler_pic_RC \
18932 lt_prog_compiler_static_RC \
18933 lt_prog_compiler_no_builtin_flag_RC \
18934 export_dynamic_flag_spec_RC \
18935 thread_safe_flag_spec_RC \
18936 whole_archive_flag_spec_RC \
18937 enable_shared_with_static_runtimes_RC \
18938 old_archive_cmds_RC \
18939 old_archive_from_new_cmds_RC \
18940 predep_objects_RC \
18941 postdep_objects_RC \
18944 compiler_lib_search_path_RC \
18946 archive_expsym_cmds_RC \
18947 postinstall_cmds_RC \
18948 postuninstall_cmds_RC \
18949 old_archive_from_expsyms_cmds_RC \
18950 allow_undefined_flag_RC \
18951 no_undefined_flag_RC \
18952 export_symbols_cmds_RC \
18953 hardcode_libdir_flag_spec_RC \
18954 hardcode_libdir_flag_spec_ld_RC \
18955 hardcode_libdir_separator_RC \
18956 hardcode_automatic_RC \
18958 module_expsym_cmds_RC \
18959 lt_cv_prog_compiler_c_o_RC \
18960 exclude_expsyms_RC \
18961 include_expsyms_RC
; do
18964 old_archive_cmds_RC | \
18965 old_archive_from_new_cmds_RC | \
18966 archive_cmds_RC | \
18967 archive_expsym_cmds_RC | \
18969 module_expsym_cmds_RC | \
18970 old_archive_from_expsyms_cmds_RC | \
18971 export_symbols_cmds_RC | \
18972 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18973 postinstall_cmds | postuninstall_cmds | \
18974 old_postinstall_cmds | old_postuninstall_cmds | \
18975 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18976 # Double-quote double-evaled strings.
18977 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18980 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18986 *'\$0 --fallback-echo"')
18987 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18993 cat <<__EOF__ >> "$cfgfile"
18994 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18996 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18998 # Shell to use when invoking shell scripts.
19001 # Whether or not to build shared libraries.
19002 build_libtool_libs=$enable_shared
19004 # Whether or not to build static libraries.
19005 build_old_libs=$enable_static
19007 # Whether or not to add -lc for building shared libraries.
19008 build_libtool_need_lc=$archive_cmds_need_lc_RC
19010 # Whether or not to disallow shared libs when runtime libs are static
19011 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19013 # Whether or not to optimize for fast installation.
19014 fast_install=$enable_fast_install
19017 host_alias=$host_alias
19021 # The build system.
19022 build_alias=$build_alias
19026 # An echo program that does not interpret backslashes.
19031 AR_FLAGS=$lt_AR_FLAGS
19036 # LTCC compiler flags.
19037 LTCFLAGS=$lt_LTCFLAGS
19039 # A language-specific compiler.
19042 # Is the compiler the GNU C compiler?
19048 # The linker used to build libraries.
19051 # Whether we need hard or soft links.
19054 # A BSD-compatible nm program.
19057 # A symbol stripping program
19060 # Used to examine libraries when file_magic_cmd begins "file"
19061 MAGIC_CMD=$MAGIC_CMD
19063 # Used on cygwin: DLL creation program.
19066 # Used on cygwin: object dumper.
19069 # Used on cygwin: assembler.
19072 # The name of the directory that contains temporary libtool files.
19075 # How to create reloadable object files.
19076 reload_flag=$lt_reload_flag
19077 reload_cmds=$lt_reload_cmds
19079 # How to pass a linker flag through the compiler.
19080 wl=$lt_lt_prog_compiler_wl_RC
19082 # Object file suffix (normally "o").
19083 objext="$ac_objext"
19085 # Old archive suffix (normally "a").
19088 # Shared library suffix (normally ".so").
19089 shrext_cmds='$shrext_cmds'
19091 # Executable file suffix (normally "").
19094 # Additional compiler flags for building library objects.
19095 pic_flag=$lt_lt_prog_compiler_pic_RC
19098 # What is the maximum length of a command?
19099 max_cmd_len=$lt_cv_sys_max_cmd_len
19101 # Does compiler simultaneously support -c and -o options?
19102 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19104 # Must we lock files when doing compilation?
19105 need_locks=$lt_need_locks
19107 # Do we need the lib prefix for modules?
19108 need_lib_prefix=$need_lib_prefix
19110 # Do we need a version for libraries?
19111 need_version=$need_version
19113 # Whether dlopen is supported.
19114 dlopen_support=$enable_dlopen
19116 # Whether dlopen of programs is supported.
19117 dlopen_self=$enable_dlopen_self
19119 # Whether dlopen of statically linked programs is supported.
19120 dlopen_self_static=$enable_dlopen_self_static
19122 # Compiler flag to prevent dynamic linking.
19123 link_static_flag=$lt_lt_prog_compiler_static_RC
19125 # Compiler flag to turn off builtin functions.
19126 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19128 # Compiler flag to allow reflexive dlopens.
19129 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19131 # Compiler flag to generate shared objects directly from archives.
19132 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19134 # Compiler flag to generate thread-safe objects.
19135 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19137 # Library versioning type.
19138 version_type=$version_type
19140 # Format of library name prefix.
19141 libname_spec=$lt_libname_spec
19143 # List of archive names. First name is the real one, the rest are links.
19144 # The last name is the one that the linker finds with -lNAME.
19145 library_names_spec=$lt_library_names_spec
19147 # The coded name of the library, if different from the real name.
19148 soname_spec=$lt_soname_spec
19150 # Commands used to build and install an old-style archive.
19152 old_archive_cmds=$lt_old_archive_cmds_RC
19153 old_postinstall_cmds=$lt_old_postinstall_cmds
19154 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19156 # Create an old-style archive from a shared archive.
19157 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19159 # Create a temporary old-style archive to link instead of a shared archive.
19160 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19162 # Commands used to build and install a shared archive.
19163 archive_cmds=$lt_archive_cmds_RC
19164 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19165 postinstall_cmds=$lt_postinstall_cmds
19166 postuninstall_cmds=$lt_postuninstall_cmds
19168 # Commands used to build a loadable module (assumed same as above if empty)
19169 module_cmds=$lt_module_cmds_RC
19170 module_expsym_cmds=$lt_module_expsym_cmds_RC
19172 # Commands to strip libraries.
19173 old_striplib=$lt_old_striplib
19174 striplib=$lt_striplib
19176 # Dependencies to place before the objects being linked to create a
19178 predep_objects=$lt_predep_objects_RC
19180 # Dependencies to place after the objects being linked to create a
19182 postdep_objects=$lt_postdep_objects_RC
19184 # Dependencies to place before the objects being linked to create a
19186 predeps=$lt_predeps_RC
19188 # Dependencies to place after the objects being linked to create a
19190 postdeps=$lt_postdeps_RC
19192 # The library search path used internally by the compiler when linking
19193 # a shared library.
19194 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19196 # Method to check whether dependent libraries are shared objects.
19197 deplibs_check_method=$lt_deplibs_check_method
19199 # Command to use when deplibs_check_method == file_magic.
19200 file_magic_cmd=$lt_file_magic_cmd
19202 # Flag that allows shared libraries with undefined symbols to be built.
19203 allow_undefined_flag=$lt_allow_undefined_flag_RC
19205 # Flag that forces no undefined symbols.
19206 no_undefined_flag=$lt_no_undefined_flag_RC
19208 # Commands used to finish a libtool library installation in a directory.
19209 finish_cmds=$lt_finish_cmds
19211 # Same as above, but a single script fragment to be evaled but not shown.
19212 finish_eval=$lt_finish_eval
19214 # Take the output of nm and produce a listing of raw symbols and C names.
19215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19217 # Transform the output of nm in a proper C declaration
19218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19220 # Transform the output of nm in a C name address pair
19221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19223 # This is the shared library runtime path variable.
19224 runpath_var=$runpath_var
19226 # This is the shared library path variable.
19227 shlibpath_var=$shlibpath_var
19229 # Is shlibpath searched before the hard-coded library search path?
19230 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19232 # How to hardcode a shared library path into an executable.
19233 hardcode_action=$hardcode_action_RC
19235 # Whether we should hardcode library paths into libraries.
19236 hardcode_into_libs=$hardcode_into_libs
19238 # Flag to hardcode \$libdir into a binary during linking.
19239 # This must work even if \$libdir does not exist.
19240 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19242 # If ld is used when linking, flag to hardcode \$libdir into
19243 # a binary during linking. This must work even if \$libdir does
19245 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19247 # Whether we need a single -rpath flag with a separated argument.
19248 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19250 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19251 # resulting binary.
19252 hardcode_direct=$hardcode_direct_RC
19254 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19255 # resulting binary.
19256 hardcode_minus_L=$hardcode_minus_L_RC
19258 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19259 # the resulting binary.
19260 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19262 # Set to yes if building a shared library automatically hardcodes DIR into the library
19263 # and all subsequent libraries and executables linked against it.
19264 hardcode_automatic=$hardcode_automatic_RC
19266 # Variables whose values should be saved in libtool wrapper scripts and
19267 # restored at relink time.
19268 variables_saved_for_relink="$variables_saved_for_relink"
19270 # Whether libtool must link a program against all its dependency libraries.
19271 link_all_deplibs=$link_all_deplibs_RC
19273 # Compile-time system search path for libraries
19274 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19276 # Run-time system search path for libraries
19277 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19279 # Fix the shell variable \$srcfile for the compiler.
19280 fix_srcfile_path="$fix_srcfile_path_RC"
19282 # Set to yes if exported symbols are required.
19283 always_export_symbols=$always_export_symbols_RC
19285 # The commands to list exported symbols.
19286 export_symbols_cmds=$lt_export_symbols_cmds_RC
19288 # The commands to extract the exported symbol list from a shared archive.
19289 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19291 # Symbols that should not be listed in the preloaded symbols.
19292 exclude_expsyms=$lt_exclude_expsyms_RC
19294 # Symbols that must always be exported.
19295 include_expsyms=$lt_include_expsyms_RC
19297 # ### END LIBTOOL TAG CONFIG: $tagname
19303 # If there is no Makefile yet, we rely on a make rule to execute
19304 # `config.status --recheck' to rerun these tests and create the
19305 # libtool script then.
19306 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19307 if test -f "$ltmain_in"; then
19308 test -f Makefile
&& make "$ltmain"
19314 ac_cpp
='$CPP $CPPFLAGS'
19315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19324 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19325 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19326 { (exit 1); exit 1; }; }
19330 # Append the new tag name to the list of available tags.
19331 if test -n "$tagname" ; then
19332 available_tags
="$available_tags $tagname"
19338 # Now substitute the updated list of available tags.
19339 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19340 mv "${ofile}T" "$ofile"
19344 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19345 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19346 { (exit 1); exit 1; }; }
19352 # This can be used to rebuild libtool when needed
19353 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19355 # Always use our own libtool.
19356 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19358 # Prevent multiple expansion
19379 for ac_prog
in perl5 perl
19381 # Extract the first word of "$ac_prog", so it can be a program name with args.
19382 set dummy
$ac_prog; ac_word
=$2
19383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19385 if test "${ac_cv_path_PERL+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
19393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19394 for as_dir
in $LPATH
19397 test -z "$as_dir" && as_dir
=.
19398 for ac_exec_ext
in '' $ac_executable_extensions; do
19399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19400 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
19401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19411 PERL
=$ac_cv_path_PERL
19412 if test -n "$PERL"; then
19413 { echo "$as_me:$LINENO: result: $PERL" >&5
19414 echo "${ECHO_T}$PERL" >&6; }
19416 { echo "$as_me:$LINENO: result: no" >&5
19417 echo "${ECHO_T}no" >&6; }
19421 test -n "$PERL" && break
19423 test -n "$PERL" || PERL
="perl"
19426 if test "$PERL" = "perl"
19428 { { echo "$as_me:$LINENO: error: Perl not found." >&5
19429 echo "$as_me: error: Perl not found." >&2;}
19430 { (exit 1); exit 1; }; }
19433 if test "$GCC" = "yes"
19435 CFLAGS
="$CFLAGS -Wall"
19438 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.."
19442 # Check whether --with-userdb was given.
19443 if test "${with_userdb+set}" = set; then
19444 withval
=$with_userdb; userdb
="$withval"
19446 userdb
="/etc/userdb"
19450 USERDB
="`echo $userdb | tr 'a-z' 'A-Z'`"
19454 # Check whether --with-userdbmandir was given.
19455 if test "${with_userdbmandir+set}" = set; then
19456 withval
=$with_userdbmandir; mandir
="$withval"
19461 # Check whether --with-userdbtmpdir was given.
19462 if test "${with_userdbtmpdir+set}" = set; then
19463 withval
=$with_userdbtmpdir; tmpdir
="$withval"
19471 if test "$tmpdir" = ""
19473 tmpdir
=`echo "$userdb" | sed 's/\/[^\/]*$//'`
19482 # Check whether --with-makedatprog was given.
19483 if test "${with_makedatprog+set}" = set; then
19484 withval
=$with_makedatprog; makedat
="$withval"
19486 makedat
="$bindir/makedat"
19491 if test -d ${srcdir}/..
/md5
19494 cat >>confdefs.h
<<_ACEOF
19498 MD5LIB
=..
/md
5/libmd5.la
19504 if test -d ${srcdir}/..
/sha1
19506 SHA1LIB
=..
/sha
1/libsha1.la
19512 if test -d ${srcdir}/..
/libhmac
19515 cat >>confdefs.h
<<_ACEOF
19516 #define HAVE_HMAC 1
19519 HMACLIB
=..
/libhmac
/libhmac.la
19525 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19526 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19527 if test "${ac_cv_header_stdc+set}" = set; then
19528 echo $ECHO_N "(cached) $ECHO_C" >&6
19530 cat >conftest.
$ac_ext <<_ACEOF
19533 cat confdefs.h
>>conftest.
$ac_ext
19534 cat >>conftest.
$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <stdlib.h>
19537 #include <stdarg.h>
19538 #include <string.h>
19549 rm -f conftest.
$ac_objext
19550 if { (ac_try
="$ac_compile"
19551 case "(($ac_try" in
19552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19556 (eval "$ac_compile") 2>conftest.er1
19558 grep -v '^ *+' conftest.er1 >conftest.err
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } && {
19563 test -z "$ac_c_werror_flag" ||
19564 test ! -s conftest.err
19565 } && test -s conftest.$ac_objext; then
19566 ac_cv_header_stdc=yes
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.$ac_ext >&5
19571 ac_cv_header_stdc=no
19574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576 if test $ac_cv_header_stdc = yes; then
19577 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19578 cat >conftest.$ac_ext <<_ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #include <string.h>
19587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19588 $EGREP "memchr" >/dev/null 2>&1; then
19591 ac_cv_header_stdc=no
19597 if test $ac_cv_header_stdc = yes; then
19598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19599 cat >conftest.$ac_ext <<_ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 #include <stdlib.h>
19608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19609 $EGREP "free" >/dev/null 2>&1; then
19612 ac_cv_header_stdc=no
19618 if test $ac_cv_header_stdc = yes; then
19619 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19620 if test "$cross_compiling" = yes; then
19623 cat >conftest.$ac_ext <<_ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19630 #include <stdlib.h>
19631 #if ((' ' & 0x0FF) == 0x020)
19632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19635 # define ISLOWER(c) \
19636 (('a' <= (c) && (c) <= 'i') \
19637 || ('j' <= (c) && (c) <= 'r') \
19638 || ('s' <= (c) && (c) <= 'z'))
19639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19647 for (i = 0; i < 256; i++)
19648 if (XOR (islower (i), ISLOWER (i))
19649 || toupper (i) != TOUPPER (i))
19654 rm -f conftest$ac_exeext
19655 if { (ac_try="$ac_link"
19656 case "(($ac_try" in
19657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19658 *) ac_try_echo
=$ac_try;;
19660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_link") 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19665 { (case "(($ac_try" in
19666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19667 *) ac_try_echo=$ac_try;;
19669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19670 (eval "$ac_try") 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19676 echo "$as_me: program exited with status $ac_status" >&5
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19680 ( exit $ac_status )
19681 ac_cv_header_stdc=no
19683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19689 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19690 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19691 if test $ac_cv_header_stdc = yes; then
19693 cat >>confdefs.h <<\_ACEOF
19694 #define STDC_HEADERS 1
19705 for ac_header in sys/stat.h sys/time.h unistd.h fcntl.h termios.h crypt.h
19707 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
19708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19709 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 ac_res=`eval echo '${'$as_ac_Header'}'`
19715 { echo "$as_me:$LINENO: result: $ac_res" >&5
19716 echo "${ECHO_T}$ac_res" >&6; }
19718 # Is the header compilable?
19719 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19721 cat >conftest.$ac_ext <<_ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 $ac_includes_default
19728 #include <$ac_header>
19730 rm -f conftest.$ac_objext
19731 if { (ac_try="$ac_compile"
19732 case "(($ac_try" in
19733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19734 *) ac_try_echo
=$ac_try;;
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_compile") 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && {
19744 test -z "$ac_c_werror_flag" ||
19745 test ! -s conftest.err
19746 } && test -s conftest.
$ac_objext; then
19747 ac_header_compiler
=yes
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.
$ac_ext >&5
19752 ac_header_compiler
=no
19755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19756 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19757 echo "${ECHO_T}$ac_header_compiler" >&6; }
19759 # Is the header present?
19760 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19762 cat >conftest.
$ac_ext <<_ACEOF
19765 cat confdefs.h
>>conftest.
$ac_ext
19766 cat >>conftest.
$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 #include <$ac_header>
19770 if { (ac_try
="$ac_cpp conftest.$ac_ext"
19771 case "(($ac_try" in
19772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19773 *) ac_try_echo=$ac_try;;
19775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19778 grep -v '^ *+' conftest.er1 >conftest.err
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } >/dev/null && {
19783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19784 test ! -s conftest.err
19786 ac_header_preproc=yes
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.$ac_ext >&5
19791 ac_header_preproc=no
19794 rm -f conftest.err conftest.$ac_ext
19795 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19796 echo "${ECHO_T}$ac_header_preproc" >&6; }
19798 # So? What about this header?
19799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19801 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19802 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19804 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19805 ac_header_preproc=yes
19808 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19809 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19810 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19811 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19812 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19813 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19814 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19815 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19818 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19819 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19821 ## -------------------------------------------------- ##
19822 ## Report this to courier-users@lists.sourceforge.net ##
19823 ## -------------------------------------------------- ##
19825 ) | sed "s/^/$as_me: WARNING: /" >&2
19828 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19830 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 eval "$as_ac_Header=\$ac_header_preproc"
19835 ac_res=`eval echo '${'$as_ac_Header'}'`
19836 { echo "$as_me:$LINENO: result: $ac_res" >&5
19837 echo "${ECHO_T}$ac_res" >&6; }
19840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19841 cat >>confdefs.h <<_ACEOF
19842 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
19849 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19850 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
19851 if test "${ac_cv_header_time+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 cat >conftest.$ac_ext <<_ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 #include <sys/types.h>
19861 #include <sys/time.h>
19867 if ((struct tm *) 0)
19873 rm -f conftest.$ac_objext
19874 if { (ac_try="$ac_compile"
19875 case "(($ac_try" in
19876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19877 *) ac_try_echo
=$ac_try;;
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_compile") 2>conftest.er1
19882 grep -v '^ *+' conftest.er1
>conftest.err
19884 cat conftest.err
>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); } && {
19887 test -z "$ac_c_werror_flag" ||
19888 test ! -s conftest.err
19889 } && test -s conftest.
$ac_objext; then
19890 ac_cv_header_time
=yes
19892 echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.
$ac_ext >&5
19895 ac_cv_header_time
=no
19898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19900 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19901 echo "${ECHO_T}$ac_cv_header_time" >&6; }
19902 if test $ac_cv_header_time = yes; then
19904 cat >>confdefs.h
<<\_ACEOF
19905 #define TIME_WITH_SYS_TIME 1
19911 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19912 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19913 if test "${ac_cv_c_const+set}" = set; then
19914 echo $ECHO_N "(cached) $ECHO_C" >&6
19916 cat >conftest.
$ac_ext <<_ACEOF
19919 cat confdefs.h
>>conftest.
$ac_ext
19920 cat >>conftest.
$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19926 /* FIXME: Include the comments suggested by Paul. */
19927 #ifndef __cplusplus
19928 /* Ultrix mips cc rejects this. */
19929 typedef int charset[2];
19931 /* SunOS 4.1.1 cc rejects this. */
19932 char const *const *pcpcc;
19934 /* NEC SVR4.0.2 mips cc rejects this. */
19935 struct point {int x, y;};
19936 static struct point const zero = {0,0};
19937 /* AIX XL C 1.02.0.0 rejects this.
19938 It does not let you subtract one const X* pointer from another in
19939 an arm of an if-expression whose if-part is not a constant
19941 const char *g = "string";
19942 pcpcc = &g + (g ? g-g : 0);
19943 /* HPUX 7.0 cc rejects these. */
19945 ppc = (char**) pcpcc;
19946 pcpcc = (char const *const *) ppc;
19947 { /* SCO 3.2v4 cc rejects this. */
19949 char const *s = 0 ? (char *) 0 : (char const *) 0;
19954 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19955 int x[] = {25, 17};
19956 const int *foo = &x[0];
19959 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19960 typedef const int *iptr;
19964 { /* AIX XL C 1.02.0.0 rejects this saying
19965 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19966 struct s { int j; const int *ap[3]; };
19967 struct s *b; b->j = 5;
19969 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19970 const int foo = 10;
19971 if (!foo) return 0;
19973 return !cs[0] && !zero.x;
19980 rm -f conftest.
$ac_objext
19981 if { (ac_try
="$ac_compile"
19982 case "(($ac_try" in
19983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19984 *) ac_try_echo=$ac_try;;
19986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19987 (eval "$ac_compile") 2>conftest.er1
19989 grep -v '^ *+' conftest.er1 >conftest.err
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } && {
19994 test -z "$ac_c_werror_flag" ||
19995 test ! -s conftest.err
19996 } && test -s conftest.$ac_objext; then
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20007 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20008 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20009 if test $ac_cv_c_const = no; then
20011 cat >>confdefs.h <<\_ACEOF
20017 { echo "$as_me:$LINENO: checking for pid_t" >&5
20018 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
20019 if test "${ac_cv_type_pid_t+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 cat >conftest.$ac_ext <<_ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20029 typedef pid_t ac__type_new_;
20033 if ((ac__type_new_ *) 0)
20035 if (sizeof (ac__type_new_))
20041 rm -f conftest.$ac_objext
20042 if { (ac_try="$ac_compile"
20043 case "(($ac_try" in
20044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20045 *) ac_try_echo
=$ac_try;;
20047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20048 (eval "$ac_compile") 2>conftest.er1
20050 grep -v '^ *+' conftest.er1
>conftest.err
20052 cat conftest.err
>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } && {
20055 test -z "$ac_c_werror_flag" ||
20056 test ! -s conftest.err
20057 } && test -s conftest.
$ac_objext; then
20058 ac_cv_type_pid_t
=yes
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.
$ac_ext >&5
20063 ac_cv_type_pid_t
=no
20066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20068 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20069 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20070 if test $ac_cv_type_pid_t = yes; then
20074 cat >>confdefs.h
<<_ACEOF
20080 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
20081 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
20082 if test "${ac_cv_type_uid_t+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 cat >conftest.
$ac_ext <<_ACEOF
20088 cat confdefs.h
>>conftest.
$ac_ext
20089 cat >>conftest.
$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 #include <sys/types.h>
20094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20095 $EGREP "uid_t" >/dev
/null
2>&1; then
20096 ac_cv_type_uid_t
=yes
20098 ac_cv_type_uid_t
=no
20103 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
20104 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
20105 if test $ac_cv_type_uid_t = no
; then
20107 cat >>confdefs.h
<<\_ACEOF
20112 cat >>confdefs.h
<<\_ACEOF
20118 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
20119 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
20120 if test "${ac_cv_type_signal+set}" = set; then
20121 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 cat >conftest.
$ac_ext <<_ACEOF
20126 cat confdefs.h
>>conftest.
$ac_ext
20127 cat >>conftest.
$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 #include <sys/types.h>
20130 #include <signal.h>
20135 return *(signal (0, 0)) (0) == 1;
20140 rm -f conftest.
$ac_objext
20141 if { (ac_try
="$ac_compile"
20142 case "(($ac_try" in
20143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20144 *) ac_try_echo=$ac_try;;
20146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20147 (eval "$ac_compile") 2>conftest.er1
20149 grep -v '^ *+' conftest.er1 >conftest.err
20151 cat conftest.err >&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } && {
20154 test -z "$ac_c_werror_flag" ||
20155 test ! -s conftest.err
20156 } && test -s conftest.$ac_objext; then
20157 ac_cv_type_signal=int
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20162 ac_cv_type_signal=void
20165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
20168 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
20170 cat >>confdefs.h <<_ACEOF
20171 #define RETSIGTYPE $ac_cv_type_signal
20177 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
20178 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
20179 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20182 ac_check_lib_save_LIBS=$LIBS
20183 LIBS="-lcrypt $LIBS"
20184 cat >conftest.$ac_ext <<_ACEOF
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20191 /* Override any GCC internal prototype to avoid an error.
20192 Use char because int might match the return type of a GCC
20193 builtin and then its argument prototype would still apply. */
20206 rm -f conftest.$ac_objext conftest$ac_exeext
20207 if { (ac_try="$ac_link"
20208 case "(($ac_try" in
20209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20210 *) ac_try_echo
=$ac_try;;
20212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20213 (eval "$ac_link") 2>conftest.er1
20215 grep -v '^ *+' conftest.er1
>conftest.err
20217 cat conftest.err
>&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } && {
20220 test -z "$ac_c_werror_flag" ||
20221 test ! -s conftest.err
20222 } && test -s conftest
$ac_exeext &&
20223 $as_test_x conftest
$ac_exeext; then
20224 ac_cv_lib_crypt_crypt
=yes
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.
$ac_ext >&5
20229 ac_cv_lib_crypt_crypt
=no
20232 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20233 conftest
$ac_exeext conftest.
$ac_ext
20234 LIBS
=$ac_check_lib_save_LIBS
20236 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
20237 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
20238 if test $ac_cv_lib_crypt_crypt = yes; then
20239 CRYPTLIBS
="-lcrypt"
20243 LIBS
="$CRYPTLIBS $LIBS"
20244 { echo "$as_me:$LINENO: checking for crypt" >&5
20245 echo $ECHO_N "checking for crypt... $ECHO_C" >&6; }
20246 if test "${ac_cv_func_crypt+set}" = set; then
20247 echo $ECHO_N "(cached) $ECHO_C" >&6
20249 cat >conftest.
$ac_ext <<_ACEOF
20252 cat confdefs.h
>>conftest.
$ac_ext
20253 cat >>conftest.
$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20255 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
20256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20257 #define crypt innocuous_crypt
20259 /* System header to define __stub macros and hopefully few prototypes,
20260 which can conflict with char crypt (); below.
20261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20262 <limits.h> exists even on freestanding compilers. */
20265 # include <limits.h>
20267 # include <assert.h>
20272 /* Override any GCC internal prototype to avoid an error.
20273 Use char because int might match the return type of a GCC
20274 builtin and then its argument prototype would still apply. */
20279 /* The GNU C library defines this for functions which it implements
20280 to always fail with ENOSYS. Some functions are actually named
20281 something starting with __ and the normal name is an alias. */
20282 #if defined __stub_crypt || defined __stub___crypt
20294 rm -f conftest.
$ac_objext conftest
$ac_exeext
20295 if { (ac_try
="$ac_link"
20296 case "(($ac_try" in
20297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20298 *) ac_try_echo=$ac_try;;
20300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20301 (eval "$ac_link") 2>conftest.er1
20303 grep -v '^ *+' conftest.er1 >conftest.err
20305 cat conftest.err >&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); } && {
20308 test -z "$ac_c_werror_flag" ||
20309 test ! -s conftest.err
20310 } && test -s conftest$ac_exeext &&
20311 $as_test_x conftest$ac_exeext; then
20312 ac_cv_func_crypt=yes
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20317 ac_cv_func_crypt=no
20320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20321 conftest$ac_exeext conftest.$ac_ext
20323 { echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
20324 echo "${ECHO_T}$ac_cv_func_crypt" >&6; }
20325 if test $ac_cv_func_crypt = yes; then
20327 cat >>confdefs.h <<_ACEOF
20328 #define HAVE_CRYPT 1
20334 { echo "$as_me:$LINENO: checking for crypt() prototype" >&5
20335 echo $ECHO_N "checking for crypt() prototype... $ECHO_C" >&6; }
20336 if test "${userdb_cv_NEED_CRYPT_PROTOTYPE+set}" = set; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 cat >conftest.$ac_ext <<_ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20350 #include <unistd.h>
20352 int crypt(int, int);
20363 rm -f conftest.$ac_objext
20364 if { (ac_try="$ac_compile"
20365 case "(($ac_try" in
20366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20367 *) ac_try_echo
=$ac_try;;
20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20370 (eval "$ac_compile") 2>conftest.er1
20372 grep -v '^ *+' conftest.er1
>conftest.err
20374 cat conftest.err
>&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); } && {
20377 test -z "$ac_c_werror_flag" ||
20378 test ! -s conftest.err
20379 } && test -s conftest.
$ac_objext; then
20380 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.
$ac_ext >&5
20385 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
20388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20392 { echo "$as_me:$LINENO: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
20393 echo "${ECHO_T}$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
20396 cat >>confdefs.h
<<_ACEOF
20397 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
20404 for ac_func
in isatty gettimeofday
20406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
20408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20409 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20412 cat >conftest.
$ac_ext <<_ACEOF
20415 cat confdefs.h
>>conftest.
$ac_ext
20416 cat >>conftest.
$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20420 #define $ac_func innocuous_$ac_func
20422 /* System header to define __stub macros and hopefully few prototypes,
20423 which can conflict with char $ac_func (); below.
20424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20425 <limits.h> exists even on freestanding compilers. */
20428 # include <limits.h>
20430 # include <assert.h>
20435 /* Override any GCC internal prototype to avoid an error.
20436 Use char because int might match the return type of a GCC
20437 builtin and then its argument prototype would still apply. */
20442 /* The GNU C library defines this for functions which it implements
20443 to always fail with ENOSYS. Some functions are actually named
20444 something starting with __ and the normal name is an alias. */
20445 #if defined __stub_$ac_func || defined __stub___$ac_func
20452 return $ac_func ();
20457 rm -f conftest.
$ac_objext conftest
$ac_exeext
20458 if { (ac_try
="$ac_link"
20459 case "(($ac_try" in
20460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20461 *) ac_try_echo=$ac_try;;
20463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20464 (eval "$ac_link") 2>conftest.er1
20466 grep -v '^ *+' conftest.er1 >conftest.err
20468 cat conftest.err >&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); } && {
20471 test -z "$ac_c_werror_flag" ||
20472 test ! -s conftest.err
20473 } && test -s conftest$ac_exeext &&
20474 $as_test_x conftest$ac_exeext; then
20475 eval "$as_ac_var=yes"
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.$ac_ext >&5
20480 eval "$as_ac_var=no"
20483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20484 conftest$ac_exeext conftest.$ac_ext
20486 ac_res=`eval echo '${'$as_ac_var'}'`
20487 { echo "$as_me:$LINENO: result: $ac_res" >&5
20488 echo "${ECHO_T}$ac_res" >&6; }
20489 if test `eval echo '${'$as_ac_var'}'` = yes; then
20490 cat >>confdefs.h <<_ACEOF
20491 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20499 # Check whether --with-random was given.
20500 if test "${with_random+set}" = set; then
20501 withval=$with_random; random="$withval"
20511 { echo "$as_me:$LINENO: checking for random source" >&5
20512 echo $ECHO_N "checking for random source... $ECHO_C" >&6; }
20513 if test "${userdb_cv_RANDOM+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20516 if test -c /dev/urandom
20518 userdb_cv_RANDOM=/dev/urandom
20520 if test -c /dev/random
20522 userdb_cv_RANDOM=/dev/random
20524 userdb_cv_RANDOM="none"
20529 { echo "$as_me:$LINENO: result: $userdb_cv_RANDOM" >&5
20530 echo "${ECHO_T}$userdb_cv_RANDOM" >&6; }
20531 random="$userdb_cv_RANDOM"
20538 if test "$random" != "none"
20541 cat >>confdefs.h <<_ACEOF
20542 #define RANDOM "$random"
20547 if test -d ${srcdir}/../docbook; then
20549 HAVE_SGML_FALSE='#'
20556 ac_config_files="$ac_config_files Makefile userdb.pl makeuserdb pw2userdb vchkpw2userdb"
20558 cat >confcache <<\_ACEOF
20559 # This file is a shell script that caches the results of configure
20560 # tests run on this system so they can be shared between configure
20561 # scripts and configure runs, see configure's option --config-cache.
20562 # It is not useful on other systems. If it contains results you don't
20563 # want to keep, you may remove or edit it.
20565 # config.status only pays attention to the cache file if you give it
20566 # the --recheck option to rerun configure.
20568 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20570 # following values.
20574 # The following way of writing the cache mishandles newlines in values,
20575 # but we know of no workaround that is simple, portable, and efficient.
20576 # So, we kill variables containing newlines.
20577 # Ultrix sh set writes to stderr and can't be redirected directly,
20578 # and sets the high bit in the cache file unless we assign to the vars.
20580 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20581 eval ac_val
=\$
$ac_var
20585 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20589 _ | IFS | as_nl
) ;; #(
20590 *) $as_unset $ac_var ;;
20596 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20597 *${as_nl}ac_space
=\
*)
20598 # `set' does not quote correctly, so add quotes (double-quote
20599 # substitution turns \\\\ into \\, and sed turns \\ into \).
20602 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20605 # `set' quotes correctly as required by POSIX, so do not add quotes.
20606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20617 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20619 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20620 if test -w "$cache_file"; then
20621 test "x$cache_file" != "x/dev/null" &&
20622 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20623 echo "$as_me: updating cache $cache_file" >&6;}
20624 cat confcache
>$cache_file
20626 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20627 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20632 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20633 # Let make expand exec_prefix.
20634 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20636 # Transform confdefs.h into DEFS.
20637 # Protect against shell expansion while executing Makefile rules.
20638 # Protect against Makefile macro expansion.
20640 # If the first sed substitution is executed (which looks for macros that
20641 # take arguments), then branch to the quote section. Otherwise,
20642 # look for a macro that doesn't take arguments.
20646 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
20648 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
20652 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
20665 DEFS
=`sed -n "$ac_script" confdefs.h`
20670 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20671 # 1. Remove the extension, and $U if already installed.
20672 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20673 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20674 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20675 # will be set to the directory where LIBOBJS objects are built.
20676 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20677 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20679 LIBOBJS
=$ac_libobjs
20681 LTLIBOBJS
=$ac_ltlibobjs
20684 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20685 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20686 Usually this means the macro was only invoked conditionally." >&5
20687 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20688 Usually this means the macro was only invoked conditionally." >&2;}
20689 { (exit 1); exit 1; }; }
20691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20692 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20693 Usually this means the macro was only invoked conditionally." >&5
20694 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20695 Usually this means the macro was only invoked conditionally." >&2;}
20696 { (exit 1); exit 1; }; }
20698 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20699 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20700 Usually this means the macro was only invoked conditionally." >&5
20701 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20702 Usually this means the macro was only invoked conditionally." >&2;}
20703 { (exit 1); exit 1; }; }
20705 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
20706 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
20707 Usually this means the macro was only invoked conditionally." >&5
20708 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
20709 Usually this means the macro was only invoked conditionally." >&2;}
20710 { (exit 1); exit 1; }; }
20713 : ${CONFIG_STATUS=./config.status}
20714 ac_clean_files_save
=$ac_clean_files
20715 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20716 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20717 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20718 cat >$CONFIG_STATUS <<_ACEOF
20720 # Generated by $as_me.
20721 # Run this file to recreate the current configuration.
20722 # Compiler output produced by configure, useful for debugging
20723 # configure, is in config.log if it exists.
20726 ac_cs_recheck=false
20728 SHELL=\${CONFIG_SHELL-$SHELL}
20731 cat >>$CONFIG_STATUS <<\_ACEOF
20732 ## --------------------- ##
20733 ## M4sh Initialization. ##
20734 ## --------------------- ##
20736 # Be more Bourne compatible
20737 DUALCASE
=1; export DUALCASE
# for MKS sh
20738 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20741 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20742 # is contrary to our usage. Disable this feature.
20743 alias -g '${1+"$@"}'='"$@"'
20744 setopt NO_GLOB_SUBST
20746 case `(set -o) 2>/dev/null` in
20747 *posix
*) set -o posix
;;
20756 # Avoid depending upon Character Ranges.
20757 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20758 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20759 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20760 as_cr_digits
='0123456789'
20761 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20763 # The user is always right.
20764 if test "${PATH_SEPARATOR+set}" != set; then
20765 echo "#! /bin/sh" >conf$$.sh
20766 echo "exit 0" >>conf$$.sh
20768 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20776 # Support unset when possible.
20777 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20785 # We need space, tab and new line, in precisely that order. Quoting is
20786 # there to prevent editors from complaining about space-tab.
20787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20788 # splitting by setting IFS to empty value.)
20793 # Find who we are. Look in the path if we contain no directory separator.
20795 *[\\/]* ) as_myself
=$0 ;;
20796 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20797 for as_dir
in $PATH
20800 test -z "$as_dir" && as_dir
=.
20801 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20807 # We did not find ourselves, most probably we were run as `sh COMMAND'
20808 # in which case we are not to be found in the path.
20809 if test "x$as_myself" = x
; then
20812 if test ! -f "$as_myself"; then
20813 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20814 { (exit 1); exit 1; }
20817 # Work around bugs in pre-3.0 UWIN ksh.
20818 for as_var
in ENV MAIL MAILPATH
20819 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20827 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20828 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20829 LC_TELEPHONE LC_TIME
20831 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20832 eval $as_var=C
; export $as_var
20834 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20838 # Required to use basename.
20839 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20840 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20846 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20847 as_basename
=basename
20853 # Name of the executable.
20854 as_me
=`$as_basename -- "$0" ||
20855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20856 X"$0" : 'X\(//\)$' \| \
20857 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20859 sed '/^.*\/\([^/][^/]*\)\/*$/{
20878 as_lineno_1
=$LINENO
20879 as_lineno_2
=$LINENO
20880 test "x$as_lineno_1" != "x$as_lineno_2" &&
20881 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20883 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20884 # uniformly replaced by the line number. The first 'sed' inserts a
20885 # line-number line after each line using $LINENO; the second 'sed'
20886 # does the real work. The second script uses 'N' to pair each
20887 # line-number line with the line containing $LINENO, and appends
20888 # trailing '-' during substitution so that $LINENO is not a special
20889 # case at line end.
20890 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20891 # scripts with optimization help from Paolo Bonzini. Blame Lee
20892 # E. McMahon (1931-1989) for sed's syntax. :-)
20904 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20907 ' >$as_me.lineno
&&
20908 chmod +x
"$as_me.lineno" ||
20909 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20910 { (exit 1); exit 1; }; }
20912 # Don't try to exec as it changes $[0], causing all sort of problems
20913 # (the dirname of $[0] is not the place where we might find the
20914 # original and so on. Autoconf is especially sensitive to this).
20915 .
"./$as_me.lineno"
20916 # Exit status is that of the last command.
20921 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20927 ECHO_C
= ECHO_N
= ECHO_T
=
20928 case `echo -n x` in
20930 case `echo 'x\c'` in
20931 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20938 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20939 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20945 rm -f conf$$ conf$$.exe conf$$.
file
20946 if test -d conf$$.dir
; then
20947 rm -f conf$$.dir
/conf$$.
file
20953 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20955 # ... but there are two gotchas:
20956 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20957 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20958 # In both cases, we have to default to `cp -p'.
20959 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20961 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20966 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20967 rmdir conf$$.dir
2>/dev
/null
20969 if mkdir
-p .
2>/dev
/null
; then
20972 test -d .
/-p && rmdir .
/-p
20976 if test -x / >/dev
/null
2>&1; then
20977 as_test_x
='test -x'
20979 if ls -dL / >/dev
/null
2>&1; then
20986 if test -d "$1"; then
20992 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20993 ???[sx]*):;;*)false;;esac;fi
20997 as_executable_p
=$as_test_x
20999 # Sed expression to map a string onto a valid CPP name.
21000 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21002 # Sed expression to map a string onto a valid variable name.
21003 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21008 # Save the log message, to keep $[0] and so on meaningful, and to
21009 # report actual input values of CONFIG_FILES etc. instead of their
21010 # values after options handling.
21012 This file was extended by libuserdb $as_me 0.10, which was
21013 generated by GNU Autoconf 2.61. Invocation command line was
21015 CONFIG_FILES = $CONFIG_FILES
21016 CONFIG_HEADERS = $CONFIG_HEADERS
21017 CONFIG_LINKS = $CONFIG_LINKS
21018 CONFIG_COMMANDS = $CONFIG_COMMANDS
21021 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21026 cat >>$CONFIG_STATUS <<_ACEOF
21027 # Files that config.status was made for.
21028 config_files="$ac_config_files"
21029 config_commands="$ac_config_commands"
21033 cat >>$CONFIG_STATUS <<\_ACEOF
21035 \`$as_me' instantiates files from templates according to the
21036 current configuration.
21038 Usage: $0 [OPTIONS] [FILE]...
21040 -h, --help print this help, then exit
21041 -V, --version print version number and configuration settings, then exit
21042 -q, --quiet do not print progress messages
21043 -d, --debug don't remove temporary files
21044 --recheck update $as_me by reconfiguring in the same conditions
21045 --file=FILE[:TEMPLATE]
21046 instantiate the configuration file FILE
21048 Configuration files:
21051 Configuration commands:
21054 Report bugs to <bug-autoconf@gnu.org>."
21057 cat >>$CONFIG_STATUS <<_ACEOF
21059 libuserdb config.status 0.10
21060 configured by $0, generated by GNU Autoconf 2.61,
21061 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21063 Copyright (C) 2006 Free Software Foundation, Inc.
21064 This config.status script is free software; the Free Software Foundation
21065 gives unlimited permission to copy, distribute and modify it."
21073 cat >>$CONFIG_STATUS <<\_ACEOF
21074 # If no file are specified by the user, then we need to provide default
21075 # value. By we need to know if files were specified by the user.
21081 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21082 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21093 # Handling of the options.
21094 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21096 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21097 echo "$ac_cs_version"; exit ;;
21098 --debug |
--debu |
--deb |
--de |
--d |
-d )
21100 --file |
--fil |
--fi |
--f )
21102 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21103 ac_need_defaults
=false
;;
21104 --he |
--h |
--help |
--hel |
-h )
21105 echo "$ac_cs_usage"; exit ;;
21106 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21107 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21110 # This is an error.
21111 -*) { echo "$as_me: error: unrecognized option: $1
21112 Try \`$0 --help' for more information." >&2
21113 { (exit 1); exit 1; }; } ;;
21115 *) ac_config_targets
="$ac_config_targets $1"
21116 ac_need_defaults
=false
;;
21122 ac_configure_extra_args
=
21124 if $ac_cs_silent; then
21126 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21130 cat >>$CONFIG_STATUS <<_ACEOF
21131 if \$ac_cs_recheck; then
21132 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21133 CONFIG_SHELL=$SHELL
21134 export CONFIG_SHELL
21135 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21139 cat >>$CONFIG_STATUS <<\_ACEOF
21143 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21144 ## Running $as_me. ##
21150 cat >>$CONFIG_STATUS <<_ACEOF
21154 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21158 cat >>$CONFIG_STATUS <<\_ACEOF
21160 # Handling of arguments.
21161 for ac_config_target
in $ac_config_targets
21163 case $ac_config_target in
21164 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21165 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21166 "userdb.pl") CONFIG_FILES
="$CONFIG_FILES userdb.pl" ;;
21167 "makeuserdb") CONFIG_FILES
="$CONFIG_FILES makeuserdb" ;;
21168 "pw2userdb") CONFIG_FILES
="$CONFIG_FILES pw2userdb" ;;
21169 "vchkpw2userdb") CONFIG_FILES
="$CONFIG_FILES vchkpw2userdb" ;;
21171 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21172 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21173 { (exit 1); exit 1; }; };;
21178 # If the user did not use the arguments to specify the items to instantiate,
21179 # then the envvar interface is used. Set only those that are not.
21180 # We use the long form for the default assignment because of an extremely
21181 # bizarre bug on SunOS 4.1.3.
21182 if $ac_need_defaults; then
21183 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21184 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21187 # Have a temporary directory for convenience. Make it in the build tree
21188 # simply because there is no reason against having it here, and in addition,
21189 # creating and moving files from /tmp can sometimes cause problems.
21190 # Hook for its removal unless debugging.
21191 # Note that there is a small window in which the directory will not be cleaned:
21192 # after its creation but before its name has been assigned to `$tmp'.
21196 trap 'exit_status=$?
21197 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21199 trap '{ (exit 1); exit 1; }' 1 2 13 15
21201 # Create a (secure) tmp directory for tmp files.
21204 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21205 test -n "$tmp" && test -d "$tmp"
21208 tmp
=.
/conf$$
-$RANDOM
21209 (umask 077 && mkdir
"$tmp")
21212 echo "$me: cannot create a temporary directory in ." >&2
21213 { (exit 1); exit 1; }
21217 # Set up the sed scripts for CONFIG_FILES section.
21220 # No need to generate the scripts if there are no CONFIG_FILES.
21221 # This happens for instance when ./config.status config.h
21222 if test -n "$CONFIG_FILES"; then
21229 for ac_last_try
in false false false false false
:; do
21230 cat >conf$
$subs.
sed <<_ACEOF
21231 SHELL!$SHELL$ac_delim
21232 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21233 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21234 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21235 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21236 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21237 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21238 exec_prefix!$exec_prefix$ac_delim
21239 prefix!$prefix$ac_delim
21240 program_transform_name!$program_transform_name$ac_delim
21241 bindir!$bindir$ac_delim
21242 sbindir!$sbindir$ac_delim
21243 libexecdir!$libexecdir$ac_delim
21244 datarootdir!$datarootdir$ac_delim
21245 datadir!$datadir$ac_delim
21246 sysconfdir!$sysconfdir$ac_delim
21247 sharedstatedir!$sharedstatedir$ac_delim
21248 localstatedir!$localstatedir$ac_delim
21249 includedir!$includedir$ac_delim
21250 oldincludedir!$oldincludedir$ac_delim
21251 docdir!$docdir$ac_delim
21252 infodir!$infodir$ac_delim
21253 htmldir!$htmldir$ac_delim
21254 dvidir!$dvidir$ac_delim
21255 pdfdir!$pdfdir$ac_delim
21256 psdir!$psdir$ac_delim
21257 libdir!$libdir$ac_delim
21258 localedir!$localedir$ac_delim
21259 mandir!$mandir$ac_delim
21260 DEFS!$DEFS$ac_delim
21261 ECHO_C!$ECHO_C$ac_delim
21262 ECHO_N!$ECHO_N$ac_delim
21263 ECHO_T!$ECHO_T$ac_delim
21264 LIBS!$LIBS$ac_delim
21265 build_alias!$build_alias$ac_delim
21266 host_alias!$host_alias$ac_delim
21267 target_alias!$target_alias$ac_delim
21268 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21269 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21270 INSTALL_DATA!$INSTALL_DATA$ac_delim
21271 am__isrc!$am__isrc$ac_delim
21272 CYGPATH_W!$CYGPATH_W$ac_delim
21273 PACKAGE!$PACKAGE$ac_delim
21274 VERSION!$VERSION$ac_delim
21275 ACLOCAL!$ACLOCAL$ac_delim
21276 AUTOCONF!$AUTOCONF$ac_delim
21277 AUTOMAKE!$AUTOMAKE$ac_delim
21278 AUTOHEADER!$AUTOHEADER$ac_delim
21279 MAKEINFO!$MAKEINFO$ac_delim
21280 install_sh!$install_sh$ac_delim
21281 STRIP!$STRIP$ac_delim
21282 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21283 mkdir_p!$mkdir_p$ac_delim
21285 SET_MAKE!$SET_MAKE$ac_delim
21286 am__leading_dot!$am__leading_dot$ac_delim
21287 AMTAR!$AMTAR$ac_delim
21288 am__tar!$am__tar$ac_delim
21289 am__untar!$am__untar$ac_delim
21291 CFLAGS!$CFLAGS$ac_delim
21292 LDFLAGS!$LDFLAGS$ac_delim
21293 CPPFLAGS!$CPPFLAGS$ac_delim
21294 ac_ct_CC!$ac_ct_CC$ac_delim
21295 EXEEXT!$EXEEXT$ac_delim
21296 OBJEXT!$OBJEXT$ac_delim
21297 DEPDIR!$DEPDIR$ac_delim
21298 am__include!$am__include$ac_delim
21299 am__quote!$am__quote$ac_delim
21300 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21301 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21302 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21303 CCDEPMODE!$CCDEPMODE$ac_delim
21304 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21305 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21306 LN_S!$LN_S$ac_delim
21307 build!$build$ac_delim
21308 build_cpu!$build_cpu$ac_delim
21309 build_vendor!$build_vendor$ac_delim
21310 build_os!$build_os$ac_delim
21311 host!$host$ac_delim
21312 host_cpu!$host_cpu$ac_delim
21313 host_vendor!$host_vendor$ac_delim
21314 host_os!$host_os$ac_delim
21316 GREP!$GREP$ac_delim
21317 EGREP!$EGREP$ac_delim
21318 ECHO!$ECHO$ac_delim
21320 RANLIB!$RANLIB$ac_delim
21323 CXXFLAGS!$CXXFLAGS$ac_delim
21324 ac_ct_CXX!$ac_ct_CXX$ac_delim
21325 CXXDEPMODE!$CXXDEPMODE$ac_delim
21326 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21327 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21330 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21332 elif $ac_last_try; then
21333 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21334 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21335 { (exit 1); exit 1; }; }
21337 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21341 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21342 if test -n "$ac_eof"; then
21343 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21344 ac_eof
=`expr $ac_eof + 1`
21347 cat >>$CONFIG_STATUS <<_ACEOF
21348 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21352 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21353 s/^/s,@/; s/!/@,|#_!!_#|/
21356 s/'"$ac_delim"'$/,g/; t
21358 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21359 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21360 rm -f conf$
$subs.
sed
21361 cat >>$CONFIG_STATUS <<_ACEOF
21367 for ac_last_try
in false false false false false
:; do
21368 cat >conf$
$subs.
sed <<_ACEOF
21369 CXXCPP!$CXXCPP$ac_delim
21371 FFLAGS!$FFLAGS$ac_delim
21372 ac_ct_F77!$ac_ct_F77$ac_delim
21373 LIBTOOL!$LIBTOOL$ac_delim
21374 PERL!$PERL$ac_delim
21375 userdb!$userdb$ac_delim
21376 USERDB!$USERDB$ac_delim
21377 userdbtmpdir!$userdbtmpdir$ac_delim
21378 tmpdir!$tmpdir$ac_delim
21379 makedat!$makedat$ac_delim
21380 MD5LIB!$MD5LIB$ac_delim
21381 SHA1LIB!$SHA1LIB$ac_delim
21382 HMACLIB!$HMACLIB$ac_delim
21383 CRYPTLIBS!$CRYPTLIBS$ac_delim
21384 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
21385 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
21386 LIBOBJS!$LIBOBJS$ac_delim
21387 LTLIBOBJS!$LTLIBOBJS$ac_delim
21390 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
21392 elif $ac_last_try; then
21393 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21394 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21395 { (exit 1); exit 1; }; }
21397 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21401 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21402 if test -n "$ac_eof"; then
21403 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21404 ac_eof
=`expr $ac_eof + 1`
21407 cat >>$CONFIG_STATUS <<_ACEOF
21408 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21409 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21412 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21413 s/^/s,@/; s/!/@,|#_!!_#|/
21416 s/'"$ac_delim"'$/,g/; t
21418 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21419 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21420 rm -f conf$
$subs.
sed
21421 cat >>$CONFIG_STATUS <<_ACEOF
21428 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21429 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21430 # trailing colons and then remove the whole line if VPATH becomes empty
21431 # (actually we leave an empty line to preserve line numbers).
21432 if test "x$srcdir" = x.
; then
21433 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21434 s/:*\$(srcdir):*/:/
21435 s/:*\${srcdir}:*/:/
21437 s/^\([^=]*=[ ]*\):*/\1/
21443 cat >>$CONFIG_STATUS <<\_ACEOF
21444 fi # test -n "$CONFIG_FILES"
21447 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
21450 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21452 case $ac_mode$ac_tag in
21454 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21455 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21456 { (exit 1); exit 1; }; };;
21457 :[FH
]-) ac_tag
=-:-;;
21458 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21475 -) ac_f
="$tmp/stdin";;
21476 *) # Look for the file first in the build tree, then in the source tree
21477 # (if the path is not absolute). The absolute path cannot be DOS-style,
21478 # because $ac_f cannot contain `:'.
21482 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21484 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21485 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21486 { (exit 1); exit 1; }; };;
21488 ac_file_inputs
="$ac_file_inputs $ac_f"
21491 # Let's still pretend it is `configure' which instantiates (i.e., don't
21492 # use $as_me), people would be surprised to read:
21493 # /* config.h. Generated by config.status. */
21494 configure_input
="Generated from "`IFS=:
21495 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21496 if test x
"$ac_file" != x-
; then
21497 configure_input
="$ac_file. $configure_input"
21498 { echo "$as_me:$LINENO: creating $ac_file" >&5
21499 echo "$as_me: creating $ac_file" >&6;}
21503 *:-:* |
*:-) cat >"$tmp/stdin";;
21508 ac_dir
=`$as_dirname -- "$ac_file" ||
21509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21510 X"$ac_file" : 'X\(//\)[^/]' \| \
21511 X"$ac_file" : 'X\(//\)$' \| \
21512 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21518 /^X\(\/\/\)[^/].*/{
21533 -*) as_dir
=.
/$as_dir;;
21535 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21539 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21540 *) as_qdir
=$as_dir;;
21542 as_dirs
="'$as_qdir' $as_dirs"
21543 as_dir
=`$as_dirname -- "$as_dir" ||
21544 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21545 X"$as_dir" : 'X\(//\)[^/]' \| \
21546 X"$as_dir" : 'X\(//\)$' \| \
21547 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21553 /^X\(\/\/\)[^/].*/{
21566 test -d "$as_dir" && break
21568 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21569 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21570 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21571 { (exit 1); exit 1; }; }; }
21575 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21577 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21578 # A ".." for each directory in $ac_dir_suffix.
21579 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21580 case $ac_top_builddir_sub in
21581 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21582 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21585 ac_abs_top_builddir
=$ac_pwd
21586 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21587 # for backward compatibility:
21588 ac_top_builddir
=$ac_top_build_prefix
21591 .
) # We are building in place.
21593 ac_top_srcdir
=$ac_top_builddir_sub
21594 ac_abs_top_srcdir
=$ac_pwd ;;
21595 [\\/]* | ?
:[\\/]* ) # Absolute name.
21596 ac_srcdir
=$srcdir$ac_dir_suffix;
21597 ac_top_srcdir
=$srcdir
21598 ac_abs_top_srcdir
=$srcdir ;;
21599 *) # Relative name.
21600 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21601 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21602 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21604 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21614 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21615 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21617 ac_MKDIR_P
=$MKDIR_P
21619 [\\/$
]* | ?
:[\\/]* ) ;;
21620 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21624 cat >>$CONFIG_STATUS <<\_ACEOF
21625 # If the template does not know about datarootdir, expand it.
21626 # FIXME: This hack should be removed a few years after 2.60.
21627 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21629 case `sed -n '/datarootdir/ {
21638 ' $ac_file_inputs` in
21639 *datarootdir
*) ac_datarootdir_seen
=yes;;
21640 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21641 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21642 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21644 cat >>$CONFIG_STATUS <<_ACEOF
21645 ac_datarootdir_hack='
21646 s&@datadir@&$datadir&g
21647 s&@docdir@&$docdir&g
21648 s&@infodir@&$infodir&g
21649 s&@localedir@&$localedir&g
21650 s&@mandir@&$mandir&g
21651 s&\\\${datarootdir}&$datarootdir&g' ;;
21655 # Neutralize VPATH when `$srcdir' = `.'.
21656 # Shell code in configure.ac might set extrasub.
21657 # FIXME: do we really want to maintain this feature?
21658 cat >>$CONFIG_STATUS <<_ACEOF
21662 cat >>$CONFIG_STATUS <<\_ACEOF
21664 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21665 s
&@configure_input@
&$configure_input&;t t
21666 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21667 s
&@srcdir@
&$ac_srcdir&;t t
21668 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21669 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21670 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21671 s
&@builddir@
&$ac_builddir&;t t
21672 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21673 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21674 s
&@INSTALL@
&$ac_INSTALL&;t t
21675 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21676 $ac_datarootdir_hack
21677 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21679 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21680 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21681 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21682 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21683 which seems to be undefined. Please make sure it is defined." >&5
21684 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21685 which seems to be undefined. Please make sure it is defined." >&2;}
21689 -) cat "$tmp/out"; rm -f "$tmp/out";;
21690 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21695 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21696 echo "$as_me: executing $ac_file commands" >&6;}
21701 case $ac_file$ac_mode in
21702 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
21703 # Strip MF so we end up with the name of the file.
21704 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
21705 # Check whether this is an Automake generated Makefile or not.
21706 # We used to match only the files named `Makefile.in', but
21707 # some people rename them; so instead we look at the file content.
21708 # Grep'ing the first line is not enough: some people post-process
21709 # each Makefile.in and add a new line on top of each file to say so.
21710 # Grep'ing the whole file is not good either: AIX grep has a line
21711 # limit of 2048, but all sed's we know have understand at least 4000.
21712 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
21713 dirpart
=`$as_dirname -- "$mf" ||
21714 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21715 X"$mf" : 'X\(//\)[^/]' \| \
21716 X"$mf" : 'X\(//\)$' \| \
21717 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21723 /^X\(\/\/\)[^/].*/{
21739 # Extract the definition of DEPDIR, am__include, and am__quote
21740 # from the Makefile without running `make'.
21741 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21742 test -z "$DEPDIR" && continue
21743 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21744 test -z "am__include" && continue
21745 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21746 # When using ansi2knr, U may be empty or an underscore; expand it
21747 U
=`sed -n 's/^U = //p' < "$mf"`
21748 # Find all dependency output files, they are included files with
21749 # $(DEPDIR) in their names. We invoke sed twice because it is the
21750 # simplest approach to changing $(DEPDIR) to its actual value in the
21752 for file in `sed -n "
21753 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21754 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21755 # Make sure the directory exists.
21756 test -f "$dirpart/$file" && continue
21757 fdir
=`$as_dirname -- "$file" ||
21758 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21759 X"$file" : 'X\(//\)[^/]' \| \
21760 X"$file" : 'X\(//\)$' \| \
21761 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21767 /^X\(\/\/\)[^/].*/{
21780 { as_dir
=$dirpart/$fdir
21782 -*) as_dir
=.
/$as_dir;;
21784 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21788 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21789 *) as_qdir
=$as_dir;;
21791 as_dirs
="'$as_qdir' $as_dirs"
21792 as_dir
=`$as_dirname -- "$as_dir" ||
21793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21794 X"$as_dir" : 'X\(//\)[^/]' \| \
21795 X"$as_dir" : 'X\(//\)$' \| \
21796 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21802 /^X\(\/\/\)[^/].*/{
21815 test -d "$as_dir" && break
21817 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21818 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21819 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21820 { (exit 1); exit 1; }; }; }
21821 # echo "creating $dirpart/$file"
21822 echo '# dummy' > "$dirpart/$file"
21831 { (exit 0); exit 0; }
21833 chmod +x
$CONFIG_STATUS
21834 ac_clean_files
=$ac_clean_files_save
21837 # configure is writing to config.log, and then calls config.status.
21838 # config.status does its own redirection, appending to config.log.
21839 # Unfortunately, on DOS this fails, as config.log is still kept open
21840 # by configure, so config.status won't be able to write to it; its
21841 # output is simply discarded. So we exec the FD to /dev/null,
21842 # effectively closing config.log, so it can be properly (re)opened and
21843 # appended to by config.status. When coming back to configure, we
21844 # need to make the FD available again.
21845 if test "$no_create" != yes; then
21847 ac_config_status_args
=
21848 test "$silent" = yes &&
21849 ac_config_status_args
="$ac_config_status_args --quiet"
21851 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21853 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21854 # would make configure fail if this is the last instruction.
21855 $ac_cs_success ||
{ (exit 1); exit 1; }