2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for courierlogger 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
='courierlogger'
730 PACKAGE_TARNAME
='courierlogger'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='courierlogger 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="logger.c"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
879 ac_precious_vars
='build_alias
896 # Initialize some variables set by options.
898 ac_init_version
=false
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name
=s
,x
,x
,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir
='${exec_prefix}/bin'
923 sbindir
='${exec_prefix}/sbin'
924 libexecdir
='${exec_prefix}/libexec'
925 datarootdir
='${prefix}/share'
926 datadir
='${datarootdir}'
927 sysconfdir
='${prefix}/etc'
928 sharedstatedir
='${prefix}/com'
929 localstatedir
='${prefix}/var'
930 includedir
='${prefix}/include'
931 oldincludedir
='/usr/include'
932 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir
='${datarootdir}/info'
938 libdir
='${exec_prefix}/lib'
939 localedir
='${datarootdir}/locale'
940 mandir
='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\
$ac_option
954 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
966 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
969 -build |
--build |
--buil |
--bui |
--bu)
970 ac_prev
=build_alias
;;
971 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
972 build_alias
=$ac_optarg ;;
974 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
975 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
976 ac_prev
=cache_file
;;
977 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
978 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
979 cache_file
=$ac_optarg ;;
982 cache_file
=config.cache
;;
984 -datadir |
--datadir |
--datadi |
--datad)
986 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
987 datadir
=$ac_optarg ;;
989 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
990 |
--dataroo |
--dataro |
--datar)
991 ac_prev
=datarootdir
;;
992 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
993 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
994 datarootdir
=$ac_optarg ;;
996 -disable-* |
--disable-*)
997 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1000 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1003 eval enable_
$ac_feature=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1022 eval enable_
$ac_feature=\
$ac_optarg ;;
1024 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1025 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1026 |
--exec |
--exe |
--ex)
1027 ac_prev
=exec_prefix
;;
1028 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1029 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1030 |
--exec=* |
--exe=* |
--ex=*)
1031 exec_prefix
=$ac_optarg ;;
1033 -gas |
--gas |
--ga |
--g)
1034 # Obsolete; use --with-gas.
1037 -help |
--help |
--hel |
--he |
-h)
1038 ac_init_help
=long
;;
1039 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1040 ac_init_help
=recursive
;;
1041 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1042 ac_init_help
=short
;;
1044 -host |
--host |
--hos |
--ho)
1045 ac_prev
=host_alias
;;
1046 -host=* |
--host=* |
--hos=* |
--ho=*)
1047 host_alias
=$ac_optarg ;;
1049 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1051 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1053 htmldir
=$ac_optarg ;;
1055 -includedir |
--includedir |
--includedi |
--included |
--include \
1056 |
--includ |
--inclu |
--incl |
--inc)
1057 ac_prev
=includedir
;;
1058 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1059 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1060 includedir
=$ac_optarg ;;
1062 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1064 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1065 infodir
=$ac_optarg ;;
1067 -libdir |
--libdir |
--libdi |
--libd)
1069 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1070 libdir
=$ac_optarg ;;
1072 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1073 |
--libexe |
--libex |
--libe)
1074 ac_prev
=libexecdir
;;
1075 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1076 |
--libexe=* |
--libex=* |
--libe=*)
1077 libexecdir
=$ac_optarg ;;
1079 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1080 ac_prev
=localedir
;;
1081 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1082 localedir
=$ac_optarg ;;
1084 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1085 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1086 ac_prev
=localstatedir
;;
1087 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1088 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1089 localstatedir
=$ac_optarg ;;
1091 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1093 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1094 mandir
=$ac_optarg ;;
1096 -nfp |
--nfp |
--nf)
1097 # Obsolete; use --without-fp.
1100 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1101 |
--no-cr |
--no-c |
-n)
1104 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1105 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1108 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1109 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1110 |
--oldin |
--oldi |
--old |
--ol |
--o)
1111 ac_prev
=oldincludedir
;;
1112 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1113 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1114 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1115 oldincludedir
=$ac_optarg ;;
1117 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1119 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1120 prefix
=$ac_optarg ;;
1122 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1123 |
--program-pre |
--program-pr |
--program-p)
1124 ac_prev
=program_prefix
;;
1125 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1126 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1127 program_prefix
=$ac_optarg ;;
1129 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1130 |
--program-suf |
--program-su |
--program-s)
1131 ac_prev
=program_suffix
;;
1132 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1133 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1134 program_suffix
=$ac_optarg ;;
1136 -program-transform-name |
--program-transform-name \
1137 |
--program-transform-nam |
--program-transform-na \
1138 |
--program-transform-n |
--program-transform- \
1139 |
--program-transform |
--program-transfor \
1140 |
--program-transfo |
--program-transf \
1141 |
--program-trans |
--program-tran \
1142 |
--progr-tra |
--program-tr |
--program-t)
1143 ac_prev
=program_transform_name
;;
1144 -program-transform-name=* |
--program-transform-name=* \
1145 |
--program-transform-nam=* |
--program-transform-na=* \
1146 |
--program-transform-n=* |
--program-transform-=* \
1147 |
--program-transform=* |
--program-transfor=* \
1148 |
--program-transfo=* |
--program-transf=* \
1149 |
--program-trans=* |
--program-tran=* \
1150 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1151 program_transform_name
=$ac_optarg ;;
1153 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1155 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1156 pdfdir
=$ac_optarg ;;
1158 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1160 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1164 |
-silent |
--silent |
--silen |
--sile |
--sil)
1167 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1169 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1171 sbindir
=$ac_optarg ;;
1173 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1174 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1175 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1177 ac_prev
=sharedstatedir
;;
1178 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1179 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1180 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1182 sharedstatedir
=$ac_optarg ;;
1184 -site |
--site |
--sit)
1186 -site=* |
--site=* |
--sit=*)
1189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1192 srcdir
=$ac_optarg ;;
1194 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1195 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1196 ac_prev
=sysconfdir
;;
1197 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1198 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1199 sysconfdir
=$ac_optarg ;;
1201 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1202 ac_prev
=target_alias
;;
1203 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1204 target_alias
=$ac_optarg ;;
1206 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1209 -version |
--version |
--versio |
--versi |
--vers |
-V)
1210 ac_init_version
=: ;;
1213 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 { echo "$as_me: error: invalid package name: $ac_package" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1219 eval with_
$ac_package=\
$ac_optarg ;;
1221 -without-* |
--without-*)
1222 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 { echo "$as_me: error: invalid package name: $ac_package" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1228 eval with_
$ac_package=no
;;
1231 # Obsolete; use --with-x.
1234 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1235 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1236 ac_prev
=x_includes
;;
1237 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1238 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1239 x_includes
=$ac_optarg ;;
1241 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1242 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1243 ac_prev
=x_libraries
;;
1244 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1245 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1246 x_libraries
=$ac_optarg ;;
1248 -*) { echo "$as_me: error: unrecognized option: $ac_option
1249 Try \`$0 --help' for more information." >&2
1250 { (exit 1); exit 1; }; }
1254 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1257 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1258 { (exit 1); exit 1; }; }
1259 eval $ac_envvar=\
$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1266 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1273 if test -n "$ac_prev"; then
1274 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1275 { echo "$as_me: error: missing argument to $ac_option" >&2
1276 { (exit 1); exit 1; }; }
1279 # Be sure to have absolute directory names.
1280 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val
=\$
$ac_var
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 { echo "$as_me: error: Working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$0" ||
1333 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$0" : 'X\(//\)[^/]' \| \
1335 X"$0" : 'X\(//\)$' \| \
1336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures courierlogger 0.10 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/courierlogger]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short | recursive
) echo "Configuration of courierlogger 0.10:";;
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-static[=PKGS
] build static libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1483 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1484 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1485 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1487 --with-tags[=TAGS
] include additional configurations
[automatic
]
1488 --with-syslog=XXX syslog facility
[MAIL
]
1490 Some influential environment variables
:
1491 CC C compiler
command
1492 CFLAGS C compiler flags
1493 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1494 nonstandard directory
<lib dir
>
1495 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1496 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1497 you have headers
in a nonstandard directory
<include dir
>
1499 CXX C
++ compiler
command
1500 CXXFLAGS C
++ compiler flags
1501 CXXCPP C
++ preprocessor
1502 F77 Fortran
77 compiler
command
1503 FFLAGS Fortran
77 compiler flags
1505 Use these variables to override the choices made by
`configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to <courier-users@lists.sourceforge.net>.
1513 if test "$ac_init_help" = "recursive"; then
1514 # If there are subdirs, report their specific --help.
1515 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516 test -d "$ac_dir" || continue
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 courierlogger configure 0.10
1570 generated by GNU Autoconf 2.61
1572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1573 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1579 cat >config.log <<_ACEOF
1580 This file contains any messages produced by compilers while
1581 running configure, to aid debugging if configure makes a mistake.
1583 It was created by courierlogger $as_me 0.10, which was
1584 generated by GNU Autoconf 2.61. Invocation command line was
1596 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1597 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1598 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1599 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1600 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1602 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1603 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1605 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1606 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1607 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1609 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1610 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1611 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 echo "PATH: $as_dir"
1636 # Keep a trace of the command line.
1637 # Strip out --no-create and --no-recursion so they do not pile up.
1638 # Strip out --silent because we don't want to record it for future runs.
1639 # Also quote any args containing shell meta-characters.
1640 # Make two passes to allow for proper duplicate-argument suppression.
1644 ac_must_keep_next=false
1650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1652 | -silent | --silent | --silen | --sile | --sil)
1655 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1658 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1660 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1661 if test $ac_must_keep_next = true; then
1662 ac_must_keep_next=false # Got value, back to normal.
1665 *=* | --config-cache | -C | -disable-* | --disable-* \
1666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1668 | -with-* | --with-* | -without-* | --without-* | --x)
1669 case "$ac_configure_args0 " in
1670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1673 -* ) ac_must_keep_next=true ;;
1676 ac_configure_args="$ac_configure_args '$ac_arg'"
1681 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1682 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1684 # When interrupted or exit'd, cleanup temporary files, and complete
1685 # config.log. We remove comments because anyway the quotes in there
1686 # would cause problems or look ugly.
1687 # WARNING: Use '\'' to represent an apostrophe within the trap.
1688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1689 trap 'exit_status=$?
1690 # Save into config.log some information that might help in debugging.
1695 ## ---------------- ##
1696 ## Cache variables. ##
1697 ## ---------------- ##
1700 # The following way of writing the cache mishandles newlines in values,
1702 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1703 eval ac_val=\$$ac_var
1707 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1708 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1711 _ | IFS | as_nl) ;; #(
1712 *) $as_unset $ac_var ;;
1717 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1718 *${as_nl}ac_space=\ *)
1720 "s/'\''/'\''\\\\'\'''\''/g;
1721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1732 ## ----------------- ##
1733 ## Output variables. ##
1734 ## ----------------- ##
1737 for ac_var in $ac_subst_vars
1739 eval ac_val=\$$ac_var
1741 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743 echo "$ac_var='\''$ac_val'\''"
1747 if test -n "$ac_subst_files"; then
1749 ## ------------------- ##
1750 ## File substitutions. ##
1751 ## ------------------- ##
1754 for ac_var in $ac_subst_files
1756 eval ac_val=\$$ac_var
1758 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 echo "$ac_var='\''$ac_val'\''"
1765 if test -s confdefs.h; then
1775 test "$ac_signal" != 0 &&
1776 echo "$as_me: caught signal $ac_signal"
1777 echo "$as_me: exit $exit_status"
1779 rm -f core *.core core.conftest.* &&
1780 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1783 for ac_signal in 1 2 13 15; do
1784 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1788 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1789 rm -f -r conftest* confdefs.h
1791 # Predefined preprocessor variables.
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_NAME "$PACKAGE_NAME"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_STRING "$PACKAGE_STRING"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1818 # Let the site file select an alternate cache file if it wants to.
1819 # Prefer explicitly selected file to automatically selected ones.
1820 if test -n "$CONFIG_SITE"; then
1821 set x "$CONFIG_SITE"
1822 elif test "x$prefix" != xNONE; then
1823 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1825 set x "$ac_default_prefix/share/config.site" \
1826 "$ac_default_prefix/etc/config.site"
1831 if test -r "$ac_site_file"; then
1832 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1833 echo "$as_me: loading site script $ac_site_file" >&6;}
1834 sed 's/^/| /' "$ac_site_file" >&5
1839 if test -r "$cache_file"; then
1840 # Some versions of bash will fail to source /dev/null (special
1841 # files actually), so we avoid doing that.
1842 if test -f "$cache_file"; then
1843 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1844 echo "$as_me: loading cache $cache_file" >&6;}
1846 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1847 *) . "./$cache_file";;
1851 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1852 echo "$as_me: creating cache $cache_file" >&6;}
1856 # Check that the precious variables saved in the cache have kept the same
1858 ac_cache_corrupted=false
1859 for ac_var in $ac_precious_vars; do
1860 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1861 eval ac_new_set=\$ac_env_${ac_var}_set
1862 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1863 eval ac_new_val=\$ac_env_${ac_var}_value
1864 case $ac_old_set,$ac_new_set in
1866 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1867 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1868 ac_cache_corrupted=: ;;
1870 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1871 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1872 ac_cache_corrupted=: ;;
1875 if test "x$ac_old_val" != "x$ac_new_val"; then
1876 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1877 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1878 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1879 echo "$as_me: former value
: $ac_old_val" >&2;}
1880 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1881 echo "$as_me: current value
: $ac_new_val" >&2;}
1882 ac_cache_corrupted=:
1885 # Pass precious variables to config.status.
1886 if test "$ac_new_set" = set; then
1888 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1889 *) ac_arg=$ac_var=$ac_new_val ;;
1891 case " $ac_configure_args " in
1892 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1893 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1897 if $ac_cache_corrupted; then
1898 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1899 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1900 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1901 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1902 { (exit 1); exit 1; }; }
1930 ac_cpp='$CPP $CPPFLAGS'
1931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1937 >confdefs.h # Kill PACKAGE_ macros.
1938 LPATH="$PATH:/usr/local/bin"
1940 am__api_version='1.10'
1943 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1944 if test -f "$ac_dir/install-sh"; then
1946 ac_install_sh="$ac_aux_dir/install-sh -c"
1948 elif test -f "$ac_dir/install.sh"; then
1950 ac_install_sh="$ac_aux_dir/install.sh -c"
1952 elif test -f "$ac_dir/shtool"; then
1954 ac_install_sh="$ac_aux_dir/shtool install -c"
1958 if test -z "$ac_aux_dir"; then
1959 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1960 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1973 # Find a good install program. We prefer a C program (faster),
1974 # so one script is as good as another. But avoid the broken or
1975 # incompatible versions:
1976 # SysV /etc/install, /usr/sbin/install
1977 # SunOS /usr/etc/install
1978 # IRIX /sbin/install
1980 # AmigaOS /C/install, which installs bootblocks on floppy discs
1981 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1982 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1983 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1984 # OS/2's system install, which has a completely different semantic
1985 # ./install, which can be erroneously created by make from ./install.sh.
1986 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1987 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1988 if test -z "$INSTALL"; then
1989 if test "${ac_cv_path_install+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 # Account for people who put trailing slashes in PATH elements.
1999 ./ | .// | /cC/* | \
2000 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2001 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2004 # OSF1 and SCO ODT 3.0 have their own names for install.
2005 # Don't use installbsd from OSF since it installs stuff as root
2007 for ac_prog in ginstall scoinst install; do
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2010 if test $ac_prog = install &&
2011 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012 # AIX install. It has an incompatible calling convention.
2014 elif test $ac_prog = install &&
2015 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2016 # program-specific install script used by HP pwplus--don't use.
2019 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2032 if test "${ac_cv_path_install+set}" = set; then
2033 INSTALL=$ac_cv_path_install
2035 # As a last resort, use the slow shell script. Don't cache a
2036 # value for INSTALL within a source directory, because that will
2037 # break other packages using the cache if that directory is
2038 # removed, or if the value is a relative name.
2039 INSTALL=$ac_install_sh
2042 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2043 echo "${ECHO_T}$INSTALL" >&6; }
2045 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2046 # It thinks the first close brace ends the variable substitution.
2047 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2049 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2051 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2053 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2054 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2057 echo timestamp > conftest.file
2058 # Do `set' in a subshell so we don't clobber the current shell
's
2059 # arguments. Must try -L first in case configure is actually a
2060 # symlink; some systems play weird games with the mod time of symlinks
2061 # (eg FreeBSD returns the mod time of the symlink's containing
2064 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2065 if test "$*" = "X"; then
2067 set X
`ls -t $srcdir/configure conftest.file`
2070 if test "$*" != "X $srcdir/configure conftest.file" \
2071 && test "$*" != "X conftest.file $srcdir/configure"; then
2073 # If neither matched, then we have a broken ls. This can happen
2074 # if, for instance, CONFIG_SHELL is bash and it inherits a
2075 # broken ls alias from the environment. This has actually
2076 # happened. Such a system could not be considered "sane".
2077 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2078 alias in your environment" >&5
2079 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2080 alias in your environment" >&2;}
2081 { (exit 1); exit 1; }; }
2084 test "$2" = conftest.
file
2090 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2091 Check your system clock" >&5
2092 echo "$as_me: error: newly created file is older than distributed files!
2093 Check your system clock" >&2;}
2094 { (exit 1); exit 1; }; }
2096 { echo "$as_me:$LINENO: result: yes" >&5
2097 echo "${ECHO_T}yes" >&6; }
2098 test "$program_prefix" != NONE
&&
2099 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2100 # Use a double $ so make ignores it.
2101 test "$program_suffix" != NONE
&&
2102 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2103 # Double any \ or $. echo might interpret backslashes.
2104 # By default was `s,x,x', remove it if useless.
2105 cat <<\_ACEOF
>conftest.
sed
2106 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2108 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2111 # expand $ac_aux_dir to an absolute path
2112 am_aux_dir
=`cd $ac_aux_dir && pwd`
2114 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2115 # Use eval to expand $SHELL
2116 if eval "$MISSING --run true"; then
2117 am_missing_run
="$MISSING --run "
2120 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2121 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2124 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2125 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2126 if test -z "$MKDIR_P"; then
2127 if test "${ac_cv_path_mkdir+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_prog
in mkdir gmkdir
; do
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2138 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2139 'mkdir (GNU coreutils) '* | \
2140 'mkdir (coreutils) '* | \
2141 'mkdir (fileutils) '4.1*)
2142 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2152 if test "${ac_cv_path_mkdir+set}" = set; then
2153 MKDIR_P
="$ac_cv_path_mkdir -p"
2155 # As a last resort, use the slow shell script. Don't cache a
2156 # value for MKDIR_P within a source directory, because that will
2157 # break other packages using the cache if that directory is
2158 # removed, or if the value is a relative name.
2159 test -d .
/--version && rmdir .
/--version
2160 MKDIR_P
="$ac_install_sh -d"
2163 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2164 echo "${ECHO_T}$MKDIR_P" >&6; }
2168 [\\/$
]* | ?
:[\\/]*) ;;
2169 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2172 for ac_prog
in gawk mawk nawk
awk
2174 # Extract the first word of "$ac_prog", so it can be a program name with args.
2175 set dummy
$ac_prog; ac_word
=$2
2176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 if test "${ac_cv_prog_AWK+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$AWK"; then
2182 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_AWK
="$ac_prog"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test -n "$AWK"; then
2203 { echo "$as_me:$LINENO: result: $AWK" >&5
2204 echo "${ECHO_T}$AWK" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2211 test -n "$AWK" && break
2214 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2215 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2216 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2217 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 cat >conftest.
make <<\_ACEOF
2223 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2228 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2230 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2234 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2235 { echo "$as_me:$LINENO: result: yes" >&5
2236 echo "${ECHO_T}yes" >&6; }
2239 { echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6; }
2241 SET_MAKE
="MAKE=${MAKE-make}"
2244 rm -rf .tst
2>/dev
/null
2245 mkdir .tst
2>/dev
/null
2246 if test -d .tst
; then
2251 rmdir .tst
2>/dev
/null
2253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2254 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2255 # is not polluted with repeated "-I."
2256 am__isrc
=' -I$(srcdir)'
2257 # test to see if srcdir already configured
2258 if test -f $srcdir/config.status
; then
2259 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2260 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2261 { (exit 1); exit 1; }; }
2265 # test whether we have cygpath
2266 if test -z "$CYGPATH_W"; then
2267 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2268 CYGPATH_W
='cygpath -w'
2275 # Define the identity of the package.
2276 PACKAGE
='courierlogger'
2280 # Some tools Automake needs.
2282 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2285 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2288 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2291 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2294 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2298 # Installed binaries are usually stripped using `strip' when the user
2299 # run `make install-strip'. However `strip' might not be the right
2300 # tool to use in cross-compilation environments, therefore Automake
2301 # will honor the `STRIP' environment variable to overrule this program.
2302 if test "$cross_compiling" != no
; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_prog_STRIP+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$STRIP"; then
2312 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 STRIP
=$ac_cv_prog_STRIP
2332 if test -n "$STRIP"; then
2333 { echo "$as_me:$LINENO: result: $STRIP" >&5
2334 echo "${ECHO_T}$STRIP" >&6; }
2336 { echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6; }
2342 if test -z "$ac_cv_prog_STRIP"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip
; ac_word
=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$ac_ct_STRIP"; then
2352 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_STRIP
="strip"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2372 if test -n "$ac_ct_STRIP"; then
2373 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2374 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2380 if test "x$ac_ct_STRIP" = x
; then
2383 case $cross_compiling:$ac_tool_warned in
2385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386 whose name does not start with the host triplet. If you think this
2387 configuration is useful to you, please write to autoconf@gnu.org." >&5
2388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2391 ac_tool_warned
=yes ;;
2396 STRIP
="$ac_cv_prog_STRIP"
2400 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2402 # We need awk for the "check" target. The system "awk" is bad on
2404 # Always define AMTAR for backward compatibility.
2406 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2408 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 ac_config_headers
="$ac_config_headers config.h"
2418 ac_cpp
='$CPP $CPPFLAGS'
2419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$ac_cv_prog_CC"; then
2463 # Extract the first word of "gcc", so it can be a program name with args.
2464 set dummy gcc
; ac_word
=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$ac_ct_CC"; then
2471 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_CC
="gcc"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2493 echo "${ECHO_T}$ac_ct_CC" >&6; }
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2499 if test "x$ac_ct_CC" = x
; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned
=yes ;;
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2521 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC
="$CC" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$CC"; then
2549 { echo "$as_me:$LINENO: result: $CC" >&5
2550 echo "${ECHO_T}$CC" >&6; }
2552 { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2559 if test -z "$CC"; then
2560 # Extract the first word of "cc", so it can be a program name with args.
2561 set dummy cc
; ac_word
=$2
2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2564 if test "${ac_cv_prog_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$CC"; then
2568 ac_cv_prog_CC
="$CC" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2579 ac_prog_rejected
=yes
2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test $ac_prog_rejected = yes; then
2591 # We found a bogon in the path, so make sure we never use it.
2592 set dummy
$ac_cv_prog_CC
2594 if test $# != 0; then
2595 # We chose a different compiler from the bogus one.
2596 # However, it has the same basename, so the bogon will be chosen
2597 # first if we set CC to just the basename; use the full file name.
2599 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2605 if test -n "$CC"; then
2606 { echo "$as_me:$LINENO: result: $CC" >&5
2607 echo "${ECHO_T}$CC" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 for ac_prog
in cl.exe
2619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2623 if test "${ac_cv_prog_CC+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC
="$CC" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { echo "$as_me:$LINENO: result: $CC" >&5
2649 echo "${ECHO_T}$CC" >&6; }
2651 { echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6; }
2656 test -n "$CC" && break
2659 if test -z "$CC"; then
2661 for ac_prog
in cl.exe
2663 # Extract the first word of "$ac_prog", so it can be a program name with args.
2664 set dummy
$ac_prog; ac_word
=$2
2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_ac_ct_CC
="$ac_prog"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2691 if test -n "$ac_ct_CC"; then
2692 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693 echo "${ECHO_T}$ac_ct_CC" >&6; }
2695 { echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6; }
2700 test -n "$ac_ct_CC" && break
2703 if test "x$ac_ct_CC" = x
; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&5
2711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2712 whose name does not start with the host triplet. If you think this
2713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2714 ac_tool_warned
=yes ;;
2723 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: no acceptable C compiler found in \$PATH
2726 See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }
2729 # Provide some information about the compiler.
2730 echo "$as_me:$LINENO: checking for C compiler version" >&5
2731 ac_compiler
=`set X $ac_compile; echo $2`
2732 { (ac_try
="$ac_compiler --version >&5"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compiler --version >&5") 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }
2742 { (ac_try="$ac_compiler -v >&5"
2744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2745 *) ac_try_echo
=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compiler -v >&5") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2752 { (ac_try
="$ac_compiler -V >&5"
2754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_compiler -V >&5") 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2763 cat >conftest.$ac_ext <<_ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2778 ac_clean_files_save=$ac_clean_files
2779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2780 # Try to create an executable without -o first, disregard a.out.
2781 # It will help us diagnose broken compilers, and finding out an intuition
2783 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2785 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2787 # List of possible output files, starting from the most likely.
2788 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2789 # only as a last resort. b.out is created by i960 compilers.
2790 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2792 # The IRIX 6 linker writes into existing files which may not be
2793 # executable, retaining their permissions. Remove them first so a
2794 # subsequent execution test works.
2796 for ac_file in $ac_files
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2800 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2805 if { (ac_try="$ac_link_default"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_link_default") 2>&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; then
2815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2818 # so that the user can short-circuit this test for compilers unknown to
2820 for ac_file
in $ac_files ''
2822 test -f "$ac_file" ||
continue
2824 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2827 # We found the default executable, but exeext='' is most
2831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2833 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 # We set ac_cv_exeext here because the later test for it is not
2836 # safe: cross compilers may not add the suffix if given an `-o'
2837 # argument, so we may need to know it at that point already.
2838 # Even if this section looks crufty: it has the advantage of
2845 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2851 { echo "$as_me:$LINENO: result: $ac_file" >&5
2852 echo "${ECHO_T}$ac_file" >&6; }
2853 if test -z "$ac_file"; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: C compiler cannot create executables
2860 See \`config.log' for more details." >&2;}
2861 { (exit 77); exit 77; }; }
2864 ac_exeext
=$ac_cv_exeext
2866 # Check that the compiler produces executables we can run. If not, either
2867 # the compiler is broken, or we cross compile.
2868 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2871 # If not cross compiling, check that we can run a simple program.
2872 if test "$cross_compiling" != yes; then
2873 if { ac_try
='./$ac_file'
2874 { (case "(($ac_try" in
2875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_try") 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 if test "$cross_compiling" = maybe; then
2888 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details.
" >&5
2891 echo "$as_me: error
: cannot run C compiled programs.
2892 If you meant to cross compile
, use \
`--host'.
2893 See \`config.log
' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2898 { echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6; }
2901 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2902 ac_clean_files=$ac_clean_files_save
2903 # Check that the compiler produces executables we can run. If not, either
2904 # the compiler is broken, or we cross compile.
2905 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2906 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2907 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2908 echo "${ECHO_T}$cross_compiling" >&6; }
2910 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2911 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2912 if { (ac_try="$ac_link"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_link") 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; then
2922 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2923 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2924 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2926 for ac_file
in conftest.exe conftest conftest.
*; do
2927 test -f "$ac_file" ||
continue
2929 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2930 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2937 See \`config.log' for more details." >&5
2938 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2939 See \`config.log' for more details." >&2;}
2940 { (exit 1); exit 1; }; }
2943 rm -f conftest
$ac_cv_exeext
2944 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2945 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2947 rm -f conftest.
$ac_ext
2948 EXEEXT
=$ac_cv_exeext
2950 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2951 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2952 if test "${ac_cv_objext+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 cat >conftest.
$ac_ext <<_ACEOF
2958 cat confdefs.h
>>conftest.
$ac_ext
2959 cat >>conftest.
$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2970 rm -f conftest.o conftest.obj
2971 if { (ac_try
="$ac_compile"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_compile") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; then
2981 for ac_file in conftest.o conftest.obj conftest.*; do
2982 test -f "$ac_file" || continue;
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2994 See \`config.log
' for more details." >&5
2995 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2996 See \`config.log' for more details.
" >&2;}
2997 { (exit 1); exit 1; }; }
3000 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3002 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3003 echo "${ECHO_T}$ac_cv_objext" >&6; }
3004 OBJEXT=$ac_cv_objext
3006 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3007 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3009 echo $ECHO_N "(cached
) $ECHO_C" >&6
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3029 rm -f conftest.$ac_objext
3030 if { (ac_try="$ac_compile"
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3036 (eval "$ac_compile") 2>conftest.er1
3038 grep -v '^ *+' conftest.er1 >conftest.err
3040 cat conftest.err >&5
3041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3042 (exit $ac_status); } && {
3043 test -z "$ac_c_werror_flag" ||
3044 test ! -s conftest.err
3045 } && test -s conftest.$ac_objext; then
3048 echo "$as_me: failed program was
:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3058 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3059 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3060 GCC=`test $ac_compiler_gnu = yes && echo yes`
3061 ac_test_CFLAGS=${CFLAGS+set}
3062 ac_save_CFLAGS=$CFLAGS
3063 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3064 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_g+set}" = set; then
3066 echo $ECHO_N "(cached
) $ECHO_C" >&6
3068 ac_save_c_werror_flag=$ac_c_werror_flag
3069 ac_c_werror_flag=yes
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 echo "$as_me: failed program was
:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3144 echo "$as_me: failed program was
:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was
:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3199 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3200 if test "$ac_test_CFLAGS" = set; then
3201 CFLAGS=$ac_save_CFLAGS
3202 elif test $ac_cv_prog_cc_g = yes; then
3203 if test "$GCC" = yes; then
3209 if test "$GCC" = yes; then
3215 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3216 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3217 if test "${ac_cv_prog_cc_c89+set}" = set; then
3218 echo $ECHO_N "(cached
) $ECHO_C" >&6
3220 ac_cv_prog_cc_c89=no
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3230 #include <sys/types.h>
3231 #include <sys/stat.h>
3232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3233 struct buf { int x; };
3234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3235 static char *e (p, i)
3241 static char *f (char * (*g) (char **, int), char **p, ...)
3246 s = g (p, va_arg (v,int));
3251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3252 function prototypes and stuff, but not '\xHH' hex character constants.
3253 These don't provoke an error unfortunately, instead are silently treated
3254 as 'x'. The following induces an error, until -std is added to get
3255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3256 array size at least. It's necessary to write '\x00'==0 to get something
3257 that's true only with -std. */
3258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3261 inside strings and character constants. */
3263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3265 int test (int i, double x);
3266 struct s1 {int (*f) (int a);};
3267 struct s2 {int (*f) (double a);};
3268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3282 CC="$ac_save_CC $ac_arg"
3283 rm -f conftest.$ac_objext
3284 if { (ac_try="$ac_compile"
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_compile") 2>conftest.er1
3292 grep -v '^ *+' conftest.er1 >conftest.err
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3296 (exit $ac_status); } && {
3297 test -z "$ac_c_werror_flag" ||
3298 test ! -s conftest.err
3299 } && test -s conftest.$ac_objext; then
3300 ac_cv_prog_cc_c89=$ac_arg
3302 echo "$as_me: failed program was
:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3311 rm -f conftest.$ac_ext
3316 case "x
$ac_cv_prog_cc_c89" in
3318 { echo "$as_me:$LINENO: result
: none needed
" >&5
3319 echo "${ECHO_T}none needed
" >&6; } ;;
3321 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3322 echo "${ECHO_T}unsupported
" >&6; } ;;
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3326 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335 DEPDIR="${am__leading_dot}deps
"
3337 ac_config_commands="$ac_config_commands depfiles
"
3340 am_make=${MAKE-make}
3341 cat > confinc << 'END'
3346 # If we don't find an include directive, just comment out the code.
3347 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3348 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3352 # First try GNU make style include.
3353 echo "include confinc" > confmf
3354 # We grep out `Entering directory' and `Leaving directory'
3355 # messages which can occur if `w' ends up in MAKEFLAGS.
3356 # In particular we don't look at `^make:' because GNU make might
3357 # be invoked under some other name (usually "gmake"), in which
3358 # case it prints its new name instead of `make'.
3359 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3364 # Now try BSD make style include.
3365 if test "$am__include" = "#"; then
3366 echo '.include "confinc"' > confmf
3367 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3368 am__include
=.include
3375 { echo "$as_me:$LINENO: result: $_am_result" >&5
3376 echo "${ECHO_T}$_am_result" >&6; }
3377 rm -f confinc confmf
3379 # Check whether --enable-dependency-tracking was given.
3380 if test "${enable_dependency_tracking+set}" = set; then
3381 enableval
=$enable_dependency_tracking;
3384 if test "x$enable_dependency_tracking" != xno
; then
3385 am_depcomp
="$ac_aux_dir/depcomp"
3388 if test "x$enable_dependency_tracking" != xno; then
3398 depcc
="$CC" am_compiler_list
=
3400 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3401 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3402 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3403 echo $ECHO_N "(cached) $ECHO_C" >&6
3405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3406 # We make a subdir and do the tests there. Otherwise we can end up
3407 # making bogus files that we don't know about and never remove. For
3408 # instance it was reported that on HP-UX the gcc test will end up
3409 # making a dummy file named `D' -- because `-MD' means `put the output
3412 # Copy depcomp to subdir because otherwise we won't find it if we're
3413 # using a relative directory.
3414 cp "$am_depcomp" conftest.dir
3416 # We will build objects and dependencies in a subdirectory because
3417 # it helps to detect inapplicable dependency modes. For instance
3418 # both Tru64's cc and ICC support -MD to output dependencies as a
3419 # side effect of compilation, but ICC will put the dependencies in
3420 # the current directory while Tru64 will put them in the object
3424 am_cv_CC_dependencies_compiler_type
=none
3425 if test "$am_compiler_list" = ""; then
3426 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3428 for depmode
in $am_compiler_list; do
3429 # Setup a source with many dependencies, because some compilers
3430 # like to wrap large dependency lists on column 80 (with \), and
3431 # we should not choose a depcomp mode which is confused by this.
3433 # We need to recreate these files for each test, as the compiler may
3434 # overwrite some of them when testing with obscure command lines.
3435 # This happens at least with the AIX C compiler.
3437 for i
in 1 2 3 4 5 6; do
3438 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3439 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3440 # Solaris 8's {/usr,}/bin/sh.
3441 touch sub
/conftst
$i.h
3443 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3447 # after this tag, mechanisms are not by side-effect, so they'll
3448 # only be used when explicitly requested
3449 if test "x$enable_dependency_tracking" = xyes
; then
3457 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3458 # mode. It turns out that the SunPro C++ compiler does not properly
3459 # handle `-M -o', and we need to detect this.
3460 if depmode
=$depmode \
3461 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3463 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3464 >/dev
/null
2>conftest.err
&&
3465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3467 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3469 # icc doesn't choke on unknown options, it will just issue warnings
3470 # or remarks (even with -Werror). So we grep stderr for any message
3471 # that says an option was ignored or not supported.
3472 # When given -MP, icc 7.0 and 7.1 complain thusly:
3473 # icc: Command line warning: ignoring option '-M'; no argument required
3474 # The diagnosis changed in icc 8.0:
3475 # icc: Command line remark: option '-MP' not supported
3476 if (grep 'ignoring option' conftest.err ||
3477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3478 am_cv_CC_dependencies_compiler_type
=$depmode
3487 am_cv_CC_dependencies_compiler_type
=none
3491 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3492 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3493 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3496 test "x$enable_dependency_tracking" != xno \
3497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3499 am__fastdepCC_FALSE
='#'
3501 am__fastdepCC_TRUE
='#'
3502 am__fastdepCC_FALSE
=
3506 # Find a good install program. We prefer a C program (faster),
3507 # so one script is as good as another. But avoid the broken or
3508 # incompatible versions:
3509 # SysV /etc/install, /usr/sbin/install
3510 # SunOS /usr/etc/install
3511 # IRIX /sbin/install
3513 # AmigaOS /C/install, which installs bootblocks on floppy discs
3514 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3515 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3516 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3517 # OS/2's system install, which has a completely different semantic
3518 # ./install, which can be erroneously created by make from ./install.sh.
3519 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3520 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3521 if test -z "$INSTALL"; then
3522 if test "${ac_cv_path_install+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 # Account for people who put trailing slashes in PATH elements.
3532 .
/ | .
// |
/cC
/* | \
3533 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3534 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3537 # OSF1 and SCO ODT 3.0 have their own names for install.
3538 # Don't use installbsd from OSF since it installs stuff as root
3540 for ac_prog
in ginstall scoinst
install; do
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3543 if test $ac_prog = install &&
3544 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3545 # AIX install. It has an incompatible calling convention.
3547 elif test $ac_prog = install &&
3548 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3549 # program-specific install script used by HP pwplus--don't use.
3552 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3565 if test "${ac_cv_path_install+set}" = set; then
3566 INSTALL
=$ac_cv_path_install
3568 # As a last resort, use the slow shell script. Don't cache a
3569 # value for INSTALL within a source directory, because that will
3570 # break other packages using the cache if that directory is
3571 # removed, or if the value is a relative name.
3572 INSTALL
=$ac_install_sh
3575 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3576 echo "${ECHO_T}$INSTALL" >&6; }
3578 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3579 # It thinks the first close brace ends the variable substitution.
3580 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3582 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3584 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3586 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3587 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3589 if test "$LN_S" = "ln -s"; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3593 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3594 echo "${ECHO_T}no, using $LN_S" >&6; }
3597 # Check whether --enable-shared was given.
3598 if test "${enable_shared+set}" = set; then
3599 enableval
=$enable_shared; p
=${PACKAGE-default}
3601 yes) enable_shared
=yes ;;
3602 no
) enable_shared
=no
;;
3605 # Look at the argument we got. We use all the common list separators.
3606 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3607 for pkg
in $enableval; do
3609 if test "X$pkg" = "X$p"; then
3621 # Check whether --enable-static was given.
3622 if test "${enable_static+set}" = set; then
3623 enableval
=$enable_static; p
=${PACKAGE-default}
3625 yes) enable_static
=yes ;;
3626 no
) enable_static
=no
;;
3629 # Look at the argument we got. We use all the common list separators.
3630 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3631 for pkg
in $enableval; do
3633 if test "X$pkg" = "X$p"; then
3645 # Check whether --enable-fast-install was given.
3646 if test "${enable_fast_install+set}" = set; then
3647 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3649 yes) enable_fast_install
=yes ;;
3650 no
) enable_fast_install
=no
;;
3652 enable_fast_install
=no
3653 # Look at the argument we got. We use all the common list separators.
3654 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3655 for pkg
in $enableval; do
3657 if test "X$pkg" = "X$p"; then
3658 enable_fast_install
=yes
3665 enable_fast_install
=yes
3669 # Make sure we can run config.sub.
3670 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3671 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3672 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3673 { (exit 1); exit 1; }; }
3675 { echo "$as_me:$LINENO: checking build system type" >&5
3676 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3677 if test "${ac_cv_build+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 ac_build_alias
=$build_alias
3681 test "x$ac_build_alias" = x
&&
3682 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3683 test "x$ac_build_alias" = x
&&
3684 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3685 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3686 { (exit 1); exit 1; }; }
3687 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3688 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3689 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3690 { (exit 1); exit 1; }; }
3693 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3694 echo "${ECHO_T}$ac_cv_build" >&6; }
3695 case $ac_cv_build in
3697 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3698 echo "$as_me: error: invalid value of canonical build" >&2;}
3699 { (exit 1); exit 1; }; };;
3702 ac_save_IFS
=$IFS; IFS
='-'
3708 # Remember, the first character of IFS is used to create $*,
3709 # except with old shells:
3712 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3715 { echo "$as_me:$LINENO: checking host system type" >&5
3716 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3717 if test "${ac_cv_host+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 if test "x$host_alias" = x
; then
3721 ac_cv_host
=$ac_cv_build
3723 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3724 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3725 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3726 { (exit 1); exit 1; }; }
3730 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3731 echo "${ECHO_T}$ac_cv_host" >&6; }
3734 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3735 echo "$as_me: error: invalid value of canonical host" >&2;}
3736 { (exit 1); exit 1; }; };;
3739 ac_save_IFS
=$IFS; IFS
='-'
3745 # Remember, the first character of IFS is used to create $*,
3746 # except with old shells:
3749 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3752 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3753 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3754 if test "${lt_cv_path_SED+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 # Loop through the user's path and test for sed and gsed.
3758 # Then use that list of sed's as ones to test for truncation.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for lt_ac_prog
in sed gsed
; do
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3767 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3775 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3776 # along with /bin/sed that truncates output.
3777 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3778 test ! -f $lt_ac_sed && continue
3779 cat /dev
/null
> conftest.
in
3781 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3782 # Check for GNU sed and select it if it is found.
3783 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3784 lt_cv_path_SED
=$lt_ac_sed
3788 cat conftest.
in conftest.
in >conftest.tmp
3789 mv conftest.tmp conftest.
in
3790 cp conftest.
in conftest.
nl
3792 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3793 cmp -s conftest.out conftest.
nl ||
break
3794 # 10000 chars as input seems more than enough
3795 test $lt_ac_count -gt 10 && break
3796 lt_ac_count
=`expr $lt_ac_count + 1`
3797 if test $lt_ac_count -gt $lt_ac_max; then
3798 lt_ac_max
=$lt_ac_count
3799 lt_cv_path_SED
=$lt_ac_sed
3808 { echo "$as_me:$LINENO: result: $SED" >&5
3809 echo "${ECHO_T}$SED" >&6; }
3811 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3812 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3813 if test "${ac_cv_path_GREP+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 # Extract the first word of "grep ggrep" to use in msg output
3817 if test -z "$GREP"; then
3818 set dummy
grep ggrep
; ac_prog_name
=$2
3819 if test "${ac_cv_path_GREP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 ac_path_GREP_found
=false
3823 # Loop through the user's path and test for each of PROGNAME-LIST
3824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3825 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3828 test -z "$as_dir" && as_dir
=.
3829 for ac_prog
in grep ggrep
; do
3830 for ac_exec_ext
in '' $ac_executable_extensions; do
3831 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3832 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3833 # Check for GNU ac_path_GREP and select it if it is found.
3834 # Check for GNU $ac_path_GREP
3835 case `"$ac_path_GREP" --version 2>&1` in
3837 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3840 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3843 cat "conftest.in" "conftest.in" >"conftest.tmp"
3844 mv "conftest.tmp" "conftest.in"
3845 cp "conftest.in" "conftest.nl"
3846 echo 'GREP' >> "conftest.nl"
3847 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3848 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3849 ac_count
=`expr $ac_count + 1`
3850 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3851 # Best one so far, save it but keep looking for a better one
3852 ac_cv_path_GREP
="$ac_path_GREP"
3853 ac_path_GREP_max
=$ac_count
3855 # 10*(2^10) chars as input seems more than enough
3856 test $ac_count -gt 10 && break
3858 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3862 $ac_path_GREP_found && break 3
3872 GREP
="$ac_cv_path_GREP"
3873 if test -z "$GREP"; then
3874 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3875 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3876 { (exit 1); exit 1; }; }
3880 ac_cv_path_GREP
=$GREP
3885 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3886 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3887 GREP
="$ac_cv_path_GREP"
3890 { echo "$as_me:$LINENO: checking for egrep" >&5
3891 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3892 if test "${ac_cv_path_EGREP+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3896 then ac_cv_path_EGREP
="$GREP -E"
3898 # Extract the first word of "egrep" to use in msg output
3899 if test -z "$EGREP"; then
3900 set dummy
egrep; ac_prog_name
=$2
3901 if test "${ac_cv_path_EGREP+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 ac_path_EGREP_found
=false
3905 # Loop through the user's path and test for each of PROGNAME-LIST
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_prog
in egrep; do
3912 for ac_exec_ext
in '' $ac_executable_extensions; do
3913 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3914 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3915 # Check for GNU ac_path_EGREP and select it if it is found.
3916 # Check for GNU $ac_path_EGREP
3917 case `"$ac_path_EGREP" --version 2>&1` in
3919 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3922 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3925 cat "conftest.in" "conftest.in" >"conftest.tmp"
3926 mv "conftest.tmp" "conftest.in"
3927 cp "conftest.in" "conftest.nl"
3928 echo 'EGREP' >> "conftest.nl"
3929 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3930 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3931 ac_count
=`expr $ac_count + 1`
3932 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3933 # Best one so far, save it but keep looking for a better one
3934 ac_cv_path_EGREP
="$ac_path_EGREP"
3935 ac_path_EGREP_max
=$ac_count
3937 # 10*(2^10) chars as input seems more than enough
3938 test $ac_count -gt 10 && break
3940 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3944 $ac_path_EGREP_found && break 3
3954 EGREP
="$ac_cv_path_EGREP"
3955 if test -z "$EGREP"; then
3956 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3957 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3958 { (exit 1); exit 1; }; }
3962 ac_cv_path_EGREP
=$EGREP
3968 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3969 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3970 EGREP
="$ac_cv_path_EGREP"
3974 # Check whether --with-gnu-ld was given.
3975 if test "${with_gnu_ld+set}" = set; then
3976 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3982 if test "$GCC" = yes; then
3983 # Check if gcc -print-prog-name=ld gives a path.
3984 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3985 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3988 # gcc leaves a trailing carriage return which upsets mingw
3989 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3991 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3994 # Accept absolute paths.
3996 re_direlt
='/[^/][^/]*/\.\./'
3997 # Canonicalize the pathname of ld
3998 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3999 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4000 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4002 test -z "$LD" && LD
="$ac_prog"
4005 # If it fails, then pretend we aren't using GCC.
4009 # If it is relative, then search for the first ld in PATH.
4013 elif test "$with_gnu_ld" = yes; then
4014 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4015 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4017 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4018 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4020 if test "${lt_cv_path_LD+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 if test -z "$LD"; then
4024 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4025 for ac_dir
in $PATH; do
4027 test -z "$ac_dir" && ac_dir
=.
4028 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4029 lt_cv_path_LD
="$ac_dir/$ac_prog"
4030 # Check to see if the program is GNU ld. I'd rather use --version,
4031 # but apparently some variants of GNU ld only accept -v.
4032 # Break only if it was the GNU/non-GNU ld that we prefer.
4033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4034 *GNU
* |
*'with BFD'*)
4035 test "$with_gnu_ld" != no
&& break
4038 test "$with_gnu_ld" != yes && break
4045 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4050 if test -n "$LD"; then
4051 { echo "$as_me:$LINENO: result: $LD" >&5
4052 echo "${ECHO_T}$LD" >&6; }
4054 { echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6; }
4057 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4058 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4059 { (exit 1); exit 1; }; }
4060 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4061 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4062 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4066 case `$LD -v 2>&1 </dev/null` in
4067 *GNU
* |
*'with BFD'*)
4068 lt_cv_prog_gnu_ld
=yes
4071 lt_cv_prog_gnu_ld
=no
4075 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4076 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4077 with_gnu_ld
=$lt_cv_prog_gnu_ld
4080 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4081 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4082 if test "${lt_cv_ld_reload_flag+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 lt_cv_ld_reload_flag
='-r'
4087 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4088 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4089 reload_flag
=$lt_cv_ld_reload_flag
4090 case $reload_flag in
4092 *) reload_flag
=" $reload_flag" ;;
4094 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4097 if test "$GCC" = yes; then
4098 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4100 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4105 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4106 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4107 if test "${lt_cv_path_NM+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 if test -n "$NM"; then
4111 # Let the user override the test.
4114 lt_nm_to_check
="${ac_tool_prefix}nm"
4115 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4116 lt_nm_to_check
="$lt_nm_to_check nm"
4118 for lt_tmp_nm
in $lt_nm_to_check; do
4119 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4120 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4122 test -z "$ac_dir" && ac_dir
=.
4123 tmp_nm
="$ac_dir/$lt_tmp_nm"
4124 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4125 # Check to see if the nm accepts a BSD-compat flag.
4126 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4127 # nm: unknown option "B" ignored
4128 # Tru64's nm complains that /dev/null is an invalid object file
4129 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4130 */dev
/null
* |
*'Invalid file or object type'*)
4131 lt_cv_path_NM
="$tmp_nm -B"
4135 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4137 lt_cv_path_NM
="$tmp_nm -p"
4141 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4142 continue # so that we can try to find one that supports BSD flags
4151 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4154 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4155 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4158 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4159 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4160 if test "${lt_cv_deplibs_check_method+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4164 lt_cv_file_magic_test_file
=
4165 lt_cv_deplibs_check_method
='unknown'
4166 # Need to set the preceding variable on all platforms that support
4167 # interlibrary dependencies.
4168 # 'none' -- dependencies not supported.
4169 # `unknown' -- same as none, but documents that we really don't know.
4170 # 'pass_all' -- all dependencies passed with no checks.
4171 # 'test_compile' -- check by making test program.
4172 # 'file_magic [[regex]]' -- check by looking for files in library path
4173 # which responds to the $file_magic_cmd with a given extended regex.
4174 # If you have `file' or equivalent on your system and you're not sure
4175 # whether `pass_all' will *always* work, you probably want this one.
4179 lt_cv_deplibs_check_method
=pass_all
4183 lt_cv_deplibs_check_method
=pass_all
4187 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4188 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4189 lt_cv_file_magic_test_file
=/shlib
/libc.so
4193 # func_win32_libid is a shell function defined in ltmain.sh
4194 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4195 lt_cv_file_magic_cmd
='func_win32_libid'
4199 # Base MSYS/MinGW do not provide the 'file' command needed by
4200 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4201 # unless we find 'file', for example because we are cross-compiling.
4202 if ( file / ) >/dev
/null
2>&1; then
4203 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4204 lt_cv_file_magic_cmd
='func_win32_libid'
4206 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4207 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4211 darwin
* | rhapsody
*)
4212 lt_cv_deplibs_check_method
=pass_all
4215 freebsd
* | dragonfly
*)
4216 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4219 # Not sure whether the presence of OpenBSD here was a mistake.
4220 # Let's accept both of them until this is cleared up.
4221 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4222 lt_cv_file_magic_cmd
=/usr
/bin
/file
4223 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4227 lt_cv_deplibs_check_method
=pass_all
4232 lt_cv_deplibs_check_method
=pass_all
4235 hpux10.20
* | hpux11
*)
4236 lt_cv_file_magic_cmd
=/usr
/bin
/file
4239 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4240 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4243 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]'
4244 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4247 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4248 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4254 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4255 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4258 irix5
* | irix6
* | nonstopux
*)
4260 *-32|
*"-32 ") libmagic
=32-bit;;
4261 *-n32|
*"-n32 ") libmagic
=N32
;;
4262 *-64|
*"-64 ") libmagic
=64-bit;;
4263 *) libmagic
=never-match
;;
4265 lt_cv_deplibs_check_method
=pass_all
4268 # This must be Linux ELF.
4269 linux
* | k
*bsd
*-gnu)
4270 lt_cv_deplibs_check_method
=pass_all
4274 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4275 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4277 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4282 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4283 lt_cv_file_magic_cmd
=/usr
/bin
/file
4284 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4288 lt_cv_deplibs_check_method
=unknown
4292 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4293 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4295 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4299 osf3
* | osf4
* | osf5
*)
4300 lt_cv_deplibs_check_method
=pass_all
4304 lt_cv_deplibs_check_method
=pass_all
4308 lt_cv_deplibs_check_method
=pass_all
4312 case $host_vendor in
4314 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]'
4315 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4318 lt_cv_deplibs_check_method
=pass_all
4321 lt_cv_file_magic_cmd
='/bin/file'
4322 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4325 lt_cv_file_magic_cmd
='/bin/file'
4326 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4327 lt_cv_file_magic_test_file
=/lib
/libc.so
4330 lt_cv_deplibs_check_method
=pass_all
4333 lt_cv_deplibs_check_method
=pass_all
4338 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4339 lt_cv_deplibs_check_method
=pass_all
4344 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4345 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4346 file_magic_cmd
=$lt_cv_file_magic_cmd
4347 deplibs_check_method
=$lt_cv_deplibs_check_method
4348 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4353 # If no C compiler was specified, use CC.
4356 # If no C compiler flags were specified, use CFLAGS.
4357 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4359 # Allow CC to be a program name with arguments.
4363 # Check whether --enable-libtool-lock was given.
4364 if test "${enable_libtool_lock+set}" = set; then
4365 enableval
=$enable_libtool_lock;
4368 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4370 # Some flags need to be propagated to the compiler or linker for good
4374 # Find out which ABI we are using.
4375 echo 'int i;' > conftest.
$ac_ext
4376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4377 (eval $ac_compile) 2>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; then
4381 case `/usr/bin/file conftest.$ac_objext` in
4393 # Find out which ABI we are using.
4394 echo '#line 4394 "configure"' > conftest.
$ac_ext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; then
4400 if test "$lt_cv_prog_gnu_ld" = yes; then
4401 case `/usr/bin/file conftest.$ac_objext` in
4403 LD
="${LD-ld} -melf32bsmip"
4406 LD
="${LD-ld} -melf32bmipn32"
4409 LD
="${LD-ld} -melf64bmip"
4413 case `/usr/bin/file conftest.$ac_objext` in
4429 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4430 s390
*-*linux
*|sparc
*-*linux
*)
4431 # Find out which ABI we are using.
4432 echo 'int i;' > conftest.
$ac_ext
4433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4434 (eval $ac_compile) 2>&5
4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4437 (exit $ac_status); }; then
4438 case `/usr/bin/file conftest.o` in
4441 x86_64-
*kfreebsd
*-gnu)
4442 LD
="${LD-ld} -m elf_i386_fbsd"
4445 LD
="${LD-ld} -m elf_i386"
4447 ppc64-
*linux
*|powerpc64-
*linux
*)
4448 LD
="${LD-ld} -m elf32ppclinux"
4451 LD
="${LD-ld} -m elf_s390"
4454 LD
="${LD-ld} -m elf32_sparc"
4461 x86_64-
*kfreebsd
*-gnu)
4462 LD
="${LD-ld} -m elf_x86_64_fbsd"
4465 LD
="${LD-ld} -m elf_x86_64"
4467 ppc
*-*linux
*|powerpc
*-*linux
*)
4468 LD
="${LD-ld} -m elf64ppc"
4471 LD
="${LD-ld} -m elf64_s390"
4474 LD
="${LD-ld} -m elf64_sparc"
4484 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4485 SAVE_CFLAGS
="$CFLAGS"
4486 CFLAGS
="$CFLAGS -belf"
4487 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4488 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4489 if test "${lt_cv_cc_needs_belf+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 ac_cpp
='$CPP $CPPFLAGS'
4494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4498 cat >conftest.
$ac_ext <<_ACEOF
4501 cat confdefs.h
>>conftest.
$ac_ext
4502 cat >>conftest.
$ac_ext <<_ACEOF
4503 /* end confdefs.h. */
4513 rm -f conftest.
$ac_objext conftest
$ac_exeext
4514 if { (ac_try
="$ac_link"
4516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4522 grep -v '^ *+' conftest.er1 >conftest.err
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 lt_cv_cc_needs_belf=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 lt_cv_cc_needs_belf=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 ac_cpp='$CPP $CPPFLAGS'
4543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4548 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4549 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4550 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4551 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4552 CFLAGS="$SAVE_CFLAGS"
4556 # Find out which ABI we are using.
4557 echo 'int i;' > conftest.$ac_ext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); }; then
4563 case `/usr
/bin
/file conftest.o
` in
4565 case $lt_cv_prog_gnu_ld in
4566 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4567 *) LD="${LD-ld} -64" ;;
4578 need_locks="$enable_libtool_lock"
4582 ac_cpp='$CPP $CPPFLAGS'
4583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4586 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4587 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4588 # On Suns, sometimes $CPP names a directory.
4589 if test -n "$CPP" && test -d "$CPP"; then
4592 if test -z "$CPP"; then
4593 if test "${ac_cv_prog_CPP+set}" = set; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 # Double quotes because CPP needs to be expanded
4597 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4600 for ac_c_preproc_warn_flag in '' yes
4602 # Use a header file that comes with gcc, so configuring glibc
4603 # with a fresh cross-compiler works.
4604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4605 # <limits.h> exists even on freestanding compilers.
4606 # On the NeXT, cc -E runs the code through the compiler's parser,
4607 # not just through cpp. "Syntax error" is here to catch this case.
4608 cat >conftest.$ac_ext <<_ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 # include <limits.h>
4617 # include <assert.h>
4621 if { (ac_try="$ac_cpp conftest.$ac_ext"
4623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4624 *) ac_try_echo
=$ac_try;;
4626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4629 grep -v '^ *+' conftest.er1
>conftest.err
4631 cat conftest.err
>&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); } >/dev
/null
&& {
4634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4635 test ! -s conftest.err
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.
$ac_ext >&5
4642 # Broken: fails on valid input.
4646 rm -f conftest.err conftest.
$ac_ext
4648 # OK, works on sane cases. Now check whether nonexistent headers
4649 # can be detected and how.
4650 cat >conftest.
$ac_ext <<_ACEOF
4653 cat confdefs.h
>>conftest.
$ac_ext
4654 cat >>conftest.
$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4656 #include <ac_nonexistent.h>
4658 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4666 grep -v '^ *+' conftest.er1 >conftest.err
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } >/dev/null && {
4671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4674 # Broken: success on invalid input.
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 # Passes both tests.
4685 rm -f conftest.err conftest.$ac_ext
4688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4689 rm -f conftest.err conftest.
$ac_ext
4690 if $ac_preproc_ok; then
4702 { echo "$as_me:$LINENO: result: $CPP" >&5
4703 echo "${ECHO_T}$CPP" >&6; }
4705 for ac_c_preproc_warn_flag
in '' yes
4707 # Use a header file that comes with gcc, so configuring glibc
4708 # with a fresh cross-compiler works.
4709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710 # <limits.h> exists even on freestanding compilers.
4711 # On the NeXT, cc -E runs the code through the compiler's parser,
4712 # not just through cpp. "Syntax error" is here to catch this case.
4713 cat >conftest.
$ac_ext <<_ACEOF
4716 cat confdefs.h
>>conftest.
$ac_ext
4717 cat >>conftest.
$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4720 # include <limits.h>
4722 # include <assert.h>
4726 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4734 grep -v '^ *+' conftest.er1 >conftest.err
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } >/dev/null && {
4739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.$ac_ext >&5
4747 # Broken: fails on valid input.
4751 rm -f conftest.err conftest.$ac_ext
4753 # OK, works on sane cases. Now check whether nonexistent headers
4754 # can be detected and how.
4755 cat >conftest.$ac_ext <<_ACEOF
4758 cat confdefs.h >>conftest.$ac_ext
4759 cat >>conftest.$ac_ext <<_ACEOF
4760 /* end confdefs.h. */
4761 #include <ac_nonexistent.h>
4763 if { (ac_try="$ac_cpp conftest.$ac_ext"
4765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4766 *) ac_try_echo
=$ac_try;;
4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4771 grep -v '^ *+' conftest.er1
>conftest.err
4773 cat conftest.err
>&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } >/dev
/null
&& {
4776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4777 test ! -s conftest.err
4779 # Broken: success on invalid input.
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.
$ac_ext >&5
4785 # Passes both tests.
4790 rm -f conftest.err conftest.
$ac_ext
4793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4794 rm -f conftest.err conftest.
$ac_ext
4795 if $ac_preproc_ok; then
4798 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4799 See \`config.log' for more details." >&5
4800 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4801 See \`config.log' for more details." >&2;}
4802 { (exit 1); exit 1; }; }
4806 ac_cpp
='$CPP $CPPFLAGS'
4807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4812 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4813 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4814 if test "${ac_cv_header_stdc+set}" = set; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 cat >conftest.
$ac_ext <<_ACEOF
4820 cat confdefs.h
>>conftest.
$ac_ext
4821 cat >>conftest.
$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4836 rm -f conftest.
$ac_objext
4837 if { (ac_try
="$ac_compile"
4839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_compile") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1 >conftest.err
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest.$ac_objext; then
4853 ac_cv_header_stdc=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 ac_cv_header_stdc=no
4861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4863 if test $ac_cv_header_stdc = yes; then
4864 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4865 cat >conftest.$ac_ext <<_ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4875 $EGREP "memchr" >/dev/null 2>&1; then
4878 ac_cv_header_stdc=no
4884 if test $ac_cv_header_stdc = yes; then
4885 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4896 $EGREP "free" >/dev/null 2>&1; then
4899 ac_cv_header_stdc=no
4905 if test $ac_cv_header_stdc = yes; then
4906 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4907 if test "$cross_compiling" = yes; then
4910 cat >conftest.$ac_ext <<_ACEOF
4913 cat confdefs.h >>conftest.$ac_ext
4914 cat >>conftest.$ac_ext <<_ACEOF
4915 /* end confdefs.h. */
4918 #if ((' ' & 0x0FF) == 0x020)
4919 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4920 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4922 # define ISLOWER(c) \
4923 (('a' <= (c) && (c) <= 'i') \
4924 || ('j' <= (c) && (c) <= 'r') \
4925 || ('s' <= (c) && (c) <= 'z'))
4926 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4929 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4934 for (i = 0; i < 256; i++)
4935 if (XOR (islower (i), ISLOWER (i))
4936 || toupper (i) != TOUPPER (i))
4941 rm -f conftest$ac_exeext
4942 if { (ac_try="$ac_link"
4944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4945 *) ac_try_echo
=$ac_try;;
4947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4948 (eval "$ac_link") 2>&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4952 { (case "(($ac_try" in
4953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4954 *) ac_try_echo=$ac_try;;
4956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957 (eval "$ac_try") 2>&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; }; then
4963 echo "$as_me: program exited with status $ac_status" >&5
4964 echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.$ac_ext >&5
4968 ac_cv_header_stdc=no
4970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4976 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4977 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4978 if test $ac_cv_header_stdc = yes; then
4980 cat >>confdefs.h <<\_ACEOF
4981 #define STDC_HEADERS 1
4986 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4996 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4997 inttypes.h stdint.h unistd.h
4999 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5000 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 cat >conftest.$ac_ext <<_ACEOF
5008 cat confdefs.h >>conftest.$ac_ext
5009 cat >>conftest.$ac_ext <<_ACEOF
5010 /* end confdefs.h. */
5011 $ac_includes_default
5013 #include <$ac_header>
5015 rm -f conftest.$ac_objext
5016 if { (ac_try="$ac_compile"
5018 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5019 *) ac_try_echo
=$ac_try;;
5021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5022 (eval "$ac_compile") 2>conftest.er1
5024 grep -v '^ *+' conftest.er1
>conftest.err
5026 cat conftest.err
>&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); } && {
5029 test -z "$ac_c_werror_flag" ||
5030 test ! -s conftest.err
5031 } && test -s conftest.
$ac_objext; then
5032 eval "$as_ac_Header=yes"
5034 echo "$as_me: failed program was:" >&5
5035 sed 's/^/| /' conftest.
$ac_ext >&5
5037 eval "$as_ac_Header=no"
5040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5042 ac_res
=`eval echo '${'$as_ac_Header'}'`
5043 { echo "$as_me:$LINENO: result: $ac_res" >&5
5044 echo "${ECHO_T}$ac_res" >&6; }
5045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5046 cat >>confdefs.h
<<_ACEOF
5047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5056 for ac_header
in dlfcn.h
5058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5059 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5060 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5062 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 ac_res
=`eval echo '${'$as_ac_Header'}'`
5066 { echo "$as_me:$LINENO: result: $ac_res" >&5
5067 echo "${ECHO_T}$ac_res" >&6; }
5069 # Is the header compilable?
5070 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5071 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5072 cat >conftest.
$ac_ext <<_ACEOF
5075 cat confdefs.h
>>conftest.
$ac_ext
5076 cat >>conftest.
$ac_ext <<_ACEOF
5077 /* end confdefs.h. */
5078 $ac_includes_default
5079 #include <$ac_header>
5081 rm -f conftest.
$ac_objext
5082 if { (ac_try
="$ac_compile"
5084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_compile") 2>conftest.er1
5090 grep -v '^ *+' conftest.er1 >conftest.err
5092 cat conftest.err >&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } && {
5095 test -z "$ac_c_werror_flag" ||
5096 test ! -s conftest.err
5097 } && test -s conftest.$ac_objext; then
5098 ac_header_compiler=yes
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5103 ac_header_compiler=no
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5107 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5108 echo "${ECHO_T}$ac_header_compiler" >&6; }
5110 # Is the header present?
5111 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5112 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5113 cat >conftest.$ac_ext <<_ACEOF
5116 cat confdefs.h >>conftest.$ac_ext
5117 cat >>conftest.$ac_ext <<_ACEOF
5118 /* end confdefs.h. */
5119 #include <$ac_header>
5121 if { (ac_try="$ac_cpp conftest.$ac_ext"
5123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5124 *) ac_try_echo
=$ac_try;;
5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5129 grep -v '^ *+' conftest.er1
>conftest.err
5131 cat conftest.err
>&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } >/dev
/null
&& {
5134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5135 test ! -s conftest.err
5137 ac_header_preproc
=yes
5139 echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.
$ac_ext >&5
5142 ac_header_preproc
=no
5145 rm -f conftest.err conftest.
$ac_ext
5146 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5147 echo "${ECHO_T}$ac_header_preproc" >&6; }
5149 # So? What about this header?
5150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5156 ac_header_preproc
=yes
5159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5172 ## -------------------------------------------------- ##
5173 ## Report this to courier-users@lists.sourceforge.net ##
5174 ## -------------------------------------------------- ##
5176 ) |
sed "s/^/$as_me: WARNING: /" >&2
5179 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5181 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5184 eval "$as_ac_Header=\$ac_header_preproc"
5186 ac_res
=`eval echo '${'$as_ac_Header'}'`
5187 { echo "$as_me:$LINENO: result: $ac_res" >&5
5188 echo "${ECHO_T}$ac_res" >&6; }
5191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5192 cat >>confdefs.h
<<_ACEOF
5193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5201 ac_cpp
='$CXXCPP $CPPFLAGS'
5202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5205 if test -z "$CXX"; then
5206 if test -n "$CCC"; then
5209 if test -n "$ac_tool_prefix"; then
5210 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5213 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5216 if test "${ac_cv_prog_CXX+set}" = set; then
5217 echo $ECHO_N "(cached) $ECHO_C" >&6
5219 if test -n "$CXX"; then
5220 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir
=.
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 if test -n "$CXX"; then
5241 { echo "$as_me:$LINENO: result: $CXX" >&5
5242 echo "${ECHO_T}$CXX" >&6; }
5244 { echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6; }
5249 test -n "$CXX" && break
5252 if test -z "$CXX"; then
5254 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5256 # Extract the first word of "$ac_prog", so it can be a program name with args.
5257 set dummy
$ac_prog; ac_word
=$2
5258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5260 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5261 echo $ECHO_N "(cached) $ECHO_C" >&6
5263 if test -n "$ac_ct_CXX"; then
5264 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir
=.
5271 for ac_exec_ext
in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5284 if test -n "$ac_ct_CXX"; then
5285 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5286 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5288 { echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6; }
5293 test -n "$ac_ct_CXX" && break
5296 if test "x$ac_ct_CXX" = x
; then
5299 case $cross_compiling:$ac_tool_warned in
5301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5302 whose name does not start with the host triplet. If you think this
5303 configuration is useful to you, please write to autoconf@gnu.org." >&5
5304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5305 whose name does not start with the host triplet. If you think this
5306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5307 ac_tool_warned
=yes ;;
5315 # Provide some information about the compiler.
5316 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5317 ac_compiler
=`set X $ac_compile; echo $2`
5318 { (ac_try
="$ac_compiler --version >&5"
5320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5321 *) ac_try_echo=$ac_try;;
5323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5324 (eval "$ac_compiler --version >&5") 2>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); }
5328 { (ac_try="$ac_compiler -v >&5"
5330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5331 *) ac_try_echo
=$ac_try;;
5333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334 (eval "$ac_compiler -v >&5") 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }
5338 { (ac_try
="$ac_compiler -V >&5"
5340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5341 *) ac_try_echo=$ac_try;;
5343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5344 (eval "$ac_compiler -V >&5") 2>&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }
5349 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5350 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5351 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5352 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 cat >conftest.$ac_ext <<_ACEOF
5357 cat confdefs.h >>conftest.$ac_ext
5358 cat >>conftest.$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5372 rm -f conftest.$ac_objext
5373 if { (ac_try="$ac_compile"
5375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5376 *) ac_try_echo
=$ac_try;;
5378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5379 (eval "$ac_compile") 2>conftest.er1
5381 grep -v '^ *+' conftest.er1
>conftest.err
5383 cat conftest.err
>&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } && {
5386 test -z "$ac_cxx_werror_flag" ||
5387 test ! -s conftest.err
5388 } && test -s conftest.
$ac_objext; then
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.
$ac_ext >&5
5397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5398 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5401 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5402 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5403 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5404 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5405 ac_save_CXXFLAGS
=$CXXFLAGS
5406 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5407 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5408 if test "${ac_cv_prog_cxx_g+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5412 ac_cxx_werror_flag
=yes
5415 cat >conftest.
$ac_ext <<_ACEOF
5418 cat confdefs.h
>>conftest.
$ac_ext
5419 cat >>conftest.
$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5430 rm -f conftest.
$ac_objext
5431 if { (ac_try
="$ac_compile"
5433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5434 *) ac_try_echo=$ac_try;;
5436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5437 (eval "$ac_compile") 2>conftest.er1
5439 grep -v '^ *+' conftest.er1 >conftest.err
5441 cat conftest.err >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } && {
5444 test -z "$ac_cxx_werror_flag" ||
5445 test ! -s conftest.err
5446 } && test -s conftest.$ac_objext; then
5447 ac_cv_prog_cxx_g=yes
5449 echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.$ac_ext >&5
5453 cat >conftest.$ac_ext <<_ACEOF
5456 cat confdefs.h >>conftest.$ac_ext
5457 cat >>conftest.$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5468 rm -f conftest.$ac_objext
5469 if { (ac_try="$ac_compile"
5471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5472 *) ac_try_echo
=$ac_try;;
5474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5475 (eval "$ac_compile") 2>conftest.er1
5477 grep -v '^ *+' conftest.er1
>conftest.err
5479 cat conftest.err
>&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); } && {
5482 test -z "$ac_cxx_werror_flag" ||
5483 test ! -s conftest.err
5484 } && test -s conftest.
$ac_objext; then
5487 echo "$as_me: failed program was:" >&5
5488 sed 's/^/| /' conftest.
$ac_ext >&5
5490 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5492 cat >conftest.
$ac_ext <<_ACEOF
5495 cat confdefs.h
>>conftest.
$ac_ext
5496 cat >>conftest.
$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5507 rm -f conftest.
$ac_objext
5508 if { (ac_try
="$ac_compile"
5510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5511 *) ac_try_echo=$ac_try;;
5513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5514 (eval "$ac_compile") 2>conftest.er1
5516 grep -v '^ *+' conftest.er1 >conftest.err
5518 cat conftest.err >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); } && {
5521 test -z "$ac_cxx_werror_flag" ||
5522 test ! -s conftest.err
5523 } && test -s conftest.$ac_objext; then
5524 ac_cv_prog_cxx_g=yes
5526 echo "$as_me: failed program was:" >&5
5527 sed 's/^/| /' conftest.$ac_ext >&5
5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5539 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5541 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5542 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5543 if test "$ac_test_CXXFLAGS" = set; then
5544 CXXFLAGS=$ac_save_CXXFLAGS
5545 elif test $ac_cv_prog_cxx_g = yes; then
5546 if test "$GXX" = yes; then
5552 if test "$GXX" = yes; then
5559 ac_cpp='$CXXCPP $CPPFLAGS'
5560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5564 depcc="$CXX" am_compiler_list=
5566 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5567 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5568 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5572 # We make a subdir and do the tests there. Otherwise we can end up
5573 # making bogus files that we don't know about and never remove. For
5574 # instance it was reported that on HP-UX the gcc test will end up
5575 # making a dummy file named `D
' -- because `-MD' means
`put the output
5578 # Copy depcomp to subdir because otherwise we won't find it if we're
5579 # using a relative directory.
5580 cp "$am_depcomp" conftest.dir
5582 # We will build objects and dependencies in a subdirectory because
5583 # it helps to detect inapplicable dependency modes. For instance
5584 # both Tru64's cc and ICC support -MD to output dependencies as a
5585 # side effect of compilation, but ICC will put the dependencies in
5586 # the current directory while Tru64 will put them in the object
5590 am_cv_CXX_dependencies_compiler_type=none
5591 if test "$am_compiler_list" = ""; then
5592 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5594 for depmode in $am_compiler_list; do
5595 # Setup a source with many dependencies, because some compilers
5596 # like to wrap large dependency lists on column 80 (with \), and
5597 # we should not choose a depcomp mode which is confused by this.
5599 # We need to recreate these files for each test, as the compiler may
5600 # overwrite some of them when testing with obscure command lines.
5601 # This happens at least with the AIX C compiler.
5603 for i in 1 2 3 4 5 6; do
5604 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5605 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5606 # Solaris 8's
{/usr
,}/bin
/sh.
5607 touch sub
/conftst
$i.h
5609 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5613 # after this tag, mechanisms are not by side-effect, so they'll
5614 # only be used when explicitly requested
5615 if test "x$enable_dependency_tracking" = xyes
; then
5623 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5624 # mode. It turns out that the SunPro C++ compiler does not properly
5625 # handle `-M -o', and we need to detect this.
5626 if depmode
=$depmode \
5627 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5628 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5629 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5630 >/dev
/null
2>conftest.err
&&
5631 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5632 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5633 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5634 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5635 # icc doesn't choke on unknown options, it will just issue warnings
5636 # or remarks (even with -Werror). So we grep stderr for any message
5637 # that says an option was ignored or not supported.
5638 # When given -MP, icc 7.0 and 7.1 complain thusly:
5639 # icc: Command line warning: ignoring option '-M'; no argument required
5640 # The diagnosis changed in icc 8.0:
5641 # icc: Command line remark: option '-MP' not supported
5642 if (grep 'ignoring option' conftest.err ||
5643 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5644 am_cv_CXX_dependencies_compiler_type
=$depmode
5653 am_cv_CXX_dependencies_compiler_type
=none
5657 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5658 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5659 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5662 test "x$enable_dependency_tracking" != xno \
5663 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5664 am__fastdepCXX_TRUE
=
5665 am__fastdepCXX_FALSE
='#'
5667 am__fastdepCXX_TRUE
='#'
5668 am__fastdepCXX_FALSE
=
5674 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5675 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5676 (test "X$CXX" != "Xg++"))) ; then
5678 ac_cpp
='$CXXCPP $CPPFLAGS'
5679 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5682 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5683 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5684 if test -z "$CXXCPP"; then
5685 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 # Double quotes because CXXCPP needs to be expanded
5689 for CXXCPP
in "$CXX -E" "/lib/cpp"
5692 for ac_cxx_preproc_warn_flag
in '' yes
5694 # Use a header file that comes with gcc, so configuring glibc
5695 # with a fresh cross-compiler works.
5696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5697 # <limits.h> exists even on freestanding compilers.
5698 # On the NeXT, cc -E runs the code through the compiler's parser,
5699 # not just through cpp. "Syntax error" is here to catch this case.
5700 cat >conftest.
$ac_ext <<_ACEOF
5703 cat confdefs.h
>>conftest.
$ac_ext
5704 cat >>conftest.
$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5707 # include <limits.h>
5709 # include <assert.h>
5713 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5721 grep -v '^ *+' conftest.er1 >conftest.err
5723 cat conftest.err >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); } >/dev/null && {
5726 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5727 test ! -s conftest.err
5731 echo "$as_me: failed program was:" >&5
5732 sed 's/^/| /' conftest.$ac_ext >&5
5734 # Broken: fails on valid input.
5738 rm -f conftest.err conftest.$ac_ext
5740 # OK, works on sane cases. Now check whether nonexistent headers
5741 # can be detected and how.
5742 cat >conftest.$ac_ext <<_ACEOF
5745 cat confdefs.h >>conftest.$ac_ext
5746 cat >>conftest.$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 #include <ac_nonexistent.h>
5750 if { (ac_try="$ac_cpp conftest.$ac_ext"
5752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5753 *) ac_try_echo
=$ac_try;;
5755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5758 grep -v '^ *+' conftest.er1
>conftest.err
5760 cat conftest.err
>&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); } >/dev
/null
&& {
5763 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5764 test ! -s conftest.err
5766 # Broken: success on invalid input.
5769 echo "$as_me: failed program was:" >&5
5770 sed 's/^/| /' conftest.
$ac_ext >&5
5772 # Passes both tests.
5777 rm -f conftest.err conftest.
$ac_ext
5780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5781 rm -f conftest.err conftest.
$ac_ext
5782 if $ac_preproc_ok; then
5787 ac_cv_prog_CXXCPP
=$CXXCPP
5790 CXXCPP
=$ac_cv_prog_CXXCPP
5792 ac_cv_prog_CXXCPP
=$CXXCPP
5794 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5795 echo "${ECHO_T}$CXXCPP" >&6; }
5797 for ac_cxx_preproc_warn_flag
in '' yes
5799 # Use a header file that comes with gcc, so configuring glibc
5800 # with a fresh cross-compiler works.
5801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5802 # <limits.h> exists even on freestanding compilers.
5803 # On the NeXT, cc -E runs the code through the compiler's parser,
5804 # not just through cpp. "Syntax error" is here to catch this case.
5805 cat >conftest.
$ac_ext <<_ACEOF
5808 cat confdefs.h
>>conftest.
$ac_ext
5809 cat >>conftest.
$ac_ext <<_ACEOF
5810 /* end confdefs.h. */
5812 # include <limits.h>
5814 # include <assert.h>
5818 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5821 *) ac_try_echo=$ac_try;;
5823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5826 grep -v '^ *+' conftest.er1 >conftest.err
5828 cat conftest.err >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } >/dev/null && {
5831 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5832 test ! -s conftest.err
5836 echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5839 # Broken: fails on valid input.
5843 rm -f conftest.err conftest.$ac_ext
5845 # OK, works on sane cases. Now check whether nonexistent headers
5846 # can be detected and how.
5847 cat >conftest.$ac_ext <<_ACEOF
5850 cat confdefs.h >>conftest.$ac_ext
5851 cat >>conftest.$ac_ext <<_ACEOF
5852 /* end confdefs.h. */
5853 #include <ac_nonexistent.h>
5855 if { (ac_try="$ac_cpp conftest.$ac_ext"
5857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5858 *) ac_try_echo
=$ac_try;;
5860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5863 grep -v '^ *+' conftest.er1
>conftest.err
5865 cat conftest.err
>&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); } >/dev
/null
&& {
5868 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5869 test ! -s conftest.err
5871 # Broken: success on invalid input.
5874 echo "$as_me: failed program was:" >&5
5875 sed 's/^/| /' conftest.
$ac_ext >&5
5877 # Passes both tests.
5882 rm -f conftest.err conftest.
$ac_ext
5885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5886 rm -f conftest.err conftest.
$ac_ext
5887 if $ac_preproc_ok; then
5890 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5891 See \`config.log' for more details." >&5
5892 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5893 See \`config.log' for more details." >&2;}
5894 { (exit 1); exit 1; }; }
5898 ac_cpp
='$CXXCPP $CPPFLAGS'
5899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5907 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5908 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5909 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5910 if test -n "$ac_tool_prefix"; then
5911 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
5913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5914 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5917 if test "${ac_cv_prog_F77+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 if test -n "$F77"; then
5921 ac_cv_prog_F77
="$F77" # Let the user override the test.
5923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir
=.
5928 for ac_exec_ext
in '' $ac_executable_extensions; do
5929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5930 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 if test -n "$F77"; then
5942 { echo "$as_me:$LINENO: result: $F77" >&5
5943 echo "${ECHO_T}$F77" >&6; }
5945 { echo "$as_me:$LINENO: result: no" >&5
5946 echo "${ECHO_T}no" >&6; }
5950 test -n "$F77" && break
5953 if test -z "$F77"; then
5955 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
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy
$ac_prog; ac_word
=$2
5959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5961 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5962 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 if test -n "$ac_ct_F77"; then
5965 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir
=.
5972 for ac_exec_ext
in '' $ac_executable_extensions; do
5973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5974 ac_cv_prog_ac_ct_F77
="$ac_prog"
5975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5984 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5985 if test -n "$ac_ct_F77"; then
5986 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5987 echo "${ECHO_T}$ac_ct_F77" >&6; }
5989 { echo "$as_me:$LINENO: result: no" >&5
5990 echo "${ECHO_T}no" >&6; }
5994 test -n "$ac_ct_F77" && break
5997 if test "x$ac_ct_F77" = x
; then
6000 case $cross_compiling:$ac_tool_warned in
6002 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6003 whose name does not start with the host triplet. If you think this
6004 configuration is useful to you, please write to autoconf@gnu.org." >&5
6005 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6006 whose name does not start with the host triplet. If you think this
6007 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6008 ac_tool_warned
=yes ;;
6015 # Provide some information about the compiler.
6016 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6017 ac_compiler
=`set X $ac_compile; echo $2`
6018 { (ac_try
="$ac_compiler --version >&5"
6020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6021 *) ac_try_echo=$ac_try;;
6023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6024 (eval "$ac_compiler --version >&5") 2>&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }
6028 { (ac_try="$ac_compiler -v >&5"
6030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6031 *) ac_try_echo
=$ac_try;;
6033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6034 (eval "$ac_compiler -v >&5") 2>&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }
6038 { (ac_try
="$ac_compiler -V >&5"
6040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6041 *) ac_try_echo=$ac_try;;
6043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6044 (eval "$ac_compiler -V >&5") 2>&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }
6050 # If we don't use `.F
' as extension, the preprocessor is not run on the
6051 # input file. (Note that this only needs to work for GNU compilers.)
6054 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6055 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6056 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6057 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 cat >conftest.$ac_ext <<_ACEOF
6067 rm -f conftest.$ac_objext
6068 if { (ac_try="$ac_compile"
6070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6071 *) ac_try_echo=$ac_try;;
6073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6074 (eval "$ac_compile") 2>conftest.er1
6076 grep -v '^
*+' conftest.er1 >conftest.err
6078 cat conftest.err >&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } && {
6081 test -z "$ac_f77_werror_flag" ||
6082 test ! -s conftest.err
6083 } && test -s conftest.$ac_objext; then
6086 echo "$as_me: failed program was:" >&5
6087 sed 's
/^
/|
/' conftest.$ac_ext >&5
6092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6093 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6096 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6097 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6099 ac_test_FFLAGS=${FFLAGS+set}
6100 ac_save_FFLAGS=$FFLAGS
6102 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6103 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6104 if test "${ac_cv_prog_f77_g+set}" = set; then
6105 echo $ECHO_N "(cached) $ECHO_C" >&6
6108 cat >conftest.$ac_ext <<_ACEOF
6113 rm -f conftest.$ac_objext
6114 if { (ac_try="$ac_compile"
6116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6117 *) ac_try_echo=$ac_try;;
6119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6120 (eval "$ac_compile") 2>conftest.er1
6122 grep -v '^
*+' conftest.er1 >conftest.err
6124 cat conftest.err >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } && {
6127 test -z "$ac_f77_werror_flag" ||
6128 test ! -s conftest.err
6129 } && test -s conftest.$ac_objext; then
6130 ac_cv_prog_f77_g=yes
6132 echo "$as_me: failed program was:" >&5
6133 sed 's
/^
/|
/' conftest.$ac_ext >&5
6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6141 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6142 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6143 if test "$ac_test_FFLAGS" = set; then
6144 FFLAGS=$ac_save_FFLAGS
6145 elif test $ac_cv_prog_f77_g = yes; then
6146 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6152 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6159 G77=`test $ac_compiler_gnu = yes && echo yes`
6161 ac_cpp='$CPP $CPPFLAGS'
6162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6163 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6168 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6170 # find the maximum length of command line arguments
6171 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6172 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6173 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 # On DJGPP, this test can blow up pretty badly due to problems in libc
6182 # (any single argument exceeding 2000 bytes causes a buffer overrun
6183 # during glob expansion). Even if it were fixed, the result of this
6184 # check would be larger than it should be.
6185 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6189 # Under GNU Hurd, this test is not required because there is
6190 # no limit to the length of command line arguments.
6191 # Libtool will interpret -1 as no limit whatsoever
6192 lt_cv_sys_max_cmd_len
=-1;
6196 # On Win9x/ME, this test blows up -- it succeeds, but takes
6197 # about 5 minutes as the teststring grows exponentially.
6198 # Worse, since 9x/ME are not pre-emptively multitasking,
6199 # you end up with a "frozen" computer, even though with patience
6200 # the test eventually succeeds (with a max line length of 256k).
6201 # Instead, let's just punt: use the minimum linelength reported by
6202 # all of the supported platforms: 8192 (on NT/2K/XP).
6203 lt_cv_sys_max_cmd_len
=8192;
6207 # On AmigaOS with pdksh, this test takes hours, literally.
6208 # So we just punt and use a minimum line length of 8192.
6209 lt_cv_sys_max_cmd_len
=8192;
6212 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6213 # This has been around since 386BSD, at least. Likely further.
6214 if test -x /sbin
/sysctl
; then
6215 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6216 elif test -x /usr
/sbin
/sysctl
; then
6217 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6219 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6221 # And add a safety zone
6222 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6223 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6227 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6228 lt_cv_sys_max_cmd_len
=196608
6232 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6233 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6234 # nice to cause kernel panics so lets avoid the loop below.
6235 # First set a reasonable default.
6236 lt_cv_sys_max_cmd_len
=16384
6238 if test -x /sbin
/sysconfig
; then
6239 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6240 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6245 lt_cv_sys_max_cmd_len
=102400
6247 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6248 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6249 if test -n "$kargmax"; then
6250 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6252 lt_cv_sys_max_cmd_len
=32768
6256 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6257 if test -n "$lt_cv_sys_max_cmd_len"; then
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`
6261 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6262 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6263 = "XX$teststring") >/dev
/null
2>&1 &&
6264 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6265 lt_cv_sys_max_cmd_len
=$new_result &&
6266 test $i != 17 # 1/2 MB should be enough
6269 teststring
=$teststring$teststring
6272 # Add a significant safety factor because C++ compilers can tack on massive
6273 # amounts of additional arguments before passing them to the linker.
6274 # It appears as though 1/2 is a usable value.
6275 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6282 if test -n $lt_cv_sys_max_cmd_len ; then
6283 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6284 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6286 { echo "$as_me:$LINENO: result: none" >&5
6287 echo "${ECHO_T}none" >&6; }
6294 # Check for command to grab the raw symbol name followed by C symbol from nm.
6295 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6296 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6297 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 # These are sane defaults that work on at least a few old systems.
6302 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6304 # Character class describing NM global symbol codes.
6305 symcode
='[BCDEGRST]'
6307 # Regexp to match symbols that can be accessed directly from C.
6308 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6310 # Transform an extracted symbol line into a proper C declaration
6311 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6313 # Transform an extracted symbol line into symbol name and symbol address
6314 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'"
6316 # Define system-specific variables.
6321 cygwin
* | mingw
* | pw32
*)
6322 symcode
='[ABCDGISTW]'
6324 hpux
*) # Its linker distinguishes data from code symbols
6325 if test "$host_cpu" = ia64
; then
6326 symcode
='[ABCDEGRST]'
6328 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6329 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'"
6331 linux
* | k
*bsd
*-gnu)
6332 if test "$host_cpu" = ia64
; then
6333 symcode
='[ABCDGIRSTW]'
6334 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6335 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'"
6339 symcode
='[BCDEGRST]'
6342 symcode
='[BCDEGQRST]'
6353 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6361 # Handle CRLF in mingw tool chain
6365 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6369 # If we're using GNU nm, then use its standard symbol codes.
6370 case `$NM -V 2>&1` in
6371 *GNU
* |
*'with BFD'*)
6372 symcode
='[ABCDGIRSTW]' ;;
6375 # Try without a prefix undercore, then with it.
6376 for ac_symprfx
in "" "_"; do
6378 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6379 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6381 # Write the raw and C identifiers.
6382 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6384 # Check to see that the pipe works correctly.
6388 cat > conftest.
$ac_ext <<EOF
6393 void nm_test_func(){}
6397 int main(){nm_test_var='a';nm_test_func();return(0);}
6400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6401 (eval $ac_compile) 2>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; then
6405 # Now try to grab the symbols.
6407 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6408 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); } && test -s "$nlist"; then
6412 # Try sorting and uniquifying the output.
6413 if sort "$nlist" |
uniq > "$nlist"T
; then
6414 mv -f "$nlist"T
"$nlist"
6419 # Make sure that we snagged all the symbols we need.
6420 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6421 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6422 cat <<EOF > conftest.$ac_ext
6428 # Now generate the symbol file.
6429 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6431 cat <<EOF >> conftest.$ac_ext
6432 #if defined (__STDC__) && __STDC__
6433 # define lt_ptr_t void *
6435 # define lt_ptr_t char *
6439 /* The mapping between symbol names and symbols. */
6444 lt_preloaded_symbols[] =
6447 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6448 cat <<\EOF
>> conftest.
$ac_ext
6456 # Now try linking the two files.
6457 mv conftest.
$ac_objext conftstm.
$ac_objext
6458 lt_save_LIBS
="$LIBS"
6459 lt_save_CFLAGS
="$CFLAGS"
6460 LIBS
="conftstm.$ac_objext"
6461 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6463 (eval $ac_link) 2>&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6469 LIBS
="$lt_save_LIBS"
6470 CFLAGS
="$lt_save_CFLAGS"
6472 echo "cannot find nm_test_func in $nlist" >&5
6475 echo "cannot find nm_test_var in $nlist" >&5
6478 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6481 echo "$progname: failed program was:" >&5
6482 cat conftest.
$ac_ext >&5
6484 rm -f conftest
* conftst
*
6486 # Do not use the global_symbol_pipe unless it works.
6487 if test "$pipe_works" = yes; then
6490 lt_cv_sys_global_symbol_pipe
=
6496 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6497 lt_cv_sys_global_symbol_to_cdecl
=
6499 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6500 { echo "$as_me:$LINENO: result: failed" >&5
6501 echo "${ECHO_T}failed" >&6; }
6503 { echo "$as_me:$LINENO: result: ok" >&5
6504 echo "${ECHO_T}ok" >&6; }
6507 { echo "$as_me:$LINENO: checking for objdir" >&5
6508 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6509 if test "${lt_cv_objdir+set}" = set; then
6510 echo $ECHO_N "(cached) $ECHO_C" >&6
6512 rm -f .libs
2>/dev
/null
6513 mkdir .libs
2>/dev
/null
6514 if test -d .libs
; then
6517 # MS-DOS does not allow filenames that begin with a dot.
6520 rmdir .libs
2>/dev
/null
6522 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6523 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6524 objdir
=$lt_cv_objdir
6532 # AIX sometimes has problems with the GCC collect2 program. For some
6533 # reason, if we set the COLLECT_NAMES environment variable, the problems
6534 # vanish in a puff of smoke.
6535 if test "X${COLLECT_NAMES+set}" != Xset
; then
6537 export COLLECT_NAMES
6542 # Sed substitution that helps us do robust quoting. It backslashifies
6543 # metacharacters that are still active within double-quoted strings.
6544 Xsed
='sed -e 1s/^X//'
6545 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6547 # Same as above, but do not quote variable references.
6548 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6550 # Sed substitution to delay expansion of an escaped shell variable in a
6551 # double_quote_subst'ed string.
6552 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6554 # Sed substitution to avoid accidental globbing in evaled expressions
6555 no_glob_subst
='s/\*/\\\*/g'
6561 default_ofile
=libtool
6562 can_build_shared
=yes
6564 # All known linkers require a `.a' archive for static linking (except MSVC,
6565 # which needs '.lib').
6567 ltmain
="$ac_aux_dir/ltmain.sh"
6568 ofile
="$default_ofile"
6569 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6571 if test -n "$ac_tool_prefix"; then
6572 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6573 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6576 if test "${ac_cv_prog_AR+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 if test -n "$AR"; then
6580 ac_cv_prog_AR
="$AR" # Let the user override the test.
6582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir
=.
6587 for ac_exec_ext
in '' $ac_executable_extensions; do
6588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6589 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 if test -n "$AR"; then
6601 { echo "$as_me:$LINENO: result: $AR" >&5
6602 echo "${ECHO_T}$AR" >&6; }
6604 { echo "$as_me:$LINENO: result: no" >&5
6605 echo "${ECHO_T}no" >&6; }
6610 if test -z "$ac_cv_prog_AR"; then
6612 # Extract the first word of "ar", so it can be a program name with args.
6613 set dummy
ar; ac_word
=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 if test -n "$ac_ct_AR"; then
6620 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir
=.
6627 for ac_exec_ext
in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_ac_ct_AR
="ar"
6630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6640 if test -n "$ac_ct_AR"; then
6641 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6642 echo "${ECHO_T}$ac_ct_AR" >&6; }
6644 { echo "$as_me:$LINENO: result: no" >&5
6645 echo "${ECHO_T}no" >&6; }
6648 if test "x$ac_ct_AR" = x
; then
6651 case $cross_compiling:$ac_tool_warned in
6653 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6654 whose name does not start with the host triplet. If you think this
6655 configuration is useful to you, please write to autoconf@gnu.org." >&5
6656 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6657 whose name does not start with the host triplet. If you think this
6658 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6659 ac_tool_warned
=yes ;;
6667 if test -n "$ac_tool_prefix"; then
6668 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6669 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6672 if test "${ac_cv_prog_RANLIB+set}" = set; then
6673 echo $ECHO_N "(cached) $ECHO_C" >&6
6675 if test -n "$RANLIB"; then
6676 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir
=.
6683 for ac_exec_ext
in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 RANLIB
=$ac_cv_prog_RANLIB
6696 if test -n "$RANLIB"; then
6697 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6698 echo "${ECHO_T}$RANLIB" >&6; }
6700 { echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6; }
6706 if test -z "$ac_cv_prog_RANLIB"; then
6707 ac_ct_RANLIB
=$RANLIB
6708 # Extract the first word of "ranlib", so it can be a program name with args.
6709 set dummy ranlib
; ac_word
=$2
6710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6712 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 if test -n "$ac_ct_RANLIB"; then
6716 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir
=.
6723 for ac_exec_ext
in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6736 if test -n "$ac_ct_RANLIB"; then
6737 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6738 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6740 { echo "$as_me:$LINENO: result: no" >&5
6741 echo "${ECHO_T}no" >&6; }
6744 if test "x$ac_ct_RANLIB" = x
; then
6747 case $cross_compiling:$ac_tool_warned in
6749 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6750 whose name does not start with the host triplet. If you think this
6751 configuration is useful to you, please write to autoconf@gnu.org." >&5
6752 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6753 whose name does not start with the host triplet. If you think this
6754 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6755 ac_tool_warned
=yes ;;
6757 RANLIB
=$ac_ct_RANLIB
6760 RANLIB
="$ac_cv_prog_RANLIB"
6763 if test -n "$ac_tool_prefix"; then
6764 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6765 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6768 if test "${ac_cv_prog_STRIP+set}" = set; then
6769 echo $ECHO_N "(cached) $ECHO_C" >&6
6771 if test -n "$STRIP"; then
6772 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir
=.
6779 for ac_exec_ext
in '' $ac_executable_extensions; do
6780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 STRIP
=$ac_cv_prog_STRIP
6792 if test -n "$STRIP"; then
6793 { echo "$as_me:$LINENO: result: $STRIP" >&5
6794 echo "${ECHO_T}$STRIP" >&6; }
6796 { echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6; }
6802 if test -z "$ac_cv_prog_STRIP"; then
6804 # Extract the first word of "strip", so it can be a program name with args.
6805 set dummy strip
; ac_word
=$2
6806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6808 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 if test -n "$ac_ct_STRIP"; then
6812 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6818 test -z "$as_dir" && as_dir
=.
6819 for ac_exec_ext
in '' $ac_executable_extensions; do
6820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6821 ac_cv_prog_ac_ct_STRIP
="strip"
6822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6831 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6832 if test -n "$ac_ct_STRIP"; then
6833 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6834 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6836 { echo "$as_me:$LINENO: result: no" >&5
6837 echo "${ECHO_T}no" >&6; }
6840 if test "x$ac_ct_STRIP" = x
; then
6843 case $cross_compiling:$ac_tool_warned in
6845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6846 whose name does not start with the host triplet. If you think this
6847 configuration is useful to you, please write to autoconf@gnu.org." >&5
6848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6849 whose name does not start with the host triplet. If you think this
6850 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6851 ac_tool_warned
=yes ;;
6856 STRIP
="$ac_cv_prog_STRIP"
6861 old_CFLAGS
="$CFLAGS"
6863 # Set sane defaults for various variables
6864 test -z "$AR" && AR
=ar
6865 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6866 test -z "$AS" && AS
=as
6867 test -z "$CC" && CC
=cc
6868 test -z "$LTCC" && LTCC
=$CC
6869 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6870 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6871 test -z "$LD" && LD
=ld
6872 test -z "$LN_S" && LN_S
="ln -s"
6873 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6874 test -z "$NM" && NM
=nm
6875 test -z "$SED" && SED
=sed
6876 test -z "$OBJDUMP" && OBJDUMP
=objdump
6877 test -z "$RANLIB" && RANLIB
=:
6878 test -z "$STRIP" && STRIP
=:
6879 test -z "$ac_objext" && ac_objext
=o
6881 # Determine commands to create old-style static archives.
6882 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6883 old_postinstall_cmds
='chmod 644 $oldlib'
6884 old_postuninstall_cmds
=
6886 if test -n "$RANLIB"; then
6889 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6892 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6895 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6898 for cc_temp
in $compiler""; do
6900 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6901 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6906 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6909 # Only perform the check for file, if the check method requires it
6910 case $deplibs_check_method in
6912 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6913 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6914 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6915 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6923 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6924 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6925 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6926 for ac_dir
in $ac_dummy; do
6928 test -z "$ac_dir" && ac_dir
=.
6929 if test -f $ac_dir/${ac_tool_prefix}file; then
6930 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6931 if test -n "$file_magic_test_file"; then
6932 case $deplibs_check_method in
6934 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6935 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6936 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6937 $EGREP "$file_magic_regex" > /dev
/null
; then
6942 *** Warning: the command libtool uses to detect shared libraries,
6943 *** $file_magic_cmd, produces output that libtool cannot recognize.
6944 *** The result is that libtool may fail to recognize shared libraries
6945 *** as such. This will affect the creation of libtool libraries that
6946 *** depend on shared libraries, but programs linked with such libtool
6947 *** libraries will work regardless of this problem. Nevertheless, you
6948 *** may want to report the problem to your system manager and/or to
6949 *** bug-libtool@gnu.org
6959 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6965 if test -n "$MAGIC_CMD"; then
6966 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6967 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6969 { echo "$as_me:$LINENO: result: no" >&5
6970 echo "${ECHO_T}no" >&6; }
6973 if test -z "$lt_cv_path_MAGIC_CMD"; then
6974 if test -n "$ac_tool_prefix"; then
6975 { echo "$as_me:$LINENO: checking for file" >&5
6976 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6977 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6978 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6985 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6986 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6987 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6988 for ac_dir
in $ac_dummy; do
6990 test -z "$ac_dir" && ac_dir
=.
6991 if test -f $ac_dir/file; then
6992 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6993 if test -n "$file_magic_test_file"; then
6994 case $deplibs_check_method in
6996 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6997 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6998 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6999 $EGREP "$file_magic_regex" > /dev
/null
; then
7004 *** Warning: the command libtool uses to detect shared libraries,
7005 *** $file_magic_cmd, produces output that libtool cannot recognize.
7006 *** The result is that libtool may fail to recognize shared libraries
7007 *** as such. This will affect the creation of libtool libraries that
7008 *** depend on shared libraries, but programs linked with such libtool
7009 *** libraries will work regardless of this problem. Nevertheless, you
7010 *** may want to report the problem to your system manager and/or to
7011 *** bug-libtool@gnu.org
7021 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7026 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7027 if test -n "$MAGIC_CMD"; then
7028 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7029 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7031 { echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6; }
7047 # Check whether --enable-libtool-lock was given.
7048 if test "${enable_libtool_lock+set}" = set; then
7049 enableval
=$enable_libtool_lock;
7052 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7055 # Check whether --with-pic was given.
7056 if test "${with_pic+set}" = set; then
7057 withval
=$with_pic; pic_mode
="$withval"
7062 test -z "$pic_mode" && pic_mode
=default
7064 # Use C for the default configuration in the libtool script
7068 ac_cpp
='$CPP $CPPFLAGS'
7069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7074 # Source file extension for C test sources.
7077 # Object file extension for compiled C test sources.
7081 # Code to be used in simple compile tests
7082 lt_simple_compile_test_code
="int some_variable = 0;"
7084 # Code to be used in simple link tests
7085 lt_simple_link_test_code
='int main(){return(0);}'
7088 # If no C compiler was specified, use CC.
7091 # If no C compiler flags were specified, use CFLAGS.
7092 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7094 # Allow CC to be a program name with arguments.
7098 # save warnings/boilerplate of simple test code
7099 ac_outfile
=conftest.
$ac_objext
7100 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7101 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7102 _lt_compiler_boilerplate
=`cat conftest.err`
7105 ac_outfile
=conftest.
$ac_objext
7106 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7107 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7108 _lt_linker_boilerplate
=`cat conftest.err`
7113 lt_prog_compiler_no_builtin_flag
=
7115 if test "$GCC" = yes; then
7116 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7119 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7120 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7121 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7122 echo $ECHO_N "(cached) $ECHO_C" >&6
7124 lt_cv_prog_compiler_rtti_exceptions
=no
7125 ac_outfile
=conftest.
$ac_objext
7126 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7127 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7128 # Insert the option either (1) after the last *FLAGS variable, or
7129 # (2) before a word containing "conftest.", or (3) at the end.
7130 # Note that $ac_compile itself does not contain backslashes and begins
7131 # with a dollar sign (not a hyphen), so the echo should work correctly.
7132 # The option is referenced via a variable to avoid confusing sed.
7133 lt_compile
=`echo "$ac_compile" | $SED \
7134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7136 -e 's:$: $lt_compiler_flag:'`
7137 (eval echo "\"\$as_me:7137: $lt_compile\"" >&5)
7138 (eval "$lt_compile" 2>conftest.err
)
7140 cat conftest.err
>&5
7141 echo "$as_me:7141: \$? = $ac_status" >&5
7142 if (exit $ac_status) && test -s "$ac_outfile"; then
7143 # The compiler can only warn and ignore the option if not recognized
7144 # So say no if there are warnings other than the usual output.
7145 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7146 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7147 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7148 lt_cv_prog_compiler_rtti_exceptions
=yes
7154 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7155 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7157 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7158 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7165 lt_prog_compiler_wl
=
7166 lt_prog_compiler_pic
=
7167 lt_prog_compiler_static
=
7169 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7170 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7172 if test "$GCC" = yes; then
7173 lt_prog_compiler_wl
='-Wl,'
7174 lt_prog_compiler_static
='-static'
7178 # All AIX code is PIC.
7179 if test "$host_cpu" = ia64
; then
7180 # AIX 5 now supports IA64 processor
7181 lt_prog_compiler_static
='-Bstatic'
7186 # FIXME: we need at least 68020 code to build shared libraries, but
7187 # adding the `-m68020' flag to GCC prevents building anything better,
7189 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7192 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7193 # PIC is the default for these OSes.
7196 mingw
* | cygwin
* | pw32
* | os2
*)
7197 # This hack is so that the source file can tell whether it is being
7198 # built for inclusion in a dll (and should export symbols for example).
7199 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7200 # (--disable-auto-import) libraries
7201 lt_prog_compiler_pic
='-DDLL_EXPORT'
7204 darwin
* | rhapsody
*)
7205 # PIC is the default on this platform
7206 # Common symbols not allowed in MH_DYLIB files
7207 lt_prog_compiler_pic
='-fno-common'
7211 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7212 # Instead, we relocate shared libraries at runtime.
7216 # Just because we use GCC doesn't mean we suddenly get shared libraries
7217 # on systems that don't support them.
7218 lt_prog_compiler_can_build_shared
=no
7223 if test -d /usr
/nec
; then
7224 lt_prog_compiler_pic
=-Kconform_pic
7229 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7236 lt_prog_compiler_pic
='-fPIC'
7242 lt_prog_compiler_pic
='-fPIC'
7246 # PORTME Check for flag to pass linker flags through the system compiler.
7249 lt_prog_compiler_wl
='-Wl,'
7250 if test "$host_cpu" = ia64
; then
7251 # AIX 5 now supports IA64 processor
7252 lt_prog_compiler_static
='-Bstatic'
7254 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7258 # PIC is the default on this platform
7259 # Common symbols not allowed in MH_DYLIB files
7260 case $cc_basename in
7262 lt_prog_compiler_pic
='-qnocommon'
7263 lt_prog_compiler_wl
='-Wl,'
7268 mingw
* | cygwin
* | pw32
* | os2
*)
7269 # This hack is so that the source file can tell whether it is being
7270 # built for inclusion in a dll (and should export symbols for example).
7271 lt_prog_compiler_pic
='-DDLL_EXPORT'
7274 hpux9
* | hpux10
* | hpux11
*)
7275 lt_prog_compiler_wl
='-Wl,'
7276 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7283 lt_prog_compiler_pic
='+Z'
7286 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7287 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7290 irix5
* | irix6
* | nonstopux
*)
7291 lt_prog_compiler_wl
='-Wl,'
7292 # PIC (with -KPIC) is the default.
7293 lt_prog_compiler_static
='-non_shared'
7297 lt_prog_compiler_pic
='-KPIC'
7298 lt_prog_compiler_static
='-Bstatic'
7301 linux
* | k
*bsd
*-gnu)
7302 case $cc_basename in
7304 lt_prog_compiler_wl
='-Wl,'
7305 lt_prog_compiler_pic
='-KPIC'
7306 lt_prog_compiler_static
='-static'
7308 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7309 # Portland Group compilers (*not* the Pentium gcc compiler,
7310 # which looks to be a dead project)
7311 lt_prog_compiler_wl
='-Wl,'
7312 lt_prog_compiler_pic
='-fpic'
7313 lt_prog_compiler_static
='-Bstatic'
7316 lt_prog_compiler_wl
='-Wl,'
7317 # All Alpha code is PIC.
7318 lt_prog_compiler_static
='-non_shared'
7321 case `$CC -V 2>&1 | sed 5q` in
7324 lt_prog_compiler_pic
='-KPIC'
7325 lt_prog_compiler_static
='-Bstatic'
7326 lt_prog_compiler_wl
='-Wl,'
7329 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7330 lt_prog_compiler_pic
='-KPIC'
7331 lt_prog_compiler_static
='-Bstatic'
7332 lt_prog_compiler_wl
=''
7339 osf3
* | osf4
* | osf5
*)
7340 lt_prog_compiler_wl
='-Wl,'
7341 # All OSF/1 code is PIC.
7342 lt_prog_compiler_static
='-non_shared'
7346 lt_prog_compiler_static
='-non_shared'
7350 lt_prog_compiler_pic
='-KPIC'
7351 lt_prog_compiler_static
='-Bstatic'
7352 case $cc_basename in
7354 lt_prog_compiler_wl
='-Qoption ld ';;
7356 lt_prog_compiler_wl
='-Wl,';;
7361 lt_prog_compiler_wl
='-Qoption ld '
7362 lt_prog_compiler_pic
='-PIC'
7363 lt_prog_compiler_static
='-Bstatic'
7366 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7367 lt_prog_compiler_wl
='-Wl,'
7368 lt_prog_compiler_pic
='-KPIC'
7369 lt_prog_compiler_static
='-Bstatic'
7373 if test -d /usr
/nec
;then
7374 lt_prog_compiler_pic
='-Kconform_pic'
7375 lt_prog_compiler_static
='-Bstatic'
7379 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7380 lt_prog_compiler_wl
='-Wl,'
7381 lt_prog_compiler_pic
='-KPIC'
7382 lt_prog_compiler_static
='-Bstatic'
7386 lt_prog_compiler_wl
='-Wl,'
7387 lt_prog_compiler_can_build_shared
=no
7391 lt_prog_compiler_pic
='-pic'
7392 lt_prog_compiler_static
='-Bstatic'
7396 lt_prog_compiler_can_build_shared
=no
7401 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7402 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7405 # Check to make sure the PIC flag actually works.
7407 if test -n "$lt_prog_compiler_pic"; then
7409 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7410 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7411 if test "${lt_prog_compiler_pic_works+set}" = set; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 lt_prog_compiler_pic_works
=no
7415 ac_outfile
=conftest.
$ac_objext
7416 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7417 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7418 # Insert the option either (1) after the last *FLAGS variable, or
7419 # (2) before a word containing "conftest.", or (3) at the end.
7420 # Note that $ac_compile itself does not contain backslashes and begins
7421 # with a dollar sign (not a hyphen), so the echo should work correctly.
7422 # The option is referenced via a variable to avoid confusing sed.
7423 lt_compile
=`echo "$ac_compile" | $SED \
7424 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7425 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7426 -e 's:$: $lt_compiler_flag:'`
7427 (eval echo "\"\$as_me:7427: $lt_compile\"" >&5)
7428 (eval "$lt_compile" 2>conftest.err
)
7430 cat conftest.err
>&5
7431 echo "$as_me:7431: \$? = $ac_status" >&5
7432 if (exit $ac_status) && test -s "$ac_outfile"; then
7433 # The compiler can only warn and ignore the option if not recognized
7434 # So say no if there are warnings other than the usual output.
7435 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7436 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7437 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7438 lt_prog_compiler_pic_works
=yes
7444 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7445 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7447 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7448 case $lt_prog_compiler_pic in
7450 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7453 lt_prog_compiler_pic
=
7454 lt_prog_compiler_can_build_shared
=no
7459 # For platforms which do not support PIC, -DPIC is meaningless:
7461 lt_prog_compiler_pic
=
7464 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7469 # Check to make sure the static flag actually works.
7471 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7472 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7473 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7474 if test "${lt_prog_compiler_static_works+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 lt_prog_compiler_static_works
=no
7478 save_LDFLAGS
="$LDFLAGS"
7479 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7480 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7481 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7482 # The linker can only warn and ignore the option if not recognized
7483 # So say no if there are warnings
7484 if test -s conftest.err
; then
7485 # Append any errors to the config.log.
7486 cat conftest.err
1>&5
7487 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7488 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7489 if diff conftest.exp conftest.er2
>/dev
/null
; then
7490 lt_prog_compiler_static_works
=yes
7493 lt_prog_compiler_static_works
=yes
7497 LDFLAGS
="$save_LDFLAGS"
7500 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7501 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7503 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7506 lt_prog_compiler_static
=
7510 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7511 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7512 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7515 lt_cv_prog_compiler_c_o
=no
7516 $rm -r conftest
2>/dev
/null
7520 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7522 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7523 # Insert the option either (1) after the last *FLAGS variable, or
7524 # (2) before a word containing "conftest.", or (3) at the end.
7525 # Note that $ac_compile itself does not contain backslashes and begins
7526 # with a dollar sign (not a hyphen), so the echo should work correctly.
7527 lt_compile
=`echo "$ac_compile" | $SED \
7528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7530 -e 's:$: $lt_compiler_flag:'`
7531 (eval echo "\"\$as_me:7531: $lt_compile\"" >&5)
7532 (eval "$lt_compile" 2>out
/conftest.err
)
7534 cat out
/conftest.err
>&5
7535 echo "$as_me:7535: \$? = $ac_status" >&5
7536 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7538 # The compiler can only warn and ignore the option if not recognized
7539 # So say no if there are warnings
7540 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7541 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7542 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7543 lt_cv_prog_compiler_c_o
=yes
7548 # SGI C++ compiler will create directory out/ii_files/ for
7549 # template instantiation
7550 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7551 $rm out
/* && rmdir out
7557 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7558 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7561 hard_links
="nottested"
7562 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7563 # do not overwrite the value of need_locks provided by the user
7564 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7565 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7568 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7570 ln conftest.a conftest.b
2>&5 || hard_links
=no
7571 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7572 { echo "$as_me:$LINENO: result: $hard_links" >&5
7573 echo "${ECHO_T}$hard_links" >&6; }
7574 if test "$hard_links" = no
; then
7575 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7576 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7583 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7584 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7587 allow_undefined_flag
=
7588 enable_shared_with_static_runtimes
=no
7590 archive_expsym_cmds
=
7591 old_archive_From_new_cmds
=
7592 old_archive_from_expsyms_cmds
=
7593 export_dynamic_flag_spec
=
7594 whole_archive_flag_spec
=
7595 thread_safe_flag_spec
=
7596 hardcode_libdir_flag_spec
=
7597 hardcode_libdir_flag_spec_ld
=
7598 hardcode_libdir_separator
=
7601 hardcode_shlibpath_var
=unsupported
7602 link_all_deplibs
=unknown
7603 hardcode_automatic
=no
7606 always_export_symbols
=no
7607 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7608 # include_expsyms should be a list of space-separated symbols to be *always*
7609 # included in the symbol list
7611 # exclude_expsyms can be an extended regexp of symbols to exclude
7612 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7613 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7614 # as well as any symbol that contains `d'.
7615 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7616 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7617 # platforms (ab)use it in PIC code, but their linkers get confused if
7618 # the symbol is explicitly referenced. Since portable code cannot
7619 # rely on this symbol name, it's probably fine to never include it in
7620 # preloaded symbol tables.
7621 extract_expsyms_cmds
=
7622 # Just being paranoid about ensuring that cc_basename is set.
7623 for cc_temp
in $compiler""; do
7625 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7626 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7631 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7634 cygwin
* | mingw
* | pw32
*)
7635 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7636 # When not using gcc, we currently assume that we are using
7637 # Microsoft Visual C++.
7638 if test "$GCC" != yes; then
7643 # we just hope/assume this is gcc and not c89 (= MSVC++)
7652 if test "$with_gnu_ld" = yes; then
7653 # If archive_cmds runs LD, not CC, wlarc should be empty
7656 # Set some defaults for GNU ld with shared library support. These
7657 # are reset later if shared libraries are not supported. Putting them
7658 # here allows them to be overridden if necessary.
7659 runpath_var
=LD_RUN_PATH
7660 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7661 export_dynamic_flag_spec
='${wl}--export-dynamic'
7662 # ancient GNU ld didn't support --whole-archive et. al.
7663 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7664 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7666 whole_archive_flag_spec
=
7668 supports_anon_versioning
=no
7669 case `$LD -v 2>/dev/null` in
7670 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7671 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7672 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7673 *\
2.11.
*) ;; # other 2.11 versions
7674 *) supports_anon_versioning
=yes ;;
7677 # See if GNU ld supports shared libraries.
7679 aix3
* | aix4
* | aix5
*)
7680 # On AIX/PPC, the GNU linker is very broken
7681 if test "$host_cpu" != ia64
; then
7685 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7686 *** to be unable to reliably create shared libraries on AIX.
7687 *** Therefore, libtool is disabling shared libraries support. If you
7688 *** really care for shared libraries, you may want to modify your PATH
7689 *** so that a non-GNU linker is found, and then restart.
7696 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)'
7697 hardcode_libdir_flag_spec
='-L$libdir'
7698 hardcode_minus_L
=yes
7700 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7701 # that the semantics of dynamic libraries on AmigaOS, at least up
7702 # to version 4, is to share data among multiple programs linked
7703 # with the same dynamic library. Since this doesn't match the
7704 # behavior of shared libraries on other platforms, we can't use
7710 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7711 allow_undefined_flag
=unsupported
7712 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7713 # support --undefined. This deserves some investigation. FIXME
7714 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7720 cygwin
* | mingw
* | pw32
*)
7721 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7722 # as there is no search path for DLLs.
7723 hardcode_libdir_flag_spec
='-L$libdir'
7724 allow_undefined_flag
=unsupported
7725 always_export_symbols
=no
7726 enable_shared_with_static_runtimes
=yes
7727 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7729 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7730 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7731 # If the export-symbols file already is a .def file (1st line
7732 # is EXPORTS), use it as is; otherwise, prepend...
7733 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7734 cp $export_symbols $output_objdir/$soname.def;
7736 echo EXPORTS > $output_objdir/$soname.def;
7737 cat $export_symbols >> $output_objdir/$soname.def;
7739 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7747 hardcode_shlibpath_var
=no
7748 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7749 export_dynamic_flag_spec
='${wl}-E'
7750 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7751 # Instead, shared libraries are loaded at an image base (0x10000000 by
7752 # default) and relocated if they conflict, which is a slow very memory
7753 # consuming and fragmenting process. To avoid this, we pick a random,
7754 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7755 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7756 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7757 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'
7760 gnu
* | linux
* | k
*bsd
*-gnu)
7761 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7763 case $cc_basename,$host_cpu in
7764 pgcc
*) # Portland Group C compiler
7765 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'
7766 tmp_addflag
=' $pic_flag'
7768 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7769 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'
7770 tmp_addflag
=' $pic_flag -Mnomain' ;;
7771 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7772 tmp_addflag
=' -i_dynamic' ;;
7773 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7774 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7775 ifc
* | ifort
*) # Intel Fortran compiler
7776 tmp_addflag
=' -nofor_main' ;;
7778 case `$CC -V 2>&1 | sed 5q` in
7779 *Sun\ C
*) # Sun C 5.9
7780 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7781 tmp_sharedflag
='-G' ;;
7782 *Sun\ F
*) # Sun Fortran 8.3
7783 tmp_sharedflag
='-G' ;;
7785 tmp_sharedflag
='-shared' ;;
7787 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7789 if test $supports_anon_versioning = yes; then
7790 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7791 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7792 $echo "local: *; };" >> $output_objdir/$libname.ver~
7793 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7801 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7802 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7805 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7806 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7811 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7815 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7816 *** create shared libraries on Solaris systems. Therefore, libtool
7817 *** is disabling shared libraries support. We urge you to upgrade GNU
7818 *** binutils to release 2.9.1 or newer. Another option is to modify
7819 *** your PATH or compiler configuration so that the native linker is
7820 *** used, and then restart.
7823 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7824 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7825 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7831 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7832 case `$LD -v 2>&1` in
7833 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7837 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7838 *** reliably create shared libraries on SCO systems. Therefore, libtool
7839 *** is disabling shared libraries support. We urge you to upgrade GNU
7840 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7841 *** your PATH or compiler configuration so that the native linker is
7842 *** used, and then restart.
7847 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7848 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7849 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7850 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7859 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7862 hardcode_shlibpath_var
=no
7866 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7867 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7868 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7875 if test "$ld_shlibs" = no
; then
7877 hardcode_libdir_flag_spec
=
7878 export_dynamic_flag_spec
=
7879 whole_archive_flag_spec
=
7882 # PORTME fill in a description of your system's linker (not GNU ld)
7885 allow_undefined_flag
=unsupported
7886 always_export_symbols
=yes
7887 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'
7888 # Note: this linker hardcodes the directories in LIBPATH if there
7889 # are no directories specified by -L.
7890 hardcode_minus_L
=yes
7891 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7892 # Neither direct hardcoding nor static linking is supported with a
7894 hardcode_direct
=unsupported
7899 if test "$host_cpu" = ia64
; then
7900 # On IA64, the linker does run time linking by default, so we don't
7901 # have to do anything special.
7902 aix_use_runtimelinking
=no
7903 exp_sym_flag
='-Bexport'
7906 # If we're using GNU nm, then we don't want the "-C" option.
7907 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7908 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7909 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'
7911 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'
7913 aix_use_runtimelinking
=no
7915 # Test if we are trying to use run time linking or normal
7916 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7917 # need to do runtime linking.
7918 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7919 for ld_flag
in $LDFLAGS; do
7920 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7921 aix_use_runtimelinking
=yes
7928 exp_sym_flag
='-bexport'
7929 no_entry_flag
='-bnoentry'
7932 # When large executables or shared objects are built, AIX ld can
7933 # have problems creating the table of contents. If linking a library
7934 # or program results in "error TOC overflow" add -mminimal-toc to
7935 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7936 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7940 hardcode_libdir_separator
=':'
7941 link_all_deplibs
=yes
7943 if test "$GCC" = yes; then
7944 case $host_os in aix4.
[012]|aix4.
[012].
*)
7945 # We only want to do this on AIX 4.2 and lower, the check
7946 # below for broken collect2 doesn't work under 4.3+
7947 collect2name
=`${CC} -print-prog-name=collect2`
7948 if test -f "$collect2name" && \
7949 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7951 # We have reworked collect2
7954 # We have old collect2
7955 hardcode_direct
=unsupported
7956 # It fails to find uninstalled libraries when the uninstalled
7957 # path is not listed in the libpath. Setting hardcode_minus_L
7958 # to unsupported forces relinking
7959 hardcode_minus_L
=yes
7960 hardcode_libdir_flag_spec
='-L$libdir'
7961 hardcode_libdir_separator
=
7965 shared_flag
='-shared'
7966 if test "$aix_use_runtimelinking" = yes; then
7967 shared_flag
="$shared_flag "'${wl}-G'
7971 if test "$host_cpu" = ia64
; then
7972 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7973 # chokes on -Wl,-G. The following line is correct:
7976 if test "$aix_use_runtimelinking" = yes; then
7977 shared_flag
='${wl}-G'
7979 shared_flag
='${wl}-bM:SRE'
7984 # It seems that -bexpall does not export symbols beginning with
7985 # underscore (_), so it is better to generate a list of symbols to export.
7986 always_export_symbols
=yes
7987 if test "$aix_use_runtimelinking" = yes; then
7988 # Warning - without using the other runtime loading flags (-brtl),
7989 # -berok will link without error, but may produce a broken library.
7990 allow_undefined_flag
='-berok'
7991 # Determine the default libpath from the value encoded in an empty executable.
7992 cat >conftest.
$ac_ext <<_ACEOF
7995 cat confdefs.h
>>conftest.
$ac_ext
7996 cat >>conftest.
$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
8007 rm -f conftest.
$ac_objext conftest
$ac_exeext
8008 if { (ac_try
="$ac_link"
8010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8011 *) ac_try_echo=$ac_try;;
8013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8014 (eval "$ac_link") 2>conftest.er1
8016 grep -v '^ *+' conftest.er1 >conftest.err
8018 cat conftest.err >&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); } && {
8021 test -z "$ac_c_werror_flag" ||
8022 test ! -s conftest.err
8023 } && test -s conftest$ac_exeext &&
8024 $as_test_x conftest$ac_exeext; then
8026 lt_aix_libpath_sed='
8027 /Import File Strings/,/^$/ {
8033 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8034 # Check for a 64-bit object if we didn't find anything.
8035 if test -z "$aix_libpath"; then
8036 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8039 echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8046 conftest$ac_exeext conftest.$ac_ext
8047 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8049 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8050 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"
8052 if test "$host_cpu" = ia64; then
8053 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8054 allow_undefined_flag="-z nodefs"
8055 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"
8057 # Determine the default libpath from the value encoded in an empty executable.
8058 cat >conftest.$ac_ext <<_ACEOF
8061 cat confdefs.h >>conftest.$ac_ext
8062 cat >>conftest.$ac_ext <<_ACEOF
8063 /* end confdefs.h. */
8073 rm -f conftest.$ac_objext conftest$ac_exeext
8074 if { (ac_try="$ac_link"
8076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8077 *) ac_try_echo
=$ac_try;;
8079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8080 (eval "$ac_link") 2>conftest.er1
8082 grep -v '^ *+' conftest.er1
>conftest.err
8084 cat conftest.err
>&5
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); } && {
8087 test -z "$ac_c_werror_flag" ||
8088 test ! -s conftest.err
8089 } && test -s conftest
$ac_exeext &&
8090 $as_test_x conftest
$ac_exeext; then
8092 lt_aix_libpath_sed
='
8093 /Import File Strings/,/^$/ {
8099 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8100 # Check for a 64-bit object if we didn't find anything.
8101 if test -z "$aix_libpath"; then
8102 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8105 echo "$as_me: failed program was:" >&5
8106 sed 's/^/| /' conftest.
$ac_ext >&5
8111 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8112 conftest
$ac_exeext conftest.
$ac_ext
8113 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8115 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8116 # Warning - without using the other run time loading flags,
8117 # -berok will link without error, but may produce a broken library.
8118 no_undefined_flag
=' ${wl}-bernotok'
8119 allow_undefined_flag
=' ${wl}-berok'
8120 # Exported symbols can be pulled into shared objects from archives
8121 whole_archive_flag_spec
='$convenience'
8122 archive_cmds_need_lc
=yes
8123 # This is similar to how AIX traditionally builds its shared libraries.
8124 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'
8130 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)'
8131 hardcode_libdir_flag_spec
='-L$libdir'
8132 hardcode_minus_L
=yes
8133 # see comment about different semantics on the GNU ld section
8138 export_dynamic_flag_spec
=-rdynamic
8141 cygwin
* | mingw
* | pw32
*)
8142 # When not using gcc, we currently assume that we are using
8143 # Microsoft Visual C++.
8144 # hardcode_libdir_flag_spec is actually meaningless, as there is
8145 # no search path for DLLs.
8146 hardcode_libdir_flag_spec
=' '
8147 allow_undefined_flag
=unsupported
8148 # Tell ltmain to make .lib files, not .a files.
8150 # Tell ltmain to make .dll files, not .so files.
8152 # FIXME: Setting linknames here is a bad hack.
8153 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8154 # The linker will automatically build a .lib file if we build a DLL.
8155 old_archive_From_new_cmds
='true'
8156 # FIXME: Should let the user specify the lib program.
8157 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8158 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8159 enable_shared_with_static_runtimes
=yes
8162 darwin
* | rhapsody
*)
8164 rhapsody
* | darwin1.
[012])
8165 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8168 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8169 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8171 case ${MACOSX_DEPLOYMENT_TARGET} in
8173 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8176 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8182 archive_cmds_need_lc
=no
8184 hardcode_automatic
=yes
8185 hardcode_shlibpath_var
=unsupported
8186 whole_archive_flag_spec
=''
8187 link_all_deplibs
=yes
8188 if test "$GCC" = yes ; then
8189 output_verbose_link_cmd
='echo'
8190 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8191 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8192 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8193 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}'
8194 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}'
8196 case $cc_basename in
8198 output_verbose_link_cmd
='echo'
8199 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8200 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8201 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8202 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8203 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}'
8213 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8214 hardcode_libdir_flag_spec
='-L$libdir'
8215 hardcode_shlibpath_var
=no
8222 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8223 # support. Future versions do this automatically, but an explicit c++rt0.o
8224 # does not break anything, and helps significantly (at the cost of a little
8227 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8228 hardcode_libdir_flag_spec
='-R$libdir'
8230 hardcode_shlibpath_var
=no
8233 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8235 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8237 hardcode_minus_L
=yes
8238 hardcode_shlibpath_var
=no
8241 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8242 freebsd
* | dragonfly
*)
8243 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8244 hardcode_libdir_flag_spec
='-R$libdir'
8246 hardcode_shlibpath_var
=no
8250 if test "$GCC" = yes; then
8251 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'
8253 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'
8255 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8256 hardcode_libdir_separator
=:
8259 # hardcode_minus_L: Not really in the search PATH,
8260 # but as the default location of the library.
8261 hardcode_minus_L
=yes
8262 export_dynamic_flag_spec
='${wl}-E'
8266 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8267 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8269 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8271 if test "$with_gnu_ld" = no
; then
8272 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8273 hardcode_libdir_separator
=:
8276 export_dynamic_flag_spec
='${wl}-E'
8278 # hardcode_minus_L: Not really in the search PATH,
8279 # but as the default location of the library.
8280 hardcode_minus_L
=yes
8285 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8288 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8291 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8294 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8300 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8303 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8306 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8310 if test "$with_gnu_ld" = no
; then
8311 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8312 hardcode_libdir_separator
=:
8316 hardcode_libdir_flag_spec_ld
='+b $libdir'
8318 hardcode_shlibpath_var
=no
8322 export_dynamic_flag_spec
='${wl}-E'
8324 # hardcode_minus_L: Not really in the search PATH,
8325 # but as the default location of the library.
8326 hardcode_minus_L
=yes
8332 irix5
* | irix6
* | nonstopux
*)
8333 if test "$GCC" = yes; then
8334 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'
8336 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'
8337 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8339 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8340 hardcode_libdir_separator
=:
8341 link_all_deplibs
=yes
8345 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8346 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8348 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8350 hardcode_libdir_flag_spec
='-R$libdir'
8352 hardcode_shlibpath_var
=no
8356 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8358 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8359 hardcode_libdir_separator
=:
8360 hardcode_shlibpath_var
=no
8364 if test -f /usr
/libexec
/ld.so
; then
8366 hardcode_shlibpath_var
=no
8367 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8368 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8369 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8370 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8371 export_dynamic_flag_spec
='${wl}-E'
8374 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8375 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8376 hardcode_libdir_flag_spec
='-R$libdir'
8379 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8380 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8390 hardcode_libdir_flag_spec
='-L$libdir'
8391 hardcode_minus_L
=yes
8392 allow_undefined_flag
=unsupported
8393 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'
8394 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8398 if test "$GCC" = yes; then
8399 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8400 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'
8402 allow_undefined_flag
=' -expect_unresolved \*'
8403 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'
8405 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8406 hardcode_libdir_separator
=:
8409 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8410 if test "$GCC" = yes; then
8411 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8412 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'
8413 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8415 allow_undefined_flag
=' -expect_unresolved \*'
8416 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'
8417 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8418 $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'
8420 # Both c and cxx compiler support -rpath directly
8421 hardcode_libdir_flag_spec
='-rpath $libdir'
8423 hardcode_libdir_separator
=:
8427 no_undefined_flag
=' -z text'
8428 if test "$GCC" = yes; then
8430 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8431 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8432 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8435 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8436 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8437 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8439 hardcode_libdir_flag_spec
='-R$libdir'
8440 hardcode_shlibpath_var
=no
8442 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8444 # The compiler driver will combine and reorder linker options,
8445 # but understands `-z linker_flag'. GCC discards it without `$wl',
8446 # but is careful enough not to reorder.
8447 # Supported since Solaris 2.6 (maybe 2.5.1?)
8448 if test "$GCC" = yes; then
8449 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8451 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8455 link_all_deplibs
=yes
8459 if test "x$host_vendor" = xsequent
; then
8460 # Use $CC to link under sequent, because it throws in some extra .o
8461 # files that make .init and .fini sections work.
8462 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8464 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8466 hardcode_libdir_flag_spec
='-L$libdir'
8468 hardcode_minus_L
=yes
8469 hardcode_shlibpath_var
=no
8473 case $host_vendor in
8475 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8476 hardcode_direct
=yes # is this really true???
8479 ## LD is ld it makes a PLAMLIB
8480 ## CC just makes a GrossModule.
8481 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8482 reload_cmds
='$CC -r -o $output$reload_objs'
8486 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8487 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8490 runpath_var
='LD_RUN_PATH'
8491 hardcode_shlibpath_var
=no
8495 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8496 hardcode_shlibpath_var
=no
8497 export_dynamic_flag_spec
='-Bexport'
8501 if test -d /usr
/nec
; then
8502 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8503 hardcode_shlibpath_var
=no
8504 runpath_var
=LD_RUN_PATH
8505 hardcode_runpath_var
=yes
8510 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8511 no_undefined_flag
='${wl}-z,text'
8512 archive_cmds_need_lc
=no
8513 hardcode_shlibpath_var
=no
8514 runpath_var
='LD_RUN_PATH'
8516 if test "$GCC" = yes; then
8517 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8518 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8520 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8521 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8525 sysv5
* | sco3.2v5
* | sco5v6
*)
8526 # Note: We can NOT use -z defs as we might desire, because we do not
8527 # link with -lc, and that would cause any symbols used from libc to
8528 # always be unresolved, which means just about no library would
8529 # ever link correctly. If we're not using GNU ld we use -z text
8530 # though, which does catch some bad symbols but isn't as heavy-handed
8532 no_undefined_flag
='${wl}-z,text'
8533 allow_undefined_flag
='${wl}-z,nodefs'
8534 archive_cmds_need_lc
=no
8535 hardcode_shlibpath_var
=no
8536 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8537 hardcode_libdir_separator
=':'
8538 link_all_deplibs
=yes
8539 export_dynamic_flag_spec
='${wl}-Bexport'
8540 runpath_var
='LD_RUN_PATH'
8542 if test "$GCC" = yes; then
8543 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8544 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8546 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8547 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8552 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8553 hardcode_libdir_flag_spec
='-L$libdir'
8554 hardcode_shlibpath_var
=no
8563 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8564 echo "${ECHO_T}$ld_shlibs" >&6; }
8565 test "$ld_shlibs" = no
&& can_build_shared
=no
8568 # Do we need to explicitly link libc?
8570 case "x$archive_cmds_need_lc" in
8572 # Assume -lc should be added
8573 archive_cmds_need_lc
=yes
8575 if test "$enable_shared" = yes && test "$GCC" = yes; then
8576 case $archive_cmds in
8578 # FIXME: we may have to deal with multi-command sequences.
8581 # Test whether the compiler implicitly links with -lc since on some
8582 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8583 # to ld, don't add -lc before -lgcc.
8584 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8585 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8587 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8590 (eval $ac_compile) 2>&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); } 2>conftest.err
; then
8596 libobjs
=conftest.
$ac_objext
8598 wl
=$lt_prog_compiler_wl
8599 pic_flag
=$lt_prog_compiler_pic
8605 lt_save_allow_undefined_flag
=$allow_undefined_flag
8606 allow_undefined_flag
=
8607 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8608 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }
8613 archive_cmds_need_lc
=no
8615 archive_cmds_need_lc
=yes
8617 allow_undefined_flag
=$lt_save_allow_undefined_flag
8619 cat conftest.err
1>&5
8622 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8623 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8630 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8631 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8633 libname_spec
='lib$name'
8641 shlibpath_overrides_runpath
=unknown
8643 dynamic_linker
="$host_os ld.so"
8644 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8646 if test "$GCC" = yes; then
8648 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8649 *) lt_awk_arg
="/^libraries:/" ;;
8651 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8652 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8653 # if the path contains ";" then we assume it to be the separator
8654 # otherwise default to the standard path separator (i.e. ":") - it is
8655 # assumed that no part of a normal pathname contains ";" but that should
8656 # okay in the real world where ";" in dirpaths is itself problematic.
8657 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8659 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8661 # Ok, now we have the path, separated by spaces, we can step through it
8662 # and add multilib dir if necessary.
8663 lt_tmp_lt_search_path_spec
=
8664 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8665 for lt_sys_path
in $lt_search_path_spec; do
8666 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8667 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8669 test -d "$lt_sys_path" && \
8670 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8673 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8674 BEGIN {RS=" "; FS="/|\n";} {
8677 for (lt_i = NF; lt_i > 0; lt_i--) {
8678 if ($lt_i != "" && $lt_i != ".") {
8679 if ($lt_i == "..") {
8682 if (lt_count == 0) {
8683 lt_foo="/" $lt_i lt_foo;
8690 if (lt_foo != "") { lt_freq[lt_foo]++; }
8691 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8693 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8695 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8697 need_lib_prefix
=unknown
8698 hardcode_into_libs
=no
8700 # when you set need_version to no, make sure it does not cause -set_version
8701 # flags to be left without arguments
8702 need_version
=unknown
8707 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8708 shlibpath_var
=LIBPATH
8710 # AIX 3 has no versioning support, so we append a major version to the name.
8711 soname_spec
='${libname}${release}${shared_ext}$major'
8718 hardcode_into_libs
=yes
8719 if test "$host_cpu" = ia64
; then
8720 # AIX 5 supports IA64
8721 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8722 shlibpath_var
=LD_LIBRARY_PATH
8724 # With GCC up to 2.95.x, collect2 would create an import file
8725 # for dependence libraries. The import file would start with
8726 # the line `#! .'. This would cause the generated library to
8727 # depend on `.', always an invalid library. This was fixed in
8728 # development snapshots of GCC prior to 3.0.
8730 aix4 | aix4.
[01] | aix4.
[01].
*)
8731 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8733 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8740 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8741 # soname into executable. Probably we can add versioning support to
8742 # collect2, so additional links can be useful in future.
8743 if test "$aix_use_runtimelinking" = yes; then
8744 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8745 # instead of lib<name>.a to let people know that these are not
8746 # typical AIX shared libraries.
8747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8749 # We preserve .a as extension for shared libraries through AIX4.2
8750 # and later when we are not doing run time linking.
8751 library_names_spec
='${libname}${release}.a $libname.a'
8752 soname_spec
='${libname}${release}${shared_ext}$major'
8754 shlibpath_var
=LIBPATH
8759 library_names_spec
='$libname.ixlibrary $libname.a'
8760 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8761 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'
8765 library_names_spec
='${libname}${shared_ext}'
8766 dynamic_linker
="$host_os ld.so"
8767 shlibpath_var
=LIBRARY_PATH
8773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8774 soname_spec
='${libname}${release}${shared_ext}$major'
8775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8776 shlibpath_var
=LD_LIBRARY_PATH
8777 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8778 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8779 # the default ld.so.conf also contains /usr/contrib/lib and
8780 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8781 # libtool to hard-code these into programs
8784 cygwin
* | mingw
* | pw32
*)
8785 version_type
=windows
8790 case $GCC,$host_os in
8791 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8792 library_names_spec
='$libname.dll.a'
8793 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8794 postinstall_cmds
='base_file=`basename \${file}`~
8795 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8796 dldir=$destdir/`dirname \$dlpath`~
8797 test -d \$dldir || mkdir -p \$dldir~
8798 $install_prog $dir/$dlname \$dldir/$dlname~
8799 chmod a+x \$dldir/$dlname'
8800 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8801 dlpath=$dir/\$dldll~
8803 shlibpath_overrides_runpath
=yes
8807 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8808 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8809 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8812 # MinGW DLLs use traditional 'lib' prefix
8813 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8814 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8815 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8816 # It is most probably a Windows format PATH printed by
8817 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8818 # path with ; separators, and with drive letters. We can handle the
8819 # drive letters (cygwin fileutils understands them), so leave them,
8820 # especially as we might pass files found there to a mingw objdump,
8821 # which wouldn't understand a cygwinified path. Ahh.
8822 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8824 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8828 # pw32 DLLs use 'pw' prefix rather than 'lib'
8829 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8835 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8838 dynamic_linker
='Win32 ld.exe'
8839 # FIXME: first we should search . and the directory the executable is in
8843 darwin
* | rhapsody
*)
8844 dynamic_linker
="$host_os dyld"
8848 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8849 soname_spec
='${libname}${release}${major}$shared_ext'
8850 shlibpath_overrides_runpath
=yes
8851 shlibpath_var
=DYLD_LIBRARY_PATH
8852 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8854 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8855 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8863 soname_spec
='${libname}${release}${shared_ext}$major'
8864 shlibpath_var
=LD_LIBRARY_PATH
8871 freebsd
* | dragonfly
*)
8872 # DragonFly does not have aout. When/if they implement a new
8873 # versioning mechanism, adjust this.
8874 if test -x /usr
/bin
/objformat
; then
8875 objformat
=`/usr/bin/objformat`
8878 freebsd
[123]*) objformat
=aout
;;
8882 version_type
=freebsd-
$objformat
8883 case $version_type in
8885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8890 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8894 shlibpath_var
=LD_LIBRARY_PATH
8897 shlibpath_overrides_runpath
=yes
8899 freebsd3.
[01]* | freebsdelf3.
[01]*)
8900 shlibpath_overrides_runpath
=yes
8901 hardcode_into_libs
=yes
8903 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8904 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8905 shlibpath_overrides_runpath
=no
8906 hardcode_into_libs
=yes
8908 *) # from 4.6 on, and DragonFly
8909 shlibpath_overrides_runpath
=yes
8910 hardcode_into_libs
=yes
8919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8920 soname_spec
='${libname}${release}${shared_ext}$major'
8921 shlibpath_var
=LD_LIBRARY_PATH
8922 hardcode_into_libs
=yes
8925 hpux9
* | hpux10
* | hpux11
*)
8926 # Give a soname corresponding to the major version so that dld.sl refuses to
8927 # link against other versions.
8934 hardcode_into_libs
=yes
8935 dynamic_linker
="$host_os dld.so"
8936 shlibpath_var
=LD_LIBRARY_PATH
8937 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8939 soname_spec
='${libname}${release}${shared_ext}$major'
8940 if test "X$HPUX_IA64_MODE" = X32
; then
8941 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8943 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8945 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8949 hardcode_into_libs
=yes
8950 dynamic_linker
="$host_os dld.sl"
8951 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8952 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8954 soname_spec
='${libname}${release}${shared_ext}$major'
8955 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8956 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8960 dynamic_linker
="$host_os dld.sl"
8961 shlibpath_var
=SHLIB_PATH
8962 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8964 soname_spec
='${libname}${release}${shared_ext}$major'
8967 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8968 postinstall_cmds
='chmod 555 $lib'
8975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8976 soname_spec
='${libname}${release}${shared_ext}$major'
8977 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8978 shlibpath_var
=LD_LIBRARY_PATH
8979 shlibpath_overrides_runpath
=no
8980 hardcode_into_libs
=yes
8983 irix5
* | irix6
* | nonstopux
*)
8985 nonstopux
*) version_type
=nonstopux
;;
8987 if test "$lt_cv_prog_gnu_ld" = yes; then
8995 soname_spec
='${libname}${release}${shared_ext}$major'
8996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8998 irix5
* | nonstopux
*)
9002 case $LD in # libtool.m4 will add one of these switches to LD
9003 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9004 libsuff
= shlibsuff
= libmagic
=32-bit;;
9005 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9006 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9007 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9008 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9009 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9013 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9014 shlibpath_overrides_runpath
=no
9015 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9016 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9017 hardcode_into_libs
=yes
9020 # No shared lib support for Linux oldld, aout, or coff.
9021 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9025 # This must be Linux ELF.
9026 linux
* | k
*bsd
*-gnu)
9030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9031 soname_spec
='${libname}${release}${shared_ext}$major'
9032 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9033 shlibpath_var
=LD_LIBRARY_PATH
9034 shlibpath_overrides_runpath
=no
9035 # This implies no fast_install, which is unacceptable.
9036 # Some rework will be needed to allow for fast_install
9037 # before this can be enabled.
9038 hardcode_into_libs
=yes
9039 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9040 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9042 # Append ld.so.conf contents to the search path
9043 if test -f /etc
/ld.so.conf
; then
9044 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9045 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9048 # We used to test for /lib/ld.so.1 and disable shared libraries on
9049 # powerpc, because MkLinux only supported shared libraries with the
9050 # GNU dynamic linker. Since this was broken with cross compilers,
9051 # most powerpc-linux boxes support dynamic linking these days and
9052 # people can always --disable-shared, the test was removed, and we
9053 # assume the GNU/Linux dynamic linker is in use.
9054 dynamic_linker
='GNU/Linux ld.so'
9061 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9063 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9064 dynamic_linker
='NetBSD (a.out) ld.so'
9066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9067 soname_spec
='${libname}${release}${shared_ext}$major'
9068 dynamic_linker
='NetBSD ld.elf_so'
9070 shlibpath_var
=LD_LIBRARY_PATH
9071 shlibpath_overrides_runpath
=yes
9072 hardcode_into_libs
=yes
9077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9078 shlibpath_var
=LD_LIBRARY_PATH
9079 shlibpath_overrides_runpath
=yes
9086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9087 soname_spec
='${libname}${release}${shared_ext}$major'
9088 shlibpath_var
=LD_LIBRARY_PATH
9089 shlibpath_overrides_runpath
=yes
9094 sys_lib_dlsearch_path_spec
="/usr/lib"
9096 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9098 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9099 *) need_version
=no
;;
9101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9103 shlibpath_var
=LD_LIBRARY_PATH
9104 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9106 openbsd2.
[89] | openbsd2.
[89].
*)
9107 shlibpath_overrides_runpath
=no
9110 shlibpath_overrides_runpath
=yes
9114 shlibpath_overrides_runpath
=yes
9119 libname_spec
='$name'
9122 library_names_spec
='$libname${shared_ext} $libname.a'
9123 dynamic_linker
='OS/2 ld.exe'
9124 shlibpath_var
=LIBPATH
9127 osf3
* | osf4
* | osf5
*)
9131 soname_spec
='${libname}${release}${shared_ext}$major'
9132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9133 shlibpath_var
=LD_LIBRARY_PATH
9134 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9135 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9147 soname_spec
='${libname}${release}${shared_ext}$major'
9148 shlibpath_var
=LD_LIBRARY_PATH
9149 shlibpath_overrides_runpath
=yes
9150 hardcode_into_libs
=yes
9151 # ldd complains unless libraries are executable
9152 postinstall_cmds
='chmod +x $lib'
9157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9158 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9159 shlibpath_var
=LD_LIBRARY_PATH
9160 shlibpath_overrides_runpath
=yes
9161 if test "$with_gnu_ld" = yes; then
9169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9170 soname_spec
='${libname}${release}${shared_ext}$major'
9171 shlibpath_var
=LD_LIBRARY_PATH
9172 case $host_vendor in
9174 shlibpath_overrides_runpath
=no
9176 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9177 runpath_var
=LD_RUN_PATH
9185 shlibpath_overrides_runpath
=no
9186 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9192 if test -d /usr
/nec
;then
9194 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9195 soname_spec
='$libname${shared_ext}.$major'
9196 shlibpath_var
=LD_LIBRARY_PATH
9200 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9201 version_type
=freebsd-elf
9204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 shlibpath_var
=LD_LIBRARY_PATH
9207 hardcode_into_libs
=yes
9208 if test "$with_gnu_ld" = yes; then
9209 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9210 shlibpath_overrides_runpath
=no
9212 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9213 shlibpath_overrides_runpath
=yes
9216 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9220 sys_lib_dlsearch_path_spec
='/usr/lib'
9225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9226 soname_spec
='${libname}${release}${shared_ext}$major'
9227 shlibpath_var
=LD_LIBRARY_PATH
9234 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9235 echo "${ECHO_T}$dynamic_linker" >&6; }
9236 test "$dynamic_linker" = no
&& can_build_shared
=no
9238 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9239 if test "$GCC" = yes; then
9240 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9243 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9244 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9246 if test -n "$hardcode_libdir_flag_spec" || \
9247 test -n "$runpath_var" || \
9248 test "X$hardcode_automatic" = "Xyes" ; then
9250 # We can hardcode non-existant directories.
9251 if test "$hardcode_direct" != no
&&
9252 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9253 # have to relink, otherwise we might link with an installed library
9254 # when we should be linking with a yet-to-be-installed one
9255 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9256 test "$hardcode_minus_L" != no
; then
9257 # Linking always hardcodes the temporary library directory.
9258 hardcode_action
=relink
9260 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9261 hardcode_action
=immediate
9264 # We cannot hardcode anything, or else we can only hardcode existing
9266 hardcode_action
=unsupported
9268 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9269 echo "${ECHO_T}$hardcode_action" >&6; }
9271 if test "$hardcode_action" = relink
; then
9272 # Fast installation is not supported
9273 enable_fast_install
=no
9274 elif test "$shlibpath_overrides_runpath" = yes ||
9275 test "$enable_shared" = no
; then
9276 # Fast installation is not necessary
9277 enable_fast_install
=needless
9282 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9283 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9284 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9285 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9286 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9287 { echo "$as_me:$LINENO: result: yes" >&5
9288 echo "${ECHO_T}yes" >&6; }
9290 # FIXME - insert some real tests, host_os isn't really good enough
9293 if test -n "$STRIP" ; then
9294 striplib
="$STRIP -x"
9295 old_striplib
="$STRIP -S"
9296 { echo "$as_me:$LINENO: result: yes" >&5
9297 echo "${ECHO_T}yes" >&6; }
9299 { echo "$as_me:$LINENO: result: no" >&5
9300 echo "${ECHO_T}no" >&6; }
9304 { echo "$as_me:$LINENO: result: no" >&5
9305 echo "${ECHO_T}no" >&6; }
9310 if test "x$enable_dlopen" != xyes
; then
9311 enable_dlopen
=unknown
9312 enable_dlopen_self
=unknown
9313 enable_dlopen_self_static
=unknown
9320 lt_cv_dlopen
="load_add_on"
9322 lt_cv_dlopen_self
=yes
9326 lt_cv_dlopen
="LoadLibrary"
9331 lt_cv_dlopen
="dlopen"
9336 # if libdl is installed we need to link against it
9337 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9338 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 ac_check_lib_save_LIBS
=$LIBS
9344 cat >conftest.
$ac_ext <<_ACEOF
9347 cat confdefs.h
>>conftest.
$ac_ext
9348 cat >>conftest.
$ac_ext <<_ACEOF
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9366 rm -f conftest.
$ac_objext conftest
$ac_exeext
9367 if { (ac_try
="$ac_link"
9369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9370 *) ac_try_echo=$ac_try;;
9372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9373 (eval "$ac_link") 2>conftest.er1
9375 grep -v '^ *+' conftest.er1 >conftest.err
9377 cat conftest.err >&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); } && {
9380 test -z "$ac_c_werror_flag" ||
9381 test ! -s conftest.err
9382 } && test -s conftest$ac_exeext &&
9383 $as_test_x conftest$ac_exeext; then
9384 ac_cv_lib_dl_dlopen=yes
9386 echo "$as_me: failed program was:" >&5
9387 sed 's/^/| /' conftest.$ac_ext >&5
9389 ac_cv_lib_dl_dlopen=no
9392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9393 conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_lib_save_LIBS
9396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9397 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9398 if test $ac_cv_lib_dl_dlopen = yes; then
9399 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9404 lt_cv_dlopen_self=yes
9411 { echo "$as_me:$LINENO: checking for shl_load" >&5
9412 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9413 if test "${ac_cv_func_shl_load+set}" = set; then
9414 echo $ECHO_N "(cached) $ECHO_C" >&6
9416 cat >conftest.$ac_ext <<_ACEOF
9419 cat confdefs.h >>conftest.$ac_ext
9420 cat >>conftest.$ac_ext <<_ACEOF
9421 /* end confdefs.h. */
9422 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9424 #define shl_load innocuous_shl_load
9426 /* System header to define __stub macros and hopefully few prototypes,
9427 which can conflict with char shl_load (); below.
9428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9429 <limits.h> exists even on freestanding compilers. */
9432 # include <limits.h>
9434 # include <assert.h>
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9446 /* The GNU C library defines this for functions which it implements
9447 to always fail with ENOSYS. Some functions are actually named
9448 something starting with __ and the normal name is an alias. */
9449 #if defined __stub_shl_load || defined __stub___shl_load
9461 rm -f conftest.$ac_objext conftest$ac_exeext
9462 if { (ac_try="$ac_link"
9464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9465 *) ac_try_echo
=$ac_try;;
9467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9468 (eval "$ac_link") 2>conftest.er1
9470 grep -v '^ *+' conftest.er1
>conftest.err
9472 cat conftest.err
>&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); } && {
9475 test -z "$ac_c_werror_flag" ||
9476 test ! -s conftest.err
9477 } && test -s conftest
$ac_exeext &&
9478 $as_test_x conftest
$ac_exeext; then
9479 ac_cv_func_shl_load
=yes
9481 echo "$as_me: failed program was:" >&5
9482 sed 's/^/| /' conftest.
$ac_ext >&5
9484 ac_cv_func_shl_load
=no
9487 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9488 conftest
$ac_exeext conftest.
$ac_ext
9490 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9491 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9492 if test $ac_cv_func_shl_load = yes; then
9493 lt_cv_dlopen
="shl_load"
9495 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9496 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9497 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 ac_check_lib_save_LIBS
=$LIBS
9502 cat >conftest.
$ac_ext <<_ACEOF
9505 cat confdefs.h
>>conftest.
$ac_ext
9506 cat >>conftest.
$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9524 rm -f conftest.
$ac_objext conftest
$ac_exeext
9525 if { (ac_try
="$ac_link"
9527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9528 *) ac_try_echo=$ac_try;;
9530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9531 (eval "$ac_link") 2>conftest.er1
9533 grep -v '^ *+' conftest.er1 >conftest.err
9535 cat conftest.err >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } && {
9538 test -z "$ac_c_werror_flag" ||
9539 test ! -s conftest.err
9540 } && test -s conftest$ac_exeext &&
9541 $as_test_x conftest$ac_exeext; then
9542 ac_cv_lib_dld_shl_load=yes
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.$ac_ext >&5
9547 ac_cv_lib_dld_shl_load=no
9550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9555 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9556 if test $ac_cv_lib_dld_shl_load = yes; then
9557 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9559 { echo "$as_me:$LINENO: checking for dlopen" >&5
9560 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9561 if test "${ac_cv_func_dlopen+set}" = set; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 cat >conftest.$ac_ext <<_ACEOF
9567 cat confdefs.h >>conftest.$ac_ext
9568 cat >>conftest.$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9570 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9572 #define dlopen innocuous_dlopen
9574 /* System header to define __stub macros and hopefully few prototypes,
9575 which can conflict with char dlopen (); below.
9576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9577 <limits.h> exists even on freestanding compilers. */
9580 # include <limits.h>
9582 # include <assert.h>
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9594 /* The GNU C library defines this for functions which it implements
9595 to always fail with ENOSYS. Some functions are actually named
9596 something starting with __ and the normal name is an alias. */
9597 #if defined __stub_dlopen || defined __stub___dlopen
9609 rm -f conftest.$ac_objext conftest$ac_exeext
9610 if { (ac_try="$ac_link"
9612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9613 *) ac_try_echo
=$ac_try;;
9615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9616 (eval "$ac_link") 2>conftest.er1
9618 grep -v '^ *+' conftest.er1
>conftest.err
9620 cat conftest.err
>&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); } && {
9623 test -z "$ac_c_werror_flag" ||
9624 test ! -s conftest.err
9625 } && test -s conftest
$ac_exeext &&
9626 $as_test_x conftest
$ac_exeext; then
9627 ac_cv_func_dlopen
=yes
9629 echo "$as_me: failed program was:" >&5
9630 sed 's/^/| /' conftest.
$ac_ext >&5
9632 ac_cv_func_dlopen
=no
9635 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9636 conftest
$ac_exeext conftest.
$ac_ext
9638 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9639 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9640 if test $ac_cv_func_dlopen = yes; then
9641 lt_cv_dlopen
="dlopen"
9643 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9644 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9645 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9646 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 ac_check_lib_save_LIBS
=$LIBS
9650 cat >conftest.
$ac_ext <<_ACEOF
9653 cat confdefs.h
>>conftest.
$ac_ext
9654 cat >>conftest.
$ac_ext <<_ACEOF
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9672 rm -f conftest.
$ac_objext conftest
$ac_exeext
9673 if { (ac_try
="$ac_link"
9675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9676 *) ac_try_echo=$ac_try;;
9678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9679 (eval "$ac_link") 2>conftest.er1
9681 grep -v '^ *+' conftest.er1 >conftest.err
9683 cat conftest.err >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); } && {
9686 test -z "$ac_c_werror_flag" ||
9687 test ! -s conftest.err
9688 } && test -s conftest$ac_exeext &&
9689 $as_test_x conftest$ac_exeext; then
9690 ac_cv_lib_dl_dlopen=yes
9692 echo "$as_me: failed program was:" >&5
9693 sed 's/^/| /' conftest.$ac_ext >&5
9695 ac_cv_lib_dl_dlopen=no
9698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9699 conftest$ac_exeext conftest.$ac_ext
9700 LIBS=$ac_check_lib_save_LIBS
9702 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9703 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9704 if test $ac_cv_lib_dl_dlopen = yes; then
9705 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9707 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9708 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9709 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9710 echo $ECHO_N "(cached) $ECHO_C" >&6
9712 ac_check_lib_save_LIBS=$LIBS
9714 cat >conftest.$ac_ext <<_ACEOF
9717 cat confdefs.h >>conftest.$ac_ext
9718 cat >>conftest.$ac_ext <<_ACEOF
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9736 rm -f conftest.$ac_objext conftest$ac_exeext
9737 if { (ac_try="$ac_link"
9739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9740 *) ac_try_echo
=$ac_try;;
9742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 (eval "$ac_link") 2>conftest.er1
9745 grep -v '^ *+' conftest.er1
>conftest.err
9747 cat conftest.err
>&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } && {
9750 test -z "$ac_c_werror_flag" ||
9751 test ! -s conftest.err
9752 } && test -s conftest
$ac_exeext &&
9753 $as_test_x conftest
$ac_exeext; then
9754 ac_cv_lib_svld_dlopen
=yes
9756 echo "$as_me: failed program was:" >&5
9757 sed 's/^/| /' conftest.
$ac_ext >&5
9759 ac_cv_lib_svld_dlopen
=no
9762 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9763 conftest
$ac_exeext conftest.
$ac_ext
9764 LIBS
=$ac_check_lib_save_LIBS
9766 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9767 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9768 if test $ac_cv_lib_svld_dlopen = yes; then
9769 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9771 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9772 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9773 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 ac_check_lib_save_LIBS
=$LIBS
9778 cat >conftest.
$ac_ext <<_ACEOF
9781 cat confdefs.h
>>conftest.
$ac_ext
9782 cat >>conftest.
$ac_ext <<_ACEOF
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9800 rm -f conftest.
$ac_objext conftest
$ac_exeext
9801 if { (ac_try
="$ac_link"
9803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9804 *) ac_try_echo=$ac_try;;
9806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9807 (eval "$ac_link") 2>conftest.er1
9809 grep -v '^ *+' conftest.er1 >conftest.err
9811 cat conftest.err >&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); } && {
9814 test -z "$ac_c_werror_flag" ||
9815 test ! -s conftest.err
9816 } && test -s conftest$ac_exeext &&
9817 $as_test_x conftest$ac_exeext; then
9818 ac_cv_lib_dld_dld_link=yes
9820 echo "$as_me: failed program was:" >&5
9821 sed 's/^/| /' conftest.$ac_ext >&5
9823 ac_cv_lib_dld_dld_link=no
9826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9827 conftest$ac_exeext conftest.$ac_ext
9828 LIBS=$ac_check_lib_save_LIBS
9830 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9831 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9832 if test $ac_cv_lib_dld_dld_link = yes; then
9833 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9854 if test "x$lt_cv_dlopen" != xno; then
9860 case $lt_cv_dlopen in
9862 save_CPPFLAGS="$CPPFLAGS"
9863 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9865 save_LDFLAGS="$LDFLAGS"
9866 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9869 LIBS="$lt_cv_dlopen_libs $LIBS"
9871 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9872 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9873 if test "${lt_cv_dlopen_self+set}" = set; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9876 if test "$cross_compiling" = yes; then :
9877 lt_cv_dlopen_self=cross
9879 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9880 lt_status=$lt_dlunknown
9881 cat > conftest.$ac_ext <<EOF
9882 #line 9882 "configure"
9883 #include "confdefs.h"
9892 # define LT_DLGLOBAL RTLD_GLOBAL
9895 # define LT_DLGLOBAL DL_GLOBAL
9897 # define LT_DLGLOBAL 0
9901 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9902 find out it does not work in some platform. */
9903 #ifndef LT_DLLAZY_OR_NOW
9905 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9908 # define LT_DLLAZY_OR_NOW DL_LAZY
9911 # define LT_DLLAZY_OR_NOW RTLD_NOW
9914 # define LT_DLLAZY_OR_NOW DL_NOW
9916 # define LT_DLLAZY_OR_NOW 0
9924 extern "C" void exit (int);
9927 void fnord() { int i=42;}
9930 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9931 int status = $lt_dlunknown;
9935 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9936 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9937 /* dlclose (self); */
9945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9946 (eval $ac_link) 2>&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9950 (./conftest; exit; ) >&5 2>/dev/null
9953 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9954 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9955 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9958 # compilation failed
9959 lt_cv_dlopen_self=no
9966 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9967 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9969 if test "x$lt_cv_dlopen_self" = xyes; then
9970 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9971 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9972 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9973 if test "${lt_cv_dlopen_self_static+set}" = set; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9976 if test "$cross_compiling" = yes; then :
9977 lt_cv_dlopen_self_static=cross
9979 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9980 lt_status=$lt_dlunknown
9981 cat > conftest.$ac_ext <<EOF
9982 #line 9982 "configure"
9983 #include "confdefs.h"
9992 # define LT_DLGLOBAL RTLD_GLOBAL
9995 # define LT_DLGLOBAL DL_GLOBAL
9997 # define LT_DLGLOBAL 0
10001 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10002 find out it does not work in some platform. */
10003 #ifndef LT_DLLAZY_OR_NOW
10005 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10008 # define LT_DLLAZY_OR_NOW DL_LAZY
10011 # define LT_DLLAZY_OR_NOW RTLD_NOW
10014 # define LT_DLLAZY_OR_NOW DL_NOW
10016 # define LT_DLLAZY_OR_NOW 0
10024 extern "C" void exit (int);
10027 void fnord() { int i=42;}
10030 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10031 int status = $lt_dlunknown;
10035 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10036 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10037 /* dlclose (self); */
10045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10046 (eval $ac_link) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10050 (./conftest; exit; ) >&5 2>/dev/null
10052 case x$lt_status in
10053 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10054 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10055 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10058 # compilation failed
10059 lt_cv_dlopen_self_static=no
10066 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10067 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10070 CPPFLAGS="$save_CPPFLAGS"
10071 LDFLAGS="$save_LDFLAGS"
10076 case $lt_cv_dlopen_self in
10077 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10078 *) enable_dlopen_self=unknown ;;
10081 case $lt_cv_dlopen_self_static in
10082 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10083 *) enable_dlopen_self_static=unknown ;;
10088 # Report which library types will actually be built
10089 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10090 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10091 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10092 echo "${ECHO_T}$can_build_shared" >&6; }
10094 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10095 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10096 test "$can_build_shared" = "no" && enable_shared=no
10098 # On AIX, shared libraries and static libraries use the same namespace, and
10099 # are all built from PIC.
10102 test "$enable_shared" = yes && enable_static=no
10103 if test -n "$RANLIB"; then
10104 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10105 postinstall_cmds='$RANLIB $lib'
10110 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10111 test "$enable_shared" = yes && enable_static=no
10115 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10116 echo "${ECHO_T}$enable_shared" >&6; }
10118 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10119 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10120 # Make sure either enable_shared or enable_static is yes.
10121 test "$enable_shared" = yes || enable_static=yes
10122 { echo "$as_me:$LINENO: result: $enable_static" >&5
10123 echo "${ECHO_T}$enable_static" >&6; }
10125 # The else clause should only fire when bootstrapping the
10126 # libtool distribution, otherwise you forgot to ship ltmain.sh
10127 # with your package, and you will get complaints that there are
10128 # no rules to generate ltmain.sh.
10129 if test -f "$ltmain"; then
10130 # See if we are running on zsh, and set the options which allow our commands through
10131 # without removal of \ escapes.
10132 if test -n "${ZSH_VERSION+set}" ; then
10133 setopt NO_GLOB_SUBST
10135 # Now quote all the things that may contain metacharacters while being
10136 # careful not to overquote the AC_SUBSTed values. We take copies of the
10137 # variables and quote the copies for generation of the libtool script.
10138 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10140 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10141 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10142 deplibs_check_method reload_flag reload_cmds need_locks \
10143 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10144 lt_cv_sys_global_symbol_to_c_name_address \
10145 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10146 old_postinstall_cmds old_postuninstall_cmds \
10150 lt_prog_compiler_wl \
10151 lt_prog_compiler_pic \
10152 lt_prog_compiler_static \
10153 lt_prog_compiler_no_builtin_flag \
10154 export_dynamic_flag_spec \
10155 thread_safe_flag_spec \
10156 whole_archive_flag_spec \
10157 enable_shared_with_static_runtimes \
10159 old_archive_from_new_cmds \
10164 compiler_lib_search_path \
10166 archive_expsym_cmds \
10168 postuninstall_cmds \
10169 old_archive_from_expsyms_cmds \
10170 allow_undefined_flag \
10171 no_undefined_flag \
10172 export_symbols_cmds \
10173 hardcode_libdir_flag_spec \
10174 hardcode_libdir_flag_spec_ld \
10175 hardcode_libdir_separator \
10176 hardcode_automatic \
10178 module_expsym_cmds \
10179 lt_cv_prog_compiler_c_o \
10182 include_expsyms; do
10185 old_archive_cmds | \
10186 old_archive_from_new_cmds | \
10188 archive_expsym_cmds | \
10190 module_expsym_cmds | \
10191 old_archive_from_expsyms_cmds | \
10192 export_symbols_cmds | \
10193 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10194 postinstall_cmds | postuninstall_cmds | \
10195 old_postinstall_cmds | old_postuninstall_cmds | \
10196 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10197 # Double-quote double-evaled strings.
10198 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10201 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10207 *'\$0 --fallback-echo"')
10208 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10212 cfgfile="${ofile}T"
10213 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10215 { echo "$as_me:$LINENO: creating $ofile" >&5
10216 echo "$as_me: creating $ofile" >&6;}
10218 cat <<__EOF__ >> "$cfgfile"
10221 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10222 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10223 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10225 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10226 # Free Software Foundation, Inc.
10228 # This file is part of GNU Libtool:
10229 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10231 # This program is free software; you can redistribute it and/or modify
10232 # it under the terms of the GNU General Public License as published by
10233 # the Free Software Foundation; either version 2 of the License, or
10234 # (at your option) any later version.
10236 # This program is distributed in the hope that it will be useful, but
10237 # WITHOUT ANY WARRANTY; without even the implied warranty of
10238 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10239 # General Public License for more details.
10241 # You should have received a copy of the GNU General Public License
10242 # along with this program; if not, write to the Free Software
10243 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10245 # As a special exception to the GNU General Public License, if you
10246 # distribute this file as part of a program that contains a
10247 # configuration script generated by Autoconf, you may include it under
10248 # the same distribution terms that you use for the rest of that program.
10250 # A sed program that does not truncate output.
10253 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10254 Xsed="$SED -e 1s/^X//"
10256 # The HP-UX ksh and POSIX shell print the target directory to stdout
10257 # if CDPATH is set.
10258 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10260 # The names of the tagged configurations supported by this script.
10263 # ### BEGIN LIBTOOL CONFIG
10265 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10267 # Shell to use when invoking shell scripts.
10270 # Whether or not to build shared libraries.
10271 build_libtool_libs=$enable_shared
10273 # Whether or not to build static libraries.
10274 build_old_libs=$enable_static
10276 # Whether or not to add -lc for building shared libraries.
10277 build_libtool_need_lc=$archive_cmds_need_lc
10279 # Whether or not to disallow shared libs when runtime libs are static
10280 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10282 # Whether or not to optimize for fast installation.
10283 fast_install=$enable_fast_install
10286 host_alias=$host_alias
10290 # The build system.
10291 build_alias=$build_alias
10295 # An echo program that does not interpret backslashes.
10300 AR_FLAGS=$lt_AR_FLAGS
10305 # LTCC compiler flags.
10306 LTCFLAGS=$lt_LTCFLAGS
10308 # A language-specific compiler.
10311 # Is the compiler the GNU C compiler?
10317 # The linker used to build libraries.
10320 # Whether we need hard or soft links.
10323 # A BSD-compatible nm program.
10326 # A symbol stripping program
10329 # Used to examine libraries when file_magic_cmd begins "file"
10330 MAGIC_CMD=$MAGIC_CMD
10332 # Used on cygwin: DLL creation program.
10335 # Used on cygwin: object dumper.
10338 # Used on cygwin: assembler.
10341 # The name of the directory that contains temporary libtool files.
10344 # How to create reloadable object files.
10345 reload_flag=$lt_reload_flag
10346 reload_cmds=$lt_reload_cmds
10348 # How to pass a linker flag through the compiler.
10349 wl=$lt_lt_prog_compiler_wl
10351 # Object file suffix (normally "o").
10352 objext="$ac_objext"
10354 # Old archive suffix (normally "a").
10357 # Shared library suffix (normally ".so").
10358 shrext_cmds='$shrext_cmds'
10360 # Executable file suffix (normally "").
10363 # Additional compiler flags for building library objects.
10364 pic_flag=$lt_lt_prog_compiler_pic
10367 # What is the maximum length of a command?
10368 max_cmd_len=$lt_cv_sys_max_cmd_len
10370 # Does compiler simultaneously support -c and -o options?
10371 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10373 # Must we lock files when doing compilation?
10374 need_locks=$lt_need_locks
10376 # Do we need the lib prefix for modules?
10377 need_lib_prefix=$need_lib_prefix
10379 # Do we need a version for libraries?
10380 need_version=$need_version
10382 # Whether dlopen is supported.
10383 dlopen_support=$enable_dlopen
10385 # Whether dlopen of programs is supported.
10386 dlopen_self=$enable_dlopen_self
10388 # Whether dlopen of statically linked programs is supported.
10389 dlopen_self_static=$enable_dlopen_self_static
10391 # Compiler flag to prevent dynamic linking.
10392 link_static_flag=$lt_lt_prog_compiler_static
10394 # Compiler flag to turn off builtin functions.
10395 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10397 # Compiler flag to allow reflexive dlopens.
10398 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10400 # Compiler flag to generate shared objects directly from archives.
10401 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10403 # Compiler flag to generate thread-safe objects.
10404 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10406 # Library versioning type.
10407 version_type=$version_type
10409 # Format of library name prefix.
10410 libname_spec=$lt_libname_spec
10412 # List of archive names. First name is the real one, the rest are links.
10413 # The last name is the one that the linker finds with -lNAME.
10414 library_names_spec=$lt_library_names_spec
10416 # The coded name of the library, if different from the real name.
10417 soname_spec=$lt_soname_spec
10419 # Commands used to build and install an old-style archive.
10421 old_archive_cmds=$lt_old_archive_cmds
10422 old_postinstall_cmds=$lt_old_postinstall_cmds
10423 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10425 # Create an old-style archive from a shared archive.
10426 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10428 # Create a temporary old-style archive to link instead of a shared archive.
10429 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10431 # Commands used to build and install a shared archive.
10432 archive_cmds=$lt_archive_cmds
10433 archive_expsym_cmds=$lt_archive_expsym_cmds
10434 postinstall_cmds=$lt_postinstall_cmds
10435 postuninstall_cmds=$lt_postuninstall_cmds
10437 # Commands used to build a loadable module (assumed same as above if empty)
10438 module_cmds=$lt_module_cmds
10439 module_expsym_cmds=$lt_module_expsym_cmds
10441 # Commands to strip libraries.
10442 old_striplib=$lt_old_striplib
10443 striplib=$lt_striplib
10445 # Dependencies to place before the objects being linked to create a
10447 predep_objects=$lt_predep_objects
10449 # Dependencies to place after the objects being linked to create a
10451 postdep_objects=$lt_postdep_objects
10453 # Dependencies to place before the objects being linked to create a
10455 predeps=$lt_predeps
10457 # Dependencies to place after the objects being linked to create a
10459 postdeps=$lt_postdeps
10461 # The library search path used internally by the compiler when linking
10462 # a shared library.
10463 compiler_lib_search_path=$lt_compiler_lib_search_path
10465 # Method to check whether dependent libraries are shared objects.
10466 deplibs_check_method=$lt_deplibs_check_method
10468 # Command to use when deplibs_check_method == file_magic.
10469 file_magic_cmd=$lt_file_magic_cmd
10471 # Flag that allows shared libraries with undefined symbols to be built.
10472 allow_undefined_flag=$lt_allow_undefined_flag
10474 # Flag that forces no undefined symbols.
10475 no_undefined_flag=$lt_no_undefined_flag
10477 # Commands used to finish a libtool library installation in a directory.
10478 finish_cmds=$lt_finish_cmds
10480 # Same as above, but a single script fragment to be evaled but not shown.
10481 finish_eval=$lt_finish_eval
10483 # Take the output of nm and produce a listing of raw symbols and C names.
10484 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10486 # Transform the output of nm in a proper C declaration
10487 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10489 # Transform the output of nm in a C name address pair
10490 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10492 # This is the shared library runtime path variable.
10493 runpath_var=$runpath_var
10495 # This is the shared library path variable.
10496 shlibpath_var=$shlibpath_var
10498 # Is shlibpath searched before the hard-coded library search path?
10499 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10501 # How to hardcode a shared library path into an executable.
10502 hardcode_action=$hardcode_action
10504 # Whether we should hardcode library paths into libraries.
10505 hardcode_into_libs=$hardcode_into_libs
10507 # Flag to hardcode \$libdir into a binary during linking.
10508 # This must work even if \$libdir does not exist.
10509 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10511 # If ld is used when linking, flag to hardcode \$libdir into
10512 # a binary during linking. This must work even if \$libdir does
10514 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10516 # Whether we need a single -rpath flag with a separated argument.
10517 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10519 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10520 # resulting binary.
10521 hardcode_direct=$hardcode_direct
10523 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10524 # resulting binary.
10525 hardcode_minus_L=$hardcode_minus_L
10527 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10528 # the resulting binary.
10529 hardcode_shlibpath_var=$hardcode_shlibpath_var
10531 # Set to yes if building a shared library automatically hardcodes DIR into the library
10532 # and all subsequent libraries and executables linked against it.
10533 hardcode_automatic=$hardcode_automatic
10535 # Variables whose values should be saved in libtool wrapper scripts and
10536 # restored at relink time.
10537 variables_saved_for_relink="$variables_saved_for_relink"
10539 # Whether libtool must link a program against all its dependency libraries.
10540 link_all_deplibs=$link_all_deplibs
10542 # Compile-time system search path for libraries
10543 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10545 # Run-time system search path for libraries
10546 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10548 # Fix the shell variable \$srcfile for the compiler.
10549 fix_srcfile_path=$lt_fix_srcfile_path
10551 # Set to yes if exported symbols are required.
10552 always_export_symbols=$always_export_symbols
10554 # The commands to list exported symbols.
10555 export_symbols_cmds=$lt_export_symbols_cmds
10557 # The commands to extract the exported symbol list from a shared archive.
10558 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10560 # Symbols that should not be listed in the preloaded symbols.
10561 exclude_expsyms=$lt_exclude_expsyms
10563 # Symbols that must always be exported.
10564 include_expsyms=$lt_include_expsyms
10566 # ### END LIBTOOL CONFIG
10573 cat <<\EOF >> "$cfgfile"
10575 # AIX sometimes has problems with the GCC collect2 program. For some
10576 # reason, if we set the COLLECT_NAMES environment variable, the problems
10577 # vanish in a puff of smoke.
10578 if test "X${COLLECT_NAMES+set}" != Xset; then
10580 export COLLECT_NAMES
10586 # We use sed instead of cat because bash on DJGPP gets confused if
10587 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10588 # text mode, it properly converts lines to CR/LF. This bash problem
10589 # is reportedly fixed, but why not run on old versions too?
10590 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10592 mv -f "$cfgfile" "$ofile" || \
10593 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10597 # If there is no Makefile yet, we rely on a make rule to execute
10598 # `config.status
--recheck' to rerun these tests and create the
10599 # libtool script then.
10600 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10601 if test -f "$ltmain_in"; then
10602 test -f Makefile && make "$ltmain"
10608 ac_cpp='$CPP $CPPFLAGS'
10609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10610 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10616 # Check whether --with-tags was given.
10617 if test "${with_tags+set}" = set; then
10618 withval=$with_tags; tagnames="$withval"
10622 if test -f "$ltmain" && test -n "$tagnames"; then
10623 if test ! -f "${ofile}"; then
10624 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10625 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10628 if test -z "$LTCC"; then
10629 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10630 if test -z "$LTCC"; then
10631 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10632 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10634 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10635 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10638 if test -z "$LTCFLAGS"; then
10639 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10642 # Extract list of available tagged configurations in $ofile.
10643 # Note that this assumes the entire list is on one line.
10644 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10646 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10647 for tagname in $tagnames; do
10649 # Check whether tagname contains only valid characters
10650 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10652 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10653 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10654 { (exit 1); exit 1; }; }
10658 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10660 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10661 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10662 { (exit 1); exit 1; }; }
10665 # Update the list of available tags.
10666 if test -n "$tagname"; then
10667 echo appending configuration tag \"$tagname\" to $ofile
10671 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10672 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10673 (test "X$CXX" != "Xg++"))) ; then
10675 ac_cpp='$CXXCPP $CPPFLAGS'
10676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10683 archive_cmds_need_lc_CXX=no
10684 allow_undefined_flag_CXX=
10685 always_export_symbols_CXX=no
10686 archive_expsym_cmds_CXX=
10687 export_dynamic_flag_spec_CXX=
10688 hardcode_direct_CXX=no
10689 hardcode_libdir_flag_spec_CXX=
10690 hardcode_libdir_flag_spec_ld_CXX=
10691 hardcode_libdir_separator_CXX=
10692 hardcode_minus_L_CXX=no
10693 hardcode_shlibpath_var_CXX=unsupported
10694 hardcode_automatic_CXX=no
10696 module_expsym_cmds_CXX=
10697 link_all_deplibs_CXX=unknown
10698 old_archive_cmds_CXX=$old_archive_cmds
10699 no_undefined_flag_CXX=
10700 whole_archive_flag_spec_CXX=
10701 enable_shared_with_static_runtimes_CXX=no
10703 # Dependencies to place before and after the object being linked:
10704 predep_objects_CXX=
10705 postdep_objects_CXX=
10708 compiler_lib_search_path_CXX=
10710 # Source file extension for C++ test sources.
10713 # Object file extension for compiled C++ test sources.
10717 # Code to be used in simple compile tests
10718 lt_simple_compile_test_code="int some_variable = 0;"
10720 # Code to be used in simple link tests
10721 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10723 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10725 # If no C compiler was specified, use CC.
10728 # If no C compiler flags were specified, use CFLAGS.
10729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10731 # Allow CC to be a program name with arguments.
10735 # save warnings/boilerplate of simple test code
10736 ac_outfile=conftest.$ac_objext
10737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10739 _lt_compiler_boilerplate=`cat conftest.err
`
10742 ac_outfile=conftest.$ac_objext
10743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10745 _lt_linker_boilerplate=`cat conftest.err
`
10749 # Allow CC to be a program name with arguments.
10754 lt_save_with_gnu_ld=$with_gnu_ld
10755 lt_save_path_LD=$lt_cv_path_LD
10756 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10757 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10759 $as_unset lt_cv_prog_gnu_ld
10761 if test -n "${lt_cv_path_LDCXX+set}"; then
10762 lt_cv_path_LD=$lt_cv_path_LDCXX
10764 $as_unset lt_cv_path_LD
10766 test -z "${LDCXX+set}" || LD=$LDCXX
10770 for cc_temp in $compiler""; do
10772 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10773 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10778 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10781 # We don't want -fno-exception wen compiling C++ code, so set the
10782 # no_builtin_flag separately
10783 if test "$GXX" = yes; then
10784 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10786 lt_prog_compiler_no_builtin_flag_CXX=
10789 if test "$GXX" = yes; then
10790 # Set up default GNU C++ configuration
10793 # Check whether --with-gnu-ld was given.
10794 if test "${with_gnu_ld+set}" = set; then
10795 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10801 if test "$GCC" = yes; then
10802 # Check if gcc -print-prog-name=ld gives a path.
10803 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10804 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10807 # gcc leaves a trailing carriage return which upsets mingw
10808 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10810 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10813 # Accept absolute paths.
10815 re_direlt='/[^/][^/]*/\.\./'
10816 # Canonicalize the pathname of ld
10817 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10818 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10819 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10821 test -z "$LD" && LD="$ac_prog"
10824 # If it fails, then pretend we aren't using GCC.
10828 # If it is relative, then search for the first ld in PATH.
10829 with_gnu_ld=unknown
10832 elif test "$with_gnu_ld" = yes; then
10833 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10834 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10836 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10837 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10839 if test "${lt_cv_path_LD+set}" = set; then
10840 echo $ECHO_N "(cached) $ECHO_C" >&6
10842 if test -z "$LD"; then
10843 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10844 for ac_dir in $PATH; do
10846 test -z "$ac_dir" && ac_dir=.
10847 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10848 lt_cv_path_LD="$ac_dir/$ac_prog"
10849 # Check to see if the program is GNU ld. I'd rather use --version,
10850 # but apparently some variants of GNU ld only accept -v.
10851 # Break only if it was the GNU/non-GNU ld that we prefer.
10852 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10853 *GNU* | *'with BFD'*)
10854 test "$with_gnu_ld" != no && break
10857 test "$with_gnu_ld" != yes && break
10864 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10868 LD="$lt_cv_path_LD"
10869 if test -n "$LD"; then
10870 { echo "$as_me:$LINENO: result: $LD" >&5
10871 echo "${ECHO_T}$LD" >&6; }
10873 { echo "$as_me:$LINENO: result: no" >&5
10874 echo "${ECHO_T}no" >&6; }
10876 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10877 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10878 { (exit 1); exit 1; }; }
10879 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10880 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10881 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10885 case `$LD -v 2>&1 </dev
/null
` in
10886 *GNU* | *'with BFD'*)
10887 lt_cv_prog_gnu_ld=yes
10890 lt_cv_prog_gnu_ld=no
10894 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10895 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10896 with_gnu_ld=$lt_cv_prog_gnu_ld
10900 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10901 # archiving commands below assume that GNU ld is being used.
10902 if test "$with_gnu_ld" = yes; then
10903 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10904 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'
10906 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10907 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10909 # If archive_cmds runs LD, not CC, wlarc should be empty
10910 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10911 # investigate it a little bit more. (MM)
10914 # ancient GNU ld didn't support --whole-archive et. al.
10915 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10916 grep 'no-whole-archive' > /dev/null; then
10917 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10919 whole_archive_flag_spec_CXX=
10925 # A generic and very simple default shared library creation
10926 # command for GNU C++ for the case where it uses the native
10927 # linker, instead of GNU ld. If possible, this setting should
10928 # overridden to take advantage of the native linker features on
10929 # the platform it is being used on.
10930 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10933 # Commands to make compiler produce verbose output that lists
10934 # what "hidden" libraries, object files and flags are used when
10935 # linking a shared library.
10936 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10944 # PORTME: fill in a description of your system's C++ link characteristics
10945 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10946 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10950 # FIXME: insert proper C++ library support
10954 if test "$host_cpu" = ia64; then
10955 # On IA64, the linker does run time linking by default, so we don't
10956 # have to do anything special.
10957 aix_use_runtimelinking=no
10958 exp_sym_flag='-Bexport'
10961 aix_use_runtimelinking=no
10963 # Test if we are trying to use run time linking or normal
10964 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10965 # need to do runtime linking.
10966 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10967 for ld_flag in $LDFLAGS; do
10970 aix_use_runtimelinking=yes
10978 exp_sym_flag='-bexport'
10979 no_entry_flag='-bnoentry'
10982 # When large executables or shared objects are built, AIX ld can
10983 # have problems creating the table of contents. If linking a library
10984 # or program results in "error TOC overflow" add -mminimal-toc to
10985 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10986 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10988 archive_cmds_CXX=''
10989 hardcode_direct_CXX=yes
10990 hardcode_libdir_separator_CXX=':'
10991 link_all_deplibs_CXX=yes
10993 if test "$GXX" = yes; then
10994 case $host_os in aix4.[012]|aix4.[012].*)
10995 # We only want to do this on AIX 4.2 and lower, the check
10996 # below for broken collect2 doesn't work under 4.3+
10997 collect2name=`${CC} -print-prog-name=collect2
`
10998 if test -f "$collect2name" && \
10999 strings "$collect2name" | grep resolve_lib_name >/dev/null
11001 # We have reworked collect2
11004 # We have old collect2
11005 hardcode_direct_CXX=unsupported
11006 # It fails to find uninstalled libraries when the uninstalled
11007 # path is not listed in the libpath. Setting hardcode_minus_L
11008 # to unsupported forces relinking
11009 hardcode_minus_L_CXX=yes
11010 hardcode_libdir_flag_spec_CXX='-L$libdir'
11011 hardcode_libdir_separator_CXX=
11015 shared_flag='-shared'
11016 if test "$aix_use_runtimelinking" = yes; then
11017 shared_flag="$shared_flag "'${wl}-G'
11021 if test "$host_cpu" = ia64; then
11022 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11023 # chokes on -Wl,-G. The following line is correct:
11026 if test "$aix_use_runtimelinking" = yes; then
11027 shared_flag='${wl}-G'
11029 shared_flag='${wl}-bM:SRE'
11034 # It seems that -bexpall does not export symbols beginning with
11035 # underscore (_), so it is better to generate a list of symbols to export.
11036 always_export_symbols_CXX=yes
11037 if test "$aix_use_runtimelinking" = yes; then
11038 # Warning - without using the other runtime loading flags (-brtl),
11039 # -berok will link without error, but may produce a broken library.
11040 allow_undefined_flag_CXX='-berok'
11041 # Determine the default libpath from the value encoded in an empty executable.
11042 cat >conftest.$ac_ext <<_ACEOF
11045 cat confdefs.h >>conftest.$ac_ext
11046 cat >>conftest.$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11057 rm -f conftest.$ac_objext conftest$ac_exeext
11058 if { (ac_try="$ac_link"
11059 case "(($ac_try" in
11060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11061 *) ac_try_echo
=$ac_try;;
11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11064 (eval "$ac_link") 2>conftest.er1
11066 grep -v '^ *+' conftest.er1
>conftest.err
11068 cat conftest.err
>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } && {
11071 test -z "$ac_cxx_werror_flag" ||
11072 test ! -s conftest.err
11073 } && test -s conftest
$ac_exeext &&
11074 $as_test_x conftest
$ac_exeext; then
11076 lt_aix_libpath_sed
='
11077 /Import File Strings/,/^$/ {
11083 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11084 # Check for a 64-bit object if we didn't find anything.
11085 if test -z "$aix_libpath"; then
11086 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11089 echo "$as_me: failed program was:" >&5
11090 sed 's/^/| /' conftest.
$ac_ext >&5
11095 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11096 conftest
$ac_exeext conftest.
$ac_ext
11097 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11099 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11101 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"
11103 if test "$host_cpu" = ia64
; then
11104 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11105 allow_undefined_flag_CXX
="-z nodefs"
11106 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"
11108 # Determine the default libpath from the value encoded in an empty executable.
11109 cat >conftest.
$ac_ext <<_ACEOF
11112 cat confdefs.h
>>conftest.
$ac_ext
11113 cat >>conftest.
$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11124 rm -f conftest.
$ac_objext conftest
$ac_exeext
11125 if { (ac_try
="$ac_link"
11126 case "(($ac_try" in
11127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11128 *) ac_try_echo=$ac_try;;
11130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11131 (eval "$ac_link") 2>conftest.er1
11133 grep -v '^ *+' conftest.er1 >conftest.err
11135 cat conftest.err >&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } && {
11138 test -z "$ac_cxx_werror_flag" ||
11139 test ! -s conftest.err
11140 } && test -s conftest$ac_exeext &&
11141 $as_test_x conftest$ac_exeext; then
11143 lt_aix_libpath_sed='
11144 /Import File Strings/,/^$/ {
11150 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11151 # Check for a 64-bit object if we didn't find anything.
11152 if test -z "$aix_libpath"; then
11153 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.$ac_ext >&5
11162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11163 conftest$ac_exeext conftest.$ac_ext
11164 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11166 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11167 # Warning - without using the other run time loading flags,
11168 # -berok will link without error, but may produce a broken library.
11169 no_undefined_flag_CXX=' ${wl}-bernotok'
11170 allow_undefined_flag_CXX=' ${wl}-berok'
11171 # Exported symbols can be pulled into shared objects from archives
11172 whole_archive_flag_spec_CXX='$convenience'
11173 archive_cmds_need_lc_CXX=yes
11174 # This is similar to how AIX traditionally builds its shared libraries.
11175 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'
11181 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11182 allow_undefined_flag_CXX=unsupported
11183 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11184 # support --undefined. This deserves some investigation. FIXME
11185 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11192 case $cc_basename in
11194 # FIXME: insert proper C++ library support
11200 cygwin* | mingw* | pw32*)
11201 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11202 # as there is no search path for DLLs.
11203 hardcode_libdir_flag_spec_CXX='-L$libdir'
11204 allow_undefined_flag_CXX=unsupported
11205 always_export_symbols_CXX=no
11206 enable_shared_with_static_runtimes_CXX=yes
11208 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11209 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'
11210 # If the export-symbols file already is a .def file (1st line
11211 # is EXPORTS), use it as is; otherwise, prepend...
11212 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11213 cp $export_symbols $output_objdir/$soname.def;
11215 echo EXPORTS > $output_objdir/$soname.def;
11216 cat $export_symbols >> $output_objdir/$soname.def;
11218 $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'
11223 darwin* | rhapsody*)
11225 rhapsody* | darwin1.[012])
11226 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11229 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11230 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11232 case ${MACOSX_DEPLOYMENT_TARGET} in
11234 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11237 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11243 archive_cmds_need_lc_CXX=no
11244 hardcode_direct_CXX=no
11245 hardcode_automatic_CXX=yes
11246 hardcode_shlibpath_var_CXX=unsupported
11247 whole_archive_flag_spec_CXX=''
11248 link_all_deplibs_CXX=yes
11250 if test "$GXX" = yes ; then
11251 lt_int_apple_cc_single_mod=no
11252 output_verbose_link_cmd='echo'
11253 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11254 lt_int_apple_cc_single_mod=yes
11256 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11257 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11259 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'
11261 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11262 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11263 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11264 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}'
11266 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}'
11268 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}'
11270 case $cc_basename in
11272 output_verbose_link_cmd='echo'
11273 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11274 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11275 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11276 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11277 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}'
11287 case $cc_basename in
11289 # FIXME: insert proper C++ library support
11293 # Green Hills C++ Compiler
11294 # FIXME: insert proper C++ library support
11298 # FIXME: insert proper C++ library support
11304 # C++ shared libraries reported to be fairly broken before switch to ELF
11308 archive_cmds_need_lc_CXX=no
11310 freebsd* | dragonfly*)
11311 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11318 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11319 hardcode_libdir_separator_CXX=:
11320 export_dynamic_flag_spec_CXX='${wl}-E'
11321 hardcode_direct_CXX=yes
11322 hardcode_minus_L_CXX=yes # Not in the search PATH,
11323 # but as the default
11324 # location of the library.
11326 case $cc_basename in
11328 # FIXME: insert proper C++ library support
11332 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'
11333 # Commands to make compiler produce verbose output that lists
11334 # what "hidden" libraries, object files and flags are used when
11335 # linking a shared library.
11337 # There doesn't appear to be a way to prevent this compiler from
11338 # explicitly linking system object files so we need to strip them
11339 # from the output so that they don't get included in the library
11341 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'
11344 if test "$GXX" = yes; then
11345 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'
11347 # FIXME: insert proper C++ library support
11354 if test $with_gnu_ld = no; then
11355 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11356 hardcode_libdir_separator_CXX=:
11361 export_dynamic_flag_spec_CXX='${wl}-E'
11367 hardcode_direct_CXX=no
11368 hardcode_shlibpath_var_CXX=no
11371 hardcode_direct_CXX=yes
11372 hardcode_minus_L_CXX=yes # Not in the search PATH,
11373 # but as the default
11374 # location of the library.
11378 case $cc_basename in
11380 # FIXME: insert proper C++ library support
11386 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11389 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11392 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11395 # Commands to make compiler produce verbose output that lists
11396 # what "hidden" libraries, object files and flags are used when
11397 # linking a shared library.
11399 # There doesn't appear to be a way to prevent this compiler from
11400 # explicitly linking system object files so we need to strip them
11401 # from the output so that they don't get included in the library
11403 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'
11406 if test "$GXX" = yes; then
11407 if test $with_gnu_ld = no; then
11410 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11413 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11416 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'
11421 # FIXME: insert proper C++ library support
11428 hardcode_direct_CXX=no
11429 hardcode_shlibpath_var_CXX=no
11430 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11431 export_dynamic_flag_spec_CXX='${wl}-E'
11432 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11433 # Instead, shared libraries are loaded at an image base (0x10000000 by
11434 # default) and relocated if they conflict, which is a slow very memory
11435 # consuming and fragmenting process. To avoid this, we pick a random,
11436 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11437 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11438 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'
11439 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'
11442 case $cc_basename in
11445 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'
11447 # Archives containing C++ object files must be created using
11448 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11449 # necessary to make sure instantiated templates are included
11451 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11454 if test "$GXX" = yes; then
11455 if test "$with_gnu_ld" = no; then
11456 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'
11458 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'
11461 link_all_deplibs_CXX=yes
11464 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11465 hardcode_libdir_separator_CXX=:
11467 linux* | k*bsd*-gnu)
11468 case $cc_basename in
11470 # Kuck and Associates, Inc. (KAI) C++ Compiler
11472 # KCC will only create a shared library if the output file
11473 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11474 # to its proper name (with version) after linking.
11475 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'
11476 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'
11477 # Commands to make compiler produce verbose output that lists
11478 # what "hidden" libraries, object files and flags are used when
11479 # linking a shared library.
11481 # There doesn't appear to be a way to prevent this compiler from
11482 # explicitly linking system object files so we need to strip them
11483 # from the output so that they don't get included in the library
11485 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'
11487 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11488 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11490 # Archives containing C++ object files must be created using
11491 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11492 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11497 # version 8.0 and above of icpc choke on multiply defined symbols
11498 # if we add $predep_objects and $postdep_objects, however 7.1 and
11499 # earlier do not add the objects themselves.
11500 case `$CC -V 2>&1` in
11502 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11503 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'
11505 *) # Version 8.0 or newer
11508 ia64
*) tmp_idyn
=' -i_dynamic';;
11510 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11511 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'
11514 archive_cmds_need_lc_CXX
=no
11515 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11516 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11517 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11520 # Portland Group C++ compiler
11521 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11522 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'
11524 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11525 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11526 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'
11530 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11531 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'
11533 runpath_var
=LD_RUN_PATH
11534 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11535 hardcode_libdir_separator_CXX
=:
11537 # Commands to make compiler produce verbose output that lists
11538 # what "hidden" libraries, object files and flags are used when
11539 # linking a shared library.
11541 # There doesn't appear to be a way to prevent this compiler from
11542 # explicitly linking system object files so we need to strip them
11543 # from the output so that they don't get included in the library
11545 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'
11548 case `$CC -V 2>&1 | sed 5q` in
11551 no_undefined_flag_CXX
=' -zdefs'
11552 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11553 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11554 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11555 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11557 # Not sure whether something based on
11558 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11560 output_verbose_link_cmd
='echo'
11562 # Archives containing C++ object files must be created using
11563 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11564 # necessary to make sure instantiated templates are included
11566 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11573 # FIXME: insert proper C++ library support
11577 # FIXME: insert proper C++ library support
11581 case $cc_basename in
11583 # FIXME: insert proper C++ library support
11587 # FIXME: insert proper C++ library support
11593 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11594 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11596 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11597 hardcode_direct_CXX
=yes
11598 hardcode_shlibpath_var_CXX
=no
11600 # Workaround some broken pre-1.5 toolchains
11601 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11604 # C++ shared libraries are fairly broken
11608 if test -f /usr
/libexec
/ld.so
; then
11609 hardcode_direct_CXX
=yes
11610 hardcode_shlibpath_var_CXX
=no
11611 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11612 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11613 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11614 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11615 export_dynamic_flag_spec_CXX
='${wl}-E'
11616 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11618 output_verbose_link_cmd
='echo'
11624 case $cc_basename in
11626 # Kuck and Associates, Inc. (KAI) C++ Compiler
11628 # KCC will only create a shared library if the output file
11629 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11630 # to its proper name (with version) after linking.
11631 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'
11633 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11634 hardcode_libdir_separator_CXX
=:
11636 # Archives containing C++ object files must be created using
11637 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11638 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11642 # Rational C++ 2.4.1
11643 # FIXME: insert proper C++ library support
11647 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11648 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'
11650 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11651 hardcode_libdir_separator_CXX
=:
11653 # Commands to make compiler produce verbose output that lists
11654 # what "hidden" libraries, object files and flags are used when
11655 # linking a shared library.
11657 # There doesn't appear to be a way to prevent this compiler from
11658 # explicitly linking system object files so we need to strip them
11659 # from the output so that they don't get included in the library
11661 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'
11664 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11665 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11666 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'
11668 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11669 hardcode_libdir_separator_CXX
=:
11671 # Commands to make compiler produce verbose output that lists
11672 # what "hidden" libraries, object files and flags are used when
11673 # linking a shared library.
11674 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11677 # FIXME: insert proper C++ library support
11684 case $cc_basename in
11686 # Kuck and Associates, Inc. (KAI) C++ Compiler
11688 # KCC will only create a shared library if the output file
11689 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11690 # to its proper name (with version) after linking.
11691 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'
11693 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11694 hardcode_libdir_separator_CXX
=:
11696 # Archives containing C++ object files must be created using
11697 # the KAI C++ compiler.
11698 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11701 # Rational C++ 2.4.1
11702 # FIXME: insert proper C++ library support
11706 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11707 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'
11708 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11709 echo "-hidden">> $lib.exp~
11710 $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~
11713 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11714 hardcode_libdir_separator_CXX
=:
11716 # Commands to make compiler produce verbose output that lists
11717 # what "hidden" libraries, object files and flags are used when
11718 # linking a shared library.
11720 # There doesn't appear to be a way to prevent this compiler from
11721 # explicitly linking system object files so we need to strip them
11722 # from the output so that they don't get included in the library
11724 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'
11727 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11728 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11729 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'
11731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11732 hardcode_libdir_separator_CXX
=:
11734 # Commands to make compiler produce verbose output that lists
11735 # what "hidden" libraries, object files and flags are used when
11736 # linking a shared library.
11737 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11740 # FIXME: insert proper C++ library support
11747 # FIXME: insert proper C++ library support
11751 case $cc_basename in
11754 # FIXME: insert proper C++ library support
11759 # FIXME: insert proper C++ library support
11763 # FIXME: insert proper C++ library support
11769 case $cc_basename in
11771 # Sun C++ 4.2, 5.x and Centerline C++
11772 archive_cmds_need_lc_CXX
=yes
11773 no_undefined_flag_CXX
=' -zdefs'
11774 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11775 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11776 $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'
11778 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11779 hardcode_shlibpath_var_CXX
=no
11781 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11783 # The compiler driver will combine and reorder linker options,
11784 # but understands `-z linker_flag'.
11785 # Supported since Solaris 2.6 (maybe 2.5.1?)
11786 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11789 link_all_deplibs_CXX
=yes
11791 output_verbose_link_cmd
='echo'
11793 # Archives containing C++ object files must be created using
11794 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11795 # necessary to make sure instantiated templates are included
11797 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11800 # Green Hills C++ Compiler
11801 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11803 # The C++ compiler must be used to create the archive.
11804 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11807 # GNU C++ compiler with Solaris linker
11808 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11809 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11810 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11811 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11812 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11813 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11815 # Commands to make compiler produce verbose output that lists
11816 # what "hidden" libraries, object files and flags are used when
11817 # linking a shared library.
11818 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11820 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11822 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11823 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11824 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11826 # Commands to make compiler produce verbose output that lists
11827 # what "hidden" libraries, object files and flags are used when
11828 # linking a shared library.
11829 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11832 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11834 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11836 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11843 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11844 no_undefined_flag_CXX
='${wl}-z,text'
11845 archive_cmds_need_lc_CXX
=no
11846 hardcode_shlibpath_var_CXX
=no
11847 runpath_var
='LD_RUN_PATH'
11849 case $cc_basename in
11851 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11852 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11855 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11856 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11860 sysv5
* | sco3.2v5
* | sco5v6
*)
11861 # Note: We can NOT use -z defs as we might desire, because we do not
11862 # link with -lc, and that would cause any symbols used from libc to
11863 # always be unresolved, which means just about no library would
11864 # ever link correctly. If we're not using GNU ld we use -z text
11865 # though, which does catch some bad symbols but isn't as heavy-handed
11867 # For security reasons, it is highly recommended that you always
11868 # use absolute paths for naming shared libraries, and exclude the
11869 # DT_RUNPATH tag from executables and libraries. But doing so
11870 # requires that you compile everything twice, which is a pain.
11871 # So that behaviour is only enabled if SCOABSPATH is set to a
11872 # non-empty value in the environment. Most likely only useful for
11873 # creating official distributions of packages.
11874 # This is a hack until libtool officially supports absolute path
11875 # names for shared libraries.
11876 no_undefined_flag_CXX
='${wl}-z,text'
11877 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11878 archive_cmds_need_lc_CXX
=no
11879 hardcode_shlibpath_var_CXX
=no
11880 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11881 hardcode_libdir_separator_CXX
=':'
11882 link_all_deplibs_CXX
=yes
11883 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11884 runpath_var
='LD_RUN_PATH'
11886 case $cc_basename in
11888 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11889 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11892 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11893 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11898 case $cc_basename in
11900 # NonStop-UX NCC 3.20
11901 # FIXME: insert proper C++ library support
11905 # FIXME: insert proper C++ library support
11911 # FIXME: insert proper C++ library support
11915 # FIXME: insert proper C++ library support
11919 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11920 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11921 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11927 cat > conftest.
$ac_ext <<EOF
11931 Foo (void) { a = 0; }
11937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11938 (eval $ac_compile) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; then
11942 # Parse the compiler output and extract the necessary
11943 # objects, libraries and library flags.
11945 # Sentinel used to keep track of whether or not we are before
11946 # the conftest object file.
11947 pre_test_object_deps_done
=no
11949 # The `*' in the case matches for architectures that use `case' in
11950 # $output_verbose_cmd can trigger glob expansion during the loop
11951 # eval without this substitution.
11952 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11954 for p
in `eval $output_verbose_link_cmd`; do
11958 # Some compilers place space between "-{L,R}" and the path.
11959 # Remove the space.
11960 if test $p = "-L" \
11961 ||
test $p = "-R"; then
11968 if test "$pre_test_object_deps_done" = no
; then
11971 # Internal compiler library paths should come after those
11972 # provided the user. The postdeps already come after the
11973 # user supplied libs so there is no need to process them.
11974 if test -z "$compiler_lib_search_path_CXX"; then
11975 compiler_lib_search_path_CXX
="${prev}${p}"
11977 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11980 # The "-l" case would never come before the object being
11981 # linked, so don't bother handling this case.
11984 if test -z "$postdeps_CXX"; then
11985 postdeps_CXX
="${prev}${p}"
11987 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11993 # This assumes that the test object file only shows up
11994 # once in the compiler output.
11995 if test "$p" = "conftest.$objext"; then
11996 pre_test_object_deps_done
=yes
12000 if test "$pre_test_object_deps_done" = no
; then
12001 if test -z "$predep_objects_CXX"; then
12002 predep_objects_CXX
="$p"
12004 predep_objects_CXX
="$predep_objects_CXX $p"
12007 if test -z "$postdep_objects_CXX"; then
12008 postdep_objects_CXX
="$p"
12010 postdep_objects_CXX
="$postdep_objects_CXX $p"
12015 *) ;; # Ignore the rest.
12023 echo "libtool.m4: error: problem compiling CXX test program"
12026 $rm -f confest.
$objext
12028 # PORTME: override above test on systems where it is broken
12031 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12032 # hack all around it, let's just trust "g++" to DTRT.
12033 predep_objects_CXX
=
12034 postdep_objects_CXX
=
12039 case `$CC -V 2>&1 | sed 5q` in
12043 # The more standards-conforming stlport4 library is
12044 # incompatible with the Cstd library. Avoid specifying
12045 # it if it's in CXXFLAGS. Ignore libCrun as
12046 # -library=stlport4 depends on it.
12047 case " $CXX $CXXFLAGS " in
12048 *" -library=stlport4 "*)
12049 solaris_use_stlport4
=yes
12052 if test "$solaris_use_stlport4" != yes; then
12053 postdeps_CXX
='-library=Cstd -library=Crun'
12060 case $cc_basename in
12062 # The more standards-conforming stlport4 library is
12063 # incompatible with the Cstd library. Avoid specifying
12064 # it if it's in CXXFLAGS. Ignore libCrun as
12065 # -library=stlport4 depends on it.
12066 case " $CXX $CXXFLAGS " in
12067 *" -library=stlport4 "*)
12068 solaris_use_stlport4
=yes
12072 # Adding this requires a known-good setup of shared libraries for
12073 # Sun compiler versions before 5.6, else PIC objects from an old
12074 # archive will be linked into the output, leading to subtle bugs.
12075 if test "$solaris_use_stlport4" != yes; then
12076 postdeps_CXX
='-library=Cstd -library=Crun'
12084 case " $postdeps_CXX " in
12085 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12088 lt_prog_compiler_wl_CXX
=
12089 lt_prog_compiler_pic_CXX
=
12090 lt_prog_compiler_static_CXX
=
12092 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12093 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12095 # C++ specific cases for pic, static, wl, etc.
12096 if test "$GXX" = yes; then
12097 lt_prog_compiler_wl_CXX
='-Wl,'
12098 lt_prog_compiler_static_CXX
='-static'
12102 # All AIX code is PIC.
12103 if test "$host_cpu" = ia64
; then
12104 # AIX 5 now supports IA64 processor
12105 lt_prog_compiler_static_CXX
='-Bstatic'
12109 # FIXME: we need at least 68020 code to build shared libraries, but
12110 # adding the `-m68020' flag to GCC prevents building anything better,
12112 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12114 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12115 # PIC is the default for these OSes.
12117 mingw
* | cygwin
* | os2
* | pw32
*)
12118 # This hack is so that the source file can tell whether it is being
12119 # built for inclusion in a dll (and should export symbols for example).
12120 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12121 # (--disable-auto-import) libraries
12122 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12124 darwin
* | rhapsody
*)
12125 # PIC is the default on this platform
12126 # Common symbols not allowed in MH_DYLIB files
12127 lt_prog_compiler_pic_CXX
='-fno-common'
12130 # DJGPP does not support shared libraries at all
12131 lt_prog_compiler_pic_CXX
=
12134 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12135 # Instead, we relocate shared libraries at runtime.
12138 if test -d /usr
/nec
; then
12139 lt_prog_compiler_pic_CXX
=-Kconform_pic
12143 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12144 # not for PA HP-UX.
12149 lt_prog_compiler_pic_CXX
='-fPIC'
12154 lt_prog_compiler_pic_CXX
='-fPIC'
12160 # All AIX code is PIC.
12161 if test "$host_cpu" = ia64
; then
12162 # AIX 5 now supports IA64 processor
12163 lt_prog_compiler_static_CXX
='-Bstatic'
12165 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12169 case $cc_basename in
12171 # Green Hills C++ Compiler
12172 # _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"
12177 # PIC is the default on this platform
12178 # Common symbols not allowed in MH_DYLIB files
12179 case $cc_basename in
12181 lt_prog_compiler_pic_CXX
='-qnocommon'
12182 lt_prog_compiler_wl_CXX
='-Wl,'
12187 case $cc_basename in
12189 lt_prog_compiler_pic_CXX
='-KPIC'
12192 # Green Hills C++ Compiler
12193 lt_prog_compiler_pic_CXX
='-pic'
12199 freebsd
* | dragonfly
*)
12200 # FreeBSD uses GNU C++
12202 hpux9
* | hpux10
* | hpux11
*)
12203 case $cc_basename in
12205 lt_prog_compiler_wl_CXX
='-Wl,'
12206 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12207 if test "$host_cpu" != ia64
; then
12208 lt_prog_compiler_pic_CXX
='+Z'
12212 lt_prog_compiler_wl_CXX
='-Wl,'
12213 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12219 lt_prog_compiler_pic_CXX
='+Z'
12228 # This is c89, which is MS Visual C++ (no shared libs)
12229 # Anyone wants to do a port?
12231 irix5
* | irix6
* | nonstopux
*)
12232 case $cc_basename in
12234 lt_prog_compiler_wl_CXX
='-Wl,'
12235 lt_prog_compiler_static_CXX
='-non_shared'
12236 # CC pic flag -KPIC is the default.
12242 linux
* | k
*bsd
*-gnu)
12243 case $cc_basename in
12246 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12247 lt_prog_compiler_pic_CXX
='-fPIC'
12251 lt_prog_compiler_wl_CXX
='-Wl,'
12252 lt_prog_compiler_pic_CXX
='-KPIC'
12253 lt_prog_compiler_static_CXX
='-static'
12256 # Portland Group C++ compiler.
12257 lt_prog_compiler_wl_CXX
='-Wl,'
12258 lt_prog_compiler_pic_CXX
='-fpic'
12259 lt_prog_compiler_static_CXX
='-Bstatic'
12263 # Make sure the PIC flag is empty. It appears that all Alpha
12264 # Linux and Compaq Tru64 Unix objects are PIC.
12265 lt_prog_compiler_pic_CXX
=
12266 lt_prog_compiler_static_CXX
='-non_shared'
12269 case `$CC -V 2>&1 | sed 5q` in
12272 lt_prog_compiler_pic_CXX
='-KPIC'
12273 lt_prog_compiler_static_CXX
='-Bstatic'
12274 lt_prog_compiler_wl_CXX
='-Qoption ld '
12285 case $cc_basename in
12287 lt_prog_compiler_pic_CXX
='-W c,exportall'
12295 osf3
* | osf4
* | osf5
*)
12296 case $cc_basename in
12298 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12301 # Rational C++ 2.4.1
12302 lt_prog_compiler_pic_CXX
='-pic'
12305 # Digital/Compaq C++
12306 lt_prog_compiler_wl_CXX
='-Wl,'
12307 # Make sure the PIC flag is empty. It appears that all Alpha
12308 # Linux and Compaq Tru64 Unix objects are PIC.
12309 lt_prog_compiler_pic_CXX
=
12310 lt_prog_compiler_static_CXX
='-non_shared'
12319 case $cc_basename in
12321 # Sun C++ 4.2, 5.x and Centerline C++
12322 lt_prog_compiler_pic_CXX
='-KPIC'
12323 lt_prog_compiler_static_CXX
='-Bstatic'
12324 lt_prog_compiler_wl_CXX
='-Qoption ld '
12327 # Green Hills C++ Compiler
12328 lt_prog_compiler_pic_CXX
='-PIC'
12335 case $cc_basename in
12338 lt_prog_compiler_pic_CXX
='-pic'
12339 lt_prog_compiler_static_CXX
='-Bstatic'
12343 lt_prog_compiler_pic_CXX
='-pic'
12350 case $cc_basename in
12352 # NonStop-UX NCC 3.20
12353 lt_prog_compiler_pic_CXX
='-KPIC'
12359 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12360 case $cc_basename in
12362 lt_prog_compiler_wl_CXX
='-Wl,'
12363 lt_prog_compiler_pic_CXX
='-KPIC'
12364 lt_prog_compiler_static_CXX
='-Bstatic'
12371 lt_prog_compiler_can_build_shared_CXX
=no
12376 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12377 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12380 # Check to make sure the PIC flag actually works.
12382 if test -n "$lt_prog_compiler_pic_CXX"; then
12384 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12385 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12386 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 lt_prog_compiler_pic_works_CXX
=no
12390 ac_outfile
=conftest.
$ac_objext
12391 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12392 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12393 # Insert the option either (1) after the last *FLAGS variable, or
12394 # (2) before a word containing "conftest.", or (3) at the end.
12395 # Note that $ac_compile itself does not contain backslashes and begins
12396 # with a dollar sign (not a hyphen), so the echo should work correctly.
12397 # The option is referenced via a variable to avoid confusing sed.
12398 lt_compile
=`echo "$ac_compile" | $SED \
12399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12401 -e 's:$: $lt_compiler_flag:'`
12402 (eval echo "\"\$as_me:12402: $lt_compile\"" >&5)
12403 (eval "$lt_compile" 2>conftest.err
)
12405 cat conftest.err
>&5
12406 echo "$as_me:12406: \$? = $ac_status" >&5
12407 if (exit $ac_status) && test -s "$ac_outfile"; then
12408 # The compiler can only warn and ignore the option if not recognized
12409 # So say no if there are warnings other than the usual output.
12410 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12411 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12412 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12413 lt_prog_compiler_pic_works_CXX
=yes
12419 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12420 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12422 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12423 case $lt_prog_compiler_pic_CXX in
12425 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12428 lt_prog_compiler_pic_CXX
=
12429 lt_prog_compiler_can_build_shared_CXX
=no
12434 # For platforms which do not support PIC, -DPIC is meaningless:
12436 lt_prog_compiler_pic_CXX
=
12439 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12444 # Check to make sure the static flag actually works.
12446 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12447 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12448 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12449 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12452 lt_prog_compiler_static_works_CXX
=no
12453 save_LDFLAGS
="$LDFLAGS"
12454 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12455 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12456 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12457 # The linker can only warn and ignore the option if not recognized
12458 # So say no if there are warnings
12459 if test -s conftest.err
; then
12460 # Append any errors to the config.log.
12461 cat conftest.err
1>&5
12462 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12464 if diff conftest.exp conftest.er2
>/dev
/null
; then
12465 lt_prog_compiler_static_works_CXX
=yes
12468 lt_prog_compiler_static_works_CXX
=yes
12472 LDFLAGS
="$save_LDFLAGS"
12475 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12476 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12478 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12481 lt_prog_compiler_static_CXX
=
12485 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12486 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12487 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 lt_cv_prog_compiler_c_o_CXX
=no
12491 $rm -r conftest
2>/dev
/null
12495 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12497 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12498 # Insert the option either (1) after the last *FLAGS variable, or
12499 # (2) before a word containing "conftest.", or (3) at the end.
12500 # Note that $ac_compile itself does not contain backslashes and begins
12501 # with a dollar sign (not a hyphen), so the echo should work correctly.
12502 lt_compile
=`echo "$ac_compile" | $SED \
12503 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12505 -e 's:$: $lt_compiler_flag:'`
12506 (eval echo "\"\$as_me:12506: $lt_compile\"" >&5)
12507 (eval "$lt_compile" 2>out
/conftest.err
)
12509 cat out
/conftest.err
>&5
12510 echo "$as_me:12510: \$? = $ac_status" >&5
12511 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12513 # The compiler can only warn and ignore the option if not recognized
12514 # So say no if there are warnings
12515 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12516 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12517 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12518 lt_cv_prog_compiler_c_o_CXX
=yes
12523 # SGI C++ compiler will create directory out/ii_files/ for
12524 # template instantiation
12525 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12526 $rm out
/* && rmdir out
12532 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12533 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12536 hard_links
="nottested"
12537 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12538 # do not overwrite the value of need_locks provided by the user
12539 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12540 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12543 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12545 ln conftest.a conftest.b
2>&5 || hard_links
=no
12546 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12547 { echo "$as_me:$LINENO: result: $hard_links" >&5
12548 echo "${ECHO_T}$hard_links" >&6; }
12549 if test "$hard_links" = no
; then
12550 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12551 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12558 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12559 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12561 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12564 # If we're using GNU nm, then we don't want the "-C" option.
12565 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12566 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12567 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'
12569 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'
12573 export_symbols_cmds_CXX
="$ltdll_cmds"
12576 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'
12579 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12583 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12584 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12585 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12588 # Do we need to explicitly link libc?
12590 case "x$archive_cmds_need_lc_CXX" in
12592 # Assume -lc should be added
12593 archive_cmds_need_lc_CXX
=yes
12595 if test "$enable_shared" = yes && test "$GCC" = yes; then
12596 case $archive_cmds_CXX in
12598 # FIXME: we may have to deal with multi-command sequences.
12601 # Test whether the compiler implicitly links with -lc since on some
12602 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12603 # to ld, don't add -lc before -lgcc.
12604 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12605 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12607 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12610 (eval $ac_compile) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } 2>conftest.err
; then
12616 libobjs
=conftest.
$ac_objext
12618 wl
=$lt_prog_compiler_wl_CXX
12619 pic_flag
=$lt_prog_compiler_pic_CXX
12625 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12626 allow_undefined_flag_CXX
=
12627 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12628 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }
12633 archive_cmds_need_lc_CXX
=no
12635 archive_cmds_need_lc_CXX
=yes
12637 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12639 cat conftest.err
1>&5
12642 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12643 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12650 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12651 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12652 library_names_spec
=
12653 libname_spec
='lib$name'
12657 postuninstall_cmds
=
12661 shlibpath_overrides_runpath
=unknown
12663 dynamic_linker
="$host_os ld.so"
12664 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12666 need_lib_prefix
=unknown
12667 hardcode_into_libs
=no
12669 # when you set need_version to no, make sure it does not cause -set_version
12670 # flags to be left without arguments
12671 need_version
=unknown
12676 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12677 shlibpath_var
=LIBPATH
12679 # AIX 3 has no versioning support, so we append a major version to the name.
12680 soname_spec
='${libname}${release}${shared_ext}$major'
12687 hardcode_into_libs
=yes
12688 if test "$host_cpu" = ia64
; then
12689 # AIX 5 supports IA64
12690 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12691 shlibpath_var
=LD_LIBRARY_PATH
12693 # With GCC up to 2.95.x, collect2 would create an import file
12694 # for dependence libraries. The import file would start with
12695 # the line `#! .'. This would cause the generated library to
12696 # depend on `.', always an invalid library. This was fixed in
12697 # development snapshots of GCC prior to 3.0.
12699 aix4 | aix4.
[01] | aix4.
[01].
*)
12700 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12702 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12705 can_build_shared
=no
12709 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12710 # soname into executable. Probably we can add versioning support to
12711 # collect2, so additional links can be useful in future.
12712 if test "$aix_use_runtimelinking" = yes; then
12713 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12714 # instead of lib<name>.a to let people know that these are not
12715 # typical AIX shared libraries.
12716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12718 # We preserve .a as extension for shared libraries through AIX4.2
12719 # and later when we are not doing run time linking.
12720 library_names_spec
='${libname}${release}.a $libname.a'
12721 soname_spec
='${libname}${release}${shared_ext}$major'
12723 shlibpath_var
=LIBPATH
12728 library_names_spec
='$libname.ixlibrary $libname.a'
12729 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12730 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'
12734 library_names_spec
='${libname}${shared_ext}'
12735 dynamic_linker
="$host_os ld.so"
12736 shlibpath_var
=LIBRARY_PATH
12742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12743 soname_spec
='${libname}${release}${shared_ext}$major'
12744 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12745 shlibpath_var
=LD_LIBRARY_PATH
12746 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12747 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12748 # the default ld.so.conf also contains /usr/contrib/lib and
12749 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12750 # libtool to hard-code these into programs
12753 cygwin
* | mingw
* | pw32
*)
12754 version_type
=windows
12759 case $GCC,$host_os in
12760 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12761 library_names_spec
='$libname.dll.a'
12762 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12763 postinstall_cmds
='base_file=`basename \${file}`~
12764 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12765 dldir=$destdir/`dirname \$dlpath`~
12766 test -d \$dldir || mkdir -p \$dldir~
12767 $install_prog $dir/$dlname \$dldir/$dlname~
12768 chmod a+x \$dldir/$dlname'
12769 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12770 dlpath=$dir/\$dldll~
12772 shlibpath_overrides_runpath
=yes
12776 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12777 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12778 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12781 # MinGW DLLs use traditional 'lib' prefix
12782 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12783 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12784 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12785 # It is most probably a Windows format PATH printed by
12786 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12787 # path with ; separators, and with drive letters. We can handle the
12788 # drive letters (cygwin fileutils understands them), so leave them,
12789 # especially as we might pass files found there to a mingw objdump,
12790 # which wouldn't understand a cygwinified path. Ahh.
12791 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12793 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12797 # pw32 DLLs use 'pw' prefix rather than 'lib'
12798 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12804 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12807 dynamic_linker
='Win32 ld.exe'
12808 # FIXME: first we should search . and the directory the executable is in
12812 darwin
* | rhapsody
*)
12813 dynamic_linker
="$host_os dyld"
12814 version_type
=darwin
12817 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12818 soname_spec
='${libname}${release}${major}$shared_ext'
12819 shlibpath_overrides_runpath
=yes
12820 shlibpath_var
=DYLD_LIBRARY_PATH
12821 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12823 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12831 soname_spec
='${libname}${release}${shared_ext}$major'
12832 shlibpath_var
=LD_LIBRARY_PATH
12839 freebsd
* | dragonfly
*)
12840 # DragonFly does not have aout. When/if they implement a new
12841 # versioning mechanism, adjust this.
12842 if test -x /usr
/bin
/objformat
; then
12843 objformat
=`/usr/bin/objformat`
12846 freebsd
[123]*) objformat
=aout
;;
12847 *) objformat
=elf
;;
12850 version_type
=freebsd-
$objformat
12851 case $version_type in
12853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12858 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12862 shlibpath_var
=LD_LIBRARY_PATH
12865 shlibpath_overrides_runpath
=yes
12867 freebsd3.
[01]* | freebsdelf3.
[01]*)
12868 shlibpath_overrides_runpath
=yes
12869 hardcode_into_libs
=yes
12871 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12872 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12873 shlibpath_overrides_runpath
=no
12874 hardcode_into_libs
=yes
12876 *) # from 4.6 on, and DragonFly
12877 shlibpath_overrides_runpath
=yes
12878 hardcode_into_libs
=yes
12887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12888 soname_spec
='${libname}${release}${shared_ext}$major'
12889 shlibpath_var
=LD_LIBRARY_PATH
12890 hardcode_into_libs
=yes
12893 hpux9
* | hpux10
* | hpux11
*)
12894 # Give a soname corresponding to the major version so that dld.sl refuses to
12895 # link against other versions.
12902 hardcode_into_libs
=yes
12903 dynamic_linker
="$host_os dld.so"
12904 shlibpath_var
=LD_LIBRARY_PATH
12905 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12907 soname_spec
='${libname}${release}${shared_ext}$major'
12908 if test "X$HPUX_IA64_MODE" = X32
; then
12909 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12911 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12913 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12917 hardcode_into_libs
=yes
12918 dynamic_linker
="$host_os dld.sl"
12919 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12920 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12922 soname_spec
='${libname}${release}${shared_ext}$major'
12923 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12924 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12928 dynamic_linker
="$host_os dld.sl"
12929 shlibpath_var
=SHLIB_PATH
12930 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12932 soname_spec
='${libname}${release}${shared_ext}$major'
12935 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12936 postinstall_cmds
='chmod 555 $lib'
12943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12944 soname_spec
='${libname}${release}${shared_ext}$major'
12945 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12946 shlibpath_var
=LD_LIBRARY_PATH
12947 shlibpath_overrides_runpath
=no
12948 hardcode_into_libs
=yes
12951 irix5
* | irix6
* | nonstopux
*)
12953 nonstopux
*) version_type
=nonstopux
;;
12955 if test "$lt_cv_prog_gnu_ld" = yes; then
12963 soname_spec
='${libname}${release}${shared_ext}$major'
12964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12966 irix5
* | nonstopux
*)
12967 libsuff
= shlibsuff
=
12970 case $LD in # libtool.m4 will add one of these switches to LD
12971 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12972 libsuff
= shlibsuff
= libmagic
=32-bit;;
12973 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12974 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12975 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12976 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12977 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12981 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12982 shlibpath_overrides_runpath
=no
12983 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12984 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12985 hardcode_into_libs
=yes
12988 # No shared lib support for Linux oldld, aout, or coff.
12989 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12993 # This must be Linux ELF.
12994 linux
* | k
*bsd
*-gnu)
12998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12999 soname_spec
='${libname}${release}${shared_ext}$major'
13000 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13001 shlibpath_var
=LD_LIBRARY_PATH
13002 shlibpath_overrides_runpath
=no
13003 # This implies no fast_install, which is unacceptable.
13004 # Some rework will be needed to allow for fast_install
13005 # before this can be enabled.
13006 hardcode_into_libs
=yes
13007 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13008 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13010 # Append ld.so.conf contents to the search path
13011 if test -f /etc
/ld.so.conf
; then
13012 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13013 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13016 # We used to test for /lib/ld.so.1 and disable shared libraries on
13017 # powerpc, because MkLinux only supported shared libraries with the
13018 # GNU dynamic linker. Since this was broken with cross compilers,
13019 # most powerpc-linux boxes support dynamic linking these days and
13020 # people can always --disable-shared, the test was removed, and we
13021 # assume the GNU/Linux dynamic linker is in use.
13022 dynamic_linker
='GNU/Linux ld.so'
13029 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13031 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13032 dynamic_linker
='NetBSD (a.out) ld.so'
13034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13035 soname_spec
='${libname}${release}${shared_ext}$major'
13036 dynamic_linker
='NetBSD ld.elf_so'
13038 shlibpath_var
=LD_LIBRARY_PATH
13039 shlibpath_overrides_runpath
=yes
13040 hardcode_into_libs
=yes
13045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13046 shlibpath_var
=LD_LIBRARY_PATH
13047 shlibpath_overrides_runpath
=yes
13054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13055 soname_spec
='${libname}${release}${shared_ext}$major'
13056 shlibpath_var
=LD_LIBRARY_PATH
13057 shlibpath_overrides_runpath
=yes
13062 sys_lib_dlsearch_path_spec
="/usr/lib"
13064 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13066 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13067 *) need_version
=no
;;
13069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13070 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13071 shlibpath_var
=LD_LIBRARY_PATH
13072 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13074 openbsd2.
[89] | openbsd2.
[89].
*)
13075 shlibpath_overrides_runpath
=no
13078 shlibpath_overrides_runpath
=yes
13082 shlibpath_overrides_runpath
=yes
13087 libname_spec
='$name'
13090 library_names_spec
='$libname${shared_ext} $libname.a'
13091 dynamic_linker
='OS/2 ld.exe'
13092 shlibpath_var
=LIBPATH
13095 osf3
* | osf4
* | osf5
*)
13099 soname_spec
='${libname}${release}${shared_ext}$major'
13100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13101 shlibpath_var
=LD_LIBRARY_PATH
13102 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13103 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13115 soname_spec
='${libname}${release}${shared_ext}$major'
13116 shlibpath_var
=LD_LIBRARY_PATH
13117 shlibpath_overrides_runpath
=yes
13118 hardcode_into_libs
=yes
13119 # ldd complains unless libraries are executable
13120 postinstall_cmds
='chmod +x $lib'
13125 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13126 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13127 shlibpath_var
=LD_LIBRARY_PATH
13128 shlibpath_overrides_runpath
=yes
13129 if test "$with_gnu_ld" = yes; then
13137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13138 soname_spec
='${libname}${release}${shared_ext}$major'
13139 shlibpath_var
=LD_LIBRARY_PATH
13140 case $host_vendor in
13142 shlibpath_overrides_runpath
=no
13144 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13145 runpath_var
=LD_RUN_PATH
13153 shlibpath_overrides_runpath
=no
13154 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13160 if test -d /usr
/nec
;then
13162 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13163 soname_spec
='$libname${shared_ext}.$major'
13164 shlibpath_var
=LD_LIBRARY_PATH
13168 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13169 version_type
=freebsd-elf
13172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13173 soname_spec
='${libname}${release}${shared_ext}$major'
13174 shlibpath_var
=LD_LIBRARY_PATH
13175 hardcode_into_libs
=yes
13176 if test "$with_gnu_ld" = yes; then
13177 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13178 shlibpath_overrides_runpath
=no
13180 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13181 shlibpath_overrides_runpath
=yes
13184 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13188 sys_lib_dlsearch_path_spec
='/usr/lib'
13193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13194 soname_spec
='${libname}${release}${shared_ext}$major'
13195 shlibpath_var
=LD_LIBRARY_PATH
13202 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13203 echo "${ECHO_T}$dynamic_linker" >&6; }
13204 test "$dynamic_linker" = no
&& can_build_shared
=no
13206 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13207 if test "$GCC" = yes; then
13208 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13211 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13212 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13213 hardcode_action_CXX
=
13214 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13215 test -n "$runpath_var_CXX" || \
13216 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13218 # We can hardcode non-existant directories.
13219 if test "$hardcode_direct_CXX" != no
&&
13220 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13221 # have to relink, otherwise we might link with an installed library
13222 # when we should be linking with a yet-to-be-installed one
13223 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13224 test "$hardcode_minus_L_CXX" != no
; then
13225 # Linking always hardcodes the temporary library directory.
13226 hardcode_action_CXX
=relink
13228 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13229 hardcode_action_CXX
=immediate
13232 # We cannot hardcode anything, or else we can only hardcode existing
13234 hardcode_action_CXX
=unsupported
13236 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13237 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13239 if test "$hardcode_action_CXX" = relink
; then
13240 # Fast installation is not supported
13241 enable_fast_install
=no
13242 elif test "$shlibpath_overrides_runpath" = yes ||
13243 test "$enable_shared" = no
; then
13244 # Fast installation is not necessary
13245 enable_fast_install
=needless
13249 # The else clause should only fire when bootstrapping the
13250 # libtool distribution, otherwise you forgot to ship ltmain.sh
13251 # with your package, and you will get complaints that there are
13252 # no rules to generate ltmain.sh.
13253 if test -f "$ltmain"; then
13254 # See if we are running on zsh, and set the options which allow our commands through
13255 # without removal of \ escapes.
13256 if test -n "${ZSH_VERSION+set}" ; then
13257 setopt NO_GLOB_SUBST
13259 # Now quote all the things that may contain metacharacters while being
13260 # careful not to overquote the AC_SUBSTed values. We take copies of the
13261 # variables and quote the copies for generation of the libtool script.
13262 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13264 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13265 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13266 deplibs_check_method reload_flag reload_cmds need_locks \
13267 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13268 lt_cv_sys_global_symbol_to_c_name_address \
13269 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13270 old_postinstall_cmds old_postuninstall_cmds \
13274 lt_prog_compiler_wl_CXX \
13275 lt_prog_compiler_pic_CXX \
13276 lt_prog_compiler_static_CXX \
13277 lt_prog_compiler_no_builtin_flag_CXX \
13278 export_dynamic_flag_spec_CXX \
13279 thread_safe_flag_spec_CXX \
13280 whole_archive_flag_spec_CXX \
13281 enable_shared_with_static_runtimes_CXX \
13282 old_archive_cmds_CXX \
13283 old_archive_from_new_cmds_CXX \
13284 predep_objects_CXX \
13285 postdep_objects_CXX \
13288 compiler_lib_search_path_CXX \
13290 archive_expsym_cmds_CXX \
13291 postinstall_cmds_CXX \
13292 postuninstall_cmds_CXX \
13293 old_archive_from_expsyms_cmds_CXX \
13294 allow_undefined_flag_CXX \
13295 no_undefined_flag_CXX \
13296 export_symbols_cmds_CXX \
13297 hardcode_libdir_flag_spec_CXX \
13298 hardcode_libdir_flag_spec_ld_CXX \
13299 hardcode_libdir_separator_CXX \
13300 hardcode_automatic_CXX \
13302 module_expsym_cmds_CXX \
13303 lt_cv_prog_compiler_c_o_CXX \
13304 fix_srcfile_path_CXX \
13305 exclude_expsyms_CXX \
13306 include_expsyms_CXX
; do
13309 old_archive_cmds_CXX | \
13310 old_archive_from_new_cmds_CXX | \
13311 archive_cmds_CXX | \
13312 archive_expsym_cmds_CXX | \
13313 module_cmds_CXX | \
13314 module_expsym_cmds_CXX | \
13315 old_archive_from_expsyms_cmds_CXX | \
13316 export_symbols_cmds_CXX | \
13317 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13318 postinstall_cmds | postuninstall_cmds | \
13319 old_postinstall_cmds | old_postuninstall_cmds | \
13320 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13321 # Double-quote double-evaled strings.
13322 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13325 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13331 *'\$0 --fallback-echo"')
13332 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13338 cat <<__EOF__ >> "$cfgfile"
13339 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13341 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13343 # Shell to use when invoking shell scripts.
13346 # Whether or not to build shared libraries.
13347 build_libtool_libs=$enable_shared
13349 # Whether or not to build static libraries.
13350 build_old_libs=$enable_static
13352 # Whether or not to add -lc for building shared libraries.
13353 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13355 # Whether or not to disallow shared libs when runtime libs are static
13356 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13358 # Whether or not to optimize for fast installation.
13359 fast_install=$enable_fast_install
13362 host_alias=$host_alias
13366 # The build system.
13367 build_alias=$build_alias
13371 # An echo program that does not interpret backslashes.
13376 AR_FLAGS=$lt_AR_FLAGS
13381 # LTCC compiler flags.
13382 LTCFLAGS=$lt_LTCFLAGS
13384 # A language-specific compiler.
13385 CC=$lt_compiler_CXX
13387 # Is the compiler the GNU C compiler?
13393 # The linker used to build libraries.
13396 # Whether we need hard or soft links.
13399 # A BSD-compatible nm program.
13402 # A symbol stripping program
13405 # Used to examine libraries when file_magic_cmd begins "file"
13406 MAGIC_CMD=$MAGIC_CMD
13408 # Used on cygwin: DLL creation program.
13411 # Used on cygwin: object dumper.
13414 # Used on cygwin: assembler.
13417 # The name of the directory that contains temporary libtool files.
13420 # How to create reloadable object files.
13421 reload_flag=$lt_reload_flag
13422 reload_cmds=$lt_reload_cmds
13424 # How to pass a linker flag through the compiler.
13425 wl=$lt_lt_prog_compiler_wl_CXX
13427 # Object file suffix (normally "o").
13428 objext="$ac_objext"
13430 # Old archive suffix (normally "a").
13433 # Shared library suffix (normally ".so").
13434 shrext_cmds='$shrext_cmds'
13436 # Executable file suffix (normally "").
13439 # Additional compiler flags for building library objects.
13440 pic_flag=$lt_lt_prog_compiler_pic_CXX
13443 # What is the maximum length of a command?
13444 max_cmd_len=$lt_cv_sys_max_cmd_len
13446 # Does compiler simultaneously support -c and -o options?
13447 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13449 # Must we lock files when doing compilation?
13450 need_locks=$lt_need_locks
13452 # Do we need the lib prefix for modules?
13453 need_lib_prefix=$need_lib_prefix
13455 # Do we need a version for libraries?
13456 need_version=$need_version
13458 # Whether dlopen is supported.
13459 dlopen_support=$enable_dlopen
13461 # Whether dlopen of programs is supported.
13462 dlopen_self=$enable_dlopen_self
13464 # Whether dlopen of statically linked programs is supported.
13465 dlopen_self_static=$enable_dlopen_self_static
13467 # Compiler flag to prevent dynamic linking.
13468 link_static_flag=$lt_lt_prog_compiler_static_CXX
13470 # Compiler flag to turn off builtin functions.
13471 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13473 # Compiler flag to allow reflexive dlopens.
13474 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13476 # Compiler flag to generate shared objects directly from archives.
13477 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13479 # Compiler flag to generate thread-safe objects.
13480 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13482 # Library versioning type.
13483 version_type=$version_type
13485 # Format of library name prefix.
13486 libname_spec=$lt_libname_spec
13488 # List of archive names. First name is the real one, the rest are links.
13489 # The last name is the one that the linker finds with -lNAME.
13490 library_names_spec=$lt_library_names_spec
13492 # The coded name of the library, if different from the real name.
13493 soname_spec=$lt_soname_spec
13495 # Commands used to build and install an old-style archive.
13497 old_archive_cmds=$lt_old_archive_cmds_CXX
13498 old_postinstall_cmds=$lt_old_postinstall_cmds
13499 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13501 # Create an old-style archive from a shared archive.
13502 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13504 # Create a temporary old-style archive to link instead of a shared archive.
13505 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13507 # Commands used to build and install a shared archive.
13508 archive_cmds=$lt_archive_cmds_CXX
13509 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13510 postinstall_cmds=$lt_postinstall_cmds
13511 postuninstall_cmds=$lt_postuninstall_cmds
13513 # Commands used to build a loadable module (assumed same as above if empty)
13514 module_cmds=$lt_module_cmds_CXX
13515 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13517 # Commands to strip libraries.
13518 old_striplib=$lt_old_striplib
13519 striplib=$lt_striplib
13521 # Dependencies to place before the objects being linked to create a
13523 predep_objects=$lt_predep_objects_CXX
13525 # Dependencies to place after the objects being linked to create a
13527 postdep_objects=$lt_postdep_objects_CXX
13529 # Dependencies to place before the objects being linked to create a
13531 predeps=$lt_predeps_CXX
13533 # Dependencies to place after the objects being linked to create a
13535 postdeps=$lt_postdeps_CXX
13537 # The library search path used internally by the compiler when linking
13538 # a shared library.
13539 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13541 # Method to check whether dependent libraries are shared objects.
13542 deplibs_check_method=$lt_deplibs_check_method
13544 # Command to use when deplibs_check_method == file_magic.
13545 file_magic_cmd=$lt_file_magic_cmd
13547 # Flag that allows shared libraries with undefined symbols to be built.
13548 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13550 # Flag that forces no undefined symbols.
13551 no_undefined_flag=$lt_no_undefined_flag_CXX
13553 # Commands used to finish a libtool library installation in a directory.
13554 finish_cmds=$lt_finish_cmds
13556 # Same as above, but a single script fragment to be evaled but not shown.
13557 finish_eval=$lt_finish_eval
13559 # Take the output of nm and produce a listing of raw symbols and C names.
13560 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13562 # Transform the output of nm in a proper C declaration
13563 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13565 # Transform the output of nm in a C name address pair
13566 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13568 # This is the shared library runtime path variable.
13569 runpath_var=$runpath_var
13571 # This is the shared library path variable.
13572 shlibpath_var=$shlibpath_var
13574 # Is shlibpath searched before the hard-coded library search path?
13575 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13577 # How to hardcode a shared library path into an executable.
13578 hardcode_action=$hardcode_action_CXX
13580 # Whether we should hardcode library paths into libraries.
13581 hardcode_into_libs=$hardcode_into_libs
13583 # Flag to hardcode \$libdir into a binary during linking.
13584 # This must work even if \$libdir does not exist.
13585 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13587 # If ld is used when linking, flag to hardcode \$libdir into
13588 # a binary during linking. This must work even if \$libdir does
13590 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13592 # Whether we need a single -rpath flag with a separated argument.
13593 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13595 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13596 # resulting binary.
13597 hardcode_direct=$hardcode_direct_CXX
13599 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13600 # resulting binary.
13601 hardcode_minus_L=$hardcode_minus_L_CXX
13603 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13604 # the resulting binary.
13605 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13607 # Set to yes if building a shared library automatically hardcodes DIR into the library
13608 # and all subsequent libraries and executables linked against it.
13609 hardcode_automatic=$hardcode_automatic_CXX
13611 # Variables whose values should be saved in libtool wrapper scripts and
13612 # restored at relink time.
13613 variables_saved_for_relink="$variables_saved_for_relink"
13615 # Whether libtool must link a program against all its dependency libraries.
13616 link_all_deplibs=$link_all_deplibs_CXX
13618 # Compile-time system search path for libraries
13619 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13621 # Run-time system search path for libraries
13622 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13624 # Fix the shell variable \$srcfile for the compiler.
13625 fix_srcfile_path=$lt_fix_srcfile_path
13627 # Set to yes if exported symbols are required.
13628 always_export_symbols=$always_export_symbols_CXX
13630 # The commands to list exported symbols.
13631 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13633 # The commands to extract the exported symbol list from a shared archive.
13634 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13636 # Symbols that should not be listed in the preloaded symbols.
13637 exclude_expsyms=$lt_exclude_expsyms_CXX
13639 # Symbols that must always be exported.
13640 include_expsyms=$lt_include_expsyms_CXX
13642 # ### END LIBTOOL TAG CONFIG: $tagname
13648 # If there is no Makefile yet, we rely on a make rule to execute
13649 # `config.status --recheck' to rerun these tests and create the
13650 # libtool script then.
13651 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13652 if test -f "$ltmain_in"; then
13653 test -f Makefile
&& make "$ltmain"
13659 ac_cpp
='$CPP $CPPFLAGS'
13660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13668 with_gnu_ldcxx
=$with_gnu_ld
13669 with_gnu_ld
=$lt_save_with_gnu_ld
13670 lt_cv_path_LDCXX
=$lt_cv_path_LD
13671 lt_cv_path_LD
=$lt_save_path_LD
13672 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13673 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13681 if test -n "$F77" && test "X$F77" != "Xno"; then
13684 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13685 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13686 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13689 archive_cmds_need_lc_F77
=no
13690 allow_undefined_flag_F77
=
13691 always_export_symbols_F77
=no
13692 archive_expsym_cmds_F77
=
13693 export_dynamic_flag_spec_F77
=
13694 hardcode_direct_F77
=no
13695 hardcode_libdir_flag_spec_F77
=
13696 hardcode_libdir_flag_spec_ld_F77
=
13697 hardcode_libdir_separator_F77
=
13698 hardcode_minus_L_F77
=no
13699 hardcode_automatic_F77
=no
13701 module_expsym_cmds_F77
=
13702 link_all_deplibs_F77
=unknown
13703 old_archive_cmds_F77
=$old_archive_cmds
13704 no_undefined_flag_F77
=
13705 whole_archive_flag_spec_F77
=
13706 enable_shared_with_static_runtimes_F77
=no
13708 # Source file extension for f77 test sources.
13711 # Object file extension for compiled f77 test sources.
13715 # Code to be used in simple compile tests
13716 lt_simple_compile_test_code
="\
13722 # Code to be used in simple link tests
13723 lt_simple_link_test_code
="\
13728 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13730 # If no C compiler was specified, use CC.
13733 # If no C compiler flags were specified, use CFLAGS.
13734 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13736 # Allow CC to be a program name with arguments.
13740 # save warnings/boilerplate of simple test code
13741 ac_outfile
=conftest.
$ac_objext
13742 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13743 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13744 _lt_compiler_boilerplate
=`cat conftest.err`
13747 ac_outfile
=conftest.
$ac_objext
13748 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13749 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13750 _lt_linker_boilerplate
=`cat conftest.err`
13754 # Allow CC to be a program name with arguments.
13759 for cc_temp
in $compiler""; do
13761 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13762 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13767 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13770 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13771 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13772 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13773 echo "${ECHO_T}$can_build_shared" >&6; }
13775 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13776 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13777 test "$can_build_shared" = "no" && enable_shared
=no
13779 # On AIX, shared libraries and static libraries use the same namespace, and
13780 # are all built from PIC.
13783 test "$enable_shared" = yes && enable_static
=no
13784 if test -n "$RANLIB"; then
13785 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13786 postinstall_cmds
='$RANLIB $lib'
13790 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13791 test "$enable_shared" = yes && enable_static
=no
13795 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13796 echo "${ECHO_T}$enable_shared" >&6; }
13798 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13799 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13800 # Make sure either enable_shared or enable_static is yes.
13801 test "$enable_shared" = yes || enable_static
=yes
13802 { echo "$as_me:$LINENO: result: $enable_static" >&5
13803 echo "${ECHO_T}$enable_static" >&6; }
13808 lt_prog_compiler_wl_F77
=
13809 lt_prog_compiler_pic_F77
=
13810 lt_prog_compiler_static_F77
=
13812 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13813 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13815 if test "$GCC" = yes; then
13816 lt_prog_compiler_wl_F77
='-Wl,'
13817 lt_prog_compiler_static_F77
='-static'
13821 # All AIX code is PIC.
13822 if test "$host_cpu" = ia64
; then
13823 # AIX 5 now supports IA64 processor
13824 lt_prog_compiler_static_F77
='-Bstatic'
13829 # FIXME: we need at least 68020 code to build shared libraries, but
13830 # adding the `-m68020' flag to GCC prevents building anything better,
13832 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13835 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13836 # PIC is the default for these OSes.
13839 mingw
* | cygwin
* | pw32
* | os2
*)
13840 # This hack is so that the source file can tell whether it is being
13841 # built for inclusion in a dll (and should export symbols for example).
13842 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13843 # (--disable-auto-import) libraries
13844 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13847 darwin
* | rhapsody
*)
13848 # PIC is the default on this platform
13849 # Common symbols not allowed in MH_DYLIB files
13850 lt_prog_compiler_pic_F77
='-fno-common'
13854 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13855 # Instead, we relocate shared libraries at runtime.
13859 # Just because we use GCC doesn't mean we suddenly get shared libraries
13860 # on systems that don't support them.
13861 lt_prog_compiler_can_build_shared_F77
=no
13866 if test -d /usr
/nec
; then
13867 lt_prog_compiler_pic_F77
=-Kconform_pic
13872 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13873 # not for PA HP-UX.
13879 lt_prog_compiler_pic_F77
='-fPIC'
13885 lt_prog_compiler_pic_F77
='-fPIC'
13889 # PORTME Check for flag to pass linker flags through the system compiler.
13892 lt_prog_compiler_wl_F77
='-Wl,'
13893 if test "$host_cpu" = ia64
; then
13894 # AIX 5 now supports IA64 processor
13895 lt_prog_compiler_static_F77
='-Bstatic'
13897 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13901 # PIC is the default on this platform
13902 # Common symbols not allowed in MH_DYLIB files
13903 case $cc_basename in
13905 lt_prog_compiler_pic_F77
='-qnocommon'
13906 lt_prog_compiler_wl_F77
='-Wl,'
13911 mingw
* | cygwin
* | pw32
* | os2
*)
13912 # This hack is so that the source file can tell whether it is being
13913 # built for inclusion in a dll (and should export symbols for example).
13914 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13917 hpux9
* | hpux10
* | hpux11
*)
13918 lt_prog_compiler_wl_F77
='-Wl,'
13919 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13920 # not for PA HP-UX.
13926 lt_prog_compiler_pic_F77
='+Z'
13929 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13930 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13933 irix5
* | irix6
* | nonstopux
*)
13934 lt_prog_compiler_wl_F77
='-Wl,'
13935 # PIC (with -KPIC) is the default.
13936 lt_prog_compiler_static_F77
='-non_shared'
13940 lt_prog_compiler_pic_F77
='-KPIC'
13941 lt_prog_compiler_static_F77
='-Bstatic'
13944 linux
* | k
*bsd
*-gnu)
13945 case $cc_basename in
13947 lt_prog_compiler_wl_F77
='-Wl,'
13948 lt_prog_compiler_pic_F77
='-KPIC'
13949 lt_prog_compiler_static_F77
='-static'
13951 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13952 # Portland Group compilers (*not* the Pentium gcc compiler,
13953 # which looks to be a dead project)
13954 lt_prog_compiler_wl_F77
='-Wl,'
13955 lt_prog_compiler_pic_F77
='-fpic'
13956 lt_prog_compiler_static_F77
='-Bstatic'
13959 lt_prog_compiler_wl_F77
='-Wl,'
13960 # All Alpha code is PIC.
13961 lt_prog_compiler_static_F77
='-non_shared'
13964 case `$CC -V 2>&1 | sed 5q` in
13967 lt_prog_compiler_pic_F77
='-KPIC'
13968 lt_prog_compiler_static_F77
='-Bstatic'
13969 lt_prog_compiler_wl_F77
='-Wl,'
13972 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13973 lt_prog_compiler_pic_F77
='-KPIC'
13974 lt_prog_compiler_static_F77
='-Bstatic'
13975 lt_prog_compiler_wl_F77
=''
13982 osf3
* | osf4
* | osf5
*)
13983 lt_prog_compiler_wl_F77
='-Wl,'
13984 # All OSF/1 code is PIC.
13985 lt_prog_compiler_static_F77
='-non_shared'
13989 lt_prog_compiler_static_F77
='-non_shared'
13993 lt_prog_compiler_pic_F77
='-KPIC'
13994 lt_prog_compiler_static_F77
='-Bstatic'
13995 case $cc_basename in
13996 f77
* | f90
* | f95
*)
13997 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13999 lt_prog_compiler_wl_F77
='-Wl,';;
14004 lt_prog_compiler_wl_F77
='-Qoption ld '
14005 lt_prog_compiler_pic_F77
='-PIC'
14006 lt_prog_compiler_static_F77
='-Bstatic'
14009 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14010 lt_prog_compiler_wl_F77
='-Wl,'
14011 lt_prog_compiler_pic_F77
='-KPIC'
14012 lt_prog_compiler_static_F77
='-Bstatic'
14016 if test -d /usr
/nec
;then
14017 lt_prog_compiler_pic_F77
='-Kconform_pic'
14018 lt_prog_compiler_static_F77
='-Bstatic'
14022 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14023 lt_prog_compiler_wl_F77
='-Wl,'
14024 lt_prog_compiler_pic_F77
='-KPIC'
14025 lt_prog_compiler_static_F77
='-Bstatic'
14029 lt_prog_compiler_wl_F77
='-Wl,'
14030 lt_prog_compiler_can_build_shared_F77
=no
14034 lt_prog_compiler_pic_F77
='-pic'
14035 lt_prog_compiler_static_F77
='-Bstatic'
14039 lt_prog_compiler_can_build_shared_F77
=no
14044 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14045 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14048 # Check to make sure the PIC flag actually works.
14050 if test -n "$lt_prog_compiler_pic_F77"; then
14052 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14053 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14054 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 lt_prog_compiler_pic_works_F77
=no
14058 ac_outfile
=conftest.
$ac_objext
14059 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14060 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14061 # Insert the option either (1) after the last *FLAGS variable, or
14062 # (2) before a word containing "conftest.", or (3) at the end.
14063 # Note that $ac_compile itself does not contain backslashes and begins
14064 # with a dollar sign (not a hyphen), so the echo should work correctly.
14065 # The option is referenced via a variable to avoid confusing sed.
14066 lt_compile
=`echo "$ac_compile" | $SED \
14067 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14068 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14069 -e 's:$: $lt_compiler_flag:'`
14070 (eval echo "\"\$as_me:14070: $lt_compile\"" >&5)
14071 (eval "$lt_compile" 2>conftest.err
)
14073 cat conftest.err
>&5
14074 echo "$as_me:14074: \$? = $ac_status" >&5
14075 if (exit $ac_status) && test -s "$ac_outfile"; then
14076 # The compiler can only warn and ignore the option if not recognized
14077 # So say no if there are warnings other than the usual output.
14078 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14079 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14080 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14081 lt_prog_compiler_pic_works_F77
=yes
14087 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14088 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14090 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14091 case $lt_prog_compiler_pic_F77 in
14093 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14096 lt_prog_compiler_pic_F77
=
14097 lt_prog_compiler_can_build_shared_F77
=no
14102 # For platforms which do not support PIC, -DPIC is meaningless:
14104 lt_prog_compiler_pic_F77
=
14107 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14112 # Check to make sure the static flag actually works.
14114 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14115 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14116 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14117 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 lt_prog_compiler_static_works_F77
=no
14121 save_LDFLAGS
="$LDFLAGS"
14122 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14123 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14124 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14125 # The linker can only warn and ignore the option if not recognized
14126 # So say no if there are warnings
14127 if test -s conftest.err
; then
14128 # Append any errors to the config.log.
14129 cat conftest.err
1>&5
14130 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14131 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14132 if diff conftest.exp conftest.er2
>/dev
/null
; then
14133 lt_prog_compiler_static_works_F77
=yes
14136 lt_prog_compiler_static_works_F77
=yes
14140 LDFLAGS
="$save_LDFLAGS"
14143 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14144 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14146 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14149 lt_prog_compiler_static_F77
=
14153 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14154 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14155 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14156 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 lt_cv_prog_compiler_c_o_F77
=no
14159 $rm -r conftest
2>/dev
/null
14163 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14165 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14166 # Insert the option either (1) after the last *FLAGS variable, or
14167 # (2) before a word containing "conftest.", or (3) at the end.
14168 # Note that $ac_compile itself does not contain backslashes and begins
14169 # with a dollar sign (not a hyphen), so the echo should work correctly.
14170 lt_compile
=`echo "$ac_compile" | $SED \
14171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14173 -e 's:$: $lt_compiler_flag:'`
14174 (eval echo "\"\$as_me:14174: $lt_compile\"" >&5)
14175 (eval "$lt_compile" 2>out
/conftest.err
)
14177 cat out
/conftest.err
>&5
14178 echo "$as_me:14178: \$? = $ac_status" >&5
14179 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14181 # The compiler can only warn and ignore the option if not recognized
14182 # So say no if there are warnings
14183 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14184 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14185 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14186 lt_cv_prog_compiler_c_o_F77
=yes
14191 # SGI C++ compiler will create directory out/ii_files/ for
14192 # template instantiation
14193 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14194 $rm out
/* && rmdir out
14200 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14201 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14204 hard_links
="nottested"
14205 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14206 # do not overwrite the value of need_locks provided by the user
14207 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14208 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14211 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14213 ln conftest.a conftest.b
2>&5 || hard_links
=no
14214 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14215 { echo "$as_me:$LINENO: result: $hard_links" >&5
14216 echo "${ECHO_T}$hard_links" >&6; }
14217 if test "$hard_links" = no
; then
14218 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14219 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14226 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14227 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14230 allow_undefined_flag_F77
=
14231 enable_shared_with_static_runtimes_F77
=no
14233 archive_expsym_cmds_F77
=
14234 old_archive_From_new_cmds_F77
=
14235 old_archive_from_expsyms_cmds_F77
=
14236 export_dynamic_flag_spec_F77
=
14237 whole_archive_flag_spec_F77
=
14238 thread_safe_flag_spec_F77
=
14239 hardcode_libdir_flag_spec_F77
=
14240 hardcode_libdir_flag_spec_ld_F77
=
14241 hardcode_libdir_separator_F77
=
14242 hardcode_direct_F77
=no
14243 hardcode_minus_L_F77
=no
14244 hardcode_shlibpath_var_F77
=unsupported
14245 link_all_deplibs_F77
=unknown
14246 hardcode_automatic_F77
=no
14248 module_expsym_cmds_F77
=
14249 always_export_symbols_F77
=no
14250 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14251 # include_expsyms should be a list of space-separated symbols to be *always*
14252 # included in the symbol list
14253 include_expsyms_F77
=
14254 # exclude_expsyms can be an extended regexp of symbols to exclude
14255 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14256 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14257 # as well as any symbol that contains `d'.
14258 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14259 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14260 # platforms (ab)use it in PIC code, but their linkers get confused if
14261 # the symbol is explicitly referenced. Since portable code cannot
14262 # rely on this symbol name, it's probably fine to never include it in
14263 # preloaded symbol tables.
14264 extract_expsyms_cmds
=
14265 # Just being paranoid about ensuring that cc_basename is set.
14266 for cc_temp
in $compiler""; do
14268 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14269 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14274 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14277 cygwin
* | mingw
* | pw32
*)
14278 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14279 # When not using gcc, we currently assume that we are using
14280 # Microsoft Visual C++.
14281 if test "$GCC" != yes; then
14286 # we just hope/assume this is gcc and not c89 (= MSVC++)
14295 if test "$with_gnu_ld" = yes; then
14296 # If archive_cmds runs LD, not CC, wlarc should be empty
14299 # Set some defaults for GNU ld with shared library support. These
14300 # are reset later if shared libraries are not supported. Putting them
14301 # here allows them to be overridden if necessary.
14302 runpath_var
=LD_RUN_PATH
14303 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14304 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14305 # ancient GNU ld didn't support --whole-archive et. al.
14306 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14307 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14309 whole_archive_flag_spec_F77
=
14311 supports_anon_versioning
=no
14312 case `$LD -v 2>/dev/null` in
14313 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14314 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14315 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14316 *\
2.11.
*) ;; # other 2.11 versions
14317 *) supports_anon_versioning
=yes ;;
14320 # See if GNU ld supports shared libraries.
14322 aix3
* | aix4
* | aix5
*)
14323 # On AIX/PPC, the GNU linker is very broken
14324 if test "$host_cpu" != ia64
; then
14328 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14329 *** to be unable to reliably create shared libraries on AIX.
14330 *** Therefore, libtool is disabling shared libraries support. If you
14331 *** really care for shared libraries, you may want to modify your PATH
14332 *** so that a non-GNU linker is found, and then restart.
14339 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)'
14340 hardcode_libdir_flag_spec_F77
='-L$libdir'
14341 hardcode_minus_L_F77
=yes
14343 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14344 # that the semantics of dynamic libraries on AmigaOS, at least up
14345 # to version 4, is to share data among multiple programs linked
14346 # with the same dynamic library. Since this doesn't match the
14347 # behavior of shared libraries on other platforms, we can't use
14353 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14354 allow_undefined_flag_F77
=unsupported
14355 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14356 # support --undefined. This deserves some investigation. FIXME
14357 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14363 cygwin
* | mingw
* | pw32
*)
14364 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14365 # as there is no search path for DLLs.
14366 hardcode_libdir_flag_spec_F77
='-L$libdir'
14367 allow_undefined_flag_F77
=unsupported
14368 always_export_symbols_F77
=no
14369 enable_shared_with_static_runtimes_F77
=yes
14370 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14372 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14373 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14374 # If the export-symbols file already is a .def file (1st line
14375 # is EXPORTS), use it as is; otherwise, prepend...
14376 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14377 cp $export_symbols $output_objdir/$soname.def;
14379 echo EXPORTS > $output_objdir/$soname.def;
14380 cat $export_symbols >> $output_objdir/$soname.def;
14382 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14389 hardcode_direct_F77
=no
14390 hardcode_shlibpath_var_F77
=no
14391 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14392 export_dynamic_flag_spec_F77
='${wl}-E'
14393 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14394 # Instead, shared libraries are loaded at an image base (0x10000000 by
14395 # default) and relocated if they conflict, which is a slow very memory
14396 # consuming and fragmenting process. To avoid this, we pick a random,
14397 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14398 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14399 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'
14400 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'
14403 gnu
* | linux
* | k
*bsd
*-gnu)
14404 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14406 case $cc_basename,$host_cpu in
14407 pgcc
*) # Portland Group C compiler
14408 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'
14409 tmp_addflag
=' $pic_flag'
14411 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14412 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'
14413 tmp_addflag
=' $pic_flag -Mnomain' ;;
14414 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14415 tmp_addflag
=' -i_dynamic' ;;
14416 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14417 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14418 ifc
* | ifort
*) # Intel Fortran compiler
14419 tmp_addflag
=' -nofor_main' ;;
14421 case `$CC -V 2>&1 | sed 5q` in
14422 *Sun\ C
*) # Sun C 5.9
14423 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14424 tmp_sharedflag
='-G' ;;
14425 *Sun\ F
*) # Sun Fortran 8.3
14426 tmp_sharedflag
='-G' ;;
14428 tmp_sharedflag
='-shared' ;;
14430 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14432 if test $supports_anon_versioning = yes; then
14433 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14434 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14435 $echo "local: *; };" >> $output_objdir/$libname.ver~
14436 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14444 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14445 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14448 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14449 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14454 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14458 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14459 *** create shared libraries on Solaris systems. Therefore, libtool
14460 *** is disabling shared libraries support. We urge you to upgrade GNU
14461 *** binutils to release 2.9.1 or newer. Another option is to modify
14462 *** your PATH or compiler configuration so that the native linker is
14463 *** used, and then restart.
14466 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14467 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14468 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14474 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14475 case `$LD -v 2>&1` in
14476 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14480 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14481 *** reliably create shared libraries on SCO systems. Therefore, libtool
14482 *** is disabling shared libraries support. We urge you to upgrade GNU
14483 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14484 *** your PATH or compiler configuration so that the native linker is
14485 *** used, and then restart.
14490 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14491 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14492 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14493 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14502 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14504 hardcode_direct_F77
=yes
14505 hardcode_shlibpath_var_F77
=no
14509 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14510 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14511 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14518 if test "$ld_shlibs_F77" = no
; then
14520 hardcode_libdir_flag_spec_F77
=
14521 export_dynamic_flag_spec_F77
=
14522 whole_archive_flag_spec_F77
=
14525 # PORTME fill in a description of your system's linker (not GNU ld)
14528 allow_undefined_flag_F77
=unsupported
14529 always_export_symbols_F77
=yes
14530 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'
14531 # Note: this linker hardcodes the directories in LIBPATH if there
14532 # are no directories specified by -L.
14533 hardcode_minus_L_F77
=yes
14534 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14535 # Neither direct hardcoding nor static linking is supported with a
14537 hardcode_direct_F77
=unsupported
14542 if test "$host_cpu" = ia64
; then
14543 # On IA64, the linker does run time linking by default, so we don't
14544 # have to do anything special.
14545 aix_use_runtimelinking
=no
14546 exp_sym_flag
='-Bexport'
14549 # If we're using GNU nm, then we don't want the "-C" option.
14550 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14551 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14552 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'
14554 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'
14556 aix_use_runtimelinking
=no
14558 # Test if we are trying to use run time linking or normal
14559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14560 # need to do runtime linking.
14561 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14562 for ld_flag
in $LDFLAGS; do
14563 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14564 aix_use_runtimelinking
=yes
14571 exp_sym_flag
='-bexport'
14572 no_entry_flag
='-bnoentry'
14575 # When large executables or shared objects are built, AIX ld can
14576 # have problems creating the table of contents. If linking a library
14577 # or program results in "error TOC overflow" add -mminimal-toc to
14578 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14579 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14581 archive_cmds_F77
=''
14582 hardcode_direct_F77
=yes
14583 hardcode_libdir_separator_F77
=':'
14584 link_all_deplibs_F77
=yes
14586 if test "$GCC" = yes; then
14587 case $host_os in aix4.
[012]|aix4.
[012].
*)
14588 # We only want to do this on AIX 4.2 and lower, the check
14589 # below for broken collect2 doesn't work under 4.3+
14590 collect2name
=`${CC} -print-prog-name=collect2`
14591 if test -f "$collect2name" && \
14592 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14594 # We have reworked collect2
14597 # We have old collect2
14598 hardcode_direct_F77
=unsupported
14599 # It fails to find uninstalled libraries when the uninstalled
14600 # path is not listed in the libpath. Setting hardcode_minus_L
14601 # to unsupported forces relinking
14602 hardcode_minus_L_F77
=yes
14603 hardcode_libdir_flag_spec_F77
='-L$libdir'
14604 hardcode_libdir_separator_F77
=
14608 shared_flag
='-shared'
14609 if test "$aix_use_runtimelinking" = yes; then
14610 shared_flag
="$shared_flag "'${wl}-G'
14614 if test "$host_cpu" = ia64
; then
14615 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14616 # chokes on -Wl,-G. The following line is correct:
14619 if test "$aix_use_runtimelinking" = yes; then
14620 shared_flag
='${wl}-G'
14622 shared_flag
='${wl}-bM:SRE'
14627 # It seems that -bexpall does not export symbols beginning with
14628 # underscore (_), so it is better to generate a list of symbols to export.
14629 always_export_symbols_F77
=yes
14630 if test "$aix_use_runtimelinking" = yes; then
14631 # Warning - without using the other runtime loading flags (-brtl),
14632 # -berok will link without error, but may produce a broken library.
14633 allow_undefined_flag_F77
='-berok'
14634 # Determine the default libpath from the value encoded in an empty executable.
14635 cat >conftest.
$ac_ext <<_ACEOF
14640 rm -f conftest.
$ac_objext conftest
$ac_exeext
14641 if { (ac_try
="$ac_link"
14642 case "(($ac_try" in
14643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14644 *) ac_try_echo=$ac_try;;
14646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14647 (eval "$ac_link") 2>conftest.er1
14649 grep -v '^ *+' conftest.er1 >conftest.err
14651 cat conftest.err >&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && {
14654 test -z "$ac_f77_werror_flag" ||
14655 test ! -s conftest.err
14656 } && test -s conftest$ac_exeext &&
14657 $as_test_x conftest$ac_exeext; then
14659 lt_aix_libpath_sed='
14660 /Import File Strings/,/^$/ {
14666 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14667 # Check for a 64-bit object if we didn't find anything.
14668 if test -z "$aix_libpath"; then
14669 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14679 conftest$ac_exeext conftest.$ac_ext
14680 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14682 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14683 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"
14685 if test "$host_cpu" = ia64; then
14686 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14687 allow_undefined_flag_F77="-z nodefs"
14688 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"
14690 # Determine the default libpath from the value encoded in an empty executable.
14691 cat >conftest.$ac_ext <<_ACEOF
14696 rm -f conftest.$ac_objext conftest$ac_exeext
14697 if { (ac_try="$ac_link"
14698 case "(($ac_try" in
14699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14700 *) ac_try_echo
=$ac_try;;
14702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14703 (eval "$ac_link") 2>conftest.er1
14705 grep -v '^ *+' conftest.er1
>conftest.err
14707 cat conftest.err
>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } && {
14710 test -z "$ac_f77_werror_flag" ||
14711 test ! -s conftest.err
14712 } && test -s conftest
$ac_exeext &&
14713 $as_test_x conftest
$ac_exeext; then
14715 lt_aix_libpath_sed
='
14716 /Import File Strings/,/^$/ {
14722 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14723 # Check for a 64-bit object if we didn't find anything.
14724 if test -z "$aix_libpath"; then
14725 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14728 echo "$as_me: failed program was:" >&5
14729 sed 's/^/| /' conftest.
$ac_ext >&5
14734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14735 conftest
$ac_exeext conftest.
$ac_ext
14736 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14738 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14739 # Warning - without using the other run time loading flags,
14740 # -berok will link without error, but may produce a broken library.
14741 no_undefined_flag_F77
=' ${wl}-bernotok'
14742 allow_undefined_flag_F77
=' ${wl}-berok'
14743 # Exported symbols can be pulled into shared objects from archives
14744 whole_archive_flag_spec_F77
='$convenience'
14745 archive_cmds_need_lc_F77
=yes
14746 # This is similar to how AIX traditionally builds its shared libraries.
14747 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'
14753 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)'
14754 hardcode_libdir_flag_spec_F77
='-L$libdir'
14755 hardcode_minus_L_F77
=yes
14756 # see comment about different semantics on the GNU ld section
14761 export_dynamic_flag_spec_F77
=-rdynamic
14764 cygwin
* | mingw
* | pw32
*)
14765 # When not using gcc, we currently assume that we are using
14766 # Microsoft Visual C++.
14767 # hardcode_libdir_flag_spec is actually meaningless, as there is
14768 # no search path for DLLs.
14769 hardcode_libdir_flag_spec_F77
=' '
14770 allow_undefined_flag_F77
=unsupported
14771 # Tell ltmain to make .lib files, not .a files.
14773 # Tell ltmain to make .dll files, not .so files.
14775 # FIXME: Setting linknames here is a bad hack.
14776 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14777 # The linker will automatically build a .lib file if we build a DLL.
14778 old_archive_From_new_cmds_F77
='true'
14779 # FIXME: Should let the user specify the lib program.
14780 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14781 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14782 enable_shared_with_static_runtimes_F77
=yes
14785 darwin
* | rhapsody
*)
14787 rhapsody
* | darwin1.
[012])
14788 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14791 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14792 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14794 case ${MACOSX_DEPLOYMENT_TARGET} in
14796 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14799 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14805 archive_cmds_need_lc_F77
=no
14806 hardcode_direct_F77
=no
14807 hardcode_automatic_F77
=yes
14808 hardcode_shlibpath_var_F77
=unsupported
14809 whole_archive_flag_spec_F77
=''
14810 link_all_deplibs_F77
=yes
14811 if test "$GCC" = yes ; then
14812 output_verbose_link_cmd
='echo'
14813 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14814 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14815 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14816 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}'
14817 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}'
14819 case $cc_basename in
14821 output_verbose_link_cmd
='echo'
14822 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14823 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14824 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14825 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14826 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}'
14836 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14837 hardcode_libdir_flag_spec_F77
='-L$libdir'
14838 hardcode_shlibpath_var_F77
=no
14845 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14846 # support. Future versions do this automatically, but an explicit c++rt0.o
14847 # does not break anything, and helps significantly (at the cost of a little
14850 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14851 hardcode_libdir_flag_spec_F77
='-R$libdir'
14852 hardcode_direct_F77
=yes
14853 hardcode_shlibpath_var_F77
=no
14856 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14858 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14859 hardcode_direct_F77
=yes
14860 hardcode_minus_L_F77
=yes
14861 hardcode_shlibpath_var_F77
=no
14864 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14865 freebsd
* | dragonfly
*)
14866 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14867 hardcode_libdir_flag_spec_F77
='-R$libdir'
14868 hardcode_direct_F77
=yes
14869 hardcode_shlibpath_var_F77
=no
14873 if test "$GCC" = yes; then
14874 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'
14876 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'
14878 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14879 hardcode_libdir_separator_F77
=:
14880 hardcode_direct_F77
=yes
14882 # hardcode_minus_L: Not really in the search PATH,
14883 # but as the default location of the library.
14884 hardcode_minus_L_F77
=yes
14885 export_dynamic_flag_spec_F77
='${wl}-E'
14889 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14890 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14892 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14894 if test "$with_gnu_ld" = no
; then
14895 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14896 hardcode_libdir_separator_F77
=:
14898 hardcode_direct_F77
=yes
14899 export_dynamic_flag_spec_F77
='${wl}-E'
14901 # hardcode_minus_L: Not really in the search PATH,
14902 # but as the default location of the library.
14903 hardcode_minus_L_F77
=yes
14908 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14911 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14914 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14917 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14923 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14926 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14929 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14933 if test "$with_gnu_ld" = no
; then
14934 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14935 hardcode_libdir_separator_F77
=:
14939 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14940 hardcode_direct_F77
=no
14941 hardcode_shlibpath_var_F77
=no
14944 hardcode_direct_F77
=yes
14945 export_dynamic_flag_spec_F77
='${wl}-E'
14947 # hardcode_minus_L: Not really in the search PATH,
14948 # but as the default location of the library.
14949 hardcode_minus_L_F77
=yes
14955 irix5
* | irix6
* | nonstopux
*)
14956 if test "$GCC" = yes; then
14957 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'
14959 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'
14960 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14962 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14963 hardcode_libdir_separator_F77
=:
14964 link_all_deplibs_F77
=yes
14968 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14969 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14971 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14973 hardcode_libdir_flag_spec_F77
='-R$libdir'
14974 hardcode_direct_F77
=yes
14975 hardcode_shlibpath_var_F77
=no
14979 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14980 hardcode_direct_F77
=yes
14981 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14982 hardcode_libdir_separator_F77
=:
14983 hardcode_shlibpath_var_F77
=no
14987 if test -f /usr
/libexec
/ld.so
; then
14988 hardcode_direct_F77
=yes
14989 hardcode_shlibpath_var_F77
=no
14990 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14991 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14992 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14993 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14994 export_dynamic_flag_spec_F77
='${wl}-E'
14997 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14998 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14999 hardcode_libdir_flag_spec_F77
='-R$libdir'
15002 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15003 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15013 hardcode_libdir_flag_spec_F77
='-L$libdir'
15014 hardcode_minus_L_F77
=yes
15015 allow_undefined_flag_F77
=unsupported
15016 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'
15017 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15021 if test "$GCC" = yes; then
15022 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15023 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'
15025 allow_undefined_flag_F77
=' -expect_unresolved \*'
15026 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'
15028 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15029 hardcode_libdir_separator_F77
=:
15032 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15033 if test "$GCC" = yes; then
15034 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15035 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'
15036 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15038 allow_undefined_flag_F77
=' -expect_unresolved \*'
15039 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'
15040 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~
15041 $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'
15043 # Both c and cxx compiler support -rpath directly
15044 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15046 hardcode_libdir_separator_F77
=:
15050 no_undefined_flag_F77
=' -z text'
15051 if test "$GCC" = yes; then
15053 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15054 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15055 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15058 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15059 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15060 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15062 hardcode_libdir_flag_spec_F77
='-R$libdir'
15063 hardcode_shlibpath_var_F77
=no
15065 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15067 # The compiler driver will combine and reorder linker options,
15068 # but understands `-z linker_flag'. GCC discards it without `$wl',
15069 # but is careful enough not to reorder.
15070 # Supported since Solaris 2.6 (maybe 2.5.1?)
15071 if test "$GCC" = yes; then
15072 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15074 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15078 link_all_deplibs_F77
=yes
15082 if test "x$host_vendor" = xsequent
; then
15083 # Use $CC to link under sequent, because it throws in some extra .o
15084 # files that make .init and .fini sections work.
15085 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15087 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15089 hardcode_libdir_flag_spec_F77
='-L$libdir'
15090 hardcode_direct_F77
=yes
15091 hardcode_minus_L_F77
=yes
15092 hardcode_shlibpath_var_F77
=no
15096 case $host_vendor in
15098 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15099 hardcode_direct_F77
=yes # is this really true???
15102 ## LD is ld it makes a PLAMLIB
15103 ## CC just makes a GrossModule.
15104 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15105 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15106 hardcode_direct_F77
=no
15109 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15110 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15113 runpath_var
='LD_RUN_PATH'
15114 hardcode_shlibpath_var_F77
=no
15118 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15119 hardcode_shlibpath_var_F77
=no
15120 export_dynamic_flag_spec_F77
='-Bexport'
15124 if test -d /usr
/nec
; then
15125 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15126 hardcode_shlibpath_var_F77
=no
15127 runpath_var
=LD_RUN_PATH
15128 hardcode_runpath_var
=yes
15133 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15134 no_undefined_flag_F77
='${wl}-z,text'
15135 archive_cmds_need_lc_F77
=no
15136 hardcode_shlibpath_var_F77
=no
15137 runpath_var
='LD_RUN_PATH'
15139 if test "$GCC" = yes; then
15140 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15141 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15143 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15144 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15148 sysv5
* | sco3.2v5
* | sco5v6
*)
15149 # Note: We can NOT use -z defs as we might desire, because we do not
15150 # link with -lc, and that would cause any symbols used from libc to
15151 # always be unresolved, which means just about no library would
15152 # ever link correctly. If we're not using GNU ld we use -z text
15153 # though, which does catch some bad symbols but isn't as heavy-handed
15155 no_undefined_flag_F77
='${wl}-z,text'
15156 allow_undefined_flag_F77
='${wl}-z,nodefs'
15157 archive_cmds_need_lc_F77
=no
15158 hardcode_shlibpath_var_F77
=no
15159 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15160 hardcode_libdir_separator_F77
=':'
15161 link_all_deplibs_F77
=yes
15162 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15163 runpath_var
='LD_RUN_PATH'
15165 if test "$GCC" = yes; then
15166 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15167 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15169 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15170 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15175 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15176 hardcode_libdir_flag_spec_F77
='-L$libdir'
15177 hardcode_shlibpath_var_F77
=no
15186 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15187 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15188 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15191 # Do we need to explicitly link libc?
15193 case "x$archive_cmds_need_lc_F77" in
15195 # Assume -lc should be added
15196 archive_cmds_need_lc_F77
=yes
15198 if test "$enable_shared" = yes && test "$GCC" = yes; then
15199 case $archive_cmds_F77 in
15201 # FIXME: we may have to deal with multi-command sequences.
15204 # Test whether the compiler implicitly links with -lc since on some
15205 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15206 # to ld, don't add -lc before -lgcc.
15207 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15208 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); } 2>conftest.err
; then
15219 libobjs
=conftest.
$ac_objext
15221 wl
=$lt_prog_compiler_wl_F77
15222 pic_flag
=$lt_prog_compiler_pic_F77
15228 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15229 allow_undefined_flag_F77
=
15230 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15231 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }
15236 archive_cmds_need_lc_F77
=no
15238 archive_cmds_need_lc_F77
=yes
15240 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15242 cat conftest.err
1>&5
15245 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15246 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15253 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15254 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15255 library_names_spec
=
15256 libname_spec
='lib$name'
15260 postuninstall_cmds
=
15264 shlibpath_overrides_runpath
=unknown
15266 dynamic_linker
="$host_os ld.so"
15267 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15269 need_lib_prefix
=unknown
15270 hardcode_into_libs
=no
15272 # when you set need_version to no, make sure it does not cause -set_version
15273 # flags to be left without arguments
15274 need_version
=unknown
15279 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15280 shlibpath_var
=LIBPATH
15282 # AIX 3 has no versioning support, so we append a major version to the name.
15283 soname_spec
='${libname}${release}${shared_ext}$major'
15290 hardcode_into_libs
=yes
15291 if test "$host_cpu" = ia64
; then
15292 # AIX 5 supports IA64
15293 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15294 shlibpath_var
=LD_LIBRARY_PATH
15296 # With GCC up to 2.95.x, collect2 would create an import file
15297 # for dependence libraries. The import file would start with
15298 # the line `#! .'. This would cause the generated library to
15299 # depend on `.', always an invalid library. This was fixed in
15300 # development snapshots of GCC prior to 3.0.
15302 aix4 | aix4.
[01] | aix4.
[01].
*)
15303 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15305 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15308 can_build_shared
=no
15312 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15313 # soname into executable. Probably we can add versioning support to
15314 # collect2, so additional links can be useful in future.
15315 if test "$aix_use_runtimelinking" = yes; then
15316 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15317 # instead of lib<name>.a to let people know that these are not
15318 # typical AIX shared libraries.
15319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15321 # We preserve .a as extension for shared libraries through AIX4.2
15322 # and later when we are not doing run time linking.
15323 library_names_spec
='${libname}${release}.a $libname.a'
15324 soname_spec
='${libname}${release}${shared_ext}$major'
15326 shlibpath_var
=LIBPATH
15331 library_names_spec
='$libname.ixlibrary $libname.a'
15332 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15333 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'
15337 library_names_spec
='${libname}${shared_ext}'
15338 dynamic_linker
="$host_os ld.so"
15339 shlibpath_var
=LIBRARY_PATH
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15346 soname_spec
='${libname}${release}${shared_ext}$major'
15347 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15348 shlibpath_var
=LD_LIBRARY_PATH
15349 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15350 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15351 # the default ld.so.conf also contains /usr/contrib/lib and
15352 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15353 # libtool to hard-code these into programs
15356 cygwin
* | mingw
* | pw32
*)
15357 version_type
=windows
15362 case $GCC,$host_os in
15363 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15364 library_names_spec
='$libname.dll.a'
15365 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15366 postinstall_cmds
='base_file=`basename \${file}`~
15367 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15368 dldir=$destdir/`dirname \$dlpath`~
15369 test -d \$dldir || mkdir -p \$dldir~
15370 $install_prog $dir/$dlname \$dldir/$dlname~
15371 chmod a+x \$dldir/$dlname'
15372 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15373 dlpath=$dir/\$dldll~
15375 shlibpath_overrides_runpath
=yes
15379 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15380 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15381 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15384 # MinGW DLLs use traditional 'lib' prefix
15385 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15386 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15387 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15388 # It is most probably a Windows format PATH printed by
15389 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15390 # path with ; separators, and with drive letters. We can handle the
15391 # drive letters (cygwin fileutils understands them), so leave them,
15392 # especially as we might pass files found there to a mingw objdump,
15393 # which wouldn't understand a cygwinified path. Ahh.
15394 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15396 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15400 # pw32 DLLs use 'pw' prefix rather than 'lib'
15401 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15407 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15410 dynamic_linker
='Win32 ld.exe'
15411 # FIXME: first we should search . and the directory the executable is in
15415 darwin
* | rhapsody
*)
15416 dynamic_linker
="$host_os dyld"
15417 version_type
=darwin
15420 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15421 soname_spec
='${libname}${release}${major}$shared_ext'
15422 shlibpath_overrides_runpath
=yes
15423 shlibpath_var
=DYLD_LIBRARY_PATH
15424 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15426 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15434 soname_spec
='${libname}${release}${shared_ext}$major'
15435 shlibpath_var
=LD_LIBRARY_PATH
15442 freebsd
* | dragonfly
*)
15443 # DragonFly does not have aout. When/if they implement a new
15444 # versioning mechanism, adjust this.
15445 if test -x /usr
/bin
/objformat
; then
15446 objformat
=`/usr/bin/objformat`
15449 freebsd
[123]*) objformat
=aout
;;
15450 *) objformat
=elf
;;
15453 version_type
=freebsd-
$objformat
15454 case $version_type in
15456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15461 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15465 shlibpath_var
=LD_LIBRARY_PATH
15468 shlibpath_overrides_runpath
=yes
15470 freebsd3.
[01]* | freebsdelf3.
[01]*)
15471 shlibpath_overrides_runpath
=yes
15472 hardcode_into_libs
=yes
15474 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15475 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15476 shlibpath_overrides_runpath
=no
15477 hardcode_into_libs
=yes
15479 *) # from 4.6 on, and DragonFly
15480 shlibpath_overrides_runpath
=yes
15481 hardcode_into_libs
=yes
15490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15491 soname_spec
='${libname}${release}${shared_ext}$major'
15492 shlibpath_var
=LD_LIBRARY_PATH
15493 hardcode_into_libs
=yes
15496 hpux9
* | hpux10
* | hpux11
*)
15497 # Give a soname corresponding to the major version so that dld.sl refuses to
15498 # link against other versions.
15505 hardcode_into_libs
=yes
15506 dynamic_linker
="$host_os dld.so"
15507 shlibpath_var
=LD_LIBRARY_PATH
15508 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15510 soname_spec
='${libname}${release}${shared_ext}$major'
15511 if test "X$HPUX_IA64_MODE" = X32
; then
15512 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15514 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15516 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15520 hardcode_into_libs
=yes
15521 dynamic_linker
="$host_os dld.sl"
15522 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15523 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15525 soname_spec
='${libname}${release}${shared_ext}$major'
15526 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15527 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15531 dynamic_linker
="$host_os dld.sl"
15532 shlibpath_var
=SHLIB_PATH
15533 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15535 soname_spec
='${libname}${release}${shared_ext}$major'
15538 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15539 postinstall_cmds
='chmod 555 $lib'
15546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15547 soname_spec
='${libname}${release}${shared_ext}$major'
15548 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15549 shlibpath_var
=LD_LIBRARY_PATH
15550 shlibpath_overrides_runpath
=no
15551 hardcode_into_libs
=yes
15554 irix5
* | irix6
* | nonstopux
*)
15556 nonstopux
*) version_type
=nonstopux
;;
15558 if test "$lt_cv_prog_gnu_ld" = yes; then
15566 soname_spec
='${libname}${release}${shared_ext}$major'
15567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15569 irix5
* | nonstopux
*)
15570 libsuff
= shlibsuff
=
15573 case $LD in # libtool.m4 will add one of these switches to LD
15574 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15575 libsuff
= shlibsuff
= libmagic
=32-bit;;
15576 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15577 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15578 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15579 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15580 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15584 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15585 shlibpath_overrides_runpath
=no
15586 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15587 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15588 hardcode_into_libs
=yes
15591 # No shared lib support for Linux oldld, aout, or coff.
15592 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15596 # This must be Linux ELF.
15597 linux
* | k
*bsd
*-gnu)
15601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15602 soname_spec
='${libname}${release}${shared_ext}$major'
15603 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15604 shlibpath_var
=LD_LIBRARY_PATH
15605 shlibpath_overrides_runpath
=no
15606 # This implies no fast_install, which is unacceptable.
15607 # Some rework will be needed to allow for fast_install
15608 # before this can be enabled.
15609 hardcode_into_libs
=yes
15610 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15611 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15613 # Append ld.so.conf contents to the search path
15614 if test -f /etc
/ld.so.conf
; then
15615 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15616 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15619 # We used to test for /lib/ld.so.1 and disable shared libraries on
15620 # powerpc, because MkLinux only supported shared libraries with the
15621 # GNU dynamic linker. Since this was broken with cross compilers,
15622 # most powerpc-linux boxes support dynamic linking these days and
15623 # people can always --disable-shared, the test was removed, and we
15624 # assume the GNU/Linux dynamic linker is in use.
15625 dynamic_linker
='GNU/Linux ld.so'
15632 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15634 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15635 dynamic_linker
='NetBSD (a.out) ld.so'
15637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15638 soname_spec
='${libname}${release}${shared_ext}$major'
15639 dynamic_linker
='NetBSD ld.elf_so'
15641 shlibpath_var
=LD_LIBRARY_PATH
15642 shlibpath_overrides_runpath
=yes
15643 hardcode_into_libs
=yes
15648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649 shlibpath_var
=LD_LIBRARY_PATH
15650 shlibpath_overrides_runpath
=yes
15657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15658 soname_spec
='${libname}${release}${shared_ext}$major'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 shlibpath_overrides_runpath
=yes
15665 sys_lib_dlsearch_path_spec
="/usr/lib"
15667 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15669 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15670 *) need_version
=no
;;
15672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15673 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15674 shlibpath_var
=LD_LIBRARY_PATH
15675 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15677 openbsd2.
[89] | openbsd2.
[89].
*)
15678 shlibpath_overrides_runpath
=no
15681 shlibpath_overrides_runpath
=yes
15685 shlibpath_overrides_runpath
=yes
15690 libname_spec
='$name'
15693 library_names_spec
='$libname${shared_ext} $libname.a'
15694 dynamic_linker
='OS/2 ld.exe'
15695 shlibpath_var
=LIBPATH
15698 osf3
* | osf4
* | osf5
*)
15702 soname_spec
='${libname}${release}${shared_ext}$major'
15703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 shlibpath_var
=LD_LIBRARY_PATH
15705 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15706 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15718 soname_spec
='${libname}${release}${shared_ext}$major'
15719 shlibpath_var
=LD_LIBRARY_PATH
15720 shlibpath_overrides_runpath
=yes
15721 hardcode_into_libs
=yes
15722 # ldd complains unless libraries are executable
15723 postinstall_cmds
='chmod +x $lib'
15728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15729 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15730 shlibpath_var
=LD_LIBRARY_PATH
15731 shlibpath_overrides_runpath
=yes
15732 if test "$with_gnu_ld" = yes; then
15740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15741 soname_spec
='${libname}${release}${shared_ext}$major'
15742 shlibpath_var
=LD_LIBRARY_PATH
15743 case $host_vendor in
15745 shlibpath_overrides_runpath
=no
15747 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15748 runpath_var
=LD_RUN_PATH
15756 shlibpath_overrides_runpath
=no
15757 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15763 if test -d /usr
/nec
;then
15765 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15766 soname_spec
='$libname${shared_ext}.$major'
15767 shlibpath_var
=LD_LIBRARY_PATH
15771 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15772 version_type
=freebsd-elf
15775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15776 soname_spec
='${libname}${release}${shared_ext}$major'
15777 shlibpath_var
=LD_LIBRARY_PATH
15778 hardcode_into_libs
=yes
15779 if test "$with_gnu_ld" = yes; then
15780 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15781 shlibpath_overrides_runpath
=no
15783 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15784 shlibpath_overrides_runpath
=yes
15787 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15791 sys_lib_dlsearch_path_spec
='/usr/lib'
15796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15797 soname_spec
='${libname}${release}${shared_ext}$major'
15798 shlibpath_var
=LD_LIBRARY_PATH
15805 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15806 echo "${ECHO_T}$dynamic_linker" >&6; }
15807 test "$dynamic_linker" = no
&& can_build_shared
=no
15809 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15810 if test "$GCC" = yes; then
15811 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15814 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15815 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15816 hardcode_action_F77
=
15817 if test -n "$hardcode_libdir_flag_spec_F77" || \
15818 test -n "$runpath_var_F77" || \
15819 test "X$hardcode_automatic_F77" = "Xyes" ; then
15821 # We can hardcode non-existant directories.
15822 if test "$hardcode_direct_F77" != no
&&
15823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15824 # have to relink, otherwise we might link with an installed library
15825 # when we should be linking with a yet-to-be-installed one
15826 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15827 test "$hardcode_minus_L_F77" != no
; then
15828 # Linking always hardcodes the temporary library directory.
15829 hardcode_action_F77
=relink
15831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15832 hardcode_action_F77
=immediate
15835 # We cannot hardcode anything, or else we can only hardcode existing
15837 hardcode_action_F77
=unsupported
15839 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15840 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15842 if test "$hardcode_action_F77" = relink
; then
15843 # Fast installation is not supported
15844 enable_fast_install
=no
15845 elif test "$shlibpath_overrides_runpath" = yes ||
15846 test "$enable_shared" = no
; then
15847 # Fast installation is not necessary
15848 enable_fast_install
=needless
15852 # The else clause should only fire when bootstrapping the
15853 # libtool distribution, otherwise you forgot to ship ltmain.sh
15854 # with your package, and you will get complaints that there are
15855 # no rules to generate ltmain.sh.
15856 if test -f "$ltmain"; then
15857 # See if we are running on zsh, and set the options which allow our commands through
15858 # without removal of \ escapes.
15859 if test -n "${ZSH_VERSION+set}" ; then
15860 setopt NO_GLOB_SUBST
15862 # Now quote all the things that may contain metacharacters while being
15863 # careful not to overquote the AC_SUBSTed values. We take copies of the
15864 # variables and quote the copies for generation of the libtool script.
15865 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15867 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15868 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15869 deplibs_check_method reload_flag reload_cmds need_locks \
15870 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15871 lt_cv_sys_global_symbol_to_c_name_address \
15872 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15873 old_postinstall_cmds old_postuninstall_cmds \
15877 lt_prog_compiler_wl_F77 \
15878 lt_prog_compiler_pic_F77 \
15879 lt_prog_compiler_static_F77 \
15880 lt_prog_compiler_no_builtin_flag_F77 \
15881 export_dynamic_flag_spec_F77 \
15882 thread_safe_flag_spec_F77 \
15883 whole_archive_flag_spec_F77 \
15884 enable_shared_with_static_runtimes_F77 \
15885 old_archive_cmds_F77 \
15886 old_archive_from_new_cmds_F77 \
15887 predep_objects_F77 \
15888 postdep_objects_F77 \
15891 compiler_lib_search_path_F77 \
15893 archive_expsym_cmds_F77 \
15894 postinstall_cmds_F77 \
15895 postuninstall_cmds_F77 \
15896 old_archive_from_expsyms_cmds_F77 \
15897 allow_undefined_flag_F77 \
15898 no_undefined_flag_F77 \
15899 export_symbols_cmds_F77 \
15900 hardcode_libdir_flag_spec_F77 \
15901 hardcode_libdir_flag_spec_ld_F77 \
15902 hardcode_libdir_separator_F77 \
15903 hardcode_automatic_F77 \
15905 module_expsym_cmds_F77 \
15906 lt_cv_prog_compiler_c_o_F77 \
15907 fix_srcfile_path_F77 \
15908 exclude_expsyms_F77 \
15909 include_expsyms_F77
; do
15912 old_archive_cmds_F77 | \
15913 old_archive_from_new_cmds_F77 | \
15914 archive_cmds_F77 | \
15915 archive_expsym_cmds_F77 | \
15916 module_cmds_F77 | \
15917 module_expsym_cmds_F77 | \
15918 old_archive_from_expsyms_cmds_F77 | \
15919 export_symbols_cmds_F77 | \
15920 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15921 postinstall_cmds | postuninstall_cmds | \
15922 old_postinstall_cmds | old_postuninstall_cmds | \
15923 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15924 # Double-quote double-evaled strings.
15925 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15928 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15934 *'\$0 --fallback-echo"')
15935 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15941 cat <<__EOF__ >> "$cfgfile"
15942 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15944 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15946 # Shell to use when invoking shell scripts.
15949 # Whether or not to build shared libraries.
15950 build_libtool_libs=$enable_shared
15952 # Whether or not to build static libraries.
15953 build_old_libs=$enable_static
15955 # Whether or not to add -lc for building shared libraries.
15956 build_libtool_need_lc=$archive_cmds_need_lc_F77
15958 # Whether or not to disallow shared libs when runtime libs are static
15959 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15961 # Whether or not to optimize for fast installation.
15962 fast_install=$enable_fast_install
15965 host_alias=$host_alias
15969 # The build system.
15970 build_alias=$build_alias
15974 # An echo program that does not interpret backslashes.
15979 AR_FLAGS=$lt_AR_FLAGS
15984 # LTCC compiler flags.
15985 LTCFLAGS=$lt_LTCFLAGS
15987 # A language-specific compiler.
15988 CC=$lt_compiler_F77
15990 # Is the compiler the GNU C compiler?
15996 # The linker used to build libraries.
15999 # Whether we need hard or soft links.
16002 # A BSD-compatible nm program.
16005 # A symbol stripping program
16008 # Used to examine libraries when file_magic_cmd begins "file"
16009 MAGIC_CMD=$MAGIC_CMD
16011 # Used on cygwin: DLL creation program.
16014 # Used on cygwin: object dumper.
16017 # Used on cygwin: assembler.
16020 # The name of the directory that contains temporary libtool files.
16023 # How to create reloadable object files.
16024 reload_flag=$lt_reload_flag
16025 reload_cmds=$lt_reload_cmds
16027 # How to pass a linker flag through the compiler.
16028 wl=$lt_lt_prog_compiler_wl_F77
16030 # Object file suffix (normally "o").
16031 objext="$ac_objext"
16033 # Old archive suffix (normally "a").
16036 # Shared library suffix (normally ".so").
16037 shrext_cmds='$shrext_cmds'
16039 # Executable file suffix (normally "").
16042 # Additional compiler flags for building library objects.
16043 pic_flag=$lt_lt_prog_compiler_pic_F77
16046 # What is the maximum length of a command?
16047 max_cmd_len=$lt_cv_sys_max_cmd_len
16049 # Does compiler simultaneously support -c and -o options?
16050 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16052 # Must we lock files when doing compilation?
16053 need_locks=$lt_need_locks
16055 # Do we need the lib prefix for modules?
16056 need_lib_prefix=$need_lib_prefix
16058 # Do we need a version for libraries?
16059 need_version=$need_version
16061 # Whether dlopen is supported.
16062 dlopen_support=$enable_dlopen
16064 # Whether dlopen of programs is supported.
16065 dlopen_self=$enable_dlopen_self
16067 # Whether dlopen of statically linked programs is supported.
16068 dlopen_self_static=$enable_dlopen_self_static
16070 # Compiler flag to prevent dynamic linking.
16071 link_static_flag=$lt_lt_prog_compiler_static_F77
16073 # Compiler flag to turn off builtin functions.
16074 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16076 # Compiler flag to allow reflexive dlopens.
16077 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16079 # Compiler flag to generate shared objects directly from archives.
16080 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16082 # Compiler flag to generate thread-safe objects.
16083 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16085 # Library versioning type.
16086 version_type=$version_type
16088 # Format of library name prefix.
16089 libname_spec=$lt_libname_spec
16091 # List of archive names. First name is the real one, the rest are links.
16092 # The last name is the one that the linker finds with -lNAME.
16093 library_names_spec=$lt_library_names_spec
16095 # The coded name of the library, if different from the real name.
16096 soname_spec=$lt_soname_spec
16098 # Commands used to build and install an old-style archive.
16100 old_archive_cmds=$lt_old_archive_cmds_F77
16101 old_postinstall_cmds=$lt_old_postinstall_cmds
16102 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16104 # Create an old-style archive from a shared archive.
16105 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16107 # Create a temporary old-style archive to link instead of a shared archive.
16108 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16110 # Commands used to build and install a shared archive.
16111 archive_cmds=$lt_archive_cmds_F77
16112 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16113 postinstall_cmds=$lt_postinstall_cmds
16114 postuninstall_cmds=$lt_postuninstall_cmds
16116 # Commands used to build a loadable module (assumed same as above if empty)
16117 module_cmds=$lt_module_cmds_F77
16118 module_expsym_cmds=$lt_module_expsym_cmds_F77
16120 # Commands to strip libraries.
16121 old_striplib=$lt_old_striplib
16122 striplib=$lt_striplib
16124 # Dependencies to place before the objects being linked to create a
16126 predep_objects=$lt_predep_objects_F77
16128 # Dependencies to place after the objects being linked to create a
16130 postdep_objects=$lt_postdep_objects_F77
16132 # Dependencies to place before the objects being linked to create a
16134 predeps=$lt_predeps_F77
16136 # Dependencies to place after the objects being linked to create a
16138 postdeps=$lt_postdeps_F77
16140 # The library search path used internally by the compiler when linking
16141 # a shared library.
16142 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16144 # Method to check whether dependent libraries are shared objects.
16145 deplibs_check_method=$lt_deplibs_check_method
16147 # Command to use when deplibs_check_method == file_magic.
16148 file_magic_cmd=$lt_file_magic_cmd
16150 # Flag that allows shared libraries with undefined symbols to be built.
16151 allow_undefined_flag=$lt_allow_undefined_flag_F77
16153 # Flag that forces no undefined symbols.
16154 no_undefined_flag=$lt_no_undefined_flag_F77
16156 # Commands used to finish a libtool library installation in a directory.
16157 finish_cmds=$lt_finish_cmds
16159 # Same as above, but a single script fragment to be evaled but not shown.
16160 finish_eval=$lt_finish_eval
16162 # Take the output of nm and produce a listing of raw symbols and C names.
16163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16165 # Transform the output of nm in a proper C declaration
16166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16168 # Transform the output of nm in a C name address pair
16169 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16171 # This is the shared library runtime path variable.
16172 runpath_var=$runpath_var
16174 # This is the shared library path variable.
16175 shlibpath_var=$shlibpath_var
16177 # Is shlibpath searched before the hard-coded library search path?
16178 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16180 # How to hardcode a shared library path into an executable.
16181 hardcode_action=$hardcode_action_F77
16183 # Whether we should hardcode library paths into libraries.
16184 hardcode_into_libs=$hardcode_into_libs
16186 # Flag to hardcode \$libdir into a binary during linking.
16187 # This must work even if \$libdir does not exist.
16188 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16190 # If ld is used when linking, flag to hardcode \$libdir into
16191 # a binary during linking. This must work even if \$libdir does
16193 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16195 # Whether we need a single -rpath flag with a separated argument.
16196 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16198 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16199 # resulting binary.
16200 hardcode_direct=$hardcode_direct_F77
16202 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16203 # resulting binary.
16204 hardcode_minus_L=$hardcode_minus_L_F77
16206 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16207 # the resulting binary.
16208 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16210 # Set to yes if building a shared library automatically hardcodes DIR into the library
16211 # and all subsequent libraries and executables linked against it.
16212 hardcode_automatic=$hardcode_automatic_F77
16214 # Variables whose values should be saved in libtool wrapper scripts and
16215 # restored at relink time.
16216 variables_saved_for_relink="$variables_saved_for_relink"
16218 # Whether libtool must link a program against all its dependency libraries.
16219 link_all_deplibs=$link_all_deplibs_F77
16221 # Compile-time system search path for libraries
16222 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16224 # Run-time system search path for libraries
16225 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16227 # Fix the shell variable \$srcfile for the compiler.
16228 fix_srcfile_path=$lt_fix_srcfile_path
16230 # Set to yes if exported symbols are required.
16231 always_export_symbols=$always_export_symbols_F77
16233 # The commands to list exported symbols.
16234 export_symbols_cmds=$lt_export_symbols_cmds_F77
16236 # The commands to extract the exported symbol list from a shared archive.
16237 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16239 # Symbols that should not be listed in the preloaded symbols.
16240 exclude_expsyms=$lt_exclude_expsyms_F77
16242 # Symbols that must always be exported.
16243 include_expsyms=$lt_include_expsyms_F77
16245 # ### END LIBTOOL TAG CONFIG: $tagname
16251 # If there is no Makefile yet, we rely on a make rule to execute
16252 # `config.status --recheck' to rerun these tests and create the
16253 # libtool script then.
16254 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16255 if test -f "$ltmain_in"; then
16256 test -f Makefile
&& make "$ltmain"
16262 ac_cpp
='$CPP $CPPFLAGS'
16263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16275 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16278 # Source file extension for Java test sources.
16281 # Object file extension for compiled Java test sources.
16285 # Code to be used in simple compile tests
16286 lt_simple_compile_test_code
="class foo {}"
16288 # Code to be used in simple link tests
16289 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16291 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16293 # If no C compiler was specified, use CC.
16296 # If no C compiler flags were specified, use CFLAGS.
16297 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16299 # Allow CC to be a program name with arguments.
16303 # save warnings/boilerplate of simple test code
16304 ac_outfile
=conftest.
$ac_objext
16305 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16306 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16307 _lt_compiler_boilerplate
=`cat conftest.err`
16310 ac_outfile
=conftest.
$ac_objext
16311 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16312 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16313 _lt_linker_boilerplate
=`cat conftest.err`
16317 # Allow CC to be a program name with arguments.
16322 for cc_temp
in $compiler""; do
16324 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16325 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16330 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16333 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16334 archive_cmds_need_lc_GCJ
=no
16336 old_archive_cmds_GCJ
=$old_archive_cmds
16339 lt_prog_compiler_no_builtin_flag_GCJ
=
16341 if test "$GCC" = yes; then
16342 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16345 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16346 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16347 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 lt_cv_prog_compiler_rtti_exceptions
=no
16351 ac_outfile
=conftest.
$ac_objext
16352 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16353 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16354 # Insert the option either (1) after the last *FLAGS variable, or
16355 # (2) before a word containing "conftest.", or (3) at the end.
16356 # Note that $ac_compile itself does not contain backslashes and begins
16357 # with a dollar sign (not a hyphen), so the echo should work correctly.
16358 # The option is referenced via a variable to avoid confusing sed.
16359 lt_compile
=`echo "$ac_compile" | $SED \
16360 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16361 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16362 -e 's:$: $lt_compiler_flag:'`
16363 (eval echo "\"\$as_me:16363: $lt_compile\"" >&5)
16364 (eval "$lt_compile" 2>conftest.err
)
16366 cat conftest.err
>&5
16367 echo "$as_me:16367: \$? = $ac_status" >&5
16368 if (exit $ac_status) && test -s "$ac_outfile"; then
16369 # The compiler can only warn and ignore the option if not recognized
16370 # So say no if there are warnings other than the usual output.
16371 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16372 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16373 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16374 lt_cv_prog_compiler_rtti_exceptions
=yes
16380 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16381 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16383 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16384 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16391 lt_prog_compiler_wl_GCJ
=
16392 lt_prog_compiler_pic_GCJ
=
16393 lt_prog_compiler_static_GCJ
=
16395 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16396 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16398 if test "$GCC" = yes; then
16399 lt_prog_compiler_wl_GCJ
='-Wl,'
16400 lt_prog_compiler_static_GCJ
='-static'
16404 # All AIX code is PIC.
16405 if test "$host_cpu" = ia64
; then
16406 # AIX 5 now supports IA64 processor
16407 lt_prog_compiler_static_GCJ
='-Bstatic'
16412 # FIXME: we need at least 68020 code to build shared libraries, but
16413 # adding the `-m68020' flag to GCC prevents building anything better,
16415 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16418 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16419 # PIC is the default for these OSes.
16422 mingw
* | cygwin
* | pw32
* | os2
*)
16423 # This hack is so that the source file can tell whether it is being
16424 # built for inclusion in a dll (and should export symbols for example).
16425 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16426 # (--disable-auto-import) libraries
16427 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16430 darwin
* | rhapsody
*)
16431 # PIC is the default on this platform
16432 # Common symbols not allowed in MH_DYLIB files
16433 lt_prog_compiler_pic_GCJ
='-fno-common'
16437 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16438 # Instead, we relocate shared libraries at runtime.
16442 # Just because we use GCC doesn't mean we suddenly get shared libraries
16443 # on systems that don't support them.
16444 lt_prog_compiler_can_build_shared_GCJ
=no
16449 if test -d /usr
/nec
; then
16450 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16455 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16456 # not for PA HP-UX.
16462 lt_prog_compiler_pic_GCJ
='-fPIC'
16468 lt_prog_compiler_pic_GCJ
='-fPIC'
16472 # PORTME Check for flag to pass linker flags through the system compiler.
16475 lt_prog_compiler_wl_GCJ
='-Wl,'
16476 if test "$host_cpu" = ia64
; then
16477 # AIX 5 now supports IA64 processor
16478 lt_prog_compiler_static_GCJ
='-Bstatic'
16480 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16484 # PIC is the default on this platform
16485 # Common symbols not allowed in MH_DYLIB files
16486 case $cc_basename in
16488 lt_prog_compiler_pic_GCJ
='-qnocommon'
16489 lt_prog_compiler_wl_GCJ
='-Wl,'
16494 mingw
* | cygwin
* | pw32
* | os2
*)
16495 # This hack is so that the source file can tell whether it is being
16496 # built for inclusion in a dll (and should export symbols for example).
16497 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16500 hpux9
* | hpux10
* | hpux11
*)
16501 lt_prog_compiler_wl_GCJ
='-Wl,'
16502 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16503 # not for PA HP-UX.
16509 lt_prog_compiler_pic_GCJ
='+Z'
16512 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16513 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16516 irix5
* | irix6
* | nonstopux
*)
16517 lt_prog_compiler_wl_GCJ
='-Wl,'
16518 # PIC (with -KPIC) is the default.
16519 lt_prog_compiler_static_GCJ
='-non_shared'
16523 lt_prog_compiler_pic_GCJ
='-KPIC'
16524 lt_prog_compiler_static_GCJ
='-Bstatic'
16527 linux
* | k
*bsd
*-gnu)
16528 case $cc_basename in
16530 lt_prog_compiler_wl_GCJ
='-Wl,'
16531 lt_prog_compiler_pic_GCJ
='-KPIC'
16532 lt_prog_compiler_static_GCJ
='-static'
16534 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16535 # Portland Group compilers (*not* the Pentium gcc compiler,
16536 # which looks to be a dead project)
16537 lt_prog_compiler_wl_GCJ
='-Wl,'
16538 lt_prog_compiler_pic_GCJ
='-fpic'
16539 lt_prog_compiler_static_GCJ
='-Bstatic'
16542 lt_prog_compiler_wl_GCJ
='-Wl,'
16543 # All Alpha code is PIC.
16544 lt_prog_compiler_static_GCJ
='-non_shared'
16547 case `$CC -V 2>&1 | sed 5q` in
16550 lt_prog_compiler_pic_GCJ
='-KPIC'
16551 lt_prog_compiler_static_GCJ
='-Bstatic'
16552 lt_prog_compiler_wl_GCJ
='-Wl,'
16555 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16556 lt_prog_compiler_pic_GCJ
='-KPIC'
16557 lt_prog_compiler_static_GCJ
='-Bstatic'
16558 lt_prog_compiler_wl_GCJ
=''
16565 osf3
* | osf4
* | osf5
*)
16566 lt_prog_compiler_wl_GCJ
='-Wl,'
16567 # All OSF/1 code is PIC.
16568 lt_prog_compiler_static_GCJ
='-non_shared'
16572 lt_prog_compiler_static_GCJ
='-non_shared'
16576 lt_prog_compiler_pic_GCJ
='-KPIC'
16577 lt_prog_compiler_static_GCJ
='-Bstatic'
16578 case $cc_basename in
16579 f77
* | f90
* | f95
*)
16580 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16582 lt_prog_compiler_wl_GCJ
='-Wl,';;
16587 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16588 lt_prog_compiler_pic_GCJ
='-PIC'
16589 lt_prog_compiler_static_GCJ
='-Bstatic'
16592 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16593 lt_prog_compiler_wl_GCJ
='-Wl,'
16594 lt_prog_compiler_pic_GCJ
='-KPIC'
16595 lt_prog_compiler_static_GCJ
='-Bstatic'
16599 if test -d /usr
/nec
;then
16600 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16601 lt_prog_compiler_static_GCJ
='-Bstatic'
16605 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16606 lt_prog_compiler_wl_GCJ
='-Wl,'
16607 lt_prog_compiler_pic_GCJ
='-KPIC'
16608 lt_prog_compiler_static_GCJ
='-Bstatic'
16612 lt_prog_compiler_wl_GCJ
='-Wl,'
16613 lt_prog_compiler_can_build_shared_GCJ
=no
16617 lt_prog_compiler_pic_GCJ
='-pic'
16618 lt_prog_compiler_static_GCJ
='-Bstatic'
16622 lt_prog_compiler_can_build_shared_GCJ
=no
16627 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16628 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16631 # Check to make sure the PIC flag actually works.
16633 if test -n "$lt_prog_compiler_pic_GCJ"; then
16635 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16636 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16637 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 lt_prog_compiler_pic_works_GCJ
=no
16641 ac_outfile
=conftest.
$ac_objext
16642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16643 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16644 # Insert the option either (1) after the last *FLAGS variable, or
16645 # (2) before a word containing "conftest.", or (3) at the end.
16646 # Note that $ac_compile itself does not contain backslashes and begins
16647 # with a dollar sign (not a hyphen), so the echo should work correctly.
16648 # The option is referenced via a variable to avoid confusing sed.
16649 lt_compile
=`echo "$ac_compile" | $SED \
16650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16652 -e 's:$: $lt_compiler_flag:'`
16653 (eval echo "\"\$as_me:16653: $lt_compile\"" >&5)
16654 (eval "$lt_compile" 2>conftest.err
)
16656 cat conftest.err
>&5
16657 echo "$as_me:16657: \$? = $ac_status" >&5
16658 if (exit $ac_status) && test -s "$ac_outfile"; then
16659 # The compiler can only warn and ignore the option if not recognized
16660 # So say no if there are warnings other than the usual output.
16661 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16662 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16663 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16664 lt_prog_compiler_pic_works_GCJ
=yes
16670 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16671 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16673 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16674 case $lt_prog_compiler_pic_GCJ in
16676 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16679 lt_prog_compiler_pic_GCJ
=
16680 lt_prog_compiler_can_build_shared_GCJ
=no
16685 # For platforms which do not support PIC, -DPIC is meaningless:
16687 lt_prog_compiler_pic_GCJ
=
16690 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16695 # Check to make sure the static flag actually works.
16697 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16698 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16699 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16700 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 lt_prog_compiler_static_works_GCJ
=no
16704 save_LDFLAGS
="$LDFLAGS"
16705 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16706 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16707 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16708 # The linker can only warn and ignore the option if not recognized
16709 # So say no if there are warnings
16710 if test -s conftest.err
; then
16711 # Append any errors to the config.log.
16712 cat conftest.err
1>&5
16713 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16714 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16715 if diff conftest.exp conftest.er2
>/dev
/null
; then
16716 lt_prog_compiler_static_works_GCJ
=yes
16719 lt_prog_compiler_static_works_GCJ
=yes
16723 LDFLAGS
="$save_LDFLAGS"
16726 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16727 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16729 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16732 lt_prog_compiler_static_GCJ
=
16736 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16737 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16738 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16739 echo $ECHO_N "(cached) $ECHO_C" >&6
16741 lt_cv_prog_compiler_c_o_GCJ
=no
16742 $rm -r conftest
2>/dev
/null
16746 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16748 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16749 # Insert the option either (1) after the last *FLAGS variable, or
16750 # (2) before a word containing "conftest.", or (3) at the end.
16751 # Note that $ac_compile itself does not contain backslashes and begins
16752 # with a dollar sign (not a hyphen), so the echo should work correctly.
16753 lt_compile
=`echo "$ac_compile" | $SED \
16754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16756 -e 's:$: $lt_compiler_flag:'`
16757 (eval echo "\"\$as_me:16757: $lt_compile\"" >&5)
16758 (eval "$lt_compile" 2>out
/conftest.err
)
16760 cat out
/conftest.err
>&5
16761 echo "$as_me:16761: \$? = $ac_status" >&5
16762 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16764 # The compiler can only warn and ignore the option if not recognized
16765 # So say no if there are warnings
16766 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16767 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16768 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16769 lt_cv_prog_compiler_c_o_GCJ
=yes
16774 # SGI C++ compiler will create directory out/ii_files/ for
16775 # template instantiation
16776 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16777 $rm out
/* && rmdir out
16783 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16784 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16787 hard_links
="nottested"
16788 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16789 # do not overwrite the value of need_locks provided by the user
16790 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16791 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16794 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16796 ln conftest.a conftest.b
2>&5 || hard_links
=no
16797 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16798 { echo "$as_me:$LINENO: result: $hard_links" >&5
16799 echo "${ECHO_T}$hard_links" >&6; }
16800 if test "$hard_links" = no
; then
16801 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16802 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16809 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16810 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16813 allow_undefined_flag_GCJ
=
16814 enable_shared_with_static_runtimes_GCJ
=no
16816 archive_expsym_cmds_GCJ
=
16817 old_archive_From_new_cmds_GCJ
=
16818 old_archive_from_expsyms_cmds_GCJ
=
16819 export_dynamic_flag_spec_GCJ
=
16820 whole_archive_flag_spec_GCJ
=
16821 thread_safe_flag_spec_GCJ
=
16822 hardcode_libdir_flag_spec_GCJ
=
16823 hardcode_libdir_flag_spec_ld_GCJ
=
16824 hardcode_libdir_separator_GCJ
=
16825 hardcode_direct_GCJ
=no
16826 hardcode_minus_L_GCJ
=no
16827 hardcode_shlibpath_var_GCJ
=unsupported
16828 link_all_deplibs_GCJ
=unknown
16829 hardcode_automatic_GCJ
=no
16831 module_expsym_cmds_GCJ
=
16832 always_export_symbols_GCJ
=no
16833 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16834 # include_expsyms should be a list of space-separated symbols to be *always*
16835 # included in the symbol list
16836 include_expsyms_GCJ
=
16837 # exclude_expsyms can be an extended regexp of symbols to exclude
16838 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16839 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16840 # as well as any symbol that contains `d'.
16841 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16842 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16843 # platforms (ab)use it in PIC code, but their linkers get confused if
16844 # the symbol is explicitly referenced. Since portable code cannot
16845 # rely on this symbol name, it's probably fine to never include it in
16846 # preloaded symbol tables.
16847 extract_expsyms_cmds
=
16848 # Just being paranoid about ensuring that cc_basename is set.
16849 for cc_temp
in $compiler""; do
16851 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16852 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16857 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16860 cygwin
* | mingw
* | pw32
*)
16861 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16862 # When not using gcc, we currently assume that we are using
16863 # Microsoft Visual C++.
16864 if test "$GCC" != yes; then
16869 # we just hope/assume this is gcc and not c89 (= MSVC++)
16878 if test "$with_gnu_ld" = yes; then
16879 # If archive_cmds runs LD, not CC, wlarc should be empty
16882 # Set some defaults for GNU ld with shared library support. These
16883 # are reset later if shared libraries are not supported. Putting them
16884 # here allows them to be overridden if necessary.
16885 runpath_var
=LD_RUN_PATH
16886 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16887 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16888 # ancient GNU ld didn't support --whole-archive et. al.
16889 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16890 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16892 whole_archive_flag_spec_GCJ
=
16894 supports_anon_versioning
=no
16895 case `$LD -v 2>/dev/null` in
16896 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16897 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16898 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16899 *\
2.11.
*) ;; # other 2.11 versions
16900 *) supports_anon_versioning
=yes ;;
16903 # See if GNU ld supports shared libraries.
16905 aix3
* | aix4
* | aix5
*)
16906 # On AIX/PPC, the GNU linker is very broken
16907 if test "$host_cpu" != ia64
; then
16911 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16912 *** to be unable to reliably create shared libraries on AIX.
16913 *** Therefore, libtool is disabling shared libraries support. If you
16914 *** really care for shared libraries, you may want to modify your PATH
16915 *** so that a non-GNU linker is found, and then restart.
16922 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)'
16923 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16924 hardcode_minus_L_GCJ
=yes
16926 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16927 # that the semantics of dynamic libraries on AmigaOS, at least up
16928 # to version 4, is to share data among multiple programs linked
16929 # with the same dynamic library. Since this doesn't match the
16930 # behavior of shared libraries on other platforms, we can't use
16936 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16937 allow_undefined_flag_GCJ
=unsupported
16938 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16939 # support --undefined. This deserves some investigation. FIXME
16940 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16946 cygwin
* | mingw
* | pw32
*)
16947 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16948 # as there is no search path for DLLs.
16949 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16950 allow_undefined_flag_GCJ
=unsupported
16951 always_export_symbols_GCJ
=no
16952 enable_shared_with_static_runtimes_GCJ
=yes
16953 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16955 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16956 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16957 # If the export-symbols file already is a .def file (1st line
16958 # is EXPORTS), use it as is; otherwise, prepend...
16959 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16960 cp $export_symbols $output_objdir/$soname.def;
16962 echo EXPORTS > $output_objdir/$soname.def;
16963 cat $export_symbols >> $output_objdir/$soname.def;
16965 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16972 hardcode_direct_GCJ
=no
16973 hardcode_shlibpath_var_GCJ
=no
16974 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16975 export_dynamic_flag_spec_GCJ
='${wl}-E'
16976 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16977 # Instead, shared libraries are loaded at an image base (0x10000000 by
16978 # default) and relocated if they conflict, which is a slow very memory
16979 # consuming and fragmenting process. To avoid this, we pick a random,
16980 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16981 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16982 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'
16983 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'
16986 gnu
* | linux
* | k
*bsd
*-gnu)
16987 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16989 case $cc_basename,$host_cpu in
16990 pgcc
*) # Portland Group C compiler
16991 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'
16992 tmp_addflag
=' $pic_flag'
16994 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16995 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'
16996 tmp_addflag
=' $pic_flag -Mnomain' ;;
16997 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16998 tmp_addflag
=' -i_dynamic' ;;
16999 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17000 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17001 ifc
* | ifort
*) # Intel Fortran compiler
17002 tmp_addflag
=' -nofor_main' ;;
17004 case `$CC -V 2>&1 | sed 5q` in
17005 *Sun\ C
*) # Sun C 5.9
17006 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17007 tmp_sharedflag
='-G' ;;
17008 *Sun\ F
*) # Sun Fortran 8.3
17009 tmp_sharedflag
='-G' ;;
17011 tmp_sharedflag
='-shared' ;;
17013 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17015 if test $supports_anon_versioning = yes; then
17016 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17018 $echo "local: *; };" >> $output_objdir/$libname.ver~
17019 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17027 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17028 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17031 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17032 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17037 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17041 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17042 *** create shared libraries on Solaris systems. Therefore, libtool
17043 *** is disabling shared libraries support. We urge you to upgrade GNU
17044 *** binutils to release 2.9.1 or newer. Another option is to modify
17045 *** your PATH or compiler configuration so that the native linker is
17046 *** used, and then restart.
17049 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17050 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17051 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17057 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17058 case `$LD -v 2>&1` in
17059 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17063 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17064 *** reliably create shared libraries on SCO systems. Therefore, libtool
17065 *** is disabling shared libraries support. We urge you to upgrade GNU
17066 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17067 *** your PATH or compiler configuration so that the native linker is
17068 *** used, and then restart.
17073 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17074 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17075 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17076 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17085 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17087 hardcode_direct_GCJ
=yes
17088 hardcode_shlibpath_var_GCJ
=no
17092 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17093 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17094 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17101 if test "$ld_shlibs_GCJ" = no
; then
17103 hardcode_libdir_flag_spec_GCJ
=
17104 export_dynamic_flag_spec_GCJ
=
17105 whole_archive_flag_spec_GCJ
=
17108 # PORTME fill in a description of your system's linker (not GNU ld)
17111 allow_undefined_flag_GCJ
=unsupported
17112 always_export_symbols_GCJ
=yes
17113 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'
17114 # Note: this linker hardcodes the directories in LIBPATH if there
17115 # are no directories specified by -L.
17116 hardcode_minus_L_GCJ
=yes
17117 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17118 # Neither direct hardcoding nor static linking is supported with a
17120 hardcode_direct_GCJ
=unsupported
17125 if test "$host_cpu" = ia64
; then
17126 # On IA64, the linker does run time linking by default, so we don't
17127 # have to do anything special.
17128 aix_use_runtimelinking
=no
17129 exp_sym_flag
='-Bexport'
17132 # If we're using GNU nm, then we don't want the "-C" option.
17133 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17134 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17135 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'
17137 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'
17139 aix_use_runtimelinking
=no
17141 # Test if we are trying to use run time linking or normal
17142 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17143 # need to do runtime linking.
17144 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17145 for ld_flag
in $LDFLAGS; do
17146 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17147 aix_use_runtimelinking
=yes
17154 exp_sym_flag
='-bexport'
17155 no_entry_flag
='-bnoentry'
17158 # When large executables or shared objects are built, AIX ld can
17159 # have problems creating the table of contents. If linking a library
17160 # or program results in "error TOC overflow" add -mminimal-toc to
17161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17164 archive_cmds_GCJ
=''
17165 hardcode_direct_GCJ
=yes
17166 hardcode_libdir_separator_GCJ
=':'
17167 link_all_deplibs_GCJ
=yes
17169 if test "$GCC" = yes; then
17170 case $host_os in aix4.
[012]|aix4.
[012].
*)
17171 # We only want to do this on AIX 4.2 and lower, the check
17172 # below for broken collect2 doesn't work under 4.3+
17173 collect2name
=`${CC} -print-prog-name=collect2`
17174 if test -f "$collect2name" && \
17175 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17177 # We have reworked collect2
17180 # We have old collect2
17181 hardcode_direct_GCJ
=unsupported
17182 # It fails to find uninstalled libraries when the uninstalled
17183 # path is not listed in the libpath. Setting hardcode_minus_L
17184 # to unsupported forces relinking
17185 hardcode_minus_L_GCJ
=yes
17186 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17187 hardcode_libdir_separator_GCJ
=
17191 shared_flag
='-shared'
17192 if test "$aix_use_runtimelinking" = yes; then
17193 shared_flag
="$shared_flag "'${wl}-G'
17197 if test "$host_cpu" = ia64
; then
17198 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17199 # chokes on -Wl,-G. The following line is correct:
17202 if test "$aix_use_runtimelinking" = yes; then
17203 shared_flag
='${wl}-G'
17205 shared_flag
='${wl}-bM:SRE'
17210 # It seems that -bexpall does not export symbols beginning with
17211 # underscore (_), so it is better to generate a list of symbols to export.
17212 always_export_symbols_GCJ
=yes
17213 if test "$aix_use_runtimelinking" = yes; then
17214 # Warning - without using the other runtime loading flags (-brtl),
17215 # -berok will link without error, but may produce a broken library.
17216 allow_undefined_flag_GCJ
='-berok'
17217 # Determine the default libpath from the value encoded in an empty executable.
17218 cat >conftest.
$ac_ext <<_ACEOF
17221 cat confdefs.h
>>conftest.
$ac_ext
17222 cat >>conftest.
$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17233 rm -f conftest.
$ac_objext conftest
$ac_exeext
17234 if { (ac_try
="$ac_link"
17235 case "(($ac_try" in
17236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17237 *) ac_try_echo=$ac_try;;
17239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_link") 2>conftest.er1
17242 grep -v '^ *+' conftest.er1 >conftest.err
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_c_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest$ac_exeext &&
17250 $as_test_x conftest$ac_exeext; then
17252 lt_aix_libpath_sed='
17253 /Import File Strings/,/^$/ {
17259 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17260 # Check for a 64-bit object if we didn't find anything.
17261 if test -z "$aix_libpath"; then
17262 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17272 conftest$ac_exeext conftest.$ac_ext
17273 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17275 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17276 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"
17278 if test "$host_cpu" = ia64; then
17279 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17280 allow_undefined_flag_GCJ="-z nodefs"
17281 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"
17283 # Determine the default libpath from the value encoded in an empty executable.
17284 cat >conftest.$ac_ext <<_ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17299 rm -f conftest.$ac_objext conftest$ac_exeext
17300 if { (ac_try="$ac_link"
17301 case "(($ac_try" in
17302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17303 *) ac_try_echo
=$ac_try;;
17305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17306 (eval "$ac_link") 2>conftest.er1
17308 grep -v '^ *+' conftest.er1
>conftest.err
17310 cat conftest.err
>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } && {
17313 test -z "$ac_c_werror_flag" ||
17314 test ! -s conftest.err
17315 } && test -s conftest
$ac_exeext &&
17316 $as_test_x conftest
$ac_exeext; then
17318 lt_aix_libpath_sed
='
17319 /Import File Strings/,/^$/ {
17325 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17326 # Check for a 64-bit object if we didn't find anything.
17327 if test -z "$aix_libpath"; then
17328 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.
$ac_ext >&5
17337 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17338 conftest
$ac_exeext conftest.
$ac_ext
17339 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17341 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17342 # Warning - without using the other run time loading flags,
17343 # -berok will link without error, but may produce a broken library.
17344 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17345 allow_undefined_flag_GCJ
=' ${wl}-berok'
17346 # Exported symbols can be pulled into shared objects from archives
17347 whole_archive_flag_spec_GCJ
='$convenience'
17348 archive_cmds_need_lc_GCJ
=yes
17349 # This is similar to how AIX traditionally builds its shared libraries.
17350 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'
17356 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)'
17357 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17358 hardcode_minus_L_GCJ
=yes
17359 # see comment about different semantics on the GNU ld section
17364 export_dynamic_flag_spec_GCJ
=-rdynamic
17367 cygwin
* | mingw
* | pw32
*)
17368 # When not using gcc, we currently assume that we are using
17369 # Microsoft Visual C++.
17370 # hardcode_libdir_flag_spec is actually meaningless, as there is
17371 # no search path for DLLs.
17372 hardcode_libdir_flag_spec_GCJ
=' '
17373 allow_undefined_flag_GCJ
=unsupported
17374 # Tell ltmain to make .lib files, not .a files.
17376 # Tell ltmain to make .dll files, not .so files.
17378 # FIXME: Setting linknames here is a bad hack.
17379 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17380 # The linker will automatically build a .lib file if we build a DLL.
17381 old_archive_From_new_cmds_GCJ
='true'
17382 # FIXME: Should let the user specify the lib program.
17383 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17384 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17385 enable_shared_with_static_runtimes_GCJ
=yes
17388 darwin
* | rhapsody
*)
17390 rhapsody
* | darwin1.
[012])
17391 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17394 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17395 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17397 case ${MACOSX_DEPLOYMENT_TARGET} in
17399 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17402 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17408 archive_cmds_need_lc_GCJ
=no
17409 hardcode_direct_GCJ
=no
17410 hardcode_automatic_GCJ
=yes
17411 hardcode_shlibpath_var_GCJ
=unsupported
17412 whole_archive_flag_spec_GCJ
=''
17413 link_all_deplibs_GCJ
=yes
17414 if test "$GCC" = yes ; then
17415 output_verbose_link_cmd
='echo'
17416 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17417 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17418 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17419 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}'
17420 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}'
17422 case $cc_basename in
17424 output_verbose_link_cmd
='echo'
17425 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17426 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17427 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17428 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17429 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}'
17439 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17440 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17441 hardcode_shlibpath_var_GCJ
=no
17448 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17449 # support. Future versions do this automatically, but an explicit c++rt0.o
17450 # does not break anything, and helps significantly (at the cost of a little
17453 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17454 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17455 hardcode_direct_GCJ
=yes
17456 hardcode_shlibpath_var_GCJ
=no
17459 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17461 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17462 hardcode_direct_GCJ
=yes
17463 hardcode_minus_L_GCJ
=yes
17464 hardcode_shlibpath_var_GCJ
=no
17467 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17468 freebsd
* | dragonfly
*)
17469 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17470 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17471 hardcode_direct_GCJ
=yes
17472 hardcode_shlibpath_var_GCJ
=no
17476 if test "$GCC" = yes; then
17477 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'
17479 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'
17481 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17482 hardcode_libdir_separator_GCJ
=:
17483 hardcode_direct_GCJ
=yes
17485 # hardcode_minus_L: Not really in the search PATH,
17486 # but as the default location of the library.
17487 hardcode_minus_L_GCJ
=yes
17488 export_dynamic_flag_spec_GCJ
='${wl}-E'
17492 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17493 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17495 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17497 if test "$with_gnu_ld" = no
; then
17498 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17499 hardcode_libdir_separator_GCJ
=:
17501 hardcode_direct_GCJ
=yes
17502 export_dynamic_flag_spec_GCJ
='${wl}-E'
17504 # hardcode_minus_L: Not really in the search PATH,
17505 # but as the default location of the library.
17506 hardcode_minus_L_GCJ
=yes
17511 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17514 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17517 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17520 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17526 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17529 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17532 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17536 if test "$with_gnu_ld" = no
; then
17537 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17538 hardcode_libdir_separator_GCJ
=:
17542 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17543 hardcode_direct_GCJ
=no
17544 hardcode_shlibpath_var_GCJ
=no
17547 hardcode_direct_GCJ
=yes
17548 export_dynamic_flag_spec_GCJ
='${wl}-E'
17550 # hardcode_minus_L: Not really in the search PATH,
17551 # but as the default location of the library.
17552 hardcode_minus_L_GCJ
=yes
17558 irix5
* | irix6
* | nonstopux
*)
17559 if test "$GCC" = yes; then
17560 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'
17562 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'
17563 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17565 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17566 hardcode_libdir_separator_GCJ
=:
17567 link_all_deplibs_GCJ
=yes
17571 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17572 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17574 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17576 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17577 hardcode_direct_GCJ
=yes
17578 hardcode_shlibpath_var_GCJ
=no
17582 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17583 hardcode_direct_GCJ
=yes
17584 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17585 hardcode_libdir_separator_GCJ
=:
17586 hardcode_shlibpath_var_GCJ
=no
17590 if test -f /usr
/libexec
/ld.so
; then
17591 hardcode_direct_GCJ
=yes
17592 hardcode_shlibpath_var_GCJ
=no
17593 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17594 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17595 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17596 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17597 export_dynamic_flag_spec_GCJ
='${wl}-E'
17600 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17601 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17602 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17605 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17606 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17616 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17617 hardcode_minus_L_GCJ
=yes
17618 allow_undefined_flag_GCJ
=unsupported
17619 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'
17620 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17624 if test "$GCC" = yes; then
17625 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17626 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'
17628 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17629 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'
17631 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17632 hardcode_libdir_separator_GCJ
=:
17635 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17636 if test "$GCC" = yes; then
17637 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17638 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'
17639 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17641 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17642 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'
17643 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~
17644 $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'
17646 # Both c and cxx compiler support -rpath directly
17647 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17649 hardcode_libdir_separator_GCJ
=:
17653 no_undefined_flag_GCJ
=' -z text'
17654 if test "$GCC" = yes; then
17656 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17657 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17658 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17661 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17662 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17663 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17665 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17666 hardcode_shlibpath_var_GCJ
=no
17668 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17670 # The compiler driver will combine and reorder linker options,
17671 # but understands `-z linker_flag'. GCC discards it without `$wl',
17672 # but is careful enough not to reorder.
17673 # Supported since Solaris 2.6 (maybe 2.5.1?)
17674 if test "$GCC" = yes; then
17675 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17677 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17681 link_all_deplibs_GCJ
=yes
17685 if test "x$host_vendor" = xsequent
; then
17686 # Use $CC to link under sequent, because it throws in some extra .o
17687 # files that make .init and .fini sections work.
17688 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17690 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17692 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17693 hardcode_direct_GCJ
=yes
17694 hardcode_minus_L_GCJ
=yes
17695 hardcode_shlibpath_var_GCJ
=no
17699 case $host_vendor in
17701 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17702 hardcode_direct_GCJ
=yes # is this really true???
17705 ## LD is ld it makes a PLAMLIB
17706 ## CC just makes a GrossModule.
17707 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17708 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17709 hardcode_direct_GCJ
=no
17712 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17713 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17716 runpath_var
='LD_RUN_PATH'
17717 hardcode_shlibpath_var_GCJ
=no
17721 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17722 hardcode_shlibpath_var_GCJ
=no
17723 export_dynamic_flag_spec_GCJ
='-Bexport'
17727 if test -d /usr
/nec
; then
17728 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17729 hardcode_shlibpath_var_GCJ
=no
17730 runpath_var
=LD_RUN_PATH
17731 hardcode_runpath_var
=yes
17736 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17737 no_undefined_flag_GCJ
='${wl}-z,text'
17738 archive_cmds_need_lc_GCJ
=no
17739 hardcode_shlibpath_var_GCJ
=no
17740 runpath_var
='LD_RUN_PATH'
17742 if test "$GCC" = yes; then
17743 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17744 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17746 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17747 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17751 sysv5
* | sco3.2v5
* | sco5v6
*)
17752 # Note: We can NOT use -z defs as we might desire, because we do not
17753 # link with -lc, and that would cause any symbols used from libc to
17754 # always be unresolved, which means just about no library would
17755 # ever link correctly. If we're not using GNU ld we use -z text
17756 # though, which does catch some bad symbols but isn't as heavy-handed
17758 no_undefined_flag_GCJ
='${wl}-z,text'
17759 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17760 archive_cmds_need_lc_GCJ
=no
17761 hardcode_shlibpath_var_GCJ
=no
17762 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17763 hardcode_libdir_separator_GCJ
=':'
17764 link_all_deplibs_GCJ
=yes
17765 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17766 runpath_var
='LD_RUN_PATH'
17768 if test "$GCC" = yes; then
17769 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17770 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17772 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17773 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17778 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17779 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17780 hardcode_shlibpath_var_GCJ
=no
17789 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17790 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17791 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17794 # Do we need to explicitly link libc?
17796 case "x$archive_cmds_need_lc_GCJ" in
17798 # Assume -lc should be added
17799 archive_cmds_need_lc_GCJ
=yes
17801 if test "$enable_shared" = yes && test "$GCC" = yes; then
17802 case $archive_cmds_GCJ in
17804 # FIXME: we may have to deal with multi-command sequences.
17807 # Test whether the compiler implicitly links with -lc since on some
17808 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17809 # to ld, don't add -lc before -lgcc.
17810 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17811 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17813 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17816 (eval $ac_compile) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } 2>conftest.err
; then
17822 libobjs
=conftest.
$ac_objext
17824 wl
=$lt_prog_compiler_wl_GCJ
17825 pic_flag
=$lt_prog_compiler_pic_GCJ
17831 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17832 allow_undefined_flag_GCJ
=
17833 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17834 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }
17839 archive_cmds_need_lc_GCJ
=no
17841 archive_cmds_need_lc_GCJ
=yes
17843 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17845 cat conftest.err
1>&5
17848 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17849 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17856 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17857 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17858 library_names_spec
=
17859 libname_spec
='lib$name'
17863 postuninstall_cmds
=
17867 shlibpath_overrides_runpath
=unknown
17869 dynamic_linker
="$host_os ld.so"
17870 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17872 need_lib_prefix
=unknown
17873 hardcode_into_libs
=no
17875 # when you set need_version to no, make sure it does not cause -set_version
17876 # flags to be left without arguments
17877 need_version
=unknown
17882 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17883 shlibpath_var
=LIBPATH
17885 # AIX 3 has no versioning support, so we append a major version to the name.
17886 soname_spec
='${libname}${release}${shared_ext}$major'
17893 hardcode_into_libs
=yes
17894 if test "$host_cpu" = ia64
; then
17895 # AIX 5 supports IA64
17896 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17897 shlibpath_var
=LD_LIBRARY_PATH
17899 # With GCC up to 2.95.x, collect2 would create an import file
17900 # for dependence libraries. The import file would start with
17901 # the line `#! .'. This would cause the generated library to
17902 # depend on `.', always an invalid library. This was fixed in
17903 # development snapshots of GCC prior to 3.0.
17905 aix4 | aix4.
[01] | aix4.
[01].
*)
17906 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17908 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17911 can_build_shared
=no
17915 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17916 # soname into executable. Probably we can add versioning support to
17917 # collect2, so additional links can be useful in future.
17918 if test "$aix_use_runtimelinking" = yes; then
17919 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17920 # instead of lib<name>.a to let people know that these are not
17921 # typical AIX shared libraries.
17922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17924 # We preserve .a as extension for shared libraries through AIX4.2
17925 # and later when we are not doing run time linking.
17926 library_names_spec
='${libname}${release}.a $libname.a'
17927 soname_spec
='${libname}${release}${shared_ext}$major'
17929 shlibpath_var
=LIBPATH
17934 library_names_spec
='$libname.ixlibrary $libname.a'
17935 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17936 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'
17940 library_names_spec
='${libname}${shared_ext}'
17941 dynamic_linker
="$host_os ld.so"
17942 shlibpath_var
=LIBRARY_PATH
17948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17949 soname_spec
='${libname}${release}${shared_ext}$major'
17950 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17951 shlibpath_var
=LD_LIBRARY_PATH
17952 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17953 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17954 # the default ld.so.conf also contains /usr/contrib/lib and
17955 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17956 # libtool to hard-code these into programs
17959 cygwin
* | mingw
* | pw32
*)
17960 version_type
=windows
17965 case $GCC,$host_os in
17966 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17967 library_names_spec
='$libname.dll.a'
17968 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17969 postinstall_cmds
='base_file=`basename \${file}`~
17970 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17971 dldir=$destdir/`dirname \$dlpath`~
17972 test -d \$dldir || mkdir -p \$dldir~
17973 $install_prog $dir/$dlname \$dldir/$dlname~
17974 chmod a+x \$dldir/$dlname'
17975 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17976 dlpath=$dir/\$dldll~
17978 shlibpath_overrides_runpath
=yes
17982 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17983 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17984 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17987 # MinGW DLLs use traditional 'lib' prefix
17988 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17989 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17990 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17991 # It is most probably a Windows format PATH printed by
17992 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17993 # path with ; separators, and with drive letters. We can handle the
17994 # drive letters (cygwin fileutils understands them), so leave them,
17995 # especially as we might pass files found there to a mingw objdump,
17996 # which wouldn't understand a cygwinified path. Ahh.
17997 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17999 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18003 # pw32 DLLs use 'pw' prefix rather than 'lib'
18004 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18010 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18013 dynamic_linker
='Win32 ld.exe'
18014 # FIXME: first we should search . and the directory the executable is in
18018 darwin
* | rhapsody
*)
18019 dynamic_linker
="$host_os dyld"
18020 version_type
=darwin
18023 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18024 soname_spec
='${libname}${release}${major}$shared_ext'
18025 shlibpath_overrides_runpath
=yes
18026 shlibpath_var
=DYLD_LIBRARY_PATH
18027 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18029 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
18045 freebsd
* | dragonfly
*)
18046 # DragonFly does not have aout. When/if they implement a new
18047 # versioning mechanism, adjust this.
18048 if test -x /usr
/bin
/objformat
; then
18049 objformat
=`/usr/bin/objformat`
18052 freebsd
[123]*) objformat
=aout
;;
18053 *) objformat
=elf
;;
18056 version_type
=freebsd-
$objformat
18057 case $version_type in
18059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18064 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18068 shlibpath_var
=LD_LIBRARY_PATH
18071 shlibpath_overrides_runpath
=yes
18073 freebsd3.
[01]* | freebsdelf3.
[01]*)
18074 shlibpath_overrides_runpath
=yes
18075 hardcode_into_libs
=yes
18077 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18078 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18079 shlibpath_overrides_runpath
=no
18080 hardcode_into_libs
=yes
18082 *) # from 4.6 on, and DragonFly
18083 shlibpath_overrides_runpath
=yes
18084 hardcode_into_libs
=yes
18093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18094 soname_spec
='${libname}${release}${shared_ext}$major'
18095 shlibpath_var
=LD_LIBRARY_PATH
18096 hardcode_into_libs
=yes
18099 hpux9
* | hpux10
* | hpux11
*)
18100 # Give a soname corresponding to the major version so that dld.sl refuses to
18101 # link against other versions.
18108 hardcode_into_libs
=yes
18109 dynamic_linker
="$host_os dld.so"
18110 shlibpath_var
=LD_LIBRARY_PATH
18111 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18113 soname_spec
='${libname}${release}${shared_ext}$major'
18114 if test "X$HPUX_IA64_MODE" = X32
; then
18115 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18117 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18119 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18123 hardcode_into_libs
=yes
18124 dynamic_linker
="$host_os dld.sl"
18125 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18126 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18128 soname_spec
='${libname}${release}${shared_ext}$major'
18129 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18130 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18134 dynamic_linker
="$host_os dld.sl"
18135 shlibpath_var
=SHLIB_PATH
18136 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18138 soname_spec
='${libname}${release}${shared_ext}$major'
18141 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18142 postinstall_cmds
='chmod 555 $lib'
18149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18150 soname_spec
='${libname}${release}${shared_ext}$major'
18151 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18152 shlibpath_var
=LD_LIBRARY_PATH
18153 shlibpath_overrides_runpath
=no
18154 hardcode_into_libs
=yes
18157 irix5
* | irix6
* | nonstopux
*)
18159 nonstopux
*) version_type
=nonstopux
;;
18161 if test "$lt_cv_prog_gnu_ld" = yes; then
18169 soname_spec
='${libname}${release}${shared_ext}$major'
18170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18172 irix5
* | nonstopux
*)
18173 libsuff
= shlibsuff
=
18176 case $LD in # libtool.m4 will add one of these switches to LD
18177 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18178 libsuff
= shlibsuff
= libmagic
=32-bit;;
18179 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18180 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18181 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18182 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18183 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18187 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18188 shlibpath_overrides_runpath
=no
18189 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18190 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18191 hardcode_into_libs
=yes
18194 # No shared lib support for Linux oldld, aout, or coff.
18195 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18199 # This must be Linux ELF.
18200 linux
* | k
*bsd
*-gnu)
18204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18205 soname_spec
='${libname}${release}${shared_ext}$major'
18206 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18207 shlibpath_var
=LD_LIBRARY_PATH
18208 shlibpath_overrides_runpath
=no
18209 # This implies no fast_install, which is unacceptable.
18210 # Some rework will be needed to allow for fast_install
18211 # before this can be enabled.
18212 hardcode_into_libs
=yes
18213 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18214 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18216 # Append ld.so.conf contents to the search path
18217 if test -f /etc
/ld.so.conf
; then
18218 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18219 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18222 # We used to test for /lib/ld.so.1 and disable shared libraries on
18223 # powerpc, because MkLinux only supported shared libraries with the
18224 # GNU dynamic linker. Since this was broken with cross compilers,
18225 # most powerpc-linux boxes support dynamic linking these days and
18226 # people can always --disable-shared, the test was removed, and we
18227 # assume the GNU/Linux dynamic linker is in use.
18228 dynamic_linker
='GNU/Linux ld.so'
18235 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18237 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18238 dynamic_linker
='NetBSD (a.out) ld.so'
18240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18241 soname_spec
='${libname}${release}${shared_ext}$major'
18242 dynamic_linker
='NetBSD ld.elf_so'
18244 shlibpath_var
=LD_LIBRARY_PATH
18245 shlibpath_overrides_runpath
=yes
18246 hardcode_into_libs
=yes
18251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18252 shlibpath_var
=LD_LIBRARY_PATH
18253 shlibpath_overrides_runpath
=yes
18260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18261 soname_spec
='${libname}${release}${shared_ext}$major'
18262 shlibpath_var
=LD_LIBRARY_PATH
18263 shlibpath_overrides_runpath
=yes
18268 sys_lib_dlsearch_path_spec
="/usr/lib"
18270 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18272 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18273 *) need_version
=no
;;
18275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18277 shlibpath_var
=LD_LIBRARY_PATH
18278 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18280 openbsd2.
[89] | openbsd2.
[89].
*)
18281 shlibpath_overrides_runpath
=no
18284 shlibpath_overrides_runpath
=yes
18288 shlibpath_overrides_runpath
=yes
18293 libname_spec
='$name'
18296 library_names_spec
='$libname${shared_ext} $libname.a'
18297 dynamic_linker
='OS/2 ld.exe'
18298 shlibpath_var
=LIBPATH
18301 osf3
* | osf4
* | osf5
*)
18305 soname_spec
='${libname}${release}${shared_ext}$major'
18306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18307 shlibpath_var
=LD_LIBRARY_PATH
18308 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18309 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18321 soname_spec
='${libname}${release}${shared_ext}$major'
18322 shlibpath_var
=LD_LIBRARY_PATH
18323 shlibpath_overrides_runpath
=yes
18324 hardcode_into_libs
=yes
18325 # ldd complains unless libraries are executable
18326 postinstall_cmds
='chmod +x $lib'
18331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18332 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18333 shlibpath_var
=LD_LIBRARY_PATH
18334 shlibpath_overrides_runpath
=yes
18335 if test "$with_gnu_ld" = yes; then
18343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18344 soname_spec
='${libname}${release}${shared_ext}$major'
18345 shlibpath_var
=LD_LIBRARY_PATH
18346 case $host_vendor in
18348 shlibpath_overrides_runpath
=no
18350 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18351 runpath_var
=LD_RUN_PATH
18359 shlibpath_overrides_runpath
=no
18360 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18366 if test -d /usr
/nec
;then
18368 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18369 soname_spec
='$libname${shared_ext}.$major'
18370 shlibpath_var
=LD_LIBRARY_PATH
18374 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18375 version_type
=freebsd-elf
18378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18379 soname_spec
='${libname}${release}${shared_ext}$major'
18380 shlibpath_var
=LD_LIBRARY_PATH
18381 hardcode_into_libs
=yes
18382 if test "$with_gnu_ld" = yes; then
18383 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18384 shlibpath_overrides_runpath
=no
18386 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18387 shlibpath_overrides_runpath
=yes
18390 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18394 sys_lib_dlsearch_path_spec
='/usr/lib'
18399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18400 soname_spec
='${libname}${release}${shared_ext}$major'
18401 shlibpath_var
=LD_LIBRARY_PATH
18408 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18409 echo "${ECHO_T}$dynamic_linker" >&6; }
18410 test "$dynamic_linker" = no
&& can_build_shared
=no
18412 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18413 if test "$GCC" = yes; then
18414 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18417 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18418 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18419 hardcode_action_GCJ
=
18420 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18421 test -n "$runpath_var_GCJ" || \
18422 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18424 # We can hardcode non-existant directories.
18425 if test "$hardcode_direct_GCJ" != no
&&
18426 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18427 # have to relink, otherwise we might link with an installed library
18428 # when we should be linking with a yet-to-be-installed one
18429 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18430 test "$hardcode_minus_L_GCJ" != no
; then
18431 # Linking always hardcodes the temporary library directory.
18432 hardcode_action_GCJ
=relink
18434 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18435 hardcode_action_GCJ
=immediate
18438 # We cannot hardcode anything, or else we can only hardcode existing
18440 hardcode_action_GCJ
=unsupported
18442 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18443 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18445 if test "$hardcode_action_GCJ" = relink
; then
18446 # Fast installation is not supported
18447 enable_fast_install
=no
18448 elif test "$shlibpath_overrides_runpath" = yes ||
18449 test "$enable_shared" = no
; then
18450 # Fast installation is not necessary
18451 enable_fast_install
=needless
18455 # The else clause should only fire when bootstrapping the
18456 # libtool distribution, otherwise you forgot to ship ltmain.sh
18457 # with your package, and you will get complaints that there are
18458 # no rules to generate ltmain.sh.
18459 if test -f "$ltmain"; then
18460 # See if we are running on zsh, and set the options which allow our commands through
18461 # without removal of \ escapes.
18462 if test -n "${ZSH_VERSION+set}" ; then
18463 setopt NO_GLOB_SUBST
18465 # Now quote all the things that may contain metacharacters while being
18466 # careful not to overquote the AC_SUBSTed values. We take copies of the
18467 # variables and quote the copies for generation of the libtool script.
18468 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18470 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18471 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18472 deplibs_check_method reload_flag reload_cmds need_locks \
18473 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18474 lt_cv_sys_global_symbol_to_c_name_address \
18475 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18476 old_postinstall_cmds old_postuninstall_cmds \
18480 lt_prog_compiler_wl_GCJ \
18481 lt_prog_compiler_pic_GCJ \
18482 lt_prog_compiler_static_GCJ \
18483 lt_prog_compiler_no_builtin_flag_GCJ \
18484 export_dynamic_flag_spec_GCJ \
18485 thread_safe_flag_spec_GCJ \
18486 whole_archive_flag_spec_GCJ \
18487 enable_shared_with_static_runtimes_GCJ \
18488 old_archive_cmds_GCJ \
18489 old_archive_from_new_cmds_GCJ \
18490 predep_objects_GCJ \
18491 postdep_objects_GCJ \
18494 compiler_lib_search_path_GCJ \
18496 archive_expsym_cmds_GCJ \
18497 postinstall_cmds_GCJ \
18498 postuninstall_cmds_GCJ \
18499 old_archive_from_expsyms_cmds_GCJ \
18500 allow_undefined_flag_GCJ \
18501 no_undefined_flag_GCJ \
18502 export_symbols_cmds_GCJ \
18503 hardcode_libdir_flag_spec_GCJ \
18504 hardcode_libdir_flag_spec_ld_GCJ \
18505 hardcode_libdir_separator_GCJ \
18506 hardcode_automatic_GCJ \
18508 module_expsym_cmds_GCJ \
18509 lt_cv_prog_compiler_c_o_GCJ \
18510 fix_srcfile_path_GCJ \
18511 exclude_expsyms_GCJ \
18512 include_expsyms_GCJ
; do
18515 old_archive_cmds_GCJ | \
18516 old_archive_from_new_cmds_GCJ | \
18517 archive_cmds_GCJ | \
18518 archive_expsym_cmds_GCJ | \
18519 module_cmds_GCJ | \
18520 module_expsym_cmds_GCJ | \
18521 old_archive_from_expsyms_cmds_GCJ | \
18522 export_symbols_cmds_GCJ | \
18523 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18524 postinstall_cmds | postuninstall_cmds | \
18525 old_postinstall_cmds | old_postuninstall_cmds | \
18526 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18527 # Double-quote double-evaled strings.
18528 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18531 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18537 *'\$0 --fallback-echo"')
18538 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18544 cat <<__EOF__ >> "$cfgfile"
18545 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18547 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18549 # Shell to use when invoking shell scripts.
18552 # Whether or not to build shared libraries.
18553 build_libtool_libs=$enable_shared
18555 # Whether or not to build static libraries.
18556 build_old_libs=$enable_static
18558 # Whether or not to add -lc for building shared libraries.
18559 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18561 # Whether or not to disallow shared libs when runtime libs are static
18562 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18564 # Whether or not to optimize for fast installation.
18565 fast_install=$enable_fast_install
18568 host_alias=$host_alias
18572 # The build system.
18573 build_alias=$build_alias
18577 # An echo program that does not interpret backslashes.
18582 AR_FLAGS=$lt_AR_FLAGS
18587 # LTCC compiler flags.
18588 LTCFLAGS=$lt_LTCFLAGS
18590 # A language-specific compiler.
18591 CC=$lt_compiler_GCJ
18593 # Is the compiler the GNU C compiler?
18599 # The linker used to build libraries.
18602 # Whether we need hard or soft links.
18605 # A BSD-compatible nm program.
18608 # A symbol stripping program
18611 # Used to examine libraries when file_magic_cmd begins "file"
18612 MAGIC_CMD=$MAGIC_CMD
18614 # Used on cygwin: DLL creation program.
18617 # Used on cygwin: object dumper.
18620 # Used on cygwin: assembler.
18623 # The name of the directory that contains temporary libtool files.
18626 # How to create reloadable object files.
18627 reload_flag=$lt_reload_flag
18628 reload_cmds=$lt_reload_cmds
18630 # How to pass a linker flag through the compiler.
18631 wl=$lt_lt_prog_compiler_wl_GCJ
18633 # Object file suffix (normally "o").
18634 objext="$ac_objext"
18636 # Old archive suffix (normally "a").
18639 # Shared library suffix (normally ".so").
18640 shrext_cmds='$shrext_cmds'
18642 # Executable file suffix (normally "").
18645 # Additional compiler flags for building library objects.
18646 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18649 # What is the maximum length of a command?
18650 max_cmd_len=$lt_cv_sys_max_cmd_len
18652 # Does compiler simultaneously support -c and -o options?
18653 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18655 # Must we lock files when doing compilation?
18656 need_locks=$lt_need_locks
18658 # Do we need the lib prefix for modules?
18659 need_lib_prefix=$need_lib_prefix
18661 # Do we need a version for libraries?
18662 need_version=$need_version
18664 # Whether dlopen is supported.
18665 dlopen_support=$enable_dlopen
18667 # Whether dlopen of programs is supported.
18668 dlopen_self=$enable_dlopen_self
18670 # Whether dlopen of statically linked programs is supported.
18671 dlopen_self_static=$enable_dlopen_self_static
18673 # Compiler flag to prevent dynamic linking.
18674 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18676 # Compiler flag to turn off builtin functions.
18677 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18679 # Compiler flag to allow reflexive dlopens.
18680 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18682 # Compiler flag to generate shared objects directly from archives.
18683 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18685 # Compiler flag to generate thread-safe objects.
18686 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18688 # Library versioning type.
18689 version_type=$version_type
18691 # Format of library name prefix.
18692 libname_spec=$lt_libname_spec
18694 # List of archive names. First name is the real one, the rest are links.
18695 # The last name is the one that the linker finds with -lNAME.
18696 library_names_spec=$lt_library_names_spec
18698 # The coded name of the library, if different from the real name.
18699 soname_spec=$lt_soname_spec
18701 # Commands used to build and install an old-style archive.
18703 old_archive_cmds=$lt_old_archive_cmds_GCJ
18704 old_postinstall_cmds=$lt_old_postinstall_cmds
18705 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18707 # Create an old-style archive from a shared archive.
18708 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18710 # Create a temporary old-style archive to link instead of a shared archive.
18711 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18713 # Commands used to build and install a shared archive.
18714 archive_cmds=$lt_archive_cmds_GCJ
18715 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18716 postinstall_cmds=$lt_postinstall_cmds
18717 postuninstall_cmds=$lt_postuninstall_cmds
18719 # Commands used to build a loadable module (assumed same as above if empty)
18720 module_cmds=$lt_module_cmds_GCJ
18721 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18723 # Commands to strip libraries.
18724 old_striplib=$lt_old_striplib
18725 striplib=$lt_striplib
18727 # Dependencies to place before the objects being linked to create a
18729 predep_objects=$lt_predep_objects_GCJ
18731 # Dependencies to place after the objects being linked to create a
18733 postdep_objects=$lt_postdep_objects_GCJ
18735 # Dependencies to place before the objects being linked to create a
18737 predeps=$lt_predeps_GCJ
18739 # Dependencies to place after the objects being linked to create a
18741 postdeps=$lt_postdeps_GCJ
18743 # The library search path used internally by the compiler when linking
18744 # a shared library.
18745 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18747 # Method to check whether dependent libraries are shared objects.
18748 deplibs_check_method=$lt_deplibs_check_method
18750 # Command to use when deplibs_check_method == file_magic.
18751 file_magic_cmd=$lt_file_magic_cmd
18753 # Flag that allows shared libraries with undefined symbols to be built.
18754 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18756 # Flag that forces no undefined symbols.
18757 no_undefined_flag=$lt_no_undefined_flag_GCJ
18759 # Commands used to finish a libtool library installation in a directory.
18760 finish_cmds=$lt_finish_cmds
18762 # Same as above, but a single script fragment to be evaled but not shown.
18763 finish_eval=$lt_finish_eval
18765 # Take the output of nm and produce a listing of raw symbols and C names.
18766 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18768 # Transform the output of nm in a proper C declaration
18769 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18771 # Transform the output of nm in a C name address pair
18772 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18774 # This is the shared library runtime path variable.
18775 runpath_var=$runpath_var
18777 # This is the shared library path variable.
18778 shlibpath_var=$shlibpath_var
18780 # Is shlibpath searched before the hard-coded library search path?
18781 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18783 # How to hardcode a shared library path into an executable.
18784 hardcode_action=$hardcode_action_GCJ
18786 # Whether we should hardcode library paths into libraries.
18787 hardcode_into_libs=$hardcode_into_libs
18789 # Flag to hardcode \$libdir into a binary during linking.
18790 # This must work even if \$libdir does not exist.
18791 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18793 # If ld is used when linking, flag to hardcode \$libdir into
18794 # a binary during linking. This must work even if \$libdir does
18796 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18798 # Whether we need a single -rpath flag with a separated argument.
18799 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18801 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18802 # resulting binary.
18803 hardcode_direct=$hardcode_direct_GCJ
18805 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18806 # resulting binary.
18807 hardcode_minus_L=$hardcode_minus_L_GCJ
18809 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18810 # the resulting binary.
18811 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18813 # Set to yes if building a shared library automatically hardcodes DIR into the library
18814 # and all subsequent libraries and executables linked against it.
18815 hardcode_automatic=$hardcode_automatic_GCJ
18817 # Variables whose values should be saved in libtool wrapper scripts and
18818 # restored at relink time.
18819 variables_saved_for_relink="$variables_saved_for_relink"
18821 # Whether libtool must link a program against all its dependency libraries.
18822 link_all_deplibs=$link_all_deplibs_GCJ
18824 # Compile-time system search path for libraries
18825 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18827 # Run-time system search path for libraries
18828 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18830 # Fix the shell variable \$srcfile for the compiler.
18831 fix_srcfile_path=$lt_fix_srcfile_path
18833 # Set to yes if exported symbols are required.
18834 always_export_symbols=$always_export_symbols_GCJ
18836 # The commands to list exported symbols.
18837 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18839 # The commands to extract the exported symbol list from a shared archive.
18840 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18842 # Symbols that should not be listed in the preloaded symbols.
18843 exclude_expsyms=$lt_exclude_expsyms_GCJ
18845 # Symbols that must always be exported.
18846 include_expsyms=$lt_include_expsyms_GCJ
18848 # ### END LIBTOOL TAG CONFIG: $tagname
18854 # If there is no Makefile yet, we rely on a make rule to execute
18855 # `config.status --recheck' to rerun these tests and create the
18856 # libtool script then.
18857 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18858 if test -f "$ltmain_in"; then
18859 test -f Makefile
&& make "$ltmain"
18865 ac_cpp
='$CPP $CPPFLAGS'
18866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18880 # Source file extension for RC test sources.
18883 # Object file extension for compiled RC test sources.
18887 # Code to be used in simple compile tests
18888 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18890 # Code to be used in simple link tests
18891 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18893 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18895 # If no C compiler was specified, use CC.
18898 # If no C compiler flags were specified, use CFLAGS.
18899 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18901 # Allow CC to be a program name with arguments.
18905 # save warnings/boilerplate of simple test code
18906 ac_outfile
=conftest.
$ac_objext
18907 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18908 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18909 _lt_compiler_boilerplate
=`cat conftest.err`
18912 ac_outfile
=conftest.
$ac_objext
18913 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18914 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18915 _lt_linker_boilerplate
=`cat conftest.err`
18919 # Allow CC to be a program name with arguments.
18924 for cc_temp
in $compiler""; do
18926 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18927 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18932 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18934 lt_cv_prog_compiler_c_o_RC
=yes
18936 # The else clause should only fire when bootstrapping the
18937 # libtool distribution, otherwise you forgot to ship ltmain.sh
18938 # with your package, and you will get complaints that there are
18939 # no rules to generate ltmain.sh.
18940 if test -f "$ltmain"; then
18941 # See if we are running on zsh, and set the options which allow our commands through
18942 # without removal of \ escapes.
18943 if test -n "${ZSH_VERSION+set}" ; then
18944 setopt NO_GLOB_SUBST
18946 # Now quote all the things that may contain metacharacters while being
18947 # careful not to overquote the AC_SUBSTed values. We take copies of the
18948 # variables and quote the copies for generation of the libtool script.
18949 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18951 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18952 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18953 deplibs_check_method reload_flag reload_cmds need_locks \
18954 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18955 lt_cv_sys_global_symbol_to_c_name_address \
18956 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18957 old_postinstall_cmds old_postuninstall_cmds \
18961 lt_prog_compiler_wl_RC \
18962 lt_prog_compiler_pic_RC \
18963 lt_prog_compiler_static_RC \
18964 lt_prog_compiler_no_builtin_flag_RC \
18965 export_dynamic_flag_spec_RC \
18966 thread_safe_flag_spec_RC \
18967 whole_archive_flag_spec_RC \
18968 enable_shared_with_static_runtimes_RC \
18969 old_archive_cmds_RC \
18970 old_archive_from_new_cmds_RC \
18971 predep_objects_RC \
18972 postdep_objects_RC \
18975 compiler_lib_search_path_RC \
18977 archive_expsym_cmds_RC \
18978 postinstall_cmds_RC \
18979 postuninstall_cmds_RC \
18980 old_archive_from_expsyms_cmds_RC \
18981 allow_undefined_flag_RC \
18982 no_undefined_flag_RC \
18983 export_symbols_cmds_RC \
18984 hardcode_libdir_flag_spec_RC \
18985 hardcode_libdir_flag_spec_ld_RC \
18986 hardcode_libdir_separator_RC \
18987 hardcode_automatic_RC \
18989 module_expsym_cmds_RC \
18990 lt_cv_prog_compiler_c_o_RC \
18991 fix_srcfile_path_RC \
18992 exclude_expsyms_RC \
18993 include_expsyms_RC
; do
18996 old_archive_cmds_RC | \
18997 old_archive_from_new_cmds_RC | \
18998 archive_cmds_RC | \
18999 archive_expsym_cmds_RC | \
19001 module_expsym_cmds_RC | \
19002 old_archive_from_expsyms_cmds_RC | \
19003 export_symbols_cmds_RC | \
19004 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19005 postinstall_cmds | postuninstall_cmds | \
19006 old_postinstall_cmds | old_postuninstall_cmds | \
19007 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19008 # Double-quote double-evaled strings.
19009 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19012 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19018 *'\$0 --fallback-echo"')
19019 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19025 cat <<__EOF__ >> "$cfgfile"
19026 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19028 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19030 # Shell to use when invoking shell scripts.
19033 # Whether or not to build shared libraries.
19034 build_libtool_libs=$enable_shared
19036 # Whether or not to build static libraries.
19037 build_old_libs=$enable_static
19039 # Whether or not to add -lc for building shared libraries.
19040 build_libtool_need_lc=$archive_cmds_need_lc_RC
19042 # Whether or not to disallow shared libs when runtime libs are static
19043 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19045 # Whether or not to optimize for fast installation.
19046 fast_install=$enable_fast_install
19049 host_alias=$host_alias
19053 # The build system.
19054 build_alias=$build_alias
19058 # An echo program that does not interpret backslashes.
19063 AR_FLAGS=$lt_AR_FLAGS
19068 # LTCC compiler flags.
19069 LTCFLAGS=$lt_LTCFLAGS
19071 # A language-specific compiler.
19074 # Is the compiler the GNU C compiler?
19080 # The linker used to build libraries.
19083 # Whether we need hard or soft links.
19086 # A BSD-compatible nm program.
19089 # A symbol stripping program
19092 # Used to examine libraries when file_magic_cmd begins "file"
19093 MAGIC_CMD=$MAGIC_CMD
19095 # Used on cygwin: DLL creation program.
19098 # Used on cygwin: object dumper.
19101 # Used on cygwin: assembler.
19104 # The name of the directory that contains temporary libtool files.
19107 # How to create reloadable object files.
19108 reload_flag=$lt_reload_flag
19109 reload_cmds=$lt_reload_cmds
19111 # How to pass a linker flag through the compiler.
19112 wl=$lt_lt_prog_compiler_wl_RC
19114 # Object file suffix (normally "o").
19115 objext="$ac_objext"
19117 # Old archive suffix (normally "a").
19120 # Shared library suffix (normally ".so").
19121 shrext_cmds='$shrext_cmds'
19123 # Executable file suffix (normally "").
19126 # Additional compiler flags for building library objects.
19127 pic_flag=$lt_lt_prog_compiler_pic_RC
19130 # What is the maximum length of a command?
19131 max_cmd_len=$lt_cv_sys_max_cmd_len
19133 # Does compiler simultaneously support -c and -o options?
19134 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19136 # Must we lock files when doing compilation?
19137 need_locks=$lt_need_locks
19139 # Do we need the lib prefix for modules?
19140 need_lib_prefix=$need_lib_prefix
19142 # Do we need a version for libraries?
19143 need_version=$need_version
19145 # Whether dlopen is supported.
19146 dlopen_support=$enable_dlopen
19148 # Whether dlopen of programs is supported.
19149 dlopen_self=$enable_dlopen_self
19151 # Whether dlopen of statically linked programs is supported.
19152 dlopen_self_static=$enable_dlopen_self_static
19154 # Compiler flag to prevent dynamic linking.
19155 link_static_flag=$lt_lt_prog_compiler_static_RC
19157 # Compiler flag to turn off builtin functions.
19158 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19160 # Compiler flag to allow reflexive dlopens.
19161 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19163 # Compiler flag to generate shared objects directly from archives.
19164 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19166 # Compiler flag to generate thread-safe objects.
19167 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19169 # Library versioning type.
19170 version_type=$version_type
19172 # Format of library name prefix.
19173 libname_spec=$lt_libname_spec
19175 # List of archive names. First name is the real one, the rest are links.
19176 # The last name is the one that the linker finds with -lNAME.
19177 library_names_spec=$lt_library_names_spec
19179 # The coded name of the library, if different from the real name.
19180 soname_spec=$lt_soname_spec
19182 # Commands used to build and install an old-style archive.
19184 old_archive_cmds=$lt_old_archive_cmds_RC
19185 old_postinstall_cmds=$lt_old_postinstall_cmds
19186 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19188 # Create an old-style archive from a shared archive.
19189 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19191 # Create a temporary old-style archive to link instead of a shared archive.
19192 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19194 # Commands used to build and install a shared archive.
19195 archive_cmds=$lt_archive_cmds_RC
19196 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19197 postinstall_cmds=$lt_postinstall_cmds
19198 postuninstall_cmds=$lt_postuninstall_cmds
19200 # Commands used to build a loadable module (assumed same as above if empty)
19201 module_cmds=$lt_module_cmds_RC
19202 module_expsym_cmds=$lt_module_expsym_cmds_RC
19204 # Commands to strip libraries.
19205 old_striplib=$lt_old_striplib
19206 striplib=$lt_striplib
19208 # Dependencies to place before the objects being linked to create a
19210 predep_objects=$lt_predep_objects_RC
19212 # Dependencies to place after the objects being linked to create a
19214 postdep_objects=$lt_postdep_objects_RC
19216 # Dependencies to place before the objects being linked to create a
19218 predeps=$lt_predeps_RC
19220 # Dependencies to place after the objects being linked to create a
19222 postdeps=$lt_postdeps_RC
19224 # The library search path used internally by the compiler when linking
19225 # a shared library.
19226 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19228 # Method to check whether dependent libraries are shared objects.
19229 deplibs_check_method=$lt_deplibs_check_method
19231 # Command to use when deplibs_check_method == file_magic.
19232 file_magic_cmd=$lt_file_magic_cmd
19234 # Flag that allows shared libraries with undefined symbols to be built.
19235 allow_undefined_flag=$lt_allow_undefined_flag_RC
19237 # Flag that forces no undefined symbols.
19238 no_undefined_flag=$lt_no_undefined_flag_RC
19240 # Commands used to finish a libtool library installation in a directory.
19241 finish_cmds=$lt_finish_cmds
19243 # Same as above, but a single script fragment to be evaled but not shown.
19244 finish_eval=$lt_finish_eval
19246 # Take the output of nm and produce a listing of raw symbols and C names.
19247 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19249 # Transform the output of nm in a proper C declaration
19250 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19252 # Transform the output of nm in a C name address pair
19253 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19255 # This is the shared library runtime path variable.
19256 runpath_var=$runpath_var
19258 # This is the shared library path variable.
19259 shlibpath_var=$shlibpath_var
19261 # Is shlibpath searched before the hard-coded library search path?
19262 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19264 # How to hardcode a shared library path into an executable.
19265 hardcode_action=$hardcode_action_RC
19267 # Whether we should hardcode library paths into libraries.
19268 hardcode_into_libs=$hardcode_into_libs
19270 # Flag to hardcode \$libdir into a binary during linking.
19271 # This must work even if \$libdir does not exist.
19272 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19274 # If ld is used when linking, flag to hardcode \$libdir into
19275 # a binary during linking. This must work even if \$libdir does
19277 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19279 # Whether we need a single -rpath flag with a separated argument.
19280 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19282 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19283 # resulting binary.
19284 hardcode_direct=$hardcode_direct_RC
19286 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19287 # resulting binary.
19288 hardcode_minus_L=$hardcode_minus_L_RC
19290 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19291 # the resulting binary.
19292 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19294 # Set to yes if building a shared library automatically hardcodes DIR into the library
19295 # and all subsequent libraries and executables linked against it.
19296 hardcode_automatic=$hardcode_automatic_RC
19298 # Variables whose values should be saved in libtool wrapper scripts and
19299 # restored at relink time.
19300 variables_saved_for_relink="$variables_saved_for_relink"
19302 # Whether libtool must link a program against all its dependency libraries.
19303 link_all_deplibs=$link_all_deplibs_RC
19305 # Compile-time system search path for libraries
19306 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19308 # Run-time system search path for libraries
19309 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19311 # Fix the shell variable \$srcfile for the compiler.
19312 fix_srcfile_path=$lt_fix_srcfile_path
19314 # Set to yes if exported symbols are required.
19315 always_export_symbols=$always_export_symbols_RC
19317 # The commands to list exported symbols.
19318 export_symbols_cmds=$lt_export_symbols_cmds_RC
19320 # The commands to extract the exported symbol list from a shared archive.
19321 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19323 # Symbols that should not be listed in the preloaded symbols.
19324 exclude_expsyms=$lt_exclude_expsyms_RC
19326 # Symbols that must always be exported.
19327 include_expsyms=$lt_include_expsyms_RC
19329 # ### END LIBTOOL TAG CONFIG: $tagname
19335 # If there is no Makefile yet, we rely on a make rule to execute
19336 # `config.status --recheck' to rerun these tests and create the
19337 # libtool script then.
19338 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19339 if test -f "$ltmain_in"; then
19340 test -f Makefile
&& make "$ltmain"
19346 ac_cpp
='$CPP $CPPFLAGS'
19347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19356 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19357 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19358 { (exit 1); exit 1; }; }
19362 # Append the new tag name to the list of available tags.
19363 if test -n "$tagname" ; then
19364 available_tags
="$available_tags $tagname"
19370 # Now substitute the updated list of available tags.
19371 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19372 mv "${ofile}T" "$ofile"
19376 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19377 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19378 { (exit 1); exit 1; }; }
19384 # This can be used to rebuild libtool when needed
19385 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19387 # Always use our own libtool.
19388 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19390 # Prevent multiple expansion
19412 if test x
$GCC = xyes
19414 CFLAGS
="-Wall $CFLAGS"
19416 if test x
$GXX = xyes
19418 CXXFLAGS
="-Wall $CXXFLAGS"
19421 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19422 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19423 if test "${ac_cv_c_const+set}" = set; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 cat >conftest.
$ac_ext <<_ACEOF
19429 cat confdefs.h
>>conftest.
$ac_ext
19430 cat >>conftest.
$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19436 /* FIXME: Include the comments suggested by Paul. */
19437 #ifndef __cplusplus
19438 /* Ultrix mips cc rejects this. */
19439 typedef int charset[2];
19441 /* SunOS 4.1.1 cc rejects this. */
19442 char const *const *pcpcc;
19444 /* NEC SVR4.0.2 mips cc rejects this. */
19445 struct point {int x, y;};
19446 static struct point const zero = {0,0};
19447 /* AIX XL C 1.02.0.0 rejects this.
19448 It does not let you subtract one const X* pointer from another in
19449 an arm of an if-expression whose if-part is not a constant
19451 const char *g = "string";
19452 pcpcc = &g + (g ? g-g : 0);
19453 /* HPUX 7.0 cc rejects these. */
19455 ppc = (char**) pcpcc;
19456 pcpcc = (char const *const *) ppc;
19457 { /* SCO 3.2v4 cc rejects this. */
19459 char const *s = 0 ? (char *) 0 : (char const *) 0;
19464 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19465 int x[] = {25, 17};
19466 const int *foo = &x[0];
19469 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19470 typedef const int *iptr;
19474 { /* AIX XL C 1.02.0.0 rejects this saying
19475 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19476 struct s { int j; const int *ap[3]; };
19477 struct s *b; b->j = 5;
19479 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19480 const int foo = 10;
19481 if (!foo) return 0;
19483 return !cs[0] && !zero.x;
19490 rm -f conftest.
$ac_objext
19491 if { (ac_try
="$ac_compile"
19492 case "(($ac_try" in
19493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19494 *) ac_try_echo=$ac_try;;
19496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19497 (eval "$ac_compile") 2>conftest.er1
19499 grep -v '^ *+' conftest.er1 >conftest.err
19501 cat conftest.err >&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } && {
19504 test -z "$ac_c_werror_flag" ||
19505 test ! -s conftest.err
19506 } && test -s conftest.$ac_objext; then
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19517 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19518 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19519 if test $ac_cv_c_const = no; then
19521 cat >>confdefs.h <<\_ACEOF
19527 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19528 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19529 if test "${ac_cv_header_stdc+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 cat >conftest.$ac_ext <<_ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <stdlib.h>
19539 #include <stdarg.h>
19540 #include <string.h>
19551 rm -f conftest.$ac_objext
19552 if { (ac_try="$ac_compile"
19553 case "(($ac_try" in
19554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19555 *) ac_try_echo
=$ac_try;;
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_compile") 2>conftest.er1
19560 grep -v '^ *+' conftest.er1
>conftest.err
19562 cat conftest.err
>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } && {
19565 test -z "$ac_c_werror_flag" ||
19566 test ! -s conftest.err
19567 } && test -s conftest.
$ac_objext; then
19568 ac_cv_header_stdc
=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.
$ac_ext >&5
19573 ac_cv_header_stdc
=no
19576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 if test $ac_cv_header_stdc = yes; then
19579 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19580 cat >conftest.
$ac_ext <<_ACEOF
19583 cat confdefs.h
>>conftest.
$ac_ext
19584 cat >>conftest.
$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 #include <string.h>
19589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19590 $EGREP "memchr" >/dev
/null
2>&1; then
19593 ac_cv_header_stdc
=no
19599 if test $ac_cv_header_stdc = yes; then
19600 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19601 cat >conftest.
$ac_ext <<_ACEOF
19604 cat confdefs.h
>>conftest.
$ac_ext
19605 cat >>conftest.
$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19607 #include <stdlib.h>
19610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19611 $EGREP "free" >/dev
/null
2>&1; then
19614 ac_cv_header_stdc
=no
19620 if test $ac_cv_header_stdc = yes; then
19621 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19622 if test "$cross_compiling" = yes; then
19625 cat >conftest.
$ac_ext <<_ACEOF
19628 cat confdefs.h
>>conftest.
$ac_ext
19629 cat >>conftest.
$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19632 #include <stdlib.h>
19633 #if ((' ' & 0x0FF) == 0x020)
19634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19637 # define ISLOWER(c) \
19638 (('a' <= (c) && (c) <= 'i') \
19639 || ('j' <= (c) && (c) <= 'r') \
19640 || ('s' <= (c) && (c) <= 'z'))
19641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19649 for (i = 0; i < 256; i++)
19650 if (XOR (islower (i), ISLOWER (i))
19651 || toupper (i) != TOUPPER (i))
19656 rm -f conftest
$ac_exeext
19657 if { (ac_try
="$ac_link"
19658 case "(($ac_try" in
19659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_link") 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19667 { (case "(($ac_try" in
19668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19669 *) ac_try_echo
=$ac_try;;
19671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_try") 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; }; then
19678 echo "$as_me: program exited with status $ac_status" >&5
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19682 ( exit $ac_status )
19683 ac_cv_header_stdc
=no
19685 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19691 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19692 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19693 if test $ac_cv_header_stdc = yes; then
19695 cat >>confdefs.h
<<\_ACEOF
19696 #define STDC_HEADERS 1
19704 for ac_header
in fcntl.h string.h syslog.h
19706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19707 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19710 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 ac_res
=`eval echo '${'$as_ac_Header'}'`
19714 { echo "$as_me:$LINENO: result: $ac_res" >&5
19715 echo "${ECHO_T}$ac_res" >&6; }
19717 # Is the header compilable?
19718 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19720 cat >conftest.
$ac_ext <<_ACEOF
19723 cat confdefs.h
>>conftest.
$ac_ext
19724 cat >>conftest.
$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 $ac_includes_default
19727 #include <$ac_header>
19729 rm -f conftest.
$ac_objext
19730 if { (ac_try
="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19738 grep -v '^ *+' conftest.er1 >conftest.err
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_header_compiler=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 ac_header_compiler=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19755 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19756 echo "${ECHO_T}$ac_header_compiler" >&6; }
19758 # Is the header present?
19759 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19760 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19761 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #include <$ac_header>
19769 if { (ac_try="$ac_cpp conftest.$ac_ext"
19770 case "(($ac_try" in
19771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19772 *) ac_try_echo
=$ac_try;;
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19777 grep -v '^ *+' conftest.er1
>conftest.err
19779 cat conftest.err
>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } >/dev
/null
&& {
19782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19783 test ! -s conftest.err
19785 ac_header_preproc
=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 ac_header_preproc
=no
19793 rm -f conftest.err conftest.
$ac_ext
19794 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19795 echo "${ECHO_T}$ac_header_preproc" >&6; }
19797 # So? What about this header?
19798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19803 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19804 ac_header_preproc
=yes
19807 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19808 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19810 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19812 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19813 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19814 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19817 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19818 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19820 ## -------------------------------------------------- ##
19821 ## Report this to courier-users@lists.sourceforge.net ##
19822 ## -------------------------------------------------- ##
19824 ) |
sed "s/^/$as_me: WARNING: /" >&2
19827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19829 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19830 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 eval "$as_ac_Header=\$ac_header_preproc"
19834 ac_res
=`eval echo '${'$as_ac_Header'}'`
19835 { echo "$as_me:$LINENO: result: $ac_res" >&5
19836 echo "${ECHO_T}$ac_res" >&6; }
19839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19840 cat >>confdefs.h
<<_ACEOF
19841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19848 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
19849 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
19850 if test "${ac_cv_type_uid_t+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 cat >conftest.
$ac_ext <<_ACEOF
19856 cat confdefs.h
>>conftest.
$ac_ext
19857 cat >>conftest.
$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 #include <sys/types.h>
19862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19863 $EGREP "uid_t" >/dev
/null
2>&1; then
19864 ac_cv_type_uid_t
=yes
19866 ac_cv_type_uid_t
=no
19871 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
19872 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
19873 if test $ac_cv_type_uid_t = no
; then
19875 cat >>confdefs.h
<<\_ACEOF
19880 cat >>confdefs.h
<<\_ACEOF
19887 for ac_func
in strchr
19889 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19892 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 cat >conftest.
$ac_ext <<_ACEOF
19898 cat confdefs.h
>>conftest.
$ac_ext
19899 cat >>conftest.
$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19903 #define $ac_func innocuous_$ac_func
19905 /* System header to define __stub macros and hopefully few prototypes,
19906 which can conflict with char $ac_func (); below.
19907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19908 <limits.h> exists even on freestanding compilers. */
19911 # include <limits.h>
19913 # include <assert.h>
19918 /* Override any GCC internal prototype to avoid an error.
19919 Use char because int might match the return type of a GCC
19920 builtin and then its argument prototype would still apply. */
19925 /* The GNU C library defines this for functions which it implements
19926 to always fail with ENOSYS. Some functions are actually named
19927 something starting with __ and the normal name is an alias. */
19928 #if defined __stub_$ac_func || defined __stub___$ac_func
19935 return $ac_func ();
19940 rm -f conftest.
$ac_objext conftest
$ac_exeext
19941 if { (ac_try
="$ac_link"
19942 case "(($ac_try" in
19943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_link") 2>conftest.er1
19949 grep -v '^ *+' conftest.er1 >conftest.err
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest$ac_exeext &&
19957 $as_test_x conftest$ac_exeext; then
19958 eval "$as_ac_var=yes"
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 eval "$as_ac_var=no"
19966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19967 conftest$ac_exeext conftest.$ac_ext
19969 ac_res=`eval echo '${'$as_ac_var'}'`
19970 { echo "$as_me:$LINENO: result: $ac_res" >&5
19971 echo "${ECHO_T}$ac_res" >&6; }
19972 if test `eval echo '${'$as_ac_var'}'` = yes; then
19973 cat >>confdefs.h <<_ACEOF
19974 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19982 # Check whether --with-syslog was given.
19983 if test "${with_syslog+set}" = set; then
19984 withval=$with_syslog; logdest="LOG_$withval"
19991 cat >>confdefs.h <<_ACEOF
19992 #define LOG_DEST $logdest
19995 if test -d ${srcdir}/../docbook; then
19997 HAVE_SGML_FALSE='#'
20003 ac_config_files="$ac_config_files Makefile"
20005 cat >confcache <<\_ACEOF
20006 # This file is a shell script that caches the results of configure
20007 # tests run on this system so they can be shared between configure
20008 # scripts and configure runs, see configure's option --config-cache.
20009 # It is not useful on other systems. If it contains results you don't
20010 # want to keep, you may remove or edit it.
20012 # config.status only pays attention to the cache file if you give it
20013 # the --recheck option to rerun configure.
20015 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20016 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20017 # following values.
20021 # The following way of writing the cache mishandles newlines in values,
20022 # but we know of no workaround that is simple, portable, and efficient.
20023 # So, we kill variables containing newlines.
20024 # Ultrix sh set writes to stderr and can't be redirected directly,
20025 # and sets the high bit in the cache file unless we assign to the vars.
20027 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20028 eval ac_val
=\$
$ac_var
20032 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20033 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20036 _ | IFS | as_nl
) ;; #(
20037 *) $as_unset $ac_var ;;
20043 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20044 *${as_nl}ac_space
=\
*)
20045 # `set' does not quote correctly, so add quotes (double-quote
20046 # substitution turns \\\\ into \\, and sed turns \\ into \).
20049 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20052 # `set' quotes correctly as required by POSIX, so do not add quotes.
20053 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20062 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20064 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20066 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20067 if test -w "$cache_file"; then
20068 test "x$cache_file" != "x/dev/null" &&
20069 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20070 echo "$as_me: updating cache $cache_file" >&6;}
20071 cat confcache
>$cache_file
20073 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20074 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20079 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20080 # Let make expand exec_prefix.
20081 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20083 DEFS
=-DHAVE_CONFIG_H
20087 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20088 # 1. Remove the extension, and $U if already installed.
20089 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20090 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20091 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20092 # will be set to the directory where LIBOBJS objects are built.
20093 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20094 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20096 LIBOBJS
=$ac_libobjs
20098 LTLIBOBJS
=$ac_ltlibobjs
20101 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20102 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20103 Usually this means the macro was only invoked conditionally." >&5
20104 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20105 Usually this means the macro was only invoked conditionally." >&2;}
20106 { (exit 1); exit 1; }; }
20108 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20109 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20110 Usually this means the macro was only invoked conditionally." >&5
20111 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20112 Usually this means the macro was only invoked conditionally." >&2;}
20113 { (exit 1); exit 1; }; }
20115 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20116 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20117 Usually this means the macro was only invoked conditionally." >&5
20118 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20119 Usually this means the macro was only invoked conditionally." >&2;}
20120 { (exit 1); exit 1; }; }
20122 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
20123 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
20124 Usually this means the macro was only invoked conditionally." >&5
20125 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
20126 Usually this means the macro was only invoked conditionally." >&2;}
20127 { (exit 1); exit 1; }; }
20130 : ${CONFIG_STATUS=./config.status}
20131 ac_clean_files_save
=$ac_clean_files
20132 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20133 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20134 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20135 cat >$CONFIG_STATUS <<_ACEOF
20137 # Generated by $as_me.
20138 # Run this file to recreate the current configuration.
20139 # Compiler output produced by configure, useful for debugging
20140 # configure, is in config.log if it exists.
20143 ac_cs_recheck=false
20145 SHELL=\${CONFIG_SHELL-$SHELL}
20148 cat >>$CONFIG_STATUS <<\_ACEOF
20149 ## --------------------- ##
20150 ## M4sh Initialization. ##
20151 ## --------------------- ##
20153 # Be more Bourne compatible
20154 DUALCASE
=1; export DUALCASE
# for MKS sh
20155 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20158 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20159 # is contrary to our usage. Disable this feature.
20160 alias -g '${1+"$@"}'='"$@"'
20161 setopt NO_GLOB_SUBST
20163 case `(set -o) 2>/dev/null` in
20164 *posix
*) set -o posix
;;
20173 # Avoid depending upon Character Ranges.
20174 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20175 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20176 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20177 as_cr_digits
='0123456789'
20178 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20180 # The user is always right.
20181 if test "${PATH_SEPARATOR+set}" != set; then
20182 echo "#! /bin/sh" >conf$$.sh
20183 echo "exit 0" >>conf$$.sh
20185 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20193 # Support unset when possible.
20194 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20202 # We need space, tab and new line, in precisely that order. Quoting is
20203 # there to prevent editors from complaining about space-tab.
20204 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20205 # splitting by setting IFS to empty value.)
20210 # Find who we are. Look in the path if we contain no directory separator.
20212 *[\\/]* ) as_myself
=$0 ;;
20213 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20214 for as_dir
in $PATH
20217 test -z "$as_dir" && as_dir
=.
20218 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20224 # We did not find ourselves, most probably we were run as `sh COMMAND'
20225 # in which case we are not to be found in the path.
20226 if test "x$as_myself" = x
; then
20229 if test ! -f "$as_myself"; then
20230 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20231 { (exit 1); exit 1; }
20234 # Work around bugs in pre-3.0 UWIN ksh.
20235 for as_var
in ENV MAIL MAILPATH
20236 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20244 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20245 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20246 LC_TELEPHONE LC_TIME
20248 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20249 eval $as_var=C
; export $as_var
20251 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20255 # Required to use basename.
20256 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20257 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20263 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20264 as_basename
=basename
20270 # Name of the executable.
20271 as_me
=`$as_basename -- "$0" ||
20272 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20273 X"$0" : 'X\(//\)$' \| \
20274 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20276 sed '/^.*\/\([^/][^/]*\)\/*$/{
20295 as_lineno_1
=$LINENO
20296 as_lineno_2
=$LINENO
20297 test "x$as_lineno_1" != "x$as_lineno_2" &&
20298 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20300 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20301 # uniformly replaced by the line number. The first 'sed' inserts a
20302 # line-number line after each line using $LINENO; the second 'sed'
20303 # does the real work. The second script uses 'N' to pair each
20304 # line-number line with the line containing $LINENO, and appends
20305 # trailing '-' during substitution so that $LINENO is not a special
20306 # case at line end.
20307 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20308 # scripts with optimization help from Paolo Bonzini. Blame Lee
20309 # E. McMahon (1931-1989) for sed's syntax. :-)
20321 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20324 ' >$as_me.lineno
&&
20325 chmod +x
"$as_me.lineno" ||
20326 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20327 { (exit 1); exit 1; }; }
20329 # Don't try to exec as it changes $[0], causing all sort of problems
20330 # (the dirname of $[0] is not the place where we might find the
20331 # original and so on. Autoconf is especially sensitive to this).
20332 .
"./$as_me.lineno"
20333 # Exit status is that of the last command.
20338 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20344 ECHO_C
= ECHO_N
= ECHO_T
=
20345 case `echo -n x` in
20347 case `echo 'x\c'` in
20348 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20355 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20356 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20362 rm -f conf$$ conf$$.exe conf$$.
file
20363 if test -d conf$$.dir
; then
20364 rm -f conf$$.dir
/conf$$.
file
20370 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20372 # ... but there are two gotchas:
20373 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20374 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20375 # In both cases, we have to default to `cp -p'.
20376 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20378 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20383 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20384 rmdir conf$$.dir
2>/dev
/null
20386 if mkdir
-p .
2>/dev
/null
; then
20389 test -d .
/-p && rmdir .
/-p
20393 if test -x / >/dev
/null
2>&1; then
20394 as_test_x
='test -x'
20396 if ls -dL / >/dev
/null
2>&1; then
20403 if test -d "$1"; then
20409 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20410 ???[sx]*):;;*)false;;esac;fi
20414 as_executable_p
=$as_test_x
20416 # Sed expression to map a string onto a valid CPP name.
20417 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20419 # Sed expression to map a string onto a valid variable name.
20420 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20425 # Save the log message, to keep $[0] and so on meaningful, and to
20426 # report actual input values of CONFIG_FILES etc. instead of their
20427 # values after options handling.
20429 This file was extended by courierlogger $as_me 0.10, which was
20430 generated by GNU Autoconf 2.61. Invocation command line was
20432 CONFIG_FILES = $CONFIG_FILES
20433 CONFIG_HEADERS = $CONFIG_HEADERS
20434 CONFIG_LINKS = $CONFIG_LINKS
20435 CONFIG_COMMANDS = $CONFIG_COMMANDS
20438 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20443 cat >>$CONFIG_STATUS <<_ACEOF
20444 # Files that config.status was made for.
20445 config_files="$ac_config_files"
20446 config_headers="$ac_config_headers"
20447 config_commands="$ac_config_commands"
20451 cat >>$CONFIG_STATUS <<\_ACEOF
20453 \`$as_me' instantiates files from templates according to the
20454 current configuration.
20456 Usage: $0 [OPTIONS] [FILE]...
20458 -h, --help print this help, then exit
20459 -V, --version print version number and configuration settings, then exit
20460 -q, --quiet do not print progress messages
20461 -d, --debug don't remove temporary files
20462 --recheck update $as_me by reconfiguring in the same conditions
20463 --file=FILE[:TEMPLATE]
20464 instantiate the configuration file FILE
20465 --header=FILE[:TEMPLATE]
20466 instantiate the configuration header FILE
20468 Configuration files:
20471 Configuration headers:
20474 Configuration commands:
20477 Report bugs to <bug-autoconf@gnu.org>."
20480 cat >>$CONFIG_STATUS <<_ACEOF
20482 courierlogger config.status 0.10
20483 configured by $0, generated by GNU Autoconf 2.61,
20484 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20486 Copyright (C) 2006 Free Software Foundation, Inc.
20487 This config.status script is free software; the Free Software Foundation
20488 gives unlimited permission to copy, distribute and modify it."
20496 cat >>$CONFIG_STATUS <<\_ACEOF
20497 # If no file are specified by the user, then we need to provide default
20498 # value. By we need to know if files were specified by the user.
20504 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20505 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20516 # Handling of the options.
20517 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20519 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20520 echo "$ac_cs_version"; exit ;;
20521 --debug |
--debu |
--deb |
--de |
--d |
-d )
20523 --file |
--fil |
--fi |
--f )
20525 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20526 ac_need_defaults
=false
;;
20527 --header |
--heade |
--head |
--hea )
20529 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20530 ac_need_defaults
=false
;;
20532 # Conflict between --help and --header
20533 { echo "$as_me: error: ambiguous option: $1
20534 Try \`$0 --help' for more information." >&2
20535 { (exit 1); exit 1; }; };;
20536 --help |
--hel |
-h )
20537 echo "$ac_cs_usage"; exit ;;
20538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20539 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20542 # This is an error.
20543 -*) { echo "$as_me: error: unrecognized option: $1
20544 Try \`$0 --help' for more information." >&2
20545 { (exit 1); exit 1; }; } ;;
20547 *) ac_config_targets
="$ac_config_targets $1"
20548 ac_need_defaults
=false
;;
20554 ac_configure_extra_args
=
20556 if $ac_cs_silent; then
20558 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20562 cat >>$CONFIG_STATUS <<_ACEOF
20563 if \$ac_cs_recheck; then
20564 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20565 CONFIG_SHELL=$SHELL
20566 export CONFIG_SHELL
20567 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20571 cat >>$CONFIG_STATUS <<\_ACEOF
20575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20576 ## Running $as_me. ##
20582 cat >>$CONFIG_STATUS <<_ACEOF
20586 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20590 cat >>$CONFIG_STATUS <<\_ACEOF
20592 # Handling of arguments.
20593 for ac_config_target
in $ac_config_targets
20595 case $ac_config_target in
20596 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20597 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20598 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20600 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20601 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20602 { (exit 1); exit 1; }; };;
20607 # If the user did not use the arguments to specify the items to instantiate,
20608 # then the envvar interface is used. Set only those that are not.
20609 # We use the long form for the default assignment because of an extremely
20610 # bizarre bug on SunOS 4.1.3.
20611 if $ac_need_defaults; then
20612 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20613 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20614 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20617 # Have a temporary directory for convenience. Make it in the build tree
20618 # simply because there is no reason against having it here, and in addition,
20619 # creating and moving files from /tmp can sometimes cause problems.
20620 # Hook for its removal unless debugging.
20621 # Note that there is a small window in which the directory will not be cleaned:
20622 # after its creation but before its name has been assigned to `$tmp'.
20626 trap 'exit_status=$?
20627 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20629 trap '{ (exit 1); exit 1; }' 1 2 13 15
20631 # Create a (secure) tmp directory for tmp files.
20634 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20635 test -n "$tmp" && test -d "$tmp"
20638 tmp
=.
/conf$$
-$RANDOM
20639 (umask 077 && mkdir
"$tmp")
20642 echo "$me: cannot create a temporary directory in ." >&2
20643 { (exit 1); exit 1; }
20647 # Set up the sed scripts for CONFIG_FILES section.
20650 # No need to generate the scripts if there are no CONFIG_FILES.
20651 # This happens for instance when ./config.status config.h
20652 if test -n "$CONFIG_FILES"; then
20659 for ac_last_try
in false false false false false
:; do
20660 cat >conf$
$subs.
sed <<_ACEOF
20661 SHELL!$SHELL$ac_delim
20662 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20663 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20664 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20665 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20666 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20667 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20668 exec_prefix!$exec_prefix$ac_delim
20669 prefix!$prefix$ac_delim
20670 program_transform_name!$program_transform_name$ac_delim
20671 bindir!$bindir$ac_delim
20672 sbindir!$sbindir$ac_delim
20673 libexecdir!$libexecdir$ac_delim
20674 datarootdir!$datarootdir$ac_delim
20675 datadir!$datadir$ac_delim
20676 sysconfdir!$sysconfdir$ac_delim
20677 sharedstatedir!$sharedstatedir$ac_delim
20678 localstatedir!$localstatedir$ac_delim
20679 includedir!$includedir$ac_delim
20680 oldincludedir!$oldincludedir$ac_delim
20681 docdir!$docdir$ac_delim
20682 infodir!$infodir$ac_delim
20683 htmldir!$htmldir$ac_delim
20684 dvidir!$dvidir$ac_delim
20685 pdfdir!$pdfdir$ac_delim
20686 psdir!$psdir$ac_delim
20687 libdir!$libdir$ac_delim
20688 localedir!$localedir$ac_delim
20689 mandir!$mandir$ac_delim
20690 DEFS!$DEFS$ac_delim
20691 ECHO_C!$ECHO_C$ac_delim
20692 ECHO_N!$ECHO_N$ac_delim
20693 ECHO_T!$ECHO_T$ac_delim
20694 LIBS!$LIBS$ac_delim
20695 build_alias!$build_alias$ac_delim
20696 host_alias!$host_alias$ac_delim
20697 target_alias!$target_alias$ac_delim
20698 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20699 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20700 INSTALL_DATA!$INSTALL_DATA$ac_delim
20701 am__isrc!$am__isrc$ac_delim
20702 CYGPATH_W!$CYGPATH_W$ac_delim
20703 PACKAGE!$PACKAGE$ac_delim
20704 VERSION!$VERSION$ac_delim
20705 ACLOCAL!$ACLOCAL$ac_delim
20706 AUTOCONF!$AUTOCONF$ac_delim
20707 AUTOMAKE!$AUTOMAKE$ac_delim
20708 AUTOHEADER!$AUTOHEADER$ac_delim
20709 MAKEINFO!$MAKEINFO$ac_delim
20710 install_sh!$install_sh$ac_delim
20711 STRIP!$STRIP$ac_delim
20712 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20713 mkdir_p!$mkdir_p$ac_delim
20715 SET_MAKE!$SET_MAKE$ac_delim
20716 am__leading_dot!$am__leading_dot$ac_delim
20717 AMTAR!$AMTAR$ac_delim
20718 am__tar!$am__tar$ac_delim
20719 am__untar!$am__untar$ac_delim
20721 CFLAGS!$CFLAGS$ac_delim
20722 LDFLAGS!$LDFLAGS$ac_delim
20723 CPPFLAGS!$CPPFLAGS$ac_delim
20724 ac_ct_CC!$ac_ct_CC$ac_delim
20725 EXEEXT!$EXEEXT$ac_delim
20726 OBJEXT!$OBJEXT$ac_delim
20727 DEPDIR!$DEPDIR$ac_delim
20728 am__include!$am__include$ac_delim
20729 am__quote!$am__quote$ac_delim
20730 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20731 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20732 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20733 CCDEPMODE!$CCDEPMODE$ac_delim
20734 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20735 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20736 LN_S!$LN_S$ac_delim
20737 build!$build$ac_delim
20738 build_cpu!$build_cpu$ac_delim
20739 build_vendor!$build_vendor$ac_delim
20740 build_os!$build_os$ac_delim
20741 host!$host$ac_delim
20742 host_cpu!$host_cpu$ac_delim
20743 host_vendor!$host_vendor$ac_delim
20744 host_os!$host_os$ac_delim
20746 GREP!$GREP$ac_delim
20747 EGREP!$EGREP$ac_delim
20748 ECHO!$ECHO$ac_delim
20750 RANLIB!$RANLIB$ac_delim
20753 CXXFLAGS!$CXXFLAGS$ac_delim
20754 ac_ct_CXX!$ac_ct_CXX$ac_delim
20755 CXXDEPMODE!$CXXDEPMODE$ac_delim
20756 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20757 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20760 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20762 elif $ac_last_try; then
20763 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20764 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20765 { (exit 1); exit 1; }; }
20767 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20771 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20772 if test -n "$ac_eof"; then
20773 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20774 ac_eof
=`expr $ac_eof + 1`
20777 cat >>$CONFIG_STATUS <<_ACEOF
20778 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20782 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20783 s/^/s,@/; s/!/@,|#_!!_#|/
20786 s/'"$ac_delim"'$/,g/; t
20788 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20789 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20790 rm -f conf$
$subs.
sed
20791 cat >>$CONFIG_STATUS <<_ACEOF
20797 for ac_last_try
in false false false false false
:; do
20798 cat >conf$
$subs.
sed <<_ACEOF
20799 CXXCPP!$CXXCPP$ac_delim
20801 FFLAGS!$FFLAGS$ac_delim
20802 ac_ct_F77!$ac_ct_F77$ac_delim
20803 LIBTOOL!$LIBTOOL$ac_delim
20804 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
20805 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
20806 LIBOBJS!$LIBOBJS$ac_delim
20807 LTLIBOBJS!$LTLIBOBJS$ac_delim
20810 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
20812 elif $ac_last_try; then
20813 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20814 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20815 { (exit 1); exit 1; }; }
20817 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20821 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20822 if test -n "$ac_eof"; then
20823 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20824 ac_eof
=`expr $ac_eof + 1`
20827 cat >>$CONFIG_STATUS <<_ACEOF
20828 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20832 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20833 s/^/s,@/; s/!/@,|#_!!_#|/
20836 s/'"$ac_delim"'$/,g/; t
20838 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20839 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20840 rm -f conf$
$subs.
sed
20841 cat >>$CONFIG_STATUS <<_ACEOF
20848 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20849 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20850 # trailing colons and then remove the whole line if VPATH becomes empty
20851 # (actually we leave an empty line to preserve line numbers).
20852 if test "x$srcdir" = x.
; then
20853 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20854 s/:*\$(srcdir):*/:/
20855 s/:*\${srcdir}:*/:/
20857 s/^\([^=]*=[ ]*\):*/\1/
20863 cat >>$CONFIG_STATUS <<\_ACEOF
20864 fi # test -n "$CONFIG_FILES"
20867 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20870 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20872 case $ac_mode$ac_tag in
20874 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20875 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20876 { (exit 1); exit 1; }; };;
20877 :[FH
]-) ac_tag
=-:-;;
20878 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20895 -) ac_f
="$tmp/stdin";;
20896 *) # Look for the file first in the build tree, then in the source tree
20897 # (if the path is not absolute). The absolute path cannot be DOS-style,
20898 # because $ac_f cannot contain `:'.
20902 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20904 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20905 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20906 { (exit 1); exit 1; }; };;
20908 ac_file_inputs
="$ac_file_inputs $ac_f"
20911 # Let's still pretend it is `configure' which instantiates (i.e., don't
20912 # use $as_me), people would be surprised to read:
20913 # /* config.h. Generated by config.status. */
20914 configure_input
="Generated from "`IFS=:
20915 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20916 if test x
"$ac_file" != x-
; then
20917 configure_input
="$ac_file. $configure_input"
20918 { echo "$as_me:$LINENO: creating $ac_file" >&5
20919 echo "$as_me: creating $ac_file" >&6;}
20923 *:-:* |
*:-) cat >"$tmp/stdin";;
20928 ac_dir
=`$as_dirname -- "$ac_file" ||
20929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20930 X"$ac_file" : 'X\(//\)[^/]' \| \
20931 X"$ac_file" : 'X\(//\)$' \| \
20932 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20938 /^X\(\/\/\)[^/].*/{
20953 -*) as_dir
=.
/$as_dir;;
20955 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20959 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20960 *) as_qdir
=$as_dir;;
20962 as_dirs
="'$as_qdir' $as_dirs"
20963 as_dir
=`$as_dirname -- "$as_dir" ||
20964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20965 X"$as_dir" : 'X\(//\)[^/]' \| \
20966 X"$as_dir" : 'X\(//\)$' \| \
20967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20973 /^X\(\/\/\)[^/].*/{
20986 test -d "$as_dir" && break
20988 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20989 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20990 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20991 { (exit 1); exit 1; }; }; }
20995 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20997 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20998 # A ".." for each directory in $ac_dir_suffix.
20999 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21000 case $ac_top_builddir_sub in
21001 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21002 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21005 ac_abs_top_builddir
=$ac_pwd
21006 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21007 # for backward compatibility:
21008 ac_top_builddir
=$ac_top_build_prefix
21011 .
) # We are building in place.
21013 ac_top_srcdir
=$ac_top_builddir_sub
21014 ac_abs_top_srcdir
=$ac_pwd ;;
21015 [\\/]* | ?
:[\\/]* ) # Absolute name.
21016 ac_srcdir
=$srcdir$ac_dir_suffix;
21017 ac_top_srcdir
=$srcdir
21018 ac_abs_top_srcdir
=$srcdir ;;
21019 *) # Relative name.
21020 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21021 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21022 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21024 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21034 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21035 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21037 ac_MKDIR_P
=$MKDIR_P
21039 [\\/$
]* | ?
:[\\/]* ) ;;
21040 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21044 cat >>$CONFIG_STATUS <<\_ACEOF
21045 # If the template does not know about datarootdir, expand it.
21046 # FIXME: This hack should be removed a few years after 2.60.
21047 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21049 case `sed -n '/datarootdir/ {
21058 ' $ac_file_inputs` in
21059 *datarootdir
*) ac_datarootdir_seen
=yes;;
21060 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21061 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21062 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21064 cat >>$CONFIG_STATUS <<_ACEOF
21065 ac_datarootdir_hack='
21066 s&@datadir@&$datadir&g
21067 s&@docdir@&$docdir&g
21068 s&@infodir@&$infodir&g
21069 s&@localedir@&$localedir&g
21070 s&@mandir@&$mandir&g
21071 s&\\\${datarootdir}&$datarootdir&g' ;;
21075 # Neutralize VPATH when `$srcdir' = `.'.
21076 # Shell code in configure.ac might set extrasub.
21077 # FIXME: do we really want to maintain this feature?
21078 cat >>$CONFIG_STATUS <<_ACEOF
21082 cat >>$CONFIG_STATUS <<\_ACEOF
21084 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21085 s
&@configure_input@
&$configure_input&;t t
21086 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21087 s
&@srcdir@
&$ac_srcdir&;t t
21088 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21089 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21090 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21091 s
&@builddir@
&$ac_builddir&;t t
21092 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21093 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21094 s
&@INSTALL@
&$ac_INSTALL&;t t
21095 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21096 $ac_datarootdir_hack
21097 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21100 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21101 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21102 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21103 which seems to be undefined. Please make sure it is defined." >&5
21104 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21105 which seems to be undefined. Please make sure it is defined." >&2;}
21109 -) cat "$tmp/out"; rm -f "$tmp/out";;
21110 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21119 # Transform confdefs.h into a sed script `conftest.defines', that
21120 # substitutes the proper values into config.h.in to produce config.h.
21121 rm -f conftest.defines conftest.
tail
21122 # First, append a space to every undef/define line, to ease matching.
21123 echo 's/$/ /' >conftest.defines
21124 # Then, protect against being on the right side of a sed subst, or in
21125 # an unquoted here document, in config.status. If some macros were
21126 # called several times there might be several #defines for the same
21127 # symbol, which is useless. But do not sort them, since the last
21128 # AC_DEFINE must be honored.
21129 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21130 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21131 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21132 # PARAMS is the parameter list in the macro definition--in most cases, it's
21133 # just an empty string.
21134 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21135 ac_dB
='\\)[ (].*,\\1define\\2'
21143 s/^[ ]*#[ ]*define[ ][ ]*//
21148 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21149 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21150 ' >>conftest.defines
21152 # Remove the space that was appended to ease matching.
21153 # Then replace #undef with comments. This is necessary, for
21154 # example, in the case of _POSIX_SOURCE, which is predefined and required
21155 # on some systems where configure will not decide to define it.
21156 # (The regexp can be short, since the line contains either #define or #undef.)
21158 s,^[ #]*u.*,/* & */,' >>conftest.defines
21160 # Break up conftest.defines:
21161 ac_max_sed_lines
=50
21163 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21164 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21165 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21167 ac_in
='$ac_file_inputs'
21168 ac_out
='"$tmp/out1"'
21169 ac_nxt
='"$tmp/out2"'
21173 # Write a here document:
21174 cat >>$CONFIG_STATUS <<_ACEOF
21175 # First, check the format of the line:
21176 cat >"\$tmp/defines.sed" <<\\CEOF
21177 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21178 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21182 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21184 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21185 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21186 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21187 grep . conftest.
tail >/dev
/null ||
break
21188 rm -f conftest.defines
21189 mv conftest.
tail conftest.defines
21191 rm -f conftest.defines conftest.
tail
21193 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21194 cat >>$CONFIG_STATUS <<\_ACEOF
21195 if test x
"$ac_file" != x-
; then
21196 echo "/* $configure_input */" >"$tmp/config.h"
21197 cat "$ac_result" >>"$tmp/config.h"
21198 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21199 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21200 echo "$as_me: $ac_file is unchanged" >&6;}
21203 mv "$tmp/config.h" $ac_file
21206 echo "/* $configure_input */"
21210 # Compute $ac_file's index in $config_headers.
21213 for _am_header
in $config_headers :; do
21214 case $_am_header in
21215 $_am_arg |
$_am_arg:* )
21218 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21221 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21222 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21223 X"$_am_arg" : 'X\(//\)[^/]' \| \
21224 X"$_am_arg" : 'X\(//\)$' \| \
21225 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21231 /^X\(\/\/\)[^/].*/{
21243 s/.*/./; q'`/stamp-h
$_am_stamp_count
21246 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21247 echo "$as_me: executing $ac_file commands" >&6;}
21252 case $ac_file$ac_mode in
21253 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21254 # Strip MF so we end up with the name of the file.
21255 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21256 # Check whether this is an Automake generated Makefile or not.
21257 # We used to match only the files named `Makefile.in', but
21258 # some people rename them; so instead we look at the file content.
21259 # Grep'ing the first line is not enough: some people post-process
21260 # each Makefile.in and add a new line on top of each file to say so.
21261 # Grep'ing the whole file is not good either: AIX grep has a line
21262 # limit of 2048, but all sed's we know have understand at least 4000.
21263 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21264 dirpart
=`$as_dirname -- "$mf" ||
21265 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21266 X"$mf" : 'X\(//\)[^/]' \| \
21267 X"$mf" : 'X\(//\)$' \| \
21268 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21274 /^X\(\/\/\)[^/].*/{
21290 # Extract the definition of DEPDIR, am__include, and am__quote
21291 # from the Makefile without running `make'.
21292 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21293 test -z "$DEPDIR" && continue
21294 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21295 test -z "am__include" && continue
21296 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21297 # When using ansi2knr, U may be empty or an underscore; expand it
21298 U
=`sed -n 's/^U = //p' < "$mf"`
21299 # Find all dependency output files, they are included files with
21300 # $(DEPDIR) in their names. We invoke sed twice because it is the
21301 # simplest approach to changing $(DEPDIR) to its actual value in the
21303 for file in `sed -n "
21304 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21305 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21306 # Make sure the directory exists.
21307 test -f "$dirpart/$file" && continue
21308 fdir
=`$as_dirname -- "$file" ||
21309 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21310 X"$file" : 'X\(//\)[^/]' \| \
21311 X"$file" : 'X\(//\)$' \| \
21312 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21318 /^X\(\/\/\)[^/].*/{
21331 { as_dir
=$dirpart/$fdir
21333 -*) as_dir
=.
/$as_dir;;
21335 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21339 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21340 *) as_qdir
=$as_dir;;
21342 as_dirs
="'$as_qdir' $as_dirs"
21343 as_dir
=`$as_dirname -- "$as_dir" ||
21344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21345 X"$as_dir" : 'X\(//\)[^/]' \| \
21346 X"$as_dir" : 'X\(//\)$' \| \
21347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21353 /^X\(\/\/\)[^/].*/{
21366 test -d "$as_dir" && break
21368 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21369 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21370 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21371 { (exit 1); exit 1; }; }; }
21372 # echo "creating $dirpart/$file"
21373 echo '# dummy' > "$dirpart/$file"
21382 { (exit 0); exit 0; }
21384 chmod +x
$CONFIG_STATUS
21385 ac_clean_files
=$ac_clean_files_save
21388 # configure is writing to config.log, and then calls config.status.
21389 # config.status does its own redirection, appending to config.log.
21390 # Unfortunately, on DOS this fails, as config.log is still kept open
21391 # by configure, so config.status won't be able to write to it; its
21392 # output is simply discarded. So we exec the FD to /dev/null,
21393 # effectively closing config.log, so it can be properly (re)opened and
21394 # appended to by config.status. When coming back to configure, we
21395 # need to make the FD available again.
21396 if test "$no_create" != yes; then
21398 ac_config_status_args
=
21399 test "$silent" = yes &&
21400 ac_config_status_args
="$ac_config_status_args --quiet"
21402 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21404 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21405 # would make configure fail if this is the last instruction.
21406 $ac_cs_success ||
{ (exit 1); exit 1; }