2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for ntfs-3g 2013.1.13.
5 # Report bugs to <ntfs-3g-devel@lists.sf.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
='ntfs-3g'
730 PACKAGE_TARNAME
='ntfs-3g'
731 PACKAGE_VERSION
='2013.1.13'
732 PACKAGE_STRING
='ntfs-3g 2013.1.13'
733 PACKAGE_BUGREPORT
='ntfs-3g-devel@lists.sf.net'
735 ac_unique_file
="src/ntfs-3g.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>
782 program_transform_name
836 INSTALL_STRIP_PROGRAM
845 MAINTAINER_MODE_FALSE
913 GENERATE_LDSCRIPT_TRUE
914 GENERATE_LDSCRIPT_FALSE
917 NTFS_DEVICE_DEFAULT_IO_OPS_TRUE
918 NTFS_DEVICE_DEFAULT_IO_OPS_FALSE
924 INSTALL_LIBRARY_FALSE
925 ENABLE_MOUNT_HELPER_TRUE
926 ENABLE_MOUNT_HELPER_FALSE
929 ENABLE_NTFSPROGS_TRUE
930 ENABLE_NTFSPROGS_FALSE
936 ac_precious_vars
='build_alias
959 # Initialize some variables set by options.
961 ac_init_version
=false
962 # The variables have the same names as the options, with
963 # dashes changed to underlines.
971 program_transform_name
=s
,x
,x
,
979 # Installation directory options.
980 # These are left unexpanded so users can "make install exec_prefix=/foo"
981 # and all the variables that are supposed to be based on exec_prefix
982 # by default will actually change.
983 # Use braces instead of parens because sh, perl, etc. also accept them.
984 # (The list follows the same order as the GNU Coding Standards.)
985 bindir
='${exec_prefix}/bin'
986 sbindir
='${exec_prefix}/sbin'
987 libexecdir
='${exec_prefix}/libexec'
988 datarootdir
='${prefix}/share'
989 datadir
='${datarootdir}'
990 sysconfdir
='${prefix}/etc'
991 sharedstatedir
='${prefix}/com'
992 localstatedir
='${prefix}/var'
993 includedir
='${prefix}/include'
994 oldincludedir
='/usr/include'
995 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
996 infodir
='${datarootdir}/info'
1001 libdir
='${exec_prefix}/lib'
1002 localedir
='${datarootdir}/locale'
1003 mandir
='${datarootdir}/man'
1009 # If the previous option needs an argument, assign it.
1010 if test -n "$ac_prev"; then
1011 eval $ac_prev=\
$ac_option
1017 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021 # Accept the important Cygnus configure options, so we can diagnose typos.
1023 case $ac_dashdash$ac_option in
1027 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1029 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1030 bindir
=$ac_optarg ;;
1032 -build |
--build |
--buil |
--bui |
--bu)
1033 ac_prev
=build_alias
;;
1034 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1035 build_alias
=$ac_optarg ;;
1037 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1038 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1039 ac_prev
=cache_file
;;
1040 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1041 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1042 cache_file
=$ac_optarg ;;
1044 --config-cache |
-C)
1045 cache_file
=config.cache
;;
1047 -datadir |
--datadir |
--datadi |
--datad)
1049 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1050 datadir
=$ac_optarg ;;
1052 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1053 |
--dataroo |
--dataro |
--datar)
1054 ac_prev
=datarootdir
;;
1055 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1056 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1057 datarootdir
=$ac_optarg ;;
1059 -disable-* |
--disable-*)
1060 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1063 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1064 { (exit 1); exit 1; }; }
1065 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1066 eval enable_
$ac_feature=no
;;
1068 -docdir |
--docdir |
--docdi |
--doc |
--do)
1070 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1071 docdir
=$ac_optarg ;;
1073 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1075 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1076 dvidir
=$ac_optarg ;;
1078 -enable-* |
--enable-*)
1079 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1082 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1083 { (exit 1); exit 1; }; }
1084 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1085 eval enable_
$ac_feature=\
$ac_optarg ;;
1087 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1088 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1089 |
--exec |
--exe |
--ex)
1090 ac_prev
=exec_prefix
;;
1091 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1092 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1093 |
--exec=* |
--exe=* |
--ex=*)
1094 exec_prefix
=$ac_optarg ;;
1096 -gas |
--gas |
--ga |
--g)
1097 # Obsolete; use --with-gas.
1100 -help |
--help |
--hel |
--he |
-h)
1101 ac_init_help
=long
;;
1102 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1103 ac_init_help
=recursive
;;
1104 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1105 ac_init_help
=short
;;
1107 -host |
--host |
--hos |
--ho)
1108 ac_prev
=host_alias
;;
1109 -host=* |
--host=* |
--hos=* |
--ho=*)
1110 host_alias
=$ac_optarg ;;
1112 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1114 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1116 htmldir
=$ac_optarg ;;
1118 -includedir |
--includedir |
--includedi |
--included |
--include \
1119 |
--includ |
--inclu |
--incl |
--inc)
1120 ac_prev
=includedir
;;
1121 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1122 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1123 includedir
=$ac_optarg ;;
1125 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1127 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1128 infodir
=$ac_optarg ;;
1130 -libdir |
--libdir |
--libdi |
--libd)
1132 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1133 libdir
=$ac_optarg ;;
1135 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1136 |
--libexe |
--libex |
--libe)
1137 ac_prev
=libexecdir
;;
1138 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1139 |
--libexe=* |
--libex=* |
--libe=*)
1140 libexecdir
=$ac_optarg ;;
1142 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1143 ac_prev
=localedir
;;
1144 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1145 localedir
=$ac_optarg ;;
1147 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1148 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1149 ac_prev
=localstatedir
;;
1150 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1151 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1152 localstatedir
=$ac_optarg ;;
1154 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1156 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1157 mandir
=$ac_optarg ;;
1159 -nfp |
--nfp |
--nf)
1160 # Obsolete; use --without-fp.
1163 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1164 |
--no-cr |
--no-c |
-n)
1167 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1168 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1171 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1172 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1173 |
--oldin |
--oldi |
--old |
--ol |
--o)
1174 ac_prev
=oldincludedir
;;
1175 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1176 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1177 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1178 oldincludedir
=$ac_optarg ;;
1180 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1182 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1183 prefix
=$ac_optarg ;;
1185 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1186 |
--program-pre |
--program-pr |
--program-p)
1187 ac_prev
=program_prefix
;;
1188 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1189 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1190 program_prefix
=$ac_optarg ;;
1192 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1193 |
--program-suf |
--program-su |
--program-s)
1194 ac_prev
=program_suffix
;;
1195 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1196 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1197 program_suffix
=$ac_optarg ;;
1199 -program-transform-name |
--program-transform-name \
1200 |
--program-transform-nam |
--program-transform-na \
1201 |
--program-transform-n |
--program-transform- \
1202 |
--program-transform |
--program-transfor \
1203 |
--program-transfo |
--program-transf \
1204 |
--program-trans |
--program-tran \
1205 |
--progr-tra |
--program-tr |
--program-t)
1206 ac_prev
=program_transform_name
;;
1207 -program-transform-name=* |
--program-transform-name=* \
1208 |
--program-transform-nam=* |
--program-transform-na=* \
1209 |
--program-transform-n=* |
--program-transform-=* \
1210 |
--program-transform=* |
--program-transfor=* \
1211 |
--program-transfo=* |
--program-transf=* \
1212 |
--program-trans=* |
--program-tran=* \
1213 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1214 program_transform_name
=$ac_optarg ;;
1216 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1218 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1219 pdfdir
=$ac_optarg ;;
1221 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1223 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1227 |
-silent |
--silent |
--silen |
--sile |
--sil)
1230 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1232 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1234 sbindir
=$ac_optarg ;;
1236 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1237 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1238 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1240 ac_prev
=sharedstatedir
;;
1241 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1242 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1243 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1245 sharedstatedir
=$ac_optarg ;;
1247 -site |
--site |
--sit)
1249 -site=* |
--site=* |
--sit=*)
1252 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1254 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1255 srcdir
=$ac_optarg ;;
1257 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1258 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1259 ac_prev
=sysconfdir
;;
1260 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1261 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1262 sysconfdir
=$ac_optarg ;;
1264 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1265 ac_prev
=target_alias
;;
1266 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1267 target_alias
=$ac_optarg ;;
1269 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1272 -version |
--version |
--versio |
--versi |
--vers |
-V)
1273 ac_init_version
=: ;;
1276 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1279 { echo "$as_me: error: invalid package name: $ac_package" >&2
1280 { (exit 1); exit 1; }; }
1281 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1282 eval with_
$ac_package=\
$ac_optarg ;;
1284 -without-* |
--without-*)
1285 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 { echo "$as_me: error: invalid package name: $ac_package" >&2
1289 { (exit 1); exit 1; }; }
1290 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1291 eval with_
$ac_package=no
;;
1294 # Obsolete; use --with-x.
1297 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1298 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1299 ac_prev
=x_includes
;;
1300 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1301 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1302 x_includes
=$ac_optarg ;;
1304 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1305 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1306 ac_prev
=x_libraries
;;
1307 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1308 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1309 x_libraries
=$ac_optarg ;;
1311 -*) { echo "$as_me: error: unrecognized option: $ac_option
1312 Try \`$0 --help' for more information." >&2
1313 { (exit 1); exit 1; }; }
1317 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1318 # Reject names that are not valid shell variable names.
1319 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1320 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1321 { (exit 1); exit 1; }; }
1322 eval $ac_envvar=\
$ac_optarg
1323 export $ac_envvar ;;
1326 # FIXME: should be removed in autoconf 3.0.
1327 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1329 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1336 if test -n "$ac_prev"; then
1337 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1338 { echo "$as_me: error: missing argument to $ac_option" >&2
1339 { (exit 1); exit 1; }; }
1342 # Be sure to have absolute directory names.
1343 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344 datadir sysconfdir sharedstatedir localstatedir includedir \
1345 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346 libdir localedir mandir
1348 eval ac_val
=\$
$ac_var
1350 [\\/$
]* | ?
:[\\/]* ) continue;;
1351 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1353 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1354 { (exit 1); exit 1; }; }
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1362 target
=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x
; then
1366 if test "x$build_alias" = x
; then
1367 cross_compiling
=maybe
1368 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1376 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1378 test "$silent" = yes && exec 6>/dev
/null
1381 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di
=`ls -di .` &&
1383 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1384 { echo "$as_me: error: Working directory cannot be determined" >&2
1385 { (exit 1); exit 1; }; }
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 { echo "$as_me: error: pwd does not report name of working directory" >&2
1388 { (exit 1); exit 1; }; }
1391 # Find the source files, if location was not specified.
1392 if test -z "$srcdir"; then
1393 ac_srcdir_defaulted
=yes
1394 # Try the directory containing this script, then the parent directory.
1395 ac_confdir
=`$as_dirname -- "$0" ||
1396 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397 X"$0" : 'X\(//\)[^/]' \| \
1398 X"$0" : 'X\(//\)$' \| \
1399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1423 ac_srcdir_defaulted
=no
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1427 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1428 { (exit 1); exit 1; }; }
1430 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1432 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1433 { (exit 1); exit 1; }; }
1435 # When building in place, set srcdir=.
1436 if test "$ac_abs_confdir" = "$ac_pwd"; then
1439 # Remove unnecessary trailing slashes from srcdir.
1440 # Double slashes in file names in object file debugging info
1441 # mess up M-x gdb in Emacs.
1443 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445 for ac_var
in $ac_precious_vars; do
1446 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1447 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1448 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1453 # Report the --help message.
1455 if test "$ac_init_help" = "long"; then
1456 # Omit some internal or obsolete options to make the list less imposing.
1457 # This message is too long to be a string in the A/UX 3.1 sh.
1459 \`configure' configures ntfs-3g 2013.1.13 to adapt to many kinds of systems.
1461 Usage: $0 [OPTION]... [VAR=VALUE]...
1463 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464 VAR=VALUE. See below for descriptions of some of the useful variables.
1466 Defaults for the options are specified in brackets.
1469 -h, --help display this help and exit
1470 --help=short display options specific to this package
1471 --help=recursive display the short help of all the included packages
1472 -V, --version display version information and exit
1473 -q, --quiet, --silent do not print \`checking...' messages
1474 --cache-file=FILE cache test results in FILE [disabled]
1475 -C, --config-cache alias for \`--cache-file=config.cache'
1476 -n, --no-create do not create output files
1477 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1479 Installation directories:
1480 --prefix=PREFIX install architecture-independent files in PREFIX
1481 [$ac_default_prefix]
1482 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485 By default, \`make install' will install all the files in
1486 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1487 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488 for instance \`--prefix=\$HOME'.
1490 For better control, use the options below.
1492 Fine tuning of the installation directories:
1493 --bindir=DIR user executables [EPREFIX/bin]
1494 --sbindir=DIR system admin executables [EPREFIX/sbin]
1495 --libexecdir=DIR program executables [EPREFIX/libexec]
1496 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1497 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1498 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1499 --libdir=DIR object code libraries [EPREFIX/lib]
1500 --includedir=DIR C header files [PREFIX/include]
1501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1504 --infodir=DIR info documentation [DATAROOTDIR/info]
1505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1506 --mandir=DIR man documentation [DATAROOTDIR/man]
1507 --docdir=DIR documentation root [DATAROOTDIR/doc/ntfs-3g]
1508 --htmldir=DIR html documentation [DOCDIR]
1509 --dvidir=DIR dvi documentation [DOCDIR]
1510 --pdfdir=DIR pdf documentation [DOCDIR]
1511 --psdir=DIR ps documentation [DOCDIR]
1517 --program-prefix=PREFIX prepend PREFIX to installed program names
1518 --program-suffix=SUFFIX append SUFFIX to installed program names
1519 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1522 --build=BUILD configure
for building on BUILD
[guessed
]
1523 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1524 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1528 if test -n "$ac_init_help"; then
1529 case $ac_init_help in
1530 short | recursive
) echo "Configuration of ntfs-3g 2013.1.13:";;
1535 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1536 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1537 --enable-maintainer-mode enable make rules and dependencies not useful
1538 (and sometimes confusing
) to the casual installer
1539 --enable-debug enable debugging code and output
1540 --enable-warnings enable lots of compiler warnings
1541 --enable-pedantic enable compile pedantic mode
1542 --enable-really-static create fully static binaries
1543 --enable-mount-helper install mount helper
[default
=enabled
for linux
]
1544 --enable-ldscript use ldscript instead of .so symlink
1545 --disable-ldconfig do not update dynamic linker cache using ldconfig
1546 --disable-library do not
install libntfs-3g but link it into ntfs-3g
1547 --disable-mtab disable and ignore usage of
/etc
/mtab
1548 --enable-posix-acls enable POSIX ACL support
1549 --enable-xattr-mappings enable system extended attributes mappings
1550 --disable-device-default-io-ops
1551 install default IO ops
1552 --disable-ntfs-3g disable the ntfs-3g FUSE driver
1553 --disable-ntfsprogs disable ntfsprogs utilities
(default
=no
)
1554 --enable-crypto enable crypto related code and utilities
1556 --enable-extras enable extra ntfsprogs utilities
(default
=no
)
1557 --disable-nfconv disable the
'nfconv' patch, which adds support
for
1558 Unicode normalization form conversion when built on
1559 Mac OS X
[default
=enabled
for Mac OS X
]
1560 --disable-dependency-tracking speeds up one-time build
1561 --enable-dependency-tracking do not reject slow dependency extractors
1562 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1563 --enable-static[=PKGS
] build static libraries
[default
=yes]
1564 --enable-fast-install[=PKGS
]
1565 optimize
for fast installation
[default
=yes]
1566 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1567 --disable-largefile omit support
for large files
1570 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1571 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1572 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1573 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1575 --with-tags[=TAGS
] include additional configurations
[automatic
]
1576 --with-fuse=<internal|external
>
1577 Select FUSE library
: internal or external
1579 --with-libgcrypt-prefix=PFX
1580 prefix where LIBGCRYPT is installed
(optional
)
1582 --with-uuid[=PFX
] generate DCE compliant UUIDs
, with optional prefix
1583 to uuid library and headers
[default
=detect
]
1584 --without-uuid do not generate DCE compliant UUIDs
1586 Some influential environment variables
:
1587 CC C compiler
command
1588 CFLAGS C compiler flags
1589 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1590 nonstandard directory
<lib dir
>
1591 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1592 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1593 you have headers
in a nonstandard directory
<include dir
>
1595 CXX C
++ compiler
command
1596 CXXFLAGS C
++ compiler flags
1597 CXXCPP C
++ preprocessor
1598 F77 Fortran
77 compiler
command
1599 FFLAGS Fortran
77 compiler flags
1600 PKG_CONFIG path to pkg-config utility
1601 LDCONFIG ldconfig utility
1603 C compiler flags
for FUSE_MODULE
, overriding pkg-config
1605 linker flags
for FUSE_MODULE
, overriding pkg-config
1607 C compiler flags
for GNUTLS
, overriding pkg-config
1608 GNUTLS_LIBS linker flags
for GNUTLS
, overriding pkg-config
1610 Use these variables to override the choices made by
`configure' or to help
1611 it to find libraries and programs with nonstandard names/locations.
1613 Report bugs to <ntfs-3g-devel@lists.sf.net>.
1618 if test "$ac_init_help" = "recursive"; then
1619 # If there are subdirs, report their specific --help.
1620 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1621 test -d "$ac_dir" || continue
1625 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1628 # A ".." for each directory in $ac_dir_suffix.
1629 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1630 case $ac_top_builddir_sub in
1631 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1632 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1635 ac_abs_top_builddir=$ac_pwd
1636 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1637 # for backward compatibility:
1638 ac_top_builddir=$ac_top_build_prefix
1641 .) # We are building in place.
1643 ac_top_srcdir=$ac_top_builddir_sub
1644 ac_abs_top_srcdir=$ac_pwd ;;
1645 [\\/]* | ?:[\\/]* ) # Absolute name.
1646 ac_srcdir=$srcdir$ac_dir_suffix;
1647 ac_top_srcdir=$srcdir
1648 ac_abs_top_srcdir=$srcdir ;;
1650 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1651 ac_top_srcdir=$ac_top_build_prefix$srcdir
1652 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1654 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1656 cd "$ac_dir" || { ac_status=$?; continue; }
1657 # Check for guested configure.
1658 if test -f "$ac_srcdir/configure.gnu"; then
1660 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1661 elif test -f "$ac_srcdir/configure"; then
1663 $SHELL "$ac_srcdir/configure" --help=recursive
1665 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1667 cd "$ac_pwd" || { ac_status=$?; break; }
1671 test -n "$ac_init_help" && exit $ac_status
1672 if $ac_init_version; then
1674 ntfs-3g configure 2013.1.13
1675 generated by GNU Autoconf 2.61
1677 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1678 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1679 This configure script is free software; the Free Software Foundation
1680 gives unlimited permission to copy, distribute and modify it.
1684 cat >config.log <<_ACEOF
1685 This file contains any messages produced by compilers while
1686 running configure, to aid debugging if configure makes a mistake.
1688 It was created by ntfs-3g $as_me 2013.1.13, which was
1689 generated by GNU Autoconf 2.61. Invocation command line was
1701 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1702 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1703 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1704 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1705 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1707 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1708 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1710 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1711 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1712 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1713 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1714 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1715 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1716 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir=.
1725 echo "PATH: $as_dir"
1741 # Keep a trace of the command line.
1742 # Strip out --no-create and --no-recursion so they do not pile up.
1743 # Strip out --silent because we don't want to record it for future runs.
1744 # Also quote any args containing shell meta-characters.
1745 # Make two passes to allow for proper duplicate-argument suppression.
1749 ac_must_keep_next=false
1755 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1756 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1757 | -silent | --silent | --silen | --sile | --sil)
1760 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1763 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1765 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1766 if test $ac_must_keep_next = true; then
1767 ac_must_keep_next=false # Got value, back to normal.
1770 *=* | --config-cache | -C | -disable-* | --disable-* \
1771 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1772 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1773 | -with-* | --with-* | -without-* | --without-* | --x)
1774 case "$ac_configure_args0 " in
1775 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1778 -* ) ac_must_keep_next=true ;;
1781 ac_configure_args="$ac_configure_args '$ac_arg'"
1786 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1787 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1789 # When interrupted or exit'd, cleanup temporary files, and complete
1790 # config.log. We remove comments because anyway the quotes in there
1791 # would cause problems or look ugly.
1792 # WARNING: Use '\'' to represent an apostrophe within the trap.
1793 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1794 trap 'exit_status=$?
1795 # Save into config.log some information that might help in debugging.
1800 ## ---------------- ##
1801 ## Cache variables. ##
1802 ## ---------------- ##
1805 # The following way of writing the cache mishandles newlines in values,
1807 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1808 eval ac_val=\$$ac_var
1812 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1813 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1816 _ | IFS | as_nl) ;; #(
1817 *) $as_unset $ac_var ;;
1822 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1823 *${as_nl}ac_space=\ *)
1825 "s/'\''/'\''\\\\'\'''\''/g;
1826 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1829 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1837 ## ----------------- ##
1838 ## Output variables. ##
1839 ## ----------------- ##
1842 for ac_var in $ac_subst_vars
1844 eval ac_val=\$$ac_var
1846 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1848 echo "$ac_var='\''$ac_val'\''"
1852 if test -n "$ac_subst_files"; then
1854 ## ------------------- ##
1855 ## File substitutions. ##
1856 ## ------------------- ##
1859 for ac_var in $ac_subst_files
1861 eval ac_val=\$$ac_var
1863 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1865 echo "$ac_var='\''$ac_val'\''"
1870 if test -s confdefs.h; then
1880 test "$ac_signal" != 0 &&
1881 echo "$as_me: caught signal $ac_signal"
1882 echo "$as_me: exit $exit_status"
1884 rm -f core *.core core.conftest.* &&
1885 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1888 for ac_signal in 1 2 13 15; do
1889 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1893 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1894 rm -f -r conftest* confdefs.h
1896 # Predefined preprocessor variables.
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_NAME "$PACKAGE_NAME"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1913 cat >>confdefs.h <<_ACEOF
1914 #define PACKAGE_STRING "$PACKAGE_STRING"
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1923 # Let the site file select an alternate cache file if it wants to.
1924 # Prefer explicitly selected file to automatically selected ones.
1925 if test -n "$CONFIG_SITE"; then
1926 set x "$CONFIG_SITE"
1927 elif test "x$prefix" != xNONE; then
1928 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1930 set x "$ac_default_prefix/share/config.site" \
1931 "$ac_default_prefix/etc/config.site"
1936 if test -r "$ac_site_file"; then
1937 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1938 echo "$as_me: loading site script $ac_site_file" >&6;}
1939 sed 's/^/| /' "$ac_site_file" >&5
1944 if test -r "$cache_file"; then
1945 # Some versions of bash will fail to source /dev/null (special
1946 # files actually), so we avoid doing that.
1947 if test -f "$cache_file"; then
1948 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1949 echo "$as_me: loading cache $cache_file" >&6;}
1951 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1952 *) . "./$cache_file";;
1956 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1957 echo "$as_me: creating cache $cache_file" >&6;}
1961 ac_header_list="$ac_header_list utime.h"
1962 # Check that the precious variables saved in the cache have kept the same
1964 ac_cache_corrupted=false
1965 for ac_var in $ac_precious_vars; do
1966 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1967 eval ac_new_set=\$ac_env_${ac_var}_set
1968 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1969 eval ac_new_val=\$ac_env_${ac_var}_value
1970 case $ac_old_set,$ac_new_set in
1972 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1973 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1974 ac_cache_corrupted=: ;;
1976 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1977 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1978 ac_cache_corrupted=: ;;
1981 if test "x$ac_old_val" != "x$ac_new_val"; then
1982 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1983 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1984 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1985 echo "$as_me: former value
: $ac_old_val" >&2;}
1986 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1987 echo "$as_me: current value
: $ac_new_val" >&2;}
1988 ac_cache_corrupted=:
1991 # Pass precious variables to config.status.
1992 if test "$ac_new_set" = set; then
1994 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1995 *) ac_arg=$ac_var=$ac_new_val ;;
1997 case " $ac_configure_args " in
1998 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1999 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2003 if $ac_cache_corrupted; then
2004 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
2005 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
2006 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
2007 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
2008 { (exit 1); exit 1; }; }
2036 ac_cpp='$CPP $CPPFLAGS'
2037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2042 LIBNTFS_3G_VERSION="84"
2047 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2048 if test -f "$ac_dir/install-sh"; then
2050 ac_install_sh="$ac_aux_dir/install-sh -c"
2052 elif test -f "$ac_dir/install.sh"; then
2054 ac_install_sh="$ac_aux_dir/install.sh -c"
2056 elif test -f "$ac_dir/shtool"; then
2058 ac_install_sh="$ac_aux_dir/shtool install -c"
2062 if test -z "$ac_aux_dir"; then
2063 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2064 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2065 { (exit 1); exit 1; }; }
2068 # These three variables are undocumented and unsupported,
2069 # and are intended to be withdrawn in a future Autoconf release.
2070 # They can cause serious problems if a builder's source tree is in a directory
2071 # whose full name contains unusual characters.
2072 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2073 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2074 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2077 # Make sure we can run config.sub.
2078 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2079 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2080 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2081 { (exit 1); exit 1; }; }
2083 { echo "$as_me:$LINENO: checking build system type" >&5
2084 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2085 if test "${ac_cv_build+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2088 ac_build_alias=$build_alias
2089 test "x$ac_build_alias" = x &&
2090 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2091 test "x$ac_build_alias" = x &&
2092 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2093 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2094 { (exit 1); exit 1; }; }
2095 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2096 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2097 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2098 { (exit 1); exit 1; }; }
2101 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2102 echo "${ECHO_T}$ac_cv_build" >&6; }
2103 case $ac_cv_build in
2105 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2106 echo "$as_me: error: invalid value of canonical build" >&2;}
2107 { (exit 1); exit 1; }; };;
2110 ac_save_IFS=$IFS; IFS='-'
2116 # Remember, the first character of IFS is used to create $*,
2117 # except with old shells:
2120 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2123 { echo "$as_me:$LINENO: checking host system type" >&5
2124 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2125 if test "${ac_cv_host+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 if test "x$host_alias" = x; then
2129 ac_cv_host=$ac_cv_build
2131 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2132 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2133 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2134 { (exit 1); exit 1; }; }
2138 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2139 echo "${ECHO_T}$ac_cv_host" >&6; }
2142 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2143 echo "$as_me: error: invalid value of canonical host" >&2;}
2144 { (exit 1); exit 1; }; };;
2147 ac_save_IFS=$IFS; IFS='-'
2153 # Remember, the first character of IFS is used to create $*,
2154 # except with old shells:
2157 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2160 { echo "$as_me:$LINENO: checking target system type" >&5
2161 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2162 if test "${ac_cv_target+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test "x$target_alias" = x; then
2166 ac_cv_target=$ac_cv_host
2168 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2169 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2170 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2171 { (exit 1); exit 1; }; }
2175 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2176 echo "${ECHO_T}$ac_cv_target" >&6; }
2177 case $ac_cv_target in
2179 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2180 echo "$as_me: error: invalid value of canonical target" >&2;}
2181 { (exit 1); exit 1; }; };;
2183 target=$ac_cv_target
2184 ac_save_IFS=$IFS; IFS='-'
2190 # Remember, the first character of IFS is used to create $*,
2191 # except with old shells:
2194 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2197 # The aliases save the names the user supplied, while $host etc.
2198 # will get canonicalized.
2199 test -n "$target_alias" &&
2200 test "$program_prefix$program_suffix$program_transform_name" = \
2202 program_prefix=${target_alias}-
2205 am__api_version='1.10'
2207 # Find a good install program. We prefer a C program (faster),
2208 # so one script is as good as another. But avoid the broken or
2209 # incompatible versions:
2210 # SysV /etc/install, /usr/sbin/install
2211 # SunOS /usr/etc/install
2212 # IRIX /sbin/install
2214 # AmigaOS /C/install, which installs bootblocks on floppy discs
2215 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2216 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2217 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2218 # OS/2's system install, which has a completely different semantic
2219 # ./install, which can be erroneously created by make from ./install.sh.
2220 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2221 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2222 if test -z "$INSTALL"; then
2223 if test "${ac_cv_path_install+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir=.
2231 # Account for people who put trailing slashes in PATH elements.
2233 ./ | .// | /cC/* | \
2234 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2235 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2238 # OSF1 and SCO ODT 3.0 have their own names for install.
2239 # Don't use installbsd from OSF since it installs stuff as root
2241 for ac_prog in ginstall scoinst install; do
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2244 if test $ac_prog = install &&
2245 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2246 # AIX install. It has an incompatible calling convention.
2248 elif test $ac_prog = install &&
2249 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2250 # program-specific install script used by HP pwplus--don't use.
2253 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2266 if test "${ac_cv_path_install+set}" = set; then
2267 INSTALL=$ac_cv_path_install
2269 # As a last resort, use the slow shell script. Don't cache a
2270 # value for INSTALL within a source directory, because that will
2271 # break other packages using the cache if that directory is
2272 # removed, or if the value is a relative name.
2273 INSTALL=$ac_install_sh
2276 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2277 echo "${ECHO_T}$INSTALL" >&6; }
2279 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2280 # It thinks the first close brace ends the variable substitution.
2281 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2283 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2285 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2287 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2288 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2291 echo timestamp > conftest.file
2292 # Do `set' in a subshell so we don't clobber the current shell
's
2293 # arguments. Must try -L first in case configure is actually a
2294 # symlink; some systems play weird games with the mod time of symlinks
2295 # (eg FreeBSD returns the mod time of the symlink's containing
2298 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2299 if test "$*" = "X"; then
2301 set X
`ls -t $srcdir/configure conftest.file`
2304 if test "$*" != "X $srcdir/configure conftest.file" \
2305 && test "$*" != "X conftest.file $srcdir/configure"; then
2307 # If neither matched, then we have a broken ls. This can happen
2308 # if, for instance, CONFIG_SHELL is bash and it inherits a
2309 # broken ls alias from the environment. This has actually
2310 # happened. Such a system could not be considered "sane".
2311 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2312 alias in your environment" >&5
2313 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2314 alias in your environment" >&2;}
2315 { (exit 1); exit 1; }; }
2318 test "$2" = conftest.
file
2324 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2325 Check your system clock" >&5
2326 echo "$as_me: error: newly created file is older than distributed files!
2327 Check your system clock" >&2;}
2328 { (exit 1); exit 1; }; }
2330 { echo "$as_me:$LINENO: result: yes" >&5
2331 echo "${ECHO_T}yes" >&6; }
2332 test "$program_prefix" != NONE
&&
2333 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2334 # Use a double $ so make ignores it.
2335 test "$program_suffix" != NONE
&&
2336 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2337 # Double any \ or $. echo might interpret backslashes.
2338 # By default was `s,x,x', remove it if useless.
2339 cat <<\_ACEOF
>conftest.
sed
2340 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2342 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2345 # expand $ac_aux_dir to an absolute path
2346 am_aux_dir
=`cd $ac_aux_dir && pwd`
2348 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2349 # Use eval to expand $SHELL
2350 if eval "$MISSING --run true"; then
2351 am_missing_run
="$MISSING --run "
2354 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2355 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2358 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2359 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2360 if test -z "$MKDIR_P"; then
2361 if test "${ac_cv_path_mkdir+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2365 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_prog
in mkdir gmkdir
; do
2370 for ac_exec_ext
in '' $ac_executable_extensions; do
2371 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2372 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2373 'mkdir (GNU coreutils) '* | \
2374 'mkdir (coreutils) '* | \
2375 'mkdir (fileutils) '4.1*)
2376 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2386 if test "${ac_cv_path_mkdir+set}" = set; then
2387 MKDIR_P
="$ac_cv_path_mkdir -p"
2389 # As a last resort, use the slow shell script. Don't cache a
2390 # value for MKDIR_P within a source directory, because that will
2391 # break other packages using the cache if that directory is
2392 # removed, or if the value is a relative name.
2393 test -d .
/--version && rmdir .
/--version
2394 MKDIR_P
="$ac_install_sh -d"
2397 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2398 echo "${ECHO_T}$MKDIR_P" >&6; }
2402 [\\/$
]* | ?
:[\\/]*) ;;
2403 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2406 for ac_prog
in gawk mawk nawk
awk
2408 # Extract the first word of "$ac_prog", so it can be a program name with args.
2409 set dummy
$ac_prog; ac_word
=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_AWK+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2415 if test -n "$AWK"; then
2416 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir
=.
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_AWK
="$ac_prog"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test -n "$AWK"; then
2437 { echo "$as_me:$LINENO: result: $AWK" >&5
2438 echo "${ECHO_T}$AWK" >&6; }
2440 { echo "$as_me:$LINENO: result: no" >&5
2441 echo "${ECHO_T}no" >&6; }
2445 test -n "$AWK" && break
2448 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2449 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2450 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2451 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 cat >conftest.
make <<\_ACEOF
2457 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2459 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2460 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2462 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2464 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2468 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2469 { echo "$as_me:$LINENO: result: yes" >&5
2470 echo "${ECHO_T}yes" >&6; }
2473 { echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6; }
2475 SET_MAKE
="MAKE=${MAKE-make}"
2478 rm -rf .tst
2>/dev
/null
2479 mkdir .tst
2>/dev
/null
2480 if test -d .tst
; then
2485 rmdir .tst
2>/dev
/null
2487 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2488 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2489 # is not polluted with repeated "-I."
2490 am__isrc
=' -I$(srcdir)'
2491 # test to see if srcdir already configured
2492 if test -f $srcdir/config.status
; then
2493 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2494 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2495 { (exit 1); exit 1; }; }
2499 # test whether we have cygpath
2500 if test -z "$CYGPATH_W"; then
2501 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2502 CYGPATH_W
='cygpath -w'
2509 # Define the identity of the package.
2510 PACKAGE
=${PACKAGE_NAME}
2511 VERSION
=${PACKAGE_VERSION}
2514 cat >>confdefs.h
<<_ACEOF
2515 #define PACKAGE "$PACKAGE"
2519 cat >>confdefs.h
<<_ACEOF
2520 #define VERSION "$VERSION"
2523 # Some tools Automake needs.
2525 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2528 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2531 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2534 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2537 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2539 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2541 # Installed binaries are usually stripped using `strip' when the user
2542 # run `make install-strip'. However `strip' might not be the right
2543 # tool to use in cross-compilation environments, therefore Automake
2544 # will honor the `STRIP' environment variable to overrule this program.
2545 if test "$cross_compiling" != no
; then
2546 if test -n "$ac_tool_prefix"; then
2547 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2548 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2551 if test "${ac_cv_prog_STRIP+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 if test -n "$STRIP"; then
2555 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir
=.
2562 for ac_exec_ext
in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 STRIP
=$ac_cv_prog_STRIP
2575 if test -n "$STRIP"; then
2576 { echo "$as_me:$LINENO: result: $STRIP" >&5
2577 echo "${ECHO_T}$STRIP" >&6; }
2579 { echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6; }
2585 if test -z "$ac_cv_prog_STRIP"; then
2587 # Extract the first word of "strip", so it can be a program name with args.
2588 set dummy strip
; ac_word
=$2
2589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2591 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 if test -n "$ac_ct_STRIP"; then
2595 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir
=.
2602 for ac_exec_ext
in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_ac_ct_STRIP
="strip"
2605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2615 if test -n "$ac_ct_STRIP"; then
2616 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2617 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2619 { echo "$as_me:$LINENO: result: no" >&5
2620 echo "${ECHO_T}no" >&6; }
2623 if test "x$ac_ct_STRIP" = x
; then
2626 case $cross_compiling:$ac_tool_warned in
2628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2629 whose name does not start with the host triplet. If you think this
2630 configuration is useful to you, please write to autoconf@gnu.org." >&5
2631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2632 whose name does not start with the host triplet. If you think this
2633 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2634 ac_tool_warned
=yes ;;
2639 STRIP
="$ac_cv_prog_STRIP"
2643 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2645 # We need awk for the "check" target. The system "awk" is bad on
2647 # Always define AMTAR for backward compatibility.
2649 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2651 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2657 ac_config_headers
="$ac_config_headers config.h"
2660 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2661 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2662 # Check whether --enable-maintainer-mode was given.
2663 if test "${enable_maintainer_mode+set}" = set; then
2664 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2666 USE_MAINTAINER_MODE
=no
2669 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2670 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2671 if test $USE_MAINTAINER_MODE = yes; then
2672 MAINTAINER_MODE_TRUE
=
2673 MAINTAINER_MODE_FALSE
='#'
2675 MAINTAINER_MODE_TRUE
='#'
2676 MAINTAINER_MODE_FALSE
=
2679 MAINT
=$MAINTAINER_MODE_TRUE
2684 # Check whether --enable-debug was given.
2685 if test "${enable_debug+set}" = set; then
2686 enableval
=$enable_debug;
2693 # Check whether --enable-warnings was given.
2694 if test "${enable_warnings+set}" = set; then
2695 enableval
=$enable_warnings;
2697 enable_warnings
="no"
2702 # Check whether --enable-pedantic was given.
2703 if test "${enable_pedantic+set}" = set; then
2704 enableval
=$enable_pedantic;
2706 enable_pedantic
="no"
2711 # Check whether --enable-really-static was given.
2712 if test "${enable_really_static+set}" = set; then
2713 enableval
=$enable_really_static;
2715 enable_really_static
="no"
2720 # Check whether --enable-mount-helper was given.
2721 if test "${enable_mount_helper+set}" = set; then
2722 enableval
=$enable_mount_helper;
2725 case "${target_os}" in
2726 linux
*) enable_mount_helper
="yes" ;;
2727 *) enable_mount_helper
="no" ;;
2734 # Check whether --enable-ldscript was given.
2735 if test "${enable_ldscript+set}" = set; then
2736 enableval
=$enable_ldscript;
2738 enable_ldscript
="no"
2743 # Check whether --enable-ldconfig was given.
2744 if test "${enable_ldconfig+set}" = set; then
2745 enableval
=$enable_ldconfig;
2747 enable_ldconfig
="yes"
2752 # Check whether --enable-library was given.
2753 if test "${enable_library+set}" = set; then
2754 enableval
=$enable_library;
2756 enable_library
="yes"
2761 # Check whether --enable-mtab was given.
2762 if test "${enable_mtab+set}" = set; then
2763 enableval
=$enable_mtab;
2770 # Check whether --enable-posix-acls was given.
2771 if test "${enable_posix_acls+set}" = set; then
2772 enableval
=$enable_posix_acls;
2774 enable_posix_acls
="no"
2779 # Check whether --enable-xattr-mappings was given.
2780 if test "${enable_xattr_mappings+set}" = set; then
2781 enableval
=$enable_xattr_mappings;
2783 enable_xattr_mappings
="no"
2788 # Check whether --enable-device-default-io-ops was given.
2789 if test "${enable_device_default_io_ops+set}" = set; then
2790 enableval
=$enable_device_default_io_ops;
2792 enable_device_default_io_ops
="yes"
2797 # Check whether --enable-ntfs-3g was given.
2798 if test "${enable_ntfs_3g+set}" = set; then
2799 enableval
=$enable_ntfs_3g;
2801 enable_ntfs_3g
="yes"
2806 # Check whether --enable-ntfsprogs was given.
2807 if test "${enable_ntfsprogs+set}" = set; then
2808 enableval
=$enable_ntfsprogs;
2810 enable_ntfsprogs
="yes"
2815 # Check whether --enable-crypto was given.
2816 if test "${enable_crypto+set}" = set; then
2817 enableval
=$enable_crypto;
2824 # Check whether --enable-extras was given.
2825 if test "${enable_extras+set}" = set; then
2826 enableval
=$enable_extras;
2833 # Check whether --enable-nfconv was given.
2834 if test "${enable_nfconv+set}" = set; then
2835 enableval
=$enable_nfconv; enable_nfconv
="no"
2838 case "${target_os}" in
2839 darwin
*) enable_nfconv
="yes" ;;
2840 *) enable_nfconv
="no" ;;
2847 # pthread_rwlock_t requires _GNU_SOURCE
2849 cat >>confdefs.h
<<\_ACEOF
2850 #define _GNU_SOURCE 1
2857 ac_cpp
='$CPP $CPPFLAGS'
2858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2861 if test -n "$ac_tool_prefix"; then
2862 for ac_prog
in gcc cc
2864 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2865 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2868 if test "${ac_cv_prog_CC+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -n "$CC"; then
2872 ac_cv_prog_CC
="$CC" # Let the user override the test.
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test -n "$CC"; then
2893 { echo "$as_me:$LINENO: result: $CC" >&5
2894 echo "${ECHO_T}$CC" >&6; }
2896 { echo "$as_me:$LINENO: result: no" >&5
2897 echo "${ECHO_T}no" >&6; }
2901 test -n "$CC" && break
2904 if test -z "$CC"; then
2906 for ac_prog
in gcc cc
2908 # Extract the first word of "$ac_prog", so it can be a program name with args.
2909 set dummy
$ac_prog; ac_word
=$2
2910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 if test -n "$ac_ct_CC"; then
2916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925 ac_cv_prog_ac_ct_CC
="$ac_prog"
2926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2936 if test -n "$ac_ct_CC"; then
2937 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2938 echo "${ECHO_T}$ac_ct_CC" >&6; }
2940 { echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6; }
2945 test -n "$ac_ct_CC" && break
2948 if test "x$ac_ct_CC" = x
; then
2951 case $cross_compiling:$ac_tool_warned in
2953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2954 whose name does not start with the host triplet. If you think this
2955 configuration is useful to you, please write to autoconf@gnu.org." >&5
2956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2957 whose name does not start with the host triplet. If you think this
2958 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2959 ac_tool_warned
=yes ;;
2966 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2967 See \`config.log' for more details." >&5
2968 echo "$as_me: error: no acceptable C compiler found in \$PATH
2969 See \`config.log' for more details." >&2;}
2970 { (exit 1); exit 1; }; }
2972 # Provide some information about the compiler.
2973 echo "$as_me:$LINENO: checking for C compiler version" >&5
2974 ac_compiler
=`set X $ac_compile; echo $2`
2975 { (ac_try
="$ac_compiler --version >&5"
2977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2981 (eval "$ac_compiler --version >&5") 2>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }
2985 { (ac_try="$ac_compiler -v >&5"
2987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2988 *) ac_try_echo
=$ac_try;;
2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_compiler -v >&5") 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }
2995 { (ac_try
="$ac_compiler -V >&5"
2997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compiler -V >&5") 2>&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }
3006 cat >conftest.$ac_ext <<_ACEOF
3009 cat confdefs.h >>conftest.$ac_ext
3010 cat >>conftest.$ac_ext <<_ACEOF
3011 /* end confdefs.h. */
3021 ac_clean_files_save=$ac_clean_files
3022 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3023 # Try to create an executable without -o first, disregard a.out.
3024 # It will help us diagnose broken compilers, and finding out an intuition
3026 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3027 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3028 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3030 # List of possible output files, starting from the most likely.
3031 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3032 # only as a last resort. b.out is created by i960 compilers.
3033 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3035 # The IRIX 6 linker writes into existing files which may not be
3036 # executable, retaining their permissions. Remove them first so a
3037 # subsequent execution test works.
3039 for ac_file in $ac_files
3042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3043 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3048 if { (ac_try="$ac_link_default"
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054 (eval "$ac_link_default") 2>&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; then
3058 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3059 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3060 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3061 # so that the user can short-circuit this test for compilers unknown to
3063 for ac_file
in $ac_files ''
3065 test -f "$ac_file" ||
continue
3067 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3070 # We found the default executable, but exeext='' is most
3074 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3076 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3078 # We set ac_cv_exeext here because the later test for it is not
3079 # safe: cross compilers may not add the suffix if given an `-o'
3080 # argument, so we may need to know it at that point already.
3081 # Even if this section looks crufty: it has the advantage of
3088 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3094 { echo "$as_me:$LINENO: result: $ac_file" >&5
3095 echo "${ECHO_T}$ac_file" >&6; }
3096 if test -z "$ac_file"; then
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.
$ac_ext >&5
3100 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3101 See \`config.log' for more details." >&5
3102 echo "$as_me: error: C compiler cannot create executables
3103 See \`config.log' for more details." >&2;}
3104 { (exit 77); exit 77; }; }
3107 ac_exeext
=$ac_cv_exeext
3109 # Check that the compiler produces executables we can run. If not, either
3110 # the compiler is broken, or we cross compile.
3111 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3112 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3113 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3114 # If not cross compiling, check that we can run a simple program.
3115 if test "$cross_compiling" != yes; then
3116 if { ac_try
='./$ac_file'
3117 { (case "(($ac_try" in
3118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_try") 2>&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; }; then
3128 if test "$cross_compiling" = maybe; then
3131 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3132 If you meant to cross compile, use \`--host'.
3133 See \`config.log' for more details.
" >&5
3134 echo "$as_me: error
: cannot run C compiled programs.
3135 If you meant to cross compile
, use \
`--host'.
3136 See \`config.log
' for more details." >&2;}
3137 { (exit 1); exit 1; }; }
3141 { echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6; }
3144 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3145 ac_clean_files=$ac_clean_files_save
3146 # Check that the compiler produces executables we can run. If not, either
3147 # the compiler is broken, or we cross compile.
3148 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3149 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3150 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3151 echo "${ECHO_T}$cross_compiling" >&6; }
3153 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3154 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3155 if { (ac_try="$ac_link"
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3161 (eval "$ac_link") 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; then
3165 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3166 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3167 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3169 for ac_file
in conftest.exe conftest conftest.
*; do
3170 test -f "$ac_file" ||
continue
3172 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3173 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3179 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3180 See \`config.log' for more details." >&5
3181 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3182 See \`config.log' for more details." >&2;}
3183 { (exit 1); exit 1; }; }
3186 rm -f conftest
$ac_cv_exeext
3187 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3188 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3190 rm -f conftest.
$ac_ext
3191 EXEEXT
=$ac_cv_exeext
3193 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3194 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3195 if test "${ac_cv_objext+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 cat >conftest.
$ac_ext <<_ACEOF
3201 cat confdefs.h
>>conftest.
$ac_ext
3202 cat >>conftest.
$ac_ext <<_ACEOF
3203 /* end confdefs.h. */
3213 rm -f conftest.o conftest.obj
3214 if { (ac_try
="$ac_compile"
3216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3220 (eval "$ac_compile") 2>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; then
3224 for ac_file in conftest.o conftest.obj conftest.*; do
3225 test -f "$ac_file" || continue;
3227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3228 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3236 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3237 See \`config.log
' for more details." >&5
3238 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3239 See \`config.log' for more details.
" >&2;}
3240 { (exit 1); exit 1; }; }
3243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3245 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3246 echo "${ECHO_T}$ac_cv_objext" >&6; }
3247 OBJEXT=$ac_cv_objext
3249 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3250 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3251 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3252 echo $ECHO_N "(cached
) $ECHO_C" >&6
3254 cat >conftest.$ac_ext <<_ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3272 rm -f conftest.$ac_objext
3273 if { (ac_try="$ac_compile"
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3279 (eval "$ac_compile") 2>conftest.er1
3281 grep -v '^ *+' conftest.er1 >conftest.err
3283 cat conftest.err >&5
3284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3285 (exit $ac_status); } && {
3286 test -z "$ac_c_werror_flag" ||
3287 test ! -s conftest.err
3288 } && test -s conftest.$ac_objext; then
3291 echo "$as_me: failed program was
:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3301 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3302 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3303 GCC=`test $ac_compiler_gnu = yes && echo yes`
3304 ac_test_CFLAGS=${CFLAGS+set}
3305 ac_save_CFLAGS=$CFLAGS
3306 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3307 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3308 if test "${ac_cv_prog_cc_g+set}" = set; then
3309 echo $ECHO_N "(cached
) $ECHO_C" >&6
3311 ac_save_c_werror_flag=$ac_c_werror_flag
3312 ac_c_werror_flag=yes
3315 cat >conftest.$ac_ext <<_ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3330 rm -f conftest.$ac_objext
3331 if { (ac_try="$ac_compile"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compile") 2>conftest.er1
3339 grep -v '^ *+' conftest.er1 >conftest.err
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3343 (exit $ac_status); } && {
3344 test -z "$ac_c_werror_flag" ||
3345 test ! -s conftest.err
3346 } && test -s conftest.$ac_objext; then
3349 echo "$as_me: failed program was
:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3353 cat >conftest.$ac_ext <<_ACEOF
3356 cat confdefs.h >>conftest.$ac_ext
3357 cat >>conftest.$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3368 rm -f conftest.$ac_objext
3369 if { (ac_try="$ac_compile"
3371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3372 *) ac_try_echo=$ac_try;;
3374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3375 (eval "$ac_compile") 2>conftest.er1
3377 grep -v '^ *+' conftest.er1 >conftest.err
3379 cat conftest.err >&5
3380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3381 (exit $ac_status); } && {
3382 test -z "$ac_c_werror_flag" ||
3383 test ! -s conftest.err
3384 } && test -s conftest.$ac_objext; then
3387 echo "$as_me: failed program was
:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3390 ac_c_werror_flag=$ac_save_c_werror_flag
3392 cat >conftest.$ac_ext <<_ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3407 rm -f conftest.$ac_objext
3408 if { (ac_try="$ac_compile"
3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3414 (eval "$ac_compile") 2>conftest.er1
3416 grep -v '^ *+' conftest.er1 >conftest.err
3418 cat conftest.err >&5
3419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3420 (exit $ac_status); } && {
3421 test -z "$ac_c_werror_flag" ||
3422 test ! -s conftest.err
3423 } && test -s conftest.$ac_objext; then
3426 echo "$as_me: failed program was
:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 ac_c_werror_flag=$ac_save_c_werror_flag
3441 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3442 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3443 if test "$ac_test_CFLAGS" = set; then
3444 CFLAGS=$ac_save_CFLAGS
3445 elif test $ac_cv_prog_cc_g = yes; then
3446 if test "$GCC" = yes; then
3452 if test "$GCC" = yes; then
3458 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3459 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3460 if test "${ac_cv_prog_cc_c89+set}" = set; then
3461 echo $ECHO_N "(cached
) $ECHO_C" >&6
3463 ac_cv_prog_cc_c89=no
3465 cat >conftest.$ac_ext <<_ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3473 #include <sys/types.h>
3474 #include <sys/stat.h>
3475 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3476 struct buf { int x; };
3477 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3478 static char *e (p, i)
3484 static char *f (char * (*g) (char **, int), char **p, ...)
3489 s = g (p, va_arg (v,int));
3494 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3495 function prototypes and stuff, but not '\xHH' hex character constants.
3496 These don't provoke an error unfortunately, instead are silently treated
3497 as 'x'. The following induces an error, until -std is added to get
3498 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3499 array size at least. It's necessary to write '\x00'==0 to get something
3500 that's true only with -std. */
3501 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3503 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3504 inside strings and character constants. */
3506 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3508 int test (int i, double x);
3509 struct s1 {int (*f) (int a);};
3510 struct s2 {int (*f) (double a);};
3511 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3517 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3522 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3523 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3525 CC="$ac_save_CC $ac_arg"
3526 rm -f conftest.$ac_objext
3527 if { (ac_try="$ac_compile"
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_compile") 2>conftest.er1
3535 grep -v '^ *+' conftest.er1 >conftest.err
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3539 (exit $ac_status); } && {
3540 test -z "$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3542 } && test -s conftest.$ac_objext; then
3543 ac_cv_prog_cc_c89=$ac_arg
3545 echo "$as_me: failed program was
:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3551 rm -f core conftest.err conftest.$ac_objext
3552 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3554 rm -f conftest.$ac_ext
3559 case "x
$ac_cv_prog_cc_c89" in
3561 { echo "$as_me:$LINENO: result
: none needed
" >&5
3562 echo "${ECHO_T}none needed
" >&6; } ;;
3564 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3565 echo "${ECHO_T}unsupported
" >&6; } ;;
3567 CC="$CC $ac_cv_prog_cc_c89"
3568 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3569 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3574 ac_cpp='$CPP $CPPFLAGS'
3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3578 DEPDIR="${am__leading_dot}deps
"
3580 ac_config_commands="$ac_config_commands depfiles
"
3583 am_make=${MAKE-make}
3584 cat > confinc << 'END'
3589 # If we don't find an include directive, just comment out the code.
3590 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3591 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3595 # First try GNU make style include.
3596 echo "include confinc" > confmf
3597 # We grep out `Entering directory' and `Leaving directory'
3598 # messages which can occur if `w' ends up in MAKEFLAGS.
3599 # In particular we don't look at `^make:' because GNU make might
3600 # be invoked under some other name (usually "gmake"), in which
3601 # case it prints its new name instead of `make'.
3602 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3607 # Now try BSD make style include.
3608 if test "$am__include" = "#"; then
3609 echo '.include "confinc"' > confmf
3610 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3611 am__include
=.include
3618 { echo "$as_me:$LINENO: result: $_am_result" >&5
3619 echo "${ECHO_T}$_am_result" >&6; }
3620 rm -f confinc confmf
3622 # Check whether --enable-dependency-tracking was given.
3623 if test "${enable_dependency_tracking+set}" = set; then
3624 enableval
=$enable_dependency_tracking;
3627 if test "x$enable_dependency_tracking" != xno
; then
3628 am_depcomp
="$ac_aux_dir/depcomp"
3631 if test "x$enable_dependency_tracking" != xno; then
3641 depcc
="$CC" am_compiler_list
=
3643 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3644 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3645 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3649 # We make a subdir and do the tests there. Otherwise we can end up
3650 # making bogus files that we don't know about and never remove. For
3651 # instance it was reported that on HP-UX the gcc test will end up
3652 # making a dummy file named `D' -- because `-MD' means `put the output
3655 # Copy depcomp to subdir because otherwise we won't find it if we're
3656 # using a relative directory.
3657 cp "$am_depcomp" conftest.dir
3659 # We will build objects and dependencies in a subdirectory because
3660 # it helps to detect inapplicable dependency modes. For instance
3661 # both Tru64's cc and ICC support -MD to output dependencies as a
3662 # side effect of compilation, but ICC will put the dependencies in
3663 # the current directory while Tru64 will put them in the object
3667 am_cv_CC_dependencies_compiler_type
=none
3668 if test "$am_compiler_list" = ""; then
3669 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3671 for depmode
in $am_compiler_list; do
3672 # Setup a source with many dependencies, because some compilers
3673 # like to wrap large dependency lists on column 80 (with \), and
3674 # we should not choose a depcomp mode which is confused by this.
3676 # We need to recreate these files for each test, as the compiler may
3677 # overwrite some of them when testing with obscure command lines.
3678 # This happens at least with the AIX C compiler.
3680 for i
in 1 2 3 4 5 6; do
3681 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3682 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3683 # Solaris 8's {/usr,}/bin/sh.
3684 touch sub
/conftst
$i.h
3686 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3690 # after this tag, mechanisms are not by side-effect, so they'll
3691 # only be used when explicitly requested
3692 if test "x$enable_dependency_tracking" = xyes
; then
3700 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3701 # mode. It turns out that the SunPro C++ compiler does not properly
3702 # handle `-M -o', and we need to detect this.
3703 if depmode
=$depmode \
3704 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3705 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3706 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3707 >/dev
/null
2>conftest.err
&&
3708 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3709 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3710 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3711 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3712 # icc doesn't choke on unknown options, it will just issue warnings
3713 # or remarks (even with -Werror). So we grep stderr for any message
3714 # that says an option was ignored or not supported.
3715 # When given -MP, icc 7.0 and 7.1 complain thusly:
3716 # icc: Command line warning: ignoring option '-M'; no argument required
3717 # The diagnosis changed in icc 8.0:
3718 # icc: Command line remark: option '-MP' not supported
3719 if (grep 'ignoring option' conftest.err ||
3720 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3721 am_cv_CC_dependencies_compiler_type
=$depmode
3730 am_cv_CC_dependencies_compiler_type
=none
3734 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3735 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3736 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3739 test "x$enable_dependency_tracking" != xno \
3740 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3742 am__fastdepCC_FALSE
='#'
3744 am__fastdepCC_TRUE
='#'
3745 am__fastdepCC_FALSE
=
3749 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3750 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3752 if test "$LN_S" = "ln -s"; then
3753 { echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6; }
3756 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3757 echo "${ECHO_T}no, using $LN_S" >&6; }
3760 if test "x$CC" != xcc
; then
3761 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3762 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3764 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3765 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3767 set dummy
$CC; ac_cc
=`echo $2 |
3768 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3769 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 cat >conftest.
$ac_ext <<_ACEOF
3775 cat confdefs.h
>>conftest.
$ac_ext
3776 cat >>conftest.
$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3787 # Make sure it works both with $CC and with simple cc.
3788 # We do the test twice because some compilers refuse to overwrite an
3789 # existing .o file with -o, though they will create one.
3790 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3792 if { (case "(($ac_try" in
3793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_try") 2>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } &&
3801 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3803 *) ac_try_echo
=$ac_try;;
3805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3806 (eval "$ac_try") 2>&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); };
3811 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
3812 if test "x$CC" != xcc
; then
3813 # Test first that cc exists at all.
3814 if { ac_try
='cc -c conftest.$ac_ext >&5'
3815 { (case "(($ac_try" in
3816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3817 *) ac_try_echo=$ac_try;;
3819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3820 (eval "$ac_try") 2>&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3824 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3826 if { (case "(($ac_try" in
3827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3828 *) ac_try_echo
=$ac_try;;
3830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831 (eval "$ac_try") 2>&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); } &&
3835 test -f conftest2.
$ac_objext && { (case "(($ac_try" in
3836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_try") 2>&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); };
3848 # cc exists but doesn't like -o.
3849 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3854 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3856 rm -f core conftest*
3859 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3860 { echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6; }
3863 { echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6; }
3866 cat >>confdefs.h <<\_ACEOF
3867 #define NO_MINUS_C_MINUS_O 1
3872 # FIXME: we rely on the cache variable name because
3873 # there is no other way.
3875 ac_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3876 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o
`\" != yes"; then
3877 # Losing compiler, so override with the script.
3878 # FIXME: It is wrong to rewrite CC.
3879 # But if we don't then we get into trouble of one sort or another.
3880 # A longer-term fix would be to have automake use am__CC in this case,
3881 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3882 CC="$am_aux_dir/compile $CC"
3887 # Check whether --enable-shared was given.
3888 if test "${enable_shared+set}" = set; then
3889 enableval=$enable_shared; p=${PACKAGE-default}
3891 yes) enable_shared=yes ;;
3892 no) enable_shared=no ;;
3895 # Look at the argument we got. We use all the common list separators.
3896 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3897 for pkg in $enableval; do
3899 if test "X$pkg" = "X$p"; then
3911 # Check whether --enable-static was given.
3912 if test "${enable_static+set}" = set; then
3913 enableval=$enable_static; p=${PACKAGE-default}
3915 yes) enable_static=yes ;;
3916 no) enable_static=no ;;
3919 # Look at the argument we got. We use all the common list separators.
3920 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3921 for pkg in $enableval; do
3923 if test "X$pkg" = "X$p"; then
3935 # Check whether --enable-fast-install was given.
3936 if test "${enable_fast_install+set}" = set; then
3937 enableval=$enable_fast_install; p=${PACKAGE-default}
3939 yes) enable_fast_install=yes ;;
3940 no) enable_fast_install=no ;;
3942 enable_fast_install=no
3943 # Look at the argument we got. We use all the common list separators.
3944 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3945 for pkg in $enableval; do
3947 if test "X$pkg" = "X$p"; then
3948 enable_fast_install=yes
3955 enable_fast_install=yes
3959 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3960 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3961 if test "${lt_cv_path_SED+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 # Loop through the user's path and test for sed and gsed.
3965 # Then use that list of sed's as ones to test for truncation.
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir=.
3971 for lt_ac_prog in sed gsed; do
3972 for ac_exec_ext in '' $ac_executable_extensions; do
3973 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3974 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3982 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3983 # along with /bin/sed that truncates output.
3984 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3985 test ! -f $lt_ac_sed && continue
3986 cat /dev/null > conftest.in
3988 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3989 # Check for GNU sed and select it if it is found.
3990 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3991 lt_cv_path_SED=$lt_ac_sed
3995 cat conftest.in conftest.in >conftest.tmp
3996 mv conftest.tmp conftest.in
3997 cp conftest.in conftest.nl
3999 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4000 cmp -s conftest.out conftest.nl || break
4001 # 10000 chars as input seems more than enough
4002 test $lt_ac_count -gt 10 && break
4003 lt_ac_count=`expr $lt_ac_count + 1`
4004 if test $lt_ac_count -gt $lt_ac_max; then
4005 lt_ac_max=$lt_ac_count
4006 lt_cv_path_SED=$lt_ac_sed
4015 { echo "$as_me:$LINENO: result: $SED" >&5
4016 echo "${ECHO_T}$SED" >&6; }
4018 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4019 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4020 if test "${ac_cv_path_GREP+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 # Extract the first word of "grep ggrep" to use in msg output
4024 if test -z "$GREP"; then
4025 set dummy grep ggrep; ac_prog_name=$2
4026 if test "${ac_cv_path_GREP+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 ac_path_GREP_found=false
4030 # Loop through the user's path and test for each of PROGNAME-LIST
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4035 test -z "$as_dir" && as_dir=.
4036 for ac_prog in grep ggrep; do
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4039 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4040 # Check for GNU ac_path_GREP and select it if it is found.
4041 # Check for GNU $ac_path_GREP
4042 case `"$ac_path_GREP" --version 2>&1` in
4044 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4047 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4050 cat "conftest.in" "conftest.in" >"conftest.tmp"
4051 mv "conftest.tmp" "conftest.in"
4052 cp "conftest.in" "conftest.nl"
4053 echo 'GREP' >> "conftest.nl"
4054 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4055 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4056 ac_count=`expr $ac_count + 1`
4057 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4058 # Best one so far, save it but keep looking for a better one
4059 ac_cv_path_GREP="$ac_path_GREP"
4060 ac_path_GREP_max=$ac_count
4062 # 10*(2^10) chars as input seems more than enough
4063 test $ac_count -gt 10 && break
4065 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4069 $ac_path_GREP_found && break 3
4079 GREP="$ac_cv_path_GREP"
4080 if test -z "$GREP"; then
4081 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4082 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4083 { (exit 1); exit 1; }; }
4087 ac_cv_path_GREP=$GREP
4092 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4093 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4094 GREP="$ac_cv_path_GREP"
4097 { echo "$as_me:$LINENO: checking for egrep" >&5
4098 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4099 if test "${ac_cv_path_EGREP+set}" = set; then
4100 echo $ECHO_N "(cached) $ECHO_C" >&6
4102 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4103 then ac_cv_path_EGREP="$GREP -E"
4105 # Extract the first word of "egrep" to use in msg output
4106 if test -z "$EGREP"; then
4107 set dummy egrep; ac_prog_name=$2
4108 if test "${ac_cv_path_EGREP+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 ac_path_EGREP_found=false
4112 # Loop through the user's path and test for each of PROGNAME-LIST
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4117 test -z "$as_dir" && as_dir=.
4118 for ac_prog in egrep; do
4119 for ac_exec_ext in '' $ac_executable_extensions; do
4120 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4121 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4122 # Check for GNU ac_path_EGREP and select it if it is found.
4123 # Check for GNU $ac_path_EGREP
4124 case `"$ac_path_EGREP" --version 2>&1` in
4126 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4129 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4132 cat "conftest.in" "conftest.in" >"conftest.tmp"
4133 mv "conftest.tmp" "conftest.in"
4134 cp "conftest.in" "conftest.nl"
4135 echo 'EGREP' >> "conftest.nl"
4136 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4137 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4138 ac_count=`expr $ac_count + 1`
4139 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4140 # Best one so far, save it but keep looking for a better one
4141 ac_cv_path_EGREP="$ac_path_EGREP"
4142 ac_path_EGREP_max=$ac_count
4144 # 10*(2^10) chars as input seems more than enough
4145 test $ac_count -gt 10 && break
4147 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4151 $ac_path_EGREP_found && break 3
4161 EGREP="$ac_cv_path_EGREP"
4162 if test -z "$EGREP"; then
4163 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4164 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4165 { (exit 1); exit 1; }; }
4169 ac_cv_path_EGREP=$EGREP
4175 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4176 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4177 EGREP="$ac_cv_path_EGREP"
4181 # Check whether --with-gnu-ld was given.
4182 if test "${with_gnu_ld+set}" = set; then
4183 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4189 if test "$GCC" = yes; then
4190 # Check if gcc -print-prog-name=ld gives a path.
4191 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4192 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4195 # gcc leaves a trailing carriage return which upsets mingw
4196 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4198 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4201 # Accept absolute paths.
4203 re_direlt='/[^/][^/]*/\.\./'
4204 # Canonicalize the pathname of ld
4205 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
4206 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4207 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
4209 test -z "$LD" && LD="$ac_prog"
4212 # If it fails, then pretend we aren't using GCC.
4216 # If it is relative, then search for the first ld in PATH.
4220 elif test "$with_gnu_ld" = yes; then
4221 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4222 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4224 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4225 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4227 if test "${lt_cv_path_LD+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 if test -z "$LD"; then
4231 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4232 for ac_dir in $PATH; do
4234 test -z "$ac_dir" && ac_dir=.
4235 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4236 lt_cv_path_LD="$ac_dir/$ac_prog"
4237 # Check to see if the program is GNU ld. I'd rather use --version,
4238 # but apparently some variants of GNU ld only accept -v.
4239 # Break only if it was the GNU/non-GNU ld that we prefer.
4240 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4241 *GNU* | *'with BFD'*)
4242 test "$with_gnu_ld" != no && break
4245 test "$with_gnu_ld" != yes && break
4252 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4257 if test -n "$LD"; then
4258 { echo "$as_me:$LINENO: result: $LD" >&5
4259 echo "${ECHO_T}$LD" >&6; }
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4264 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4265 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4266 { (exit 1); exit 1; }; }
4267 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4268 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4269 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4273 case `$LD -v 2>&1 </dev
/null
` in
4274 *GNU* | *'with BFD'*)
4275 lt_cv_prog_gnu_ld=yes
4278 lt_cv_prog_gnu_ld=no
4282 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4283 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4284 with_gnu_ld=$lt_cv_prog_gnu_ld
4287 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4288 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4289 if test "${lt_cv_ld_reload_flag+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 lt_cv_ld_reload_flag='-r'
4294 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4295 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4296 reload_flag=$lt_cv_ld_reload_flag
4297 case $reload_flag in
4299 *) reload_flag=" $reload_flag" ;;
4301 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4304 if test "$GCC" = yes; then
4305 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4307 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4312 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4313 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4314 if test "${lt_cv_path_NM+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 if test -n "$NM"; then
4318 # Let the user override the test.
4321 lt_nm_to_check="${ac_tool_prefix}nm"
4322 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4323 lt_nm_to_check="$lt_nm_to_check nm"
4325 for lt_tmp_nm in $lt_nm_to_check; do
4326 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4327 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4329 test -z "$ac_dir" && ac_dir=.
4330 tmp_nm="$ac_dir/$lt_tmp_nm"
4331 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4332 # Check to see if the nm accepts a BSD-compat flag.
4333 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4334 # nm: unknown option "B" ignored
4335 # Tru64's nm complains that
/dev
/null is an invalid object
file
4336 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4337 */dev
/null
* |
*'Invalid file or object type'*)
4338 lt_cv_path_NM
="$tmp_nm -B"
4342 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4344 lt_cv_path_NM
="$tmp_nm -p"
4348 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4349 continue # so that we can try to find one that supports BSD flags
4358 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4361 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4362 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4365 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4366 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4367 if test "${lt_cv_deplibs_check_method+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4371 lt_cv_file_magic_test_file
=
4372 lt_cv_deplibs_check_method
='unknown'
4373 # Need to set the preceding variable on all platforms that support
4374 # interlibrary dependencies.
4375 # 'none' -- dependencies not supported.
4376 # `unknown' -- same as none, but documents that we really don't know.
4377 # 'pass_all' -- all dependencies passed with no checks.
4378 # 'test_compile' -- check by making test program.
4379 # 'file_magic [[regex]]' -- check by looking for files in library path
4380 # which responds to the $file_magic_cmd with a given extended regex.
4381 # If you have `file' or equivalent on your system and you're not sure
4382 # whether `pass_all' will *always* work, you probably want this one.
4386 lt_cv_deplibs_check_method
=pass_all
4390 lt_cv_deplibs_check_method
=pass_all
4394 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4395 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4396 lt_cv_file_magic_test_file
=/shlib
/libc.so
4400 # func_win32_libid is a shell function defined in ltmain.sh
4401 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4402 lt_cv_file_magic_cmd
='func_win32_libid'
4406 # Base MSYS/MinGW do not provide the 'file' command needed by
4407 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4408 # unless we find 'file', for example because we are cross-compiling.
4409 if ( file / ) >/dev
/null
2>&1; then
4410 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4411 lt_cv_file_magic_cmd
='func_win32_libid'
4413 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4414 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4418 darwin
* | rhapsody
*)
4419 lt_cv_deplibs_check_method
=pass_all
4422 freebsd
* | dragonfly
*)
4423 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4426 # Not sure whether the presence of OpenBSD here was a mistake.
4427 # Let's accept both of them until this is cleared up.
4428 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4429 lt_cv_file_magic_cmd
=/usr
/bin
/file
4430 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4434 lt_cv_deplibs_check_method
=pass_all
4439 lt_cv_deplibs_check_method
=pass_all
4442 hpux10.20
* | hpux11
*)
4443 lt_cv_file_magic_cmd
=/usr
/bin
/file
4446 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4447 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4450 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]'
4451 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4454 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4455 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4461 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4462 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4465 irix5
* | irix6
* | nonstopux
*)
4467 *-32|
*"-32 ") libmagic
=32-bit;;
4468 *-n32|
*"-n32 ") libmagic
=N32
;;
4469 *-64|
*"-64 ") libmagic
=64-bit;;
4470 *) libmagic
=never-match
;;
4472 lt_cv_deplibs_check_method
=pass_all
4475 # This must be Linux ELF.
4476 linux
* | k
*bsd
*-gnu)
4477 lt_cv_deplibs_check_method
=pass_all
4481 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4482 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4484 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4489 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4490 lt_cv_file_magic_cmd
=/usr
/bin
/file
4491 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4495 lt_cv_deplibs_check_method
=unknown
4499 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4500 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4502 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4506 osf3
* | osf4
* | osf5
*)
4507 lt_cv_deplibs_check_method
=pass_all
4511 lt_cv_deplibs_check_method
=pass_all
4515 lt_cv_deplibs_check_method
=pass_all
4519 case $host_vendor in
4521 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]'
4522 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4525 lt_cv_deplibs_check_method
=pass_all
4528 lt_cv_file_magic_cmd
='/bin/file'
4529 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4532 lt_cv_file_magic_cmd
='/bin/file'
4533 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4534 lt_cv_file_magic_test_file
=/lib
/libc.so
4537 lt_cv_deplibs_check_method
=pass_all
4540 lt_cv_deplibs_check_method
=pass_all
4545 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4546 lt_cv_deplibs_check_method
=pass_all
4551 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4552 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4553 file_magic_cmd
=$lt_cv_file_magic_cmd
4554 deplibs_check_method
=$lt_cv_deplibs_check_method
4555 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4560 # If no C compiler was specified, use CC.
4563 # If no C compiler flags were specified, use CFLAGS.
4564 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4566 # Allow CC to be a program name with arguments.
4570 # Check whether --enable-libtool-lock was given.
4571 if test "${enable_libtool_lock+set}" = set; then
4572 enableval
=$enable_libtool_lock;
4575 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4577 # Some flags need to be propagated to the compiler or linker for good
4581 # Find out which ABI we are using.
4582 echo 'int i;' > conftest.
$ac_ext
4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4584 (eval $ac_compile) 2>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; then
4588 case `/usr/bin/file conftest.$ac_objext` in
4600 # Find out which ABI we are using.
4601 echo '#line 4601 "configure"' > conftest.
$ac_ext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603 (eval $ac_compile) 2>&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; then
4607 if test "$lt_cv_prog_gnu_ld" = yes; then
4608 case `/usr/bin/file conftest.$ac_objext` in
4610 LD
="${LD-ld} -melf32bsmip"
4613 LD
="${LD-ld} -melf32bmipn32"
4616 LD
="${LD-ld} -melf64bmip"
4620 case `/usr/bin/file conftest.$ac_objext` in
4636 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4637 s390
*-*linux
*|sparc
*-*linux
*)
4638 # Find out which ABI we are using.
4639 echo 'int i;' > conftest.
$ac_ext
4640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4641 (eval $ac_compile) 2>&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; then
4645 case `/usr/bin/file conftest.o` in
4648 x86_64-
*kfreebsd
*-gnu)
4649 LD
="${LD-ld} -m elf_i386_fbsd"
4652 LD
="${LD-ld} -m elf_i386"
4654 ppc64-
*linux
*|powerpc64-
*linux
*)
4655 LD
="${LD-ld} -m elf32ppclinux"
4658 LD
="${LD-ld} -m elf_s390"
4661 LD
="${LD-ld} -m elf32_sparc"
4667 x86_64-
*kfreebsd
*-gnu)
4668 LD
="${LD-ld} -m elf_x86_64_fbsd"
4671 LD
="${LD-ld} -m elf_x86_64"
4673 ppc
*-*linux
*|powerpc
*-*linux
*)
4674 LD
="${LD-ld} -m elf64ppc"
4677 LD
="${LD-ld} -m elf64_s390"
4680 LD
="${LD-ld} -m elf64_sparc"
4690 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4691 SAVE_CFLAGS
="$CFLAGS"
4692 CFLAGS
="$CFLAGS -belf"
4693 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4694 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4695 if test "${lt_cv_cc_needs_belf+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 ac_cpp
='$CPP $CPPFLAGS'
4700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4704 cat >conftest.
$ac_ext <<_ACEOF
4707 cat confdefs.h
>>conftest.
$ac_ext
4708 cat >>conftest.
$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4719 rm -f conftest.
$ac_objext conftest
$ac_exeext
4720 if { (ac_try
="$ac_link"
4722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_link") 2>conftest.er1
4728 grep -v '^ *+' conftest.er1 >conftest.err
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } && {
4733 test -z "$ac_c_werror_flag" ||
4734 test ! -s conftest.err
4735 } && test -s conftest$ac_exeext &&
4736 $as_test_x conftest$ac_exeext; then
4737 lt_cv_cc_needs_belf=yes
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 lt_cv_cc_needs_belf=no
4745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4746 conftest$ac_exeext conftest.$ac_ext
4748 ac_cpp='$CPP $CPPFLAGS'
4749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4755 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4756 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4757 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4758 CFLAGS="$SAVE_CFLAGS"
4762 # Find out which ABI we are using.
4763 echo 'int i;' > conftest.$ac_ext
4764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4765 (eval $ac_compile) 2>&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; then
4769 case `/usr
/bin
/file conftest.o
` in
4771 case $lt_cv_prog_gnu_ld in
4772 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4774 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4788 need_locks="$enable_libtool_lock"
4792 ac_cpp='$CPP $CPPFLAGS'
4793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4796 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4797 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4798 # On Suns, sometimes $CPP names a directory.
4799 if test -n "$CPP" && test -d "$CPP"; then
4802 if test -z "$CPP"; then
4803 if test "${ac_cv_prog_CPP+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 # Double quotes because CPP needs to be expanded
4807 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4810 for ac_c_preproc_warn_flag in '' yes
4812 # Use a header file that comes with gcc, so configuring glibc
4813 # with a fresh cross-compiler works.
4814 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4815 # <limits.h> exists even on freestanding compilers.
4816 # On the NeXT, cc -E runs the code through the compiler's parser,
4817 # not just through cpp. "Syntax error" is here to catch this case.
4818 cat >conftest.$ac_ext <<_ACEOF
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4825 # include <limits.h>
4827 # include <assert.h>
4831 if { (ac_try="$ac_cpp conftest.$ac_ext"
4833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4834 *) ac_try_echo
=$ac_try;;
4836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } >/dev
/null
&& {
4844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4845 test ! -s conftest.err
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.
$ac_ext >&5
4852 # Broken: fails on valid input.
4856 rm -f conftest.err conftest.
$ac_ext
4858 # OK, works on sane cases. Now check whether nonexistent headers
4859 # can be detected and how.
4860 cat >conftest.
$ac_ext <<_ACEOF
4863 cat confdefs.h
>>conftest.
$ac_ext
4864 cat >>conftest.
$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4866 #include <ac_nonexistent.h>
4868 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4876 grep -v '^ *+' conftest.er1 >conftest.err
4878 cat conftest.err >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } >/dev/null && {
4881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4882 test ! -s conftest.err
4884 # Broken: success on invalid input.
4887 echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.$ac_ext >&5
4890 # Passes both tests.
4895 rm -f conftest.err conftest.$ac_ext
4898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4899 rm -f conftest.err conftest.
$ac_ext
4900 if $ac_preproc_ok; then
4912 { echo "$as_me:$LINENO: result: $CPP" >&5
4913 echo "${ECHO_T}$CPP" >&6; }
4915 for ac_c_preproc_warn_flag
in '' yes
4917 # Use a header file that comes with gcc, so configuring glibc
4918 # with a fresh cross-compiler works.
4919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4920 # <limits.h> exists even on freestanding compilers.
4921 # On the NeXT, cc -E runs the code through the compiler's parser,
4922 # not just through cpp. "Syntax error" is here to catch this case.
4923 cat >conftest.
$ac_ext <<_ACEOF
4926 cat confdefs.h
>>conftest.
$ac_ext
4927 cat >>conftest.
$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4930 # include <limits.h>
4932 # include <assert.h>
4936 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4939 *) ac_try_echo=$ac_try;;
4941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4944 grep -v '^ *+' conftest.er1 >conftest.err
4946 cat conftest.err >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } >/dev/null && {
4949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4950 test ! -s conftest.err
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.$ac_ext >&5
4957 # Broken: fails on valid input.
4961 rm -f conftest.err conftest.$ac_ext
4963 # OK, works on sane cases. Now check whether nonexistent headers
4964 # can be detected and how.
4965 cat >conftest.$ac_ext <<_ACEOF
4968 cat confdefs.h >>conftest.$ac_ext
4969 cat >>conftest.$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 #include <ac_nonexistent.h>
4973 if { (ac_try="$ac_cpp conftest.$ac_ext"
4975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4976 *) ac_try_echo
=$ac_try;;
4978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4981 grep -v '^ *+' conftest.er1
>conftest.err
4983 cat conftest.err
>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } >/dev
/null
&& {
4986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4987 test ! -s conftest.err
4989 # Broken: success on invalid input.
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.
$ac_ext >&5
4995 # Passes both tests.
5000 rm -f conftest.err conftest.
$ac_ext
5003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5004 rm -f conftest.err conftest.
$ac_ext
5005 if $ac_preproc_ok; then
5008 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5009 See \`config.log' for more details." >&5
5010 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5011 See \`config.log' for more details." >&2;}
5012 { (exit 1); exit 1; }; }
5016 ac_cpp
='$CPP $CPPFLAGS'
5017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5022 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5023 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5024 if test "${ac_cv_header_stdc+set}" = set; then
5025 echo $ECHO_N "(cached) $ECHO_C" >&6
5027 cat >conftest.
$ac_ext <<_ACEOF
5030 cat confdefs.h
>>conftest.
$ac_ext
5031 cat >>conftest.
$ac_ext <<_ACEOF
5032 /* end confdefs.h. */
5046 rm -f conftest.
$ac_objext
5047 if { (ac_try
="$ac_compile"
5049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5050 *) ac_try_echo=$ac_try;;
5052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5053 (eval "$ac_compile") 2>conftest.er1
5055 grep -v '^ *+' conftest.er1 >conftest.err
5057 cat conftest.err >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); } && {
5060 test -z "$ac_c_werror_flag" ||
5061 test ! -s conftest.err
5062 } && test -s conftest.$ac_objext; then
5063 ac_cv_header_stdc=yes
5065 echo "$as_me: failed program was:" >&5
5066 sed 's/^/| /' conftest.$ac_ext >&5
5068 ac_cv_header_stdc=no
5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5073 if test $ac_cv_header_stdc = yes; then
5074 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5075 cat >conftest.$ac_ext <<_ACEOF
5078 cat confdefs.h >>conftest.$ac_ext
5079 cat >>conftest.$ac_ext <<_ACEOF
5080 /* end confdefs.h. */
5084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5085 $EGREP "memchr" >/dev/null 2>&1; then
5088 ac_cv_header_stdc=no
5094 if test $ac_cv_header_stdc = yes; then
5095 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5096 cat >conftest.$ac_ext <<_ACEOF
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5106 $EGREP "free" >/dev/null 2>&1; then
5109 ac_cv_header_stdc=no
5115 if test $ac_cv_header_stdc = yes; then
5116 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5117 if test "$cross_compiling" = yes; then
5120 cat >conftest.$ac_ext <<_ACEOF
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5128 #if ((' ' & 0x0FF) == 0x020)
5129 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5130 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5132 # define ISLOWER(c) \
5133 (('a' <= (c) && (c) <= 'i') \
5134 || ('j' <= (c) && (c) <= 'r') \
5135 || ('s' <= (c) && (c) <= 'z'))
5136 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5139 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5144 for (i = 0; i < 256; i++)
5145 if (XOR (islower (i), ISLOWER (i))
5146 || toupper (i) != TOUPPER (i))
5151 rm -f conftest$ac_exeext
5152 if { (ac_try="$ac_link"
5154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5155 *) ac_try_echo
=$ac_try;;
5157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5158 (eval "$ac_link") 2>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5162 { (case "(($ac_try" in
5163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5167 (eval "$ac_try") 2>&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; }; then
5173 echo "$as_me: program exited with status $ac_status" >&5
5174 echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.$ac_ext >&5
5178 ac_cv_header_stdc=no
5180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5186 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5187 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5188 if test $ac_cv_header_stdc = yes; then
5190 cat >>confdefs.h <<\_ACEOF
5191 #define STDC_HEADERS 1
5196 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5206 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5207 inttypes.h stdint.h unistd.h
5209 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5213 echo $ECHO_N "(cached) $ECHO_C" >&6
5215 cat >conftest.$ac_ext <<_ACEOF
5218 cat confdefs.h >>conftest.$ac_ext
5219 cat >>conftest.$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5221 $ac_includes_default
5223 #include <$ac_header>
5225 rm -f conftest.$ac_objext
5226 if { (ac_try="$ac_compile"
5228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5229 *) ac_try_echo
=$ac_try;;
5231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5232 (eval "$ac_compile") 2>conftest.er1
5234 grep -v '^ *+' conftest.er1
>conftest.err
5236 cat conftest.err
>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } && {
5239 test -z "$ac_c_werror_flag" ||
5240 test ! -s conftest.err
5241 } && test -s conftest.
$ac_objext; then
5242 eval "$as_ac_Header=yes"
5244 echo "$as_me: failed program was:" >&5
5245 sed 's/^/| /' conftest.
$ac_ext >&5
5247 eval "$as_ac_Header=no"
5250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5252 ac_res
=`eval echo '${'$as_ac_Header'}'`
5253 { echo "$as_me:$LINENO: result: $ac_res" >&5
5254 echo "${ECHO_T}$ac_res" >&6; }
5255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5256 cat >>confdefs.h
<<_ACEOF
5257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5266 for ac_header
in dlfcn.h
5268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5269 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5272 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 ac_res
=`eval echo '${'$as_ac_Header'}'`
5276 { echo "$as_me:$LINENO: result: $ac_res" >&5
5277 echo "${ECHO_T}$ac_res" >&6; }
5279 # Is the header compilable?
5280 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5282 cat >conftest.
$ac_ext <<_ACEOF
5285 cat confdefs.h
>>conftest.
$ac_ext
5286 cat >>conftest.
$ac_ext <<_ACEOF
5287 /* end confdefs.h. */
5288 $ac_includes_default
5289 #include <$ac_header>
5291 rm -f conftest.
$ac_objext
5292 if { (ac_try
="$ac_compile"
5294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_compile") 2>conftest.er1
5300 grep -v '^ *+' conftest.er1 >conftest.err
5302 cat conftest.err >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); } && {
5305 test -z "$ac_c_werror_flag" ||
5306 test ! -s conftest.err
5307 } && test -s conftest.$ac_objext; then
5308 ac_header_compiler=yes
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 ac_header_compiler=no
5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5317 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5318 echo "${ECHO_T}$ac_header_compiler" >&6; }
5320 # Is the header present?
5321 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5323 cat >conftest.$ac_ext <<_ACEOF
5326 cat confdefs.h >>conftest.$ac_ext
5327 cat >>conftest.$ac_ext <<_ACEOF
5328 /* end confdefs.h. */
5329 #include <$ac_header>
5331 if { (ac_try="$ac_cpp conftest.$ac_ext"
5333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5334 *) ac_try_echo
=$ac_try;;
5336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5339 grep -v '^ *+' conftest.er1
>conftest.err
5341 cat conftest.err
>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } >/dev
/null
&& {
5344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5345 test ! -s conftest.err
5347 ac_header_preproc
=yes
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.
$ac_ext >&5
5352 ac_header_preproc
=no
5355 rm -f conftest.err conftest.
$ac_ext
5356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5357 echo "${ECHO_T}$ac_header_preproc" >&6; }
5359 # So? What about this header?
5360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5362 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5363 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5365 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5366 ac_header_preproc
=yes
5369 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5370 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5371 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5372 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5373 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5374 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5375 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5376 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5379 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5380 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5382 ## ----------------------------------------- ##
5383 ## Report this to ntfs-3g-devel@lists.sf.net ##
5384 ## ----------------------------------------- ##
5386 ) |
sed "s/^/$as_me: WARNING: /" >&2
5389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5391 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 eval "$as_ac_Header=\$ac_header_preproc"
5396 ac_res
=`eval echo '${'$as_ac_Header'}'`
5397 { echo "$as_me:$LINENO: result: $ac_res" >&5
5398 echo "${ECHO_T}$ac_res" >&6; }
5401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5402 cat >>confdefs.h
<<_ACEOF
5403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5411 ac_cpp
='$CXXCPP $CPPFLAGS'
5412 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5415 if test -z "$CXX"; then
5416 if test -n "$CCC"; then
5419 if test -n "$ac_tool_prefix"; then
5420 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5422 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5423 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5426 if test "${ac_cv_prog_CXX+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 if test -n "$CXX"; then
5430 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5436 test -z "$as_dir" && as_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 if test -n "$CXX"; then
5451 { echo "$as_me:$LINENO: result: $CXX" >&5
5452 echo "${ECHO_T}$CXX" >&6; }
5454 { echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6; }
5459 test -n "$CXX" && break
5462 if test -z "$CXX"; then
5464 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5466 # Extract the first word of "$ac_prog", so it can be a program name with args.
5467 set dummy
$ac_prog; ac_word
=$2
5468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5470 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 if test -n "$ac_ct_CXX"; then
5474 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5480 test -z "$as_dir" && as_dir
=.
5481 for ac_exec_ext
in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5494 if test -n "$ac_ct_CXX"; then
5495 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5496 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5498 { echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6; }
5503 test -n "$ac_ct_CXX" && break
5506 if test "x$ac_ct_CXX" = x
; then
5509 case $cross_compiling:$ac_tool_warned in
5511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5512 whose name does not start with the host triplet. If you think this
5513 configuration is useful to you, please write to autoconf@gnu.org." >&5
5514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5515 whose name does not start with the host triplet. If you think this
5516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5517 ac_tool_warned
=yes ;;
5525 # Provide some information about the compiler.
5526 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5527 ac_compiler
=`set X $ac_compile; echo $2`
5528 { (ac_try
="$ac_compiler --version >&5"
5530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5534 (eval "$ac_compiler --version >&5") 2>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }
5538 { (ac_try="$ac_compiler -v >&5"
5540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5541 *) ac_try_echo
=$ac_try;;
5543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5544 (eval "$ac_compiler -v >&5") 2>&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }
5548 { (ac_try
="$ac_compiler -V >&5"
5550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5551 *) ac_try_echo=$ac_try;;
5553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5554 (eval "$ac_compiler -V >&5") 2>&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }
5559 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5560 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 cat >conftest.$ac_ext <<_ACEOF
5567 cat confdefs.h >>conftest.$ac_ext
5568 cat >>conftest.$ac_ext <<_ACEOF
5569 /* end confdefs.h. */
5582 rm -f conftest.$ac_objext
5583 if { (ac_try="$ac_compile"
5585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5586 *) ac_try_echo
=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_compile") 2>conftest.er1
5591 grep -v '^ *+' conftest.er1
>conftest.err
5593 cat conftest.err
>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } && {
5596 test -z "$ac_cxx_werror_flag" ||
5597 test ! -s conftest.err
5598 } && test -s conftest.
$ac_objext; then
5601 echo "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.
$ac_ext >&5
5607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5608 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5611 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5612 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5613 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5614 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5615 ac_save_CXXFLAGS
=$CXXFLAGS
5616 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5617 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5618 if test "${ac_cv_prog_cxx_g+set}" = set; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5621 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5622 ac_cxx_werror_flag
=yes
5625 cat >conftest.
$ac_ext <<_ACEOF
5628 cat confdefs.h
>>conftest.
$ac_ext
5629 cat >>conftest.
$ac_ext <<_ACEOF
5630 /* end confdefs.h. */
5640 rm -f conftest.
$ac_objext
5641 if { (ac_try
="$ac_compile"
5643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5644 *) ac_try_echo=$ac_try;;
5646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647 (eval "$ac_compile") 2>conftest.er1
5649 grep -v '^ *+' conftest.er1 >conftest.err
5651 cat conftest.err >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } && {
5654 test -z "$ac_cxx_werror_flag" ||
5655 test ! -s conftest.err
5656 } && test -s conftest.$ac_objext; then
5657 ac_cv_prog_cxx_g=yes
5659 echo "$as_me: failed program was:" >&5
5660 sed 's/^/| /' conftest.$ac_ext >&5
5663 cat >conftest.$ac_ext <<_ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5678 rm -f conftest.$ac_objext
5679 if { (ac_try="$ac_compile"
5681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5682 *) ac_try_echo
=$ac_try;;
5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5685 (eval "$ac_compile") 2>conftest.er1
5687 grep -v '^ *+' conftest.er1
>conftest.err
5689 cat conftest.err
>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } && {
5692 test -z "$ac_cxx_werror_flag" ||
5693 test ! -s conftest.err
5694 } && test -s conftest.
$ac_objext; then
5697 echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.
$ac_ext >&5
5700 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5702 cat >conftest.
$ac_ext <<_ACEOF
5705 cat confdefs.h
>>conftest.
$ac_ext
5706 cat >>conftest.
$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5717 rm -f conftest.
$ac_objext
5718 if { (ac_try
="$ac_compile"
5720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5724 (eval "$ac_compile") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } && {
5731 test -z "$ac_cxx_werror_flag" ||
5732 test ! -s conftest.err
5733 } && test -s conftest.$ac_objext; then
5734 ac_cv_prog_cxx_g=yes
5736 echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.$ac_ext >&5
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5751 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5752 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5753 if test "$ac_test_CXXFLAGS" = set; then
5754 CXXFLAGS=$ac_save_CXXFLAGS
5755 elif test $ac_cv_prog_cxx_g = yes; then
5756 if test "$GXX" = yes; then
5762 if test "$GXX" = yes; then
5769 ac_cpp='$CXXCPP $CPPFLAGS'
5770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5774 depcc="$CXX" am_compiler_list=
5776 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5777 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5778 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5779 echo $ECHO_N "(cached) $ECHO_C" >&6
5781 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5782 # We make a subdir and do the tests there. Otherwise we can end up
5783 # making bogus files that we don't know about and never remove. For
5784 # instance it was reported that on HP-UX the gcc test will end up
5785 # making a dummy file named `D
' -- because `-MD' means
`put the output
5788 # Copy depcomp to subdir because otherwise we won't find it if we're
5789 # using a relative directory.
5790 cp "$am_depcomp" conftest.dir
5792 # We will build objects and dependencies in a subdirectory because
5793 # it helps to detect inapplicable dependency modes. For instance
5794 # both Tru64's cc and ICC support -MD to output dependencies as a
5795 # side effect of compilation, but ICC will put the dependencies in
5796 # the current directory while Tru64 will put them in the object
5800 am_cv_CXX_dependencies_compiler_type=none
5801 if test "$am_compiler_list" = ""; then
5802 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5804 for depmode in $am_compiler_list; do
5805 # Setup a source with many dependencies, because some compilers
5806 # like to wrap large dependency lists on column 80 (with \), and
5807 # we should not choose a depcomp mode which is confused by this.
5809 # We need to recreate these files for each test, as the compiler may
5810 # overwrite some of them when testing with obscure command lines.
5811 # This happens at least with the AIX C compiler.
5813 for i in 1 2 3 4 5 6; do
5814 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5815 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5816 # Solaris 8's
{/usr
,}/bin
/sh.
5817 touch sub
/conftst
$i.h
5819 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5823 # after this tag, mechanisms are not by side-effect, so they'll
5824 # only be used when explicitly requested
5825 if test "x$enable_dependency_tracking" = xyes
; then
5833 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5834 # mode. It turns out that the SunPro C++ compiler does not properly
5835 # handle `-M -o', and we need to detect this.
5836 if depmode
=$depmode \
5837 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5838 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5839 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5840 >/dev
/null
2>conftest.err
&&
5841 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5842 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5843 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5844 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5845 # icc doesn't choke on unknown options, it will just issue warnings
5846 # or remarks (even with -Werror). So we grep stderr for any message
5847 # that says an option was ignored or not supported.
5848 # When given -MP, icc 7.0 and 7.1 complain thusly:
5849 # icc: Command line warning: ignoring option '-M'; no argument required
5850 # The diagnosis changed in icc 8.0:
5851 # icc: Command line remark: option '-MP' not supported
5852 if (grep 'ignoring option' conftest.err ||
5853 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5854 am_cv_CXX_dependencies_compiler_type
=$depmode
5863 am_cv_CXX_dependencies_compiler_type
=none
5867 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5868 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5869 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5872 test "x$enable_dependency_tracking" != xno \
5873 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5874 am__fastdepCXX_TRUE
=
5875 am__fastdepCXX_FALSE
='#'
5877 am__fastdepCXX_TRUE
='#'
5878 am__fastdepCXX_FALSE
=
5884 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5885 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5886 (test "X$CXX" != "Xg++"))) ; then
5888 ac_cpp
='$CXXCPP $CPPFLAGS'
5889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5892 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5893 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5894 if test -z "$CXXCPP"; then
5895 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 # Double quotes because CXXCPP needs to be expanded
5899 for CXXCPP
in "$CXX -E" "/lib/cpp"
5902 for ac_cxx_preproc_warn_flag
in '' yes
5904 # Use a header file that comes with gcc, so configuring glibc
5905 # with a fresh cross-compiler works.
5906 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5907 # <limits.h> exists even on freestanding compilers.
5908 # On the NeXT, cc -E runs the code through the compiler's parser,
5909 # not just through cpp. "Syntax error" is here to catch this case.
5910 cat >conftest.
$ac_ext <<_ACEOF
5913 cat confdefs.h
>>conftest.
$ac_ext
5914 cat >>conftest.
$ac_ext <<_ACEOF
5915 /* end confdefs.h. */
5917 # include <limits.h>
5919 # include <assert.h>
5923 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5926 *) ac_try_echo=$ac_try;;
5928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5931 grep -v '^ *+' conftest.er1 >conftest.err
5933 cat conftest.err >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); } >/dev/null && {
5936 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5937 test ! -s conftest.err
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.$ac_ext >&5
5944 # Broken: fails on valid input.
5948 rm -f conftest.err conftest.$ac_ext
5950 # OK, works on sane cases. Now check whether nonexistent headers
5951 # can be detected and how.
5952 cat >conftest.$ac_ext <<_ACEOF
5955 cat confdefs.h >>conftest.$ac_ext
5956 cat >>conftest.$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5958 #include <ac_nonexistent.h>
5960 if { (ac_try="$ac_cpp conftest.$ac_ext"
5962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5963 *) ac_try_echo
=$ac_try;;
5965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5968 grep -v '^ *+' conftest.er1
>conftest.err
5970 cat conftest.err
>&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } >/dev
/null
&& {
5973 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5974 test ! -s conftest.err
5976 # Broken: success on invalid input.
5979 echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.
$ac_ext >&5
5982 # Passes both tests.
5987 rm -f conftest.err conftest.
$ac_ext
5990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5991 rm -f conftest.err conftest.
$ac_ext
5992 if $ac_preproc_ok; then
5997 ac_cv_prog_CXXCPP
=$CXXCPP
6000 CXXCPP
=$ac_cv_prog_CXXCPP
6002 ac_cv_prog_CXXCPP
=$CXXCPP
6004 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6005 echo "${ECHO_T}$CXXCPP" >&6; }
6007 for ac_cxx_preproc_warn_flag
in '' yes
6009 # Use a header file that comes with gcc, so configuring glibc
6010 # with a fresh cross-compiler works.
6011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6012 # <limits.h> exists even on freestanding compilers.
6013 # On the NeXT, cc -E runs the code through the compiler's parser,
6014 # not just through cpp. "Syntax error" is here to catch this case.
6015 cat >conftest.
$ac_ext <<_ACEOF
6018 cat confdefs.h
>>conftest.
$ac_ext
6019 cat >>conftest.
$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6022 # include <limits.h>
6024 # include <assert.h>
6028 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
6036 grep -v '^ *+' conftest.er1 >conftest.err
6038 cat conftest.err >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } >/dev/null && {
6041 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6042 test ! -s conftest.err
6046 echo "$as_me: failed program was:" >&5
6047 sed 's/^/| /' conftest.$ac_ext >&5
6049 # Broken: fails on valid input.
6053 rm -f conftest.err conftest.$ac_ext
6055 # OK, works on sane cases. Now check whether nonexistent headers
6056 # can be detected and how.
6057 cat >conftest.$ac_ext <<_ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 #include <ac_nonexistent.h>
6065 if { (ac_try="$ac_cpp conftest.$ac_ext"
6067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6068 *) ac_try_echo
=$ac_try;;
6070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6073 grep -v '^ *+' conftest.er1
>conftest.err
6075 cat conftest.err
>&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); } >/dev
/null
&& {
6078 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6079 test ! -s conftest.err
6081 # Broken: success on invalid input.
6084 echo "$as_me: failed program was:" >&5
6085 sed 's/^/| /' conftest.
$ac_ext >&5
6087 # Passes both tests.
6092 rm -f conftest.err conftest.
$ac_ext
6095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6096 rm -f conftest.err conftest.
$ac_ext
6097 if $ac_preproc_ok; then
6100 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6101 See \`config.log' for more details." >&5
6102 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6103 See \`config.log' for more details." >&2;}
6104 { (exit 1); exit 1; }; }
6108 ac_cpp
='$CXXCPP $CPPFLAGS'
6109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6117 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6118 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6119 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6120 if test -n "$ac_tool_prefix"; then
6121 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
6123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6124 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6127 if test "${ac_cv_prog_F77+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 if test -n "$F77"; then
6131 ac_cv_prog_F77
="$F77" # Let the user override the test.
6133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6137 test -z "$as_dir" && as_dir
=.
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 if test -n "$F77"; then
6152 { echo "$as_me:$LINENO: result: $F77" >&5
6153 echo "${ECHO_T}$F77" >&6; }
6155 { echo "$as_me:$LINENO: result: no" >&5
6156 echo "${ECHO_T}no" >&6; }
6160 test -n "$F77" && break
6163 if test -z "$F77"; then
6165 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
6167 # Extract the first word of "$ac_prog", so it can be a program name with args.
6168 set dummy
$ac_prog; ac_word
=$2
6169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6171 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6172 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 if test -n "$ac_ct_F77"; then
6175 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6181 test -z "$as_dir" && as_dir
=.
6182 for ac_exec_ext
in '' $ac_executable_extensions; do
6183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6184 ac_cv_prog_ac_ct_F77
="$ac_prog"
6185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6194 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6195 if test -n "$ac_ct_F77"; then
6196 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6197 echo "${ECHO_T}$ac_ct_F77" >&6; }
6199 { echo "$as_me:$LINENO: result: no" >&5
6200 echo "${ECHO_T}no" >&6; }
6204 test -n "$ac_ct_F77" && break
6207 if test "x$ac_ct_F77" = x
; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6213 whose name does not start with the host triplet. If you think this
6214 configuration is useful to you, please write to autoconf@gnu.org." >&5
6215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6216 whose name does not start with the host triplet. If you think this
6217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6218 ac_tool_warned
=yes ;;
6225 # Provide some information about the compiler.
6226 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6227 ac_compiler
=`set X $ac_compile; echo $2`
6228 { (ac_try
="$ac_compiler --version >&5"
6230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_compiler --version >&5") 2>&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }
6238 { (ac_try="$ac_compiler -v >&5"
6240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6241 *) ac_try_echo
=$ac_try;;
6243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6244 (eval "$ac_compiler -v >&5") 2>&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); }
6248 { (ac_try
="$ac_compiler -V >&5"
6250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6251 *) ac_try_echo=$ac_try;;
6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6254 (eval "$ac_compiler -V >&5") 2>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }
6260 # If we don't use `.F
' as extension, the preprocessor is not run on the
6261 # input file. (Note that this only needs to work for GNU compilers.)
6264 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6265 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6266 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6267 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 cat >conftest.$ac_ext <<_ACEOF
6277 rm -f conftest.$ac_objext
6278 if { (ac_try="$ac_compile"
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_compile") 2>conftest.er1
6286 grep -v '^
*+' conftest.er1 >conftest.err
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_f77_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest.$ac_objext; then
6296 echo "$as_me: failed program was:" >&5
6297 sed 's
/^
/|
/' conftest.$ac_ext >&5
6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6306 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6307 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6309 ac_test_FFLAGS=${FFLAGS+set}
6310 ac_save_FFLAGS=$FFLAGS
6312 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6313 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6314 if test "${ac_cv_prog_f77_g+set}" = set; then
6315 echo $ECHO_N "(cached) $ECHO_C" >&6
6318 cat >conftest.$ac_ext <<_ACEOF
6323 rm -f conftest.$ac_objext
6324 if { (ac_try="$ac_compile"
6326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327 *) ac_try_echo=$ac_try;;
6329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6330 (eval "$ac_compile") 2>conftest.er1
6332 grep -v '^
*+' conftest.er1 >conftest.err
6334 cat conftest.err >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } && {
6337 test -z "$ac_f77_werror_flag" ||
6338 test ! -s conftest.err
6339 } && test -s conftest.$ac_objext; then
6340 ac_cv_prog_f77_g=yes
6342 echo "$as_me: failed program was:" >&5
6343 sed 's
/^
/|
/' conftest.$ac_ext >&5
6348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6352 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6353 if test "$ac_test_FFLAGS" = set; then
6354 FFLAGS=$ac_save_FFLAGS
6355 elif test $ac_cv_prog_f77_g = yes; then
6356 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6362 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6369 G77=`test $ac_compiler_gnu = yes && echo yes`
6371 ac_cpp='$CPP $CPPFLAGS'
6372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6373 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6378 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6379 # find the maximum length of command line arguments
6380 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6381 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6382 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 # On DJGPP, this test can blow up pretty badly due to problems in libc
6391 # (any single argument exceeding 2000 bytes causes a buffer overrun
6392 # during glob expansion). Even if it were fixed, the result of this
6393 # check would be larger than it should be.
6394 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6398 # Under GNU Hurd, this test is not required because there is
6399 # no limit to the length of command line arguments.
6400 # Libtool will interpret -1 as no limit whatsoever
6401 lt_cv_sys_max_cmd_len
=-1;
6405 # On Win9x/ME, this test blows up -- it succeeds, but takes
6406 # about 5 minutes as the teststring grows exponentially.
6407 # Worse, since 9x/ME are not pre-emptively multitasking,
6408 # you end up with a "frozen" computer, even though with patience
6409 # the test eventually succeeds (with a max line length of 256k).
6410 # Instead, let's just punt: use the minimum linelength reported by
6411 # all of the supported platforms: 8192 (on NT/2K/XP).
6412 lt_cv_sys_max_cmd_len
=8192;
6416 # On AmigaOS with pdksh, this test takes hours, literally.
6417 # So we just punt and use a minimum line length of 8192.
6418 lt_cv_sys_max_cmd_len
=8192;
6421 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6422 # This has been around since 386BSD, at least. Likely further.
6423 if test -x /sbin
/sysctl
; then
6424 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6425 elif test -x /usr
/sbin
/sysctl
; then
6426 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6428 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6430 # And add a safety zone
6431 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6432 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6436 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6437 lt_cv_sys_max_cmd_len
=196608
6441 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6442 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6443 # nice to cause kernel panics so lets avoid the loop below.
6444 # First set a reasonable default.
6445 lt_cv_sys_max_cmd_len
=16384
6447 if test -x /sbin
/sysconfig
; then
6448 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6449 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6454 lt_cv_sys_max_cmd_len
=102400
6456 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6457 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6458 if test -n "$kargmax"; then
6459 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6461 lt_cv_sys_max_cmd_len
=32768
6465 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6466 if test -n "$lt_cv_sys_max_cmd_len"; then
6467 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6468 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6470 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6471 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6472 = "XX$teststring") >/dev
/null
2>&1 &&
6473 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6474 lt_cv_sys_max_cmd_len
=$new_result &&
6475 test $i != 17 # 1/2 MB should be enough
6478 teststring
=$teststring$teststring
6481 # Add a significant safety factor because C++ compilers can tack on massive
6482 # amounts of additional arguments before passing them to the linker.
6483 # It appears as though 1/2 is a usable value.
6484 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6491 if test -n $lt_cv_sys_max_cmd_len ; then
6492 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6493 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6495 { echo "$as_me:$LINENO: result: none" >&5
6496 echo "${ECHO_T}none" >&6; }
6503 # Check for command to grab the raw symbol name followed by C symbol from nm.
6504 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6505 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6506 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 # These are sane defaults that work on at least a few old systems.
6511 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6513 # Character class describing NM global symbol codes.
6514 symcode
='[BCDEGRST]'
6516 # Regexp to match symbols that can be accessed directly from C.
6517 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6519 # Transform an extracted symbol line into a proper C declaration
6520 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6522 # Transform an extracted symbol line into symbol name and symbol address
6523 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'"
6525 # Define system-specific variables.
6530 cygwin
* | mingw
* | pw32
*)
6531 symcode
='[ABCDGISTW]'
6533 hpux
*) # Its linker distinguishes data from code symbols
6534 if test "$host_cpu" = ia64
; then
6535 symcode
='[ABCDEGRST]'
6537 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6538 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'"
6540 linux
* | k
*bsd
*-gnu)
6541 if test "$host_cpu" = ia64
; then
6542 symcode
='[ABCDGIRSTW]'
6543 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6544 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'"
6548 symcode
='[BCDEGRST]'
6551 symcode
='[BCDEGQRST]'
6562 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6570 # Handle CRLF in mingw tool chain
6574 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6578 # If we're using GNU nm, then use its standard symbol codes.
6579 case `$NM -V 2>&1` in
6580 *GNU
* |
*'with BFD'*)
6581 symcode
='[ABCDGIRSTW]' ;;
6584 # Try without a prefix undercore, then with it.
6585 for ac_symprfx
in "" "_"; do
6587 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6588 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6590 # Write the raw and C identifiers.
6591 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6593 # Check to see that the pipe works correctly.
6597 cat > conftest.
$ac_ext <<EOF
6602 void nm_test_func(){}
6606 int main(){nm_test_var='a';nm_test_func();return(0);}
6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6610 (eval $ac_compile) 2>&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; then
6614 # Now try to grab the symbols.
6616 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6617 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); } && test -s "$nlist"; then
6621 # Try sorting and uniquifying the output.
6622 if sort "$nlist" |
uniq > "$nlist"T
; then
6623 mv -f "$nlist"T
"$nlist"
6628 # Make sure that we snagged all the symbols we need.
6629 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6630 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6631 cat <<EOF > conftest.$ac_ext
6637 # Now generate the symbol file.
6638 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6640 cat <<EOF >> conftest.$ac_ext
6641 #if defined (__STDC__) && __STDC__
6642 # define lt_ptr_t void *
6644 # define lt_ptr_t char *
6648 /* The mapping between symbol names and symbols. */
6653 lt_preloaded_symbols[] =
6656 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6657 cat <<\EOF
>> conftest.
$ac_ext
6665 # Now try linking the two files.
6666 mv conftest.
$ac_objext conftstm.
$ac_objext
6667 lt_save_LIBS
="$LIBS"
6668 lt_save_CFLAGS
="$CFLAGS"
6669 LIBS
="conftstm.$ac_objext"
6670 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6672 (eval $ac_link) 2>&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6678 LIBS
="$lt_save_LIBS"
6679 CFLAGS
="$lt_save_CFLAGS"
6681 echo "cannot find nm_test_func in $nlist" >&5
6684 echo "cannot find nm_test_var in $nlist" >&5
6687 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6690 echo "$progname: failed program was:" >&5
6691 cat conftest.
$ac_ext >&5
6693 rm -rf conftest
* conftst
*
6695 # Do not use the global_symbol_pipe unless it works.
6696 if test "$pipe_works" = yes; then
6699 lt_cv_sys_global_symbol_pipe
=
6705 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6706 lt_cv_sys_global_symbol_to_cdecl
=
6708 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6709 { echo "$as_me:$LINENO: result: failed" >&5
6710 echo "${ECHO_T}failed" >&6; }
6712 { echo "$as_me:$LINENO: result: ok" >&5
6713 echo "${ECHO_T}ok" >&6; }
6716 { echo "$as_me:$LINENO: checking for objdir" >&5
6717 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6718 if test "${lt_cv_objdir+set}" = set; then
6719 echo $ECHO_N "(cached) $ECHO_C" >&6
6721 rm -f .libs
2>/dev
/null
6722 mkdir .libs
2>/dev
/null
6723 if test -d .libs
; then
6726 # MS-DOS does not allow filenames that begin with a dot.
6729 rmdir .libs
2>/dev
/null
6731 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6732 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6733 objdir
=$lt_cv_objdir
6741 # AIX sometimes has problems with the GCC collect2 program. For some
6742 # reason, if we set the COLLECT_NAMES environment variable, the problems
6743 # vanish in a puff of smoke.
6744 if test "X${COLLECT_NAMES+set}" != Xset
; then
6746 export COLLECT_NAMES
6751 # Sed substitution that helps us do robust quoting. It backslashifies
6752 # metacharacters that are still active within double-quoted strings.
6753 Xsed
='sed -e 1s/^X//'
6754 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6756 # Same as above, but do not quote variable references.
6757 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6759 # Sed substitution to delay expansion of an escaped shell variable in a
6760 # double_quote_subst'ed string.
6761 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6763 # Sed substitution to avoid accidental globbing in evaled expressions
6764 no_glob_subst
='s/\*/\\\*/g'
6770 default_ofile
=libtool
6771 can_build_shared
=yes
6773 # All known linkers require a `.a' archive for static linking (except MSVC,
6774 # which needs '.lib').
6776 ltmain
="$ac_aux_dir/ltmain.sh"
6777 ofile
="$default_ofile"
6778 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6782 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6785 if test "${ac_cv_prog_AR+set}" = set; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 if test -n "$AR"; then
6789 ac_cv_prog_AR
="$AR" # Let the user override the test.
6791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir
=.
6796 for ac_exec_ext
in '' $ac_executable_extensions; do
6797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6798 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 if test -n "$AR"; then
6810 { echo "$as_me:$LINENO: result: $AR" >&5
6811 echo "${ECHO_T}$AR" >&6; }
6813 { echo "$as_me:$LINENO: result: no" >&5
6814 echo "${ECHO_T}no" >&6; }
6819 if test -z "$ac_cv_prog_AR"; then
6821 # Extract the first word of "ar", so it can be a program name with args.
6822 set dummy
ar; ac_word
=$2
6823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6825 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6826 echo $ECHO_N "(cached) $ECHO_C" >&6
6828 if test -n "$ac_ct_AR"; then
6829 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir
=.
6836 for ac_exec_ext
in '' $ac_executable_extensions; do
6837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6838 ac_cv_prog_ac_ct_AR
="ar"
6839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6848 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6849 if test -n "$ac_ct_AR"; then
6850 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6851 echo "${ECHO_T}$ac_ct_AR" >&6; }
6853 { echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6; }
6857 if test "x$ac_ct_AR" = x
; then
6860 case $cross_compiling:$ac_tool_warned in
6862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6863 whose name does not start with the host triplet. If you think this
6864 configuration is useful to you, please write to autoconf@gnu.org." >&5
6865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6866 whose name does not start with the host triplet. If you think this
6867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6868 ac_tool_warned
=yes ;;
6876 if test -n "$ac_tool_prefix"; then
6877 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6878 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6881 if test "${ac_cv_prog_RANLIB+set}" = set; then
6882 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 if test -n "$RANLIB"; then
6885 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6891 test -z "$as_dir" && as_dir
=.
6892 for ac_exec_ext
in '' $ac_executable_extensions; do
6893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6894 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6904 RANLIB
=$ac_cv_prog_RANLIB
6905 if test -n "$RANLIB"; then
6906 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6907 echo "${ECHO_T}$RANLIB" >&6; }
6909 { echo "$as_me:$LINENO: result: no" >&5
6910 echo "${ECHO_T}no" >&6; }
6915 if test -z "$ac_cv_prog_RANLIB"; then
6916 ac_ct_RANLIB
=$RANLIB
6917 # Extract the first word of "ranlib", so it can be a program name with args.
6918 set dummy ranlib
; ac_word
=$2
6919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6921 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6922 echo $ECHO_N "(cached) $ECHO_C" >&6
6924 if test -n "$ac_ct_RANLIB"; then
6925 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6931 test -z "$as_dir" && as_dir
=.
6932 for ac_exec_ext
in '' $ac_executable_extensions; do
6933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6934 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6944 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6945 if test -n "$ac_ct_RANLIB"; then
6946 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6947 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6949 { echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6; }
6953 if test "x$ac_ct_RANLIB" = x
; then
6956 case $cross_compiling:$ac_tool_warned in
6958 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6959 whose name does not start with the host triplet. If you think this
6960 configuration is useful to you, please write to autoconf@gnu.org." >&5
6961 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6962 whose name does not start with the host triplet. If you think this
6963 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6964 ac_tool_warned
=yes ;;
6966 RANLIB
=$ac_ct_RANLIB
6969 RANLIB
="$ac_cv_prog_RANLIB"
6972 if test -n "$ac_tool_prefix"; then
6973 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6974 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6977 if test "${ac_cv_prog_STRIP+set}" = set; then
6978 echo $ECHO_N "(cached) $ECHO_C" >&6
6980 if test -n "$STRIP"; then
6981 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6987 test -z "$as_dir" && as_dir
=.
6988 for ac_exec_ext
in '' $ac_executable_extensions; do
6989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6990 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7000 STRIP
=$ac_cv_prog_STRIP
7001 if test -n "$STRIP"; then
7002 { echo "$as_me:$LINENO: result: $STRIP" >&5
7003 echo "${ECHO_T}$STRIP" >&6; }
7005 { echo "$as_me:$LINENO: result: no" >&5
7006 echo "${ECHO_T}no" >&6; }
7011 if test -z "$ac_cv_prog_STRIP"; then
7013 # Extract the first word of "strip", so it can be a program name with args.
7014 set dummy strip
; ac_word
=$2
7015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7017 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 if test -n "$ac_ct_STRIP"; then
7021 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7027 test -z "$as_dir" && as_dir
=.
7028 for ac_exec_ext
in '' $ac_executable_extensions; do
7029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7030 ac_cv_prog_ac_ct_STRIP
="strip"
7031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7040 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7041 if test -n "$ac_ct_STRIP"; then
7042 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7043 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7045 { echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6; }
7049 if test "x$ac_ct_STRIP" = x
; then
7052 case $cross_compiling:$ac_tool_warned in
7054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7055 whose name does not start with the host triplet. If you think this
7056 configuration is useful to you, please write to autoconf@gnu.org." >&5
7057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7058 whose name does not start with the host triplet. If you think this
7059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7060 ac_tool_warned
=yes ;;
7065 STRIP
="$ac_cv_prog_STRIP"
7070 old_CFLAGS
="$CFLAGS"
7072 # Set sane defaults for various variables
7073 test -z "$AR" && AR
=ar
7074 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7075 test -z "$AS" && AS
=as
7076 test -z "$CC" && CC
=cc
7077 test -z "$LTCC" && LTCC
=$CC
7078 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7079 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7080 test -z "$LD" && LD
=ld
7081 test -z "$LN_S" && LN_S
="ln -s"
7082 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7083 test -z "$NM" && NM
=nm
7084 test -z "$SED" && SED
=sed
7085 test -z "$OBJDUMP" && OBJDUMP
=objdump
7086 test -z "$RANLIB" && RANLIB
=:
7087 test -z "$STRIP" && STRIP
=:
7088 test -z "$ac_objext" && ac_objext
=o
7090 # Determine commands to create old-style static archives.
7091 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7092 old_postinstall_cmds
='chmod 644 $oldlib'
7093 old_postuninstall_cmds
=
7095 if test -n "$RANLIB"; then
7098 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7101 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7104 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7107 for cc_temp
in $compiler""; do
7109 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7110 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7115 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7118 # Only perform the check for file, if the check method requires it
7119 case $deplibs_check_method in
7121 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7122 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7123 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7124 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7132 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7133 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7134 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7135 for ac_dir
in $ac_dummy; do
7137 test -z "$ac_dir" && ac_dir
=.
7138 if test -f $ac_dir/${ac_tool_prefix}file; then
7139 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7140 if test -n "$file_magic_test_file"; then
7141 case $deplibs_check_method in
7143 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7144 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7145 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7146 $EGREP "$file_magic_regex" > /dev
/null
; then
7151 *** Warning: the command libtool uses to detect shared libraries,
7152 *** $file_magic_cmd, produces output that libtool cannot recognize.
7153 *** The result is that libtool may fail to recognize shared libraries
7154 *** as such. This will affect the creation of libtool libraries that
7155 *** depend on shared libraries, but programs linked with such libtool
7156 *** libraries will work regardless of this problem. Nevertheless, you
7157 *** may want to report the problem to your system manager and/or to
7158 *** bug-libtool@gnu.org
7168 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7173 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7174 if test -n "$MAGIC_CMD"; then
7175 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7176 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7178 { echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6; }
7182 if test -z "$lt_cv_path_MAGIC_CMD"; then
7183 if test -n "$ac_tool_prefix"; then
7184 { echo "$as_me:$LINENO: checking for file" >&5
7185 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7186 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7191 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7194 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7195 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7196 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7197 for ac_dir
in $ac_dummy; do
7199 test -z "$ac_dir" && ac_dir
=.
7200 if test -f $ac_dir/file; then
7201 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7202 if test -n "$file_magic_test_file"; then
7203 case $deplibs_check_method in
7205 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7206 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7207 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7208 $EGREP "$file_magic_regex" > /dev
/null
; then
7213 *** Warning: the command libtool uses to detect shared libraries,
7214 *** $file_magic_cmd, produces output that libtool cannot recognize.
7215 *** The result is that libtool may fail to recognize shared libraries
7216 *** as such. This will affect the creation of libtool libraries that
7217 *** depend on shared libraries, but programs linked with such libtool
7218 *** libraries will work regardless of this problem. Nevertheless, you
7219 *** may want to report the problem to your system manager and/or to
7220 *** bug-libtool@gnu.org
7230 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7235 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7236 if test -n "$MAGIC_CMD"; then
7237 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7238 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7240 { echo "$as_me:$LINENO: result: no" >&5
7241 echo "${ECHO_T}no" >&6; }
7255 rhapsody
* | darwin
*)
7256 if test -n "$ac_tool_prefix"; then
7257 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7258 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7261 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7262 echo $ECHO_N "(cached) $ECHO_C" >&6
7264 if test -n "$DSYMUTIL"; then
7265 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7271 test -z "$as_dir" && as_dir
=.
7272 for ac_exec_ext
in '' $ac_executable_extensions; do
7273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7274 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7285 if test -n "$DSYMUTIL"; then
7286 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7287 echo "${ECHO_T}$DSYMUTIL" >&6; }
7289 { echo "$as_me:$LINENO: result: no" >&5
7290 echo "${ECHO_T}no" >&6; }
7295 if test -z "$ac_cv_prog_DSYMUTIL"; then
7296 ac_ct_DSYMUTIL
=$DSYMUTIL
7297 # Extract the first word of "dsymutil", so it can be a program name with args.
7298 set dummy dsymutil
; ac_word
=$2
7299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7301 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7302 echo $ECHO_N "(cached) $ECHO_C" >&6
7304 if test -n "$ac_ct_DSYMUTIL"; then
7305 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7311 test -z "$as_dir" && as_dir
=.
7312 for ac_exec_ext
in '' $ac_executable_extensions; do
7313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7314 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7325 if test -n "$ac_ct_DSYMUTIL"; then
7326 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7327 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7329 { echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6; }
7333 if test "x$ac_ct_DSYMUTIL" = x
; then
7336 case $cross_compiling:$ac_tool_warned in
7338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7339 whose name does not start with the host triplet. If you think this
7340 configuration is useful to you, please write to autoconf@gnu.org." >&5
7341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7342 whose name does not start with the host triplet. If you think this
7343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7344 ac_tool_warned
=yes ;;
7346 DSYMUTIL
=$ac_ct_DSYMUTIL
7349 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7352 if test -n "$ac_tool_prefix"; then
7353 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7354 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7357 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 if test -n "$NMEDIT"; then
7361 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir
=.
7368 for ac_exec_ext
in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 NMEDIT
=$ac_cv_prog_NMEDIT
7381 if test -n "$NMEDIT"; then
7382 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7383 echo "${ECHO_T}$NMEDIT" >&6; }
7385 { echo "$as_me:$LINENO: result: no" >&5
7386 echo "${ECHO_T}no" >&6; }
7391 if test -z "$ac_cv_prog_NMEDIT"; then
7392 ac_ct_NMEDIT
=$NMEDIT
7393 # Extract the first word of "nmedit", so it can be a program name with args.
7394 set dummy nmedit
; ac_word
=$2
7395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7397 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7398 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 if test -n "$ac_ct_NMEDIT"; then
7401 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir
=.
7408 for ac_exec_ext
in '' $ac_executable_extensions; do
7409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7410 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7421 if test -n "$ac_ct_NMEDIT"; then
7422 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7423 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7425 { echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6; }
7429 if test "x$ac_ct_NMEDIT" = x
; then
7432 case $cross_compiling:$ac_tool_warned in
7434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7435 whose name does not start with the host triplet. If you think this
7436 configuration is useful to you, please write to autoconf@gnu.org." >&5
7437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7438 whose name does not start with the host triplet. If you think this
7439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7440 ac_tool_warned
=yes ;;
7442 NMEDIT
=$ac_ct_NMEDIT
7445 NMEDIT
="$ac_cv_prog_NMEDIT"
7449 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7450 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7451 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 lt_cv_apple_cc_single_mod
=no
7455 if test -z "${LT_MULTI_MODULE}"; then
7456 # By default we will add the -single_module flag. You can override
7457 # by either setting the environment variable LT_MULTI_MODULE
7458 # non-empty at configure time, or by adding -multi_module to the
7460 echo "int foo(void){return 1;}" > conftest.c
7461 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7462 -dynamiclib ${wl}-single_module conftest.c
7463 if test -f libconftest.dylib
; then
7464 lt_cv_apple_cc_single_mod
=yes
7465 rm -rf libconftest.dylib
*
7470 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7471 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7472 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7473 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7474 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 lt_cv_ld_exported_symbols_list
=no
7478 save_LDFLAGS
=$LDFLAGS
7479 echo "_main" > conftest.sym
7480 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7481 cat >conftest.
$ac_ext <<_ACEOF
7484 cat confdefs.h
>>conftest.
$ac_ext
7485 cat >>conftest.
$ac_ext <<_ACEOF
7486 /* end confdefs.h. */
7496 rm -f conftest.
$ac_objext conftest
$ac_exeext
7497 if { (ac_try
="$ac_link"
7499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7500 *) ac_try_echo=$ac_try;;
7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7503 (eval "$ac_link") 2>conftest.er1
7505 grep -v '^ *+' conftest.er1 >conftest.err
7507 cat conftest.err >&5
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); } && {
7510 test -z "$ac_c_werror_flag" ||
7511 test ! -s conftest.err
7512 } && test -s conftest$ac_exeext &&
7513 $as_test_x conftest$ac_exeext; then
7514 lt_cv_ld_exported_symbols_list=yes
7516 echo "$as_me: failed program was:" >&5
7517 sed 's/^/| /' conftest.$ac_ext >&5
7519 lt_cv_ld_exported_symbols_list=no
7522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7523 conftest$ac_exeext conftest.$ac_ext
7524 LDFLAGS="$save_LDFLAGS"
7527 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7528 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7530 rhapsody* | darwin1.[0123])
7531 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7533 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7535 # if running on 10.5 or later, the deployment target defaults
7536 # to the OS version, if on x86, and 10.4, the deployment
7537 # target defaults to 10.4. Don't you love it?
7538 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7539 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7540 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7542 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7544 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7548 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7549 _lt_dar_single_mod='$single_module'
7551 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7552 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7554 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7556 if test "$DSYMUTIL" != ":"; then
7557 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7568 # Check whether --enable-libtool-lock was given.
7569 if test "${enable_libtool_lock+set}" = set; then
7570 enableval=$enable_libtool_lock;
7573 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7576 # Check whether --with-pic was given.
7577 if test "${with_pic+set}" = set; then
7578 withval=$with_pic; pic_mode="$withval"
7583 test -z "$pic_mode" && pic_mode=default
7585 # Use C for the default configuration in the libtool script
7589 ac_cpp='$CPP $CPPFLAGS'
7590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595 # Source file extension for C test sources.
7598 # Object file extension for compiled C test sources.
7602 # Code to be used in simple compile tests
7603 lt_simple_compile_test_code="int some_variable = 0;"
7605 # Code to be used in simple link tests
7606 lt_simple_link_test_code='int main(){return(0);}'
7609 # If no C compiler was specified, use CC.
7612 # If no C compiler flags were specified, use CFLAGS.
7613 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7615 # Allow CC to be a program name with arguments.
7619 # save warnings/boilerplate of simple test code
7620 ac_outfile=conftest.$ac_objext
7621 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7622 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7623 _lt_compiler_boilerplate=`cat conftest.err
`
7626 ac_outfile=conftest.$ac_objext
7627 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7628 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7629 _lt_linker_boilerplate=`cat conftest.err
`
7634 lt_prog_compiler_no_builtin_flag=
7636 if test "$GCC" = yes; then
7637 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7640 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7641 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7642 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7643 echo $ECHO_N "(cached) $ECHO_C" >&6
7645 lt_cv_prog_compiler_rtti_exceptions=no
7646 ac_outfile=conftest.$ac_objext
7647 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7648 lt_compiler_flag="-fno-rtti -fno-exceptions"
7649 # Insert the option either (1) after the last *FLAGS variable, or
7650 # (2) before a word containing "conftest.", or (3) at the end.
7651 # Note that $ac_compile itself does not contain backslashes and begins
7652 # with a dollar sign (not a hyphen), so the echo should work correctly.
7653 # The option is referenced via a variable to avoid confusing sed.
7654 lt_compile=`echo "$ac_compile" |
$SED \
7655 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7657 -e 's:$: $lt_compiler_flag:'`
7658 (eval echo "\"\$as_me:7658: $lt_compile\"" >&5)
7659 (eval "$lt_compile" 2>conftest.err)
7661 cat conftest.err >&5
7662 echo "$as_me:7662: \$? = $ac_status" >&5
7663 if (exit $ac_status) && test -s "$ac_outfile"; then
7664 # The compiler can only warn and ignore the option if not recognized
7665 # So say no if there are warnings other than the usual output.
7666 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7667 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7668 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7669 lt_cv_prog_compiler_rtti_exceptions=yes
7675 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7676 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7678 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7679 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7686 lt_prog_compiler_wl=
7687 lt_prog_compiler_pic=
7688 lt_prog_compiler_static=
7690 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7691 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7693 if test "$GCC" = yes; then
7694 lt_prog_compiler_wl='-Wl,'
7695 lt_prog_compiler_static='-static'
7699 # All AIX code is PIC.
7700 if test "$host_cpu" = ia64; then
7701 # AIX 5 now supports IA64 processor
7702 lt_prog_compiler_static='-Bstatic'
7707 # FIXME: we need at least 68020 code to build shared libraries, but
7708 # adding the `-m68020' flag to GCC prevents building anything better,
7710 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7713 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7714 # PIC is the default for these OSes.
7717 mingw
* | cygwin
* | pw32
* | os2
*)
7718 # This hack is so that the source file can tell whether it is being
7719 # built for inclusion in a dll (and should export symbols for example).
7720 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7721 # (--disable-auto-import) libraries
7722 lt_prog_compiler_pic
='-DDLL_EXPORT'
7725 darwin
* | rhapsody
*)
7726 # PIC is the default on this platform
7727 # Common symbols not allowed in MH_DYLIB files
7728 lt_prog_compiler_pic
='-fno-common'
7732 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7733 # Instead, we relocate shared libraries at runtime.
7737 # Just because we use GCC doesn't mean we suddenly get shared libraries
7738 # on systems that don't support them.
7739 lt_prog_compiler_can_build_shared
=no
7744 if test -d /usr
/nec
; then
7745 lt_prog_compiler_pic
=-Kconform_pic
7750 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7757 lt_prog_compiler_pic
='-fPIC'
7763 lt_prog_compiler_pic
='-fPIC'
7767 # PORTME Check for flag to pass linker flags through the system compiler.
7770 lt_prog_compiler_wl
='-Wl,'
7771 if test "$host_cpu" = ia64
; then
7772 # AIX 5 now supports IA64 processor
7773 lt_prog_compiler_static
='-Bstatic'
7775 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7779 # PIC is the default on this platform
7780 # Common symbols not allowed in MH_DYLIB files
7781 case $cc_basename in
7783 lt_prog_compiler_pic
='-qnocommon'
7784 lt_prog_compiler_wl
='-Wl,'
7789 mingw
* | cygwin
* | pw32
* | os2
*)
7790 # This hack is so that the source file can tell whether it is being
7791 # built for inclusion in a dll (and should export symbols for example).
7792 lt_prog_compiler_pic
='-DDLL_EXPORT'
7795 hpux9
* | hpux10
* | hpux11
*)
7796 lt_prog_compiler_wl
='-Wl,'
7797 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7804 lt_prog_compiler_pic
='+Z'
7807 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7808 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7811 irix5
* | irix6
* | nonstopux
*)
7812 lt_prog_compiler_wl
='-Wl,'
7813 # PIC (with -KPIC) is the default.
7814 lt_prog_compiler_static
='-non_shared'
7818 lt_prog_compiler_pic
='-KPIC'
7819 lt_prog_compiler_static
='-Bstatic'
7822 linux
* | k
*bsd
*-gnu)
7823 case $cc_basename in
7825 lt_prog_compiler_wl
='-Wl,'
7826 lt_prog_compiler_pic
='-KPIC'
7827 lt_prog_compiler_static
='-static'
7829 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7830 # Portland Group compilers (*not* the Pentium gcc compiler,
7831 # which looks to be a dead project)
7832 lt_prog_compiler_wl
='-Wl,'
7833 lt_prog_compiler_pic
='-fpic'
7834 lt_prog_compiler_static
='-Bstatic'
7837 lt_prog_compiler_wl
='-Wl,'
7838 # All Alpha code is PIC.
7839 lt_prog_compiler_static
='-non_shared'
7842 case `$CC -V 2>&1 | sed 5q` in
7845 lt_prog_compiler_pic
='-KPIC'
7846 lt_prog_compiler_static
='-Bstatic'
7847 lt_prog_compiler_wl
='-Wl,'
7850 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7851 lt_prog_compiler_pic
='-KPIC'
7852 lt_prog_compiler_static
='-Bstatic'
7853 lt_prog_compiler_wl
=''
7860 osf3
* | osf4
* | osf5
*)
7861 lt_prog_compiler_wl
='-Wl,'
7862 # All OSF/1 code is PIC.
7863 lt_prog_compiler_static
='-non_shared'
7867 lt_prog_compiler_static
='-non_shared'
7871 lt_prog_compiler_pic
='-KPIC'
7872 lt_prog_compiler_static
='-Bstatic'
7873 case $cc_basename in
7875 lt_prog_compiler_wl
='-Qoption ld ';;
7877 lt_prog_compiler_wl
='-Wl,';;
7882 lt_prog_compiler_wl
='-Qoption ld '
7883 lt_prog_compiler_pic
='-PIC'
7884 lt_prog_compiler_static
='-Bstatic'
7887 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7888 lt_prog_compiler_wl
='-Wl,'
7889 lt_prog_compiler_pic
='-KPIC'
7890 lt_prog_compiler_static
='-Bstatic'
7894 if test -d /usr
/nec
;then
7895 lt_prog_compiler_pic
='-Kconform_pic'
7896 lt_prog_compiler_static
='-Bstatic'
7900 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7901 lt_prog_compiler_wl
='-Wl,'
7902 lt_prog_compiler_pic
='-KPIC'
7903 lt_prog_compiler_static
='-Bstatic'
7907 lt_prog_compiler_wl
='-Wl,'
7908 lt_prog_compiler_can_build_shared
=no
7912 lt_prog_compiler_pic
='-pic'
7913 lt_prog_compiler_static
='-Bstatic'
7917 lt_prog_compiler_can_build_shared
=no
7922 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7923 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7926 # Check to make sure the PIC flag actually works.
7928 if test -n "$lt_prog_compiler_pic"; then
7930 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7931 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7932 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 lt_cv_prog_compiler_pic_works
=no
7936 ac_outfile
=conftest.
$ac_objext
7937 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7938 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7939 # Insert the option either (1) after the last *FLAGS variable, or
7940 # (2) before a word containing "conftest.", or (3) at the end.
7941 # Note that $ac_compile itself does not contain backslashes and begins
7942 # with a dollar sign (not a hyphen), so the echo should work correctly.
7943 # The option is referenced via a variable to avoid confusing sed.
7944 lt_compile
=`echo "$ac_compile" | $SED \
7945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7947 -e 's:$: $lt_compiler_flag:'`
7948 (eval echo "\"\$as_me:7948: $lt_compile\"" >&5)
7949 (eval "$lt_compile" 2>conftest.err
)
7951 cat conftest.err
>&5
7952 echo "$as_me:7952: \$? = $ac_status" >&5
7953 if (exit $ac_status) && test -s "$ac_outfile"; then
7954 # The compiler can only warn and ignore the option if not recognized
7955 # So say no if there are warnings other than the usual output.
7956 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7957 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7958 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7959 lt_cv_prog_compiler_pic_works
=yes
7965 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7966 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7968 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7969 case $lt_prog_compiler_pic in
7971 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7974 lt_prog_compiler_pic
=
7975 lt_prog_compiler_can_build_shared
=no
7980 # For platforms which do not support PIC, -DPIC is meaningless:
7982 lt_prog_compiler_pic
=
7985 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7990 # Check to make sure the static flag actually works.
7992 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7993 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7994 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7995 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 lt_cv_prog_compiler_static_works
=no
7999 save_LDFLAGS
="$LDFLAGS"
8000 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8001 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8002 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8003 # The linker can only warn and ignore the option if not recognized
8004 # So say no if there are warnings
8005 if test -s conftest.err
; then
8006 # Append any errors to the config.log.
8007 cat conftest.err
1>&5
8008 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8009 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8010 if diff conftest.exp conftest.er2
>/dev
/null
; then
8011 lt_cv_prog_compiler_static_works
=yes
8014 lt_cv_prog_compiler_static_works
=yes
8018 LDFLAGS
="$save_LDFLAGS"
8021 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8022 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8024 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8027 lt_prog_compiler_static
=
8031 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8032 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8033 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8034 echo $ECHO_N "(cached) $ECHO_C" >&6
8036 lt_cv_prog_compiler_c_o
=no
8037 $rm -r conftest
2>/dev
/null
8041 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8043 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8044 # Insert the option either (1) after the last *FLAGS variable, or
8045 # (2) before a word containing "conftest.", or (3) at the end.
8046 # Note that $ac_compile itself does not contain backslashes and begins
8047 # with a dollar sign (not a hyphen), so the echo should work correctly.
8048 lt_compile
=`echo "$ac_compile" | $SED \
8049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8051 -e 's:$: $lt_compiler_flag:'`
8052 (eval echo "\"\$as_me:8052: $lt_compile\"" >&5)
8053 (eval "$lt_compile" 2>out
/conftest.err
)
8055 cat out
/conftest.err
>&5
8056 echo "$as_me:8056: \$? = $ac_status" >&5
8057 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8059 # The compiler can only warn and ignore the option if not recognized
8060 # So say no if there are warnings
8061 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8062 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8063 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8064 lt_cv_prog_compiler_c_o
=yes
8069 # SGI C++ compiler will create directory out/ii_files/ for
8070 # template instantiation
8071 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8072 $rm out
/* && rmdir out
8078 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8079 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8082 hard_links
="nottested"
8083 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8084 # do not overwrite the value of need_locks provided by the user
8085 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8086 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8089 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8091 ln conftest.a conftest.b
2>&5 || hard_links
=no
8092 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8093 { echo "$as_me:$LINENO: result: $hard_links" >&5
8094 echo "${ECHO_T}$hard_links" >&6; }
8095 if test "$hard_links" = no
; then
8096 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8097 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8104 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8105 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8108 allow_undefined_flag
=
8109 enable_shared_with_static_runtimes
=no
8111 archive_expsym_cmds
=
8112 old_archive_From_new_cmds
=
8113 old_archive_from_expsyms_cmds
=
8114 export_dynamic_flag_spec
=
8115 whole_archive_flag_spec
=
8116 thread_safe_flag_spec
=
8117 hardcode_libdir_flag_spec
=
8118 hardcode_libdir_flag_spec_ld
=
8119 hardcode_libdir_separator
=
8122 hardcode_shlibpath_var
=unsupported
8123 link_all_deplibs
=unknown
8124 hardcode_automatic
=no
8127 always_export_symbols
=no
8128 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8129 # include_expsyms should be a list of space-separated symbols to be *always*
8130 # included in the symbol list
8132 # exclude_expsyms can be an extended regexp of symbols to exclude
8133 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8134 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8135 # as well as any symbol that contains `d'.
8136 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8137 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8138 # platforms (ab)use it in PIC code, but their linkers get confused if
8139 # the symbol is explicitly referenced. Since portable code cannot
8140 # rely on this symbol name, it's probably fine to never include it in
8141 # preloaded symbol tables.
8142 # Exclude shared library initialization/finalization symbols.
8143 extract_expsyms_cmds
=
8144 # Just being paranoid about ensuring that cc_basename is set.
8145 for cc_temp
in $compiler""; do
8147 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8148 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8153 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8156 cygwin
* | mingw
* | pw32
*)
8157 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8158 # When not using gcc, we currently assume that we are using
8159 # Microsoft Visual C++.
8160 if test "$GCC" != yes; then
8165 # we just hope/assume this is gcc and not c89 (= MSVC++)
8174 if test "$with_gnu_ld" = yes; then
8175 # If archive_cmds runs LD, not CC, wlarc should be empty
8178 # Set some defaults for GNU ld with shared library support. These
8179 # are reset later if shared libraries are not supported. Putting them
8180 # here allows them to be overridden if necessary.
8181 runpath_var
=LD_RUN_PATH
8182 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8183 export_dynamic_flag_spec
='${wl}--export-dynamic'
8184 # ancient GNU ld didn't support --whole-archive et. al.
8185 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8186 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8188 whole_archive_flag_spec
=
8190 supports_anon_versioning
=no
8191 case `$LD -v 2>/dev/null` in
8192 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8193 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8194 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8195 *\
2.11.
*) ;; # other 2.11 versions
8196 *) supports_anon_versioning
=yes ;;
8199 # See if GNU ld supports shared libraries.
8202 # On AIX/PPC, the GNU linker is very broken
8203 if test "$host_cpu" != ia64
; then
8207 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8208 *** to be unable to reliably create shared libraries on AIX.
8209 *** Therefore, libtool is disabling shared libraries support. If you
8210 *** really care for shared libraries, you may want to modify your PATH
8211 *** so that a non-GNU linker is found, and then restart.
8218 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)'
8219 hardcode_libdir_flag_spec
='-L$libdir'
8220 hardcode_minus_L
=yes
8222 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8223 # that the semantics of dynamic libraries on AmigaOS, at least up
8224 # to version 4, is to share data among multiple programs linked
8225 # with the same dynamic library. Since this doesn't match the
8226 # behavior of shared libraries on other platforms, we can't use
8232 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8233 allow_undefined_flag
=unsupported
8234 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8235 # support --undefined. This deserves some investigation. FIXME
8236 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8242 cygwin
* | mingw
* | pw32
*)
8243 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8244 # as there is no search path for DLLs.
8245 hardcode_libdir_flag_spec
='-L$libdir'
8246 allow_undefined_flag
=unsupported
8247 always_export_symbols
=no
8248 enable_shared_with_static_runtimes
=yes
8249 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8251 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8252 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8253 # If the export-symbols file already is a .def file (1st line
8254 # is EXPORTS), use it as is; otherwise, prepend...
8255 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8256 cp $export_symbols $output_objdir/$soname.def;
8258 echo EXPORTS > $output_objdir/$soname.def;
8259 cat $export_symbols >> $output_objdir/$soname.def;
8261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8269 hardcode_shlibpath_var
=no
8270 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8271 export_dynamic_flag_spec
='${wl}-E'
8272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8273 # Instead, shared libraries are loaded at an image base (0x10000000 by
8274 # default) and relocated if they conflict, which is a slow very memory
8275 # consuming and fragmenting process. To avoid this, we pick a random,
8276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8278 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8279 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'
8282 gnu
* | linux
* | k
*bsd
*-gnu)
8283 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8285 case $cc_basename,$host_cpu in
8286 pgcc
*) # Portland Group C compiler
8287 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'
8288 tmp_addflag
=' $pic_flag'
8290 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8291 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'
8292 tmp_addflag
=' $pic_flag -Mnomain' ;;
8293 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8294 tmp_addflag
=' -i_dynamic' ;;
8295 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8296 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8297 ifc
* | ifort
*) # Intel Fortran compiler
8298 tmp_addflag
=' -nofor_main' ;;
8300 case `$CC -V 2>&1 | sed 5q` in
8301 *Sun\ C
*) # Sun C 5.9
8302 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'
8303 tmp_sharedflag
='-G' ;;
8304 *Sun\ F
*) # Sun Fortran 8.3
8305 tmp_sharedflag
='-G' ;;
8307 tmp_sharedflag
='-shared' ;;
8309 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8311 if test $supports_anon_versioning = yes; then
8312 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8313 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8314 $echo "local: *; };" >> $output_objdir/$libname.ver~
8315 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8323 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8324 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8327 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8333 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8337 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8338 *** create shared libraries on Solaris systems. Therefore, libtool
8339 *** is disabling shared libraries support. We urge you to upgrade GNU
8340 *** binutils to release 2.9.1 or newer. Another option is to modify
8341 *** your PATH or compiler configuration so that the native linker is
8342 *** used, and then restart.
8345 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8346 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8347 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8353 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8354 case `$LD -v 2>&1` in
8355 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8359 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8360 *** reliably create shared libraries on SCO systems. Therefore, libtool
8361 *** is disabling shared libraries support. We urge you to upgrade GNU
8362 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8363 *** your PATH or compiler configuration so that the native linker is
8364 *** used, and then restart.
8369 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8370 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8371 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8372 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8381 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8384 hardcode_shlibpath_var
=no
8388 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8389 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8390 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8397 if test "$ld_shlibs" = no
; then
8399 hardcode_libdir_flag_spec
=
8400 export_dynamic_flag_spec
=
8401 whole_archive_flag_spec
=
8404 # PORTME fill in a description of your system's linker (not GNU ld)
8407 allow_undefined_flag
=unsupported
8408 always_export_symbols
=yes
8409 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'
8410 # Note: this linker hardcodes the directories in LIBPATH if there
8411 # are no directories specified by -L.
8412 hardcode_minus_L
=yes
8413 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8414 # Neither direct hardcoding nor static linking is supported with a
8416 hardcode_direct
=unsupported
8421 if test "$host_cpu" = ia64
; then
8422 # On IA64, the linker does run time linking by default, so we don't
8423 # have to do anything special.
8424 aix_use_runtimelinking
=no
8425 exp_sym_flag
='-Bexport'
8428 # If we're using GNU nm, then we don't want the "-C" option.
8429 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8430 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8431 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'
8433 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'
8435 aix_use_runtimelinking
=no
8437 # Test if we are trying to use run time linking or normal
8438 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8439 # need to do runtime linking.
8440 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8441 for ld_flag
in $LDFLAGS; do
8442 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8443 aix_use_runtimelinking
=yes
8450 exp_sym_flag
='-bexport'
8451 no_entry_flag
='-bnoentry'
8454 # When large executables or shared objects are built, AIX ld can
8455 # have problems creating the table of contents. If linking a library
8456 # or program results in "error TOC overflow" add -mminimal-toc to
8457 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8458 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8462 hardcode_libdir_separator
=':'
8463 link_all_deplibs
=yes
8465 if test "$GCC" = yes; then
8466 case $host_os in aix4.
[012]|aix4.
[012].
*)
8467 # We only want to do this on AIX 4.2 and lower, the check
8468 # below for broken collect2 doesn't work under 4.3+
8469 collect2name
=`${CC} -print-prog-name=collect2`
8470 if test -f "$collect2name" && \
8471 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8473 # We have reworked collect2
8476 # We have old collect2
8477 hardcode_direct
=unsupported
8478 # It fails to find uninstalled libraries when the uninstalled
8479 # path is not listed in the libpath. Setting hardcode_minus_L
8480 # to unsupported forces relinking
8481 hardcode_minus_L
=yes
8482 hardcode_libdir_flag_spec
='-L$libdir'
8483 hardcode_libdir_separator
=
8487 shared_flag
='-shared'
8488 if test "$aix_use_runtimelinking" = yes; then
8489 shared_flag
="$shared_flag "'${wl}-G'
8493 if test "$host_cpu" = ia64
; then
8494 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8495 # chokes on -Wl,-G. The following line is correct:
8498 if test "$aix_use_runtimelinking" = yes; then
8499 shared_flag
='${wl}-G'
8501 shared_flag
='${wl}-bM:SRE'
8506 # It seems that -bexpall does not export symbols beginning with
8507 # underscore (_), so it is better to generate a list of symbols to export.
8508 always_export_symbols
=yes
8509 if test "$aix_use_runtimelinking" = yes; then
8510 # Warning - without using the other runtime loading flags (-brtl),
8511 # -berok will link without error, but may produce a broken library.
8512 allow_undefined_flag
='-berok'
8513 # Determine the default libpath from the value encoded in an empty executable.
8514 cat >conftest.
$ac_ext <<_ACEOF
8517 cat confdefs.h
>>conftest.
$ac_ext
8518 cat >>conftest.
$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8529 rm -f conftest.
$ac_objext conftest
$ac_exeext
8530 if { (ac_try
="$ac_link"
8532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8533 *) ac_try_echo=$ac_try;;
8535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8536 (eval "$ac_link") 2>conftest.er1
8538 grep -v '^ *+' conftest.er1 >conftest.err
8540 cat conftest.err >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } && {
8543 test -z "$ac_c_werror_flag" ||
8544 test ! -s conftest.err
8545 } && test -s conftest$ac_exeext &&
8546 $as_test_x conftest$ac_exeext; then
8548 lt_aix_libpath_sed='
8549 /Import File Strings/,/^$/ {
8555 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8556 # Check for a 64-bit object if we didn't find anything.
8557 if test -z "$aix_libpath"; then
8558 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8561 echo "$as_me: failed program was:" >&5
8562 sed 's/^/| /' conftest.$ac_ext >&5
8567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8568 conftest$ac_exeext conftest.$ac_ext
8569 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8571 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8572 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"
8574 if test "$host_cpu" = ia64; then
8575 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8576 allow_undefined_flag="-z nodefs"
8577 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"
8579 # Determine the default libpath from the value encoded in an empty executable.
8580 cat >conftest.$ac_ext <<_ACEOF
8583 cat confdefs.h >>conftest.$ac_ext
8584 cat >>conftest.$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8595 rm -f conftest.$ac_objext conftest$ac_exeext
8596 if { (ac_try="$ac_link"
8598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8599 *) ac_try_echo
=$ac_try;;
8601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8602 (eval "$ac_link") 2>conftest.er1
8604 grep -v '^ *+' conftest.er1
>conftest.err
8606 cat conftest.err
>&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } && {
8609 test -z "$ac_c_werror_flag" ||
8610 test ! -s conftest.err
8611 } && test -s conftest
$ac_exeext &&
8612 $as_test_x conftest
$ac_exeext; then
8614 lt_aix_libpath_sed
='
8615 /Import File Strings/,/^$/ {
8621 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8622 # Check for a 64-bit object if we didn't find anything.
8623 if test -z "$aix_libpath"; then
8624 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.
$ac_ext >&5
8633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8634 conftest
$ac_exeext conftest.
$ac_ext
8635 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8637 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8638 # Warning - without using the other run time loading flags,
8639 # -berok will link without error, but may produce a broken library.
8640 no_undefined_flag
=' ${wl}-bernotok'
8641 allow_undefined_flag
=' ${wl}-berok'
8642 # Exported symbols can be pulled into shared objects from archives
8643 whole_archive_flag_spec
='$convenience'
8644 archive_cmds_need_lc
=yes
8645 # This is similar to how AIX traditionally builds its shared libraries.
8646 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'
8652 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)'
8653 hardcode_libdir_flag_spec
='-L$libdir'
8654 hardcode_minus_L
=yes
8655 # see comment about different semantics on the GNU ld section
8660 export_dynamic_flag_spec
=-rdynamic
8663 cygwin
* | mingw
* | pw32
*)
8664 # When not using gcc, we currently assume that we are using
8665 # Microsoft Visual C++.
8666 # hardcode_libdir_flag_spec is actually meaningless, as there is
8667 # no search path for DLLs.
8668 hardcode_libdir_flag_spec
=' '
8669 allow_undefined_flag
=unsupported
8670 # Tell ltmain to make .lib files, not .a files.
8672 # Tell ltmain to make .dll files, not .so files.
8674 # FIXME: Setting linknames here is a bad hack.
8675 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8676 # The linker will automatically build a .lib file if we build a DLL.
8677 old_archive_From_new_cmds
='true'
8678 # FIXME: Should let the user specify the lib program.
8679 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8680 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8681 enable_shared_with_static_runtimes
=yes
8684 darwin
* | rhapsody
*)
8686 rhapsody
* | darwin1.
[012])
8687 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8690 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8691 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8693 case ${MACOSX_DEPLOYMENT_TARGET} in
8695 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8698 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8704 archive_cmds_need_lc
=no
8706 hardcode_automatic
=yes
8707 hardcode_shlibpath_var
=unsupported
8708 whole_archive_flag_spec
=''
8709 link_all_deplibs
=yes
8710 if test "$GCC" = yes ; then
8711 output_verbose_link_cmd
='echo'
8712 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8713 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8714 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8715 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8717 case $cc_basename in
8719 output_verbose_link_cmd
='echo'
8720 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8721 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8722 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8723 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}'
8724 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}'
8734 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8735 hardcode_libdir_flag_spec
='-L$libdir'
8736 hardcode_shlibpath_var
=no
8743 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8744 # support. Future versions do this automatically, but an explicit c++rt0.o
8745 # does not break anything, and helps significantly (at the cost of a little
8748 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8749 hardcode_libdir_flag_spec
='-R$libdir'
8751 hardcode_shlibpath_var
=no
8754 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8756 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8758 hardcode_minus_L
=yes
8759 hardcode_shlibpath_var
=no
8762 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8763 freebsd
* | dragonfly
*)
8764 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8765 hardcode_libdir_flag_spec
='-R$libdir'
8767 hardcode_shlibpath_var
=no
8771 if test "$GCC" = yes; then
8772 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'
8774 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'
8776 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8777 hardcode_libdir_separator
=:
8780 # hardcode_minus_L: Not really in the search PATH,
8781 # but as the default location of the library.
8782 hardcode_minus_L
=yes
8783 export_dynamic_flag_spec
='${wl}-E'
8787 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8788 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8790 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8792 if test "$with_gnu_ld" = no
; then
8793 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8794 hardcode_libdir_separator
=:
8797 export_dynamic_flag_spec
='${wl}-E'
8799 # hardcode_minus_L: Not really in the search PATH,
8800 # but as the default location of the library.
8801 hardcode_minus_L
=yes
8806 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8809 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8821 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8824 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8827 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8831 if test "$with_gnu_ld" = no
; then
8832 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8833 hardcode_libdir_separator
=:
8837 hardcode_libdir_flag_spec_ld
='+b $libdir'
8839 hardcode_shlibpath_var
=no
8843 export_dynamic_flag_spec
='${wl}-E'
8845 # hardcode_minus_L: Not really in the search PATH,
8846 # but as the default location of the library.
8847 hardcode_minus_L
=yes
8853 irix5
* | irix6
* | nonstopux
*)
8854 if test "$GCC" = yes; then
8855 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'
8857 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'
8858 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8860 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8861 hardcode_libdir_separator
=:
8862 link_all_deplibs
=yes
8866 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8867 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8869 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8871 hardcode_libdir_flag_spec
='-R$libdir'
8873 hardcode_shlibpath_var
=no
8877 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8879 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8880 hardcode_libdir_separator
=:
8881 hardcode_shlibpath_var
=no
8885 if test -f /usr
/libexec
/ld.so
; then
8887 hardcode_shlibpath_var
=no
8888 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8889 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8890 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8891 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8892 export_dynamic_flag_spec
='${wl}-E'
8895 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8896 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8897 hardcode_libdir_flag_spec
='-R$libdir'
8900 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8901 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8911 hardcode_libdir_flag_spec
='-L$libdir'
8912 hardcode_minus_L
=yes
8913 allow_undefined_flag
=unsupported
8914 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'
8915 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8919 if test "$GCC" = yes; then
8920 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8921 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'
8923 allow_undefined_flag
=' -expect_unresolved \*'
8924 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'
8926 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8927 hardcode_libdir_separator
=:
8930 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8931 if test "$GCC" = yes; then
8932 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8933 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'
8934 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8936 allow_undefined_flag
=' -expect_unresolved \*'
8937 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'
8938 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8939 $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'
8941 # Both c and cxx compiler support -rpath directly
8942 hardcode_libdir_flag_spec
='-rpath $libdir'
8944 hardcode_libdir_separator
=:
8948 no_undefined_flag
=' -z text'
8949 if test "$GCC" = yes; then
8951 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8952 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8953 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8956 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8957 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8958 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8960 hardcode_libdir_flag_spec
='-R$libdir'
8961 hardcode_shlibpath_var
=no
8963 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8965 # The compiler driver will combine and reorder linker options,
8966 # but understands `-z linker_flag'. GCC discards it without `$wl',
8967 # but is careful enough not to reorder.
8968 # Supported since Solaris 2.6 (maybe 2.5.1?)
8969 if test "$GCC" = yes; then
8970 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8972 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8976 link_all_deplibs
=yes
8980 if test "x$host_vendor" = xsequent
; then
8981 # Use $CC to link under sequent, because it throws in some extra .o
8982 # files that make .init and .fini sections work.
8983 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8985 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8987 hardcode_libdir_flag_spec
='-L$libdir'
8989 hardcode_minus_L
=yes
8990 hardcode_shlibpath_var
=no
8994 case $host_vendor in
8996 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8997 hardcode_direct
=yes # is this really true???
9000 ## LD is ld it makes a PLAMLIB
9001 ## CC just makes a GrossModule.
9002 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9003 reload_cmds
='$CC -r -o $output$reload_objs'
9007 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9008 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9011 runpath_var
='LD_RUN_PATH'
9012 hardcode_shlibpath_var
=no
9016 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9017 hardcode_shlibpath_var
=no
9018 export_dynamic_flag_spec
='-Bexport'
9022 if test -d /usr
/nec
; then
9023 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9024 hardcode_shlibpath_var
=no
9025 runpath_var
=LD_RUN_PATH
9026 hardcode_runpath_var
=yes
9031 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9032 no_undefined_flag
='${wl}-z,text'
9033 archive_cmds_need_lc
=no
9034 hardcode_shlibpath_var
=no
9035 runpath_var
='LD_RUN_PATH'
9037 if test "$GCC" = yes; then
9038 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9039 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9041 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9042 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9046 sysv5
* | sco3.2v5
* | sco5v6
*)
9047 # Note: We can NOT use -z defs as we might desire, because we do not
9048 # link with -lc, and that would cause any symbols used from libc to
9049 # always be unresolved, which means just about no library would
9050 # ever link correctly. If we're not using GNU ld we use -z text
9051 # though, which does catch some bad symbols but isn't as heavy-handed
9053 no_undefined_flag
='${wl}-z,text'
9054 allow_undefined_flag
='${wl}-z,nodefs'
9055 archive_cmds_need_lc
=no
9056 hardcode_shlibpath_var
=no
9057 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9058 hardcode_libdir_separator
=':'
9059 link_all_deplibs
=yes
9060 export_dynamic_flag_spec
='${wl}-Bexport'
9061 runpath_var
='LD_RUN_PATH'
9063 if test "$GCC" = yes; then
9064 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9065 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9067 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9068 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9073 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9074 hardcode_libdir_flag_spec
='-L$libdir'
9075 hardcode_shlibpath_var
=no
9084 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9085 echo "${ECHO_T}$ld_shlibs" >&6; }
9086 test "$ld_shlibs" = no
&& can_build_shared
=no
9089 # Do we need to explicitly link libc?
9091 case "x$archive_cmds_need_lc" in
9093 # Assume -lc should be added
9094 archive_cmds_need_lc
=yes
9096 if test "$enable_shared" = yes && test "$GCC" = yes; then
9097 case $archive_cmds in
9099 # FIXME: we may have to deal with multi-command sequences.
9102 # Test whether the compiler implicitly links with -lc since on some
9103 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9104 # to ld, don't add -lc before -lgcc.
9105 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9106 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9108 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9111 (eval $ac_compile) 2>&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } 2>conftest.err
; then
9117 libobjs
=conftest.
$ac_objext
9119 wl
=$lt_prog_compiler_wl
9120 pic_flag
=$lt_prog_compiler_pic
9126 lt_save_allow_undefined_flag
=$allow_undefined_flag
9127 allow_undefined_flag
=
9128 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9129 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }
9134 archive_cmds_need_lc
=no
9136 archive_cmds_need_lc
=yes
9138 allow_undefined_flag
=$lt_save_allow_undefined_flag
9140 cat conftest.err
1>&5
9143 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9144 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9151 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9152 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9154 libname_spec
='lib$name'
9162 shlibpath_overrides_runpath
=unknown
9164 dynamic_linker
="$host_os ld.so"
9165 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9167 if test "$GCC" = yes; then
9169 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9170 *) lt_awk_arg
="/^libraries:/" ;;
9172 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9173 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9174 # if the path contains ";" then we assume it to be the separator
9175 # otherwise default to the standard path separator (i.e. ":") - it is
9176 # assumed that no part of a normal pathname contains ";" but that should
9177 # okay in the real world where ";" in dirpaths is itself problematic.
9178 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9180 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9182 # Ok, now we have the path, separated by spaces, we can step through it
9183 # and add multilib dir if necessary.
9184 lt_tmp_lt_search_path_spec
=
9185 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9186 for lt_sys_path
in $lt_search_path_spec; do
9187 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9188 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9190 test -d "$lt_sys_path" && \
9191 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9194 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9195 BEGIN {RS=" "; FS="/|\n";} {
9198 for (lt_i = NF; lt_i > 0; lt_i--) {
9199 if ($lt_i != "" && $lt_i != ".") {
9200 if ($lt_i == "..") {
9203 if (lt_count == 0) {
9204 lt_foo="/" $lt_i lt_foo;
9211 if (lt_foo != "") { lt_freq[lt_foo]++; }
9212 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9214 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9216 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9218 need_lib_prefix
=unknown
9219 hardcode_into_libs
=no
9221 # when you set need_version to no, make sure it does not cause -set_version
9222 # flags to be left without arguments
9223 need_version
=unknown
9228 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9229 shlibpath_var
=LIBPATH
9231 # AIX 3 has no versioning support, so we append a major version to the name.
9232 soname_spec
='${libname}${release}${shared_ext}$major'
9239 hardcode_into_libs
=yes
9240 if test "$host_cpu" = ia64
; then
9241 # AIX 5 supports IA64
9242 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9243 shlibpath_var
=LD_LIBRARY_PATH
9245 # With GCC up to 2.95.x, collect2 would create an import file
9246 # for dependence libraries. The import file would start with
9247 # the line `#! .'. This would cause the generated library to
9248 # depend on `.', always an invalid library. This was fixed in
9249 # development snapshots of GCC prior to 3.0.
9251 aix4 | aix4.
[01] | aix4.
[01].
*)
9252 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9254 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9261 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9262 # soname into executable. Probably we can add versioning support to
9263 # collect2, so additional links can be useful in future.
9264 if test "$aix_use_runtimelinking" = yes; then
9265 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9266 # instead of lib<name>.a to let people know that these are not
9267 # typical AIX shared libraries.
9268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9270 # We preserve .a as extension for shared libraries through AIX4.2
9271 # and later when we are not doing run time linking.
9272 library_names_spec
='${libname}${release}.a $libname.a'
9273 soname_spec
='${libname}${release}${shared_ext}$major'
9275 shlibpath_var
=LIBPATH
9280 library_names_spec
='$libname.ixlibrary $libname.a'
9281 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9282 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'
9286 library_names_spec
='${libname}${shared_ext}'
9287 dynamic_linker
="$host_os ld.so"
9288 shlibpath_var
=LIBRARY_PATH
9294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9295 soname_spec
='${libname}${release}${shared_ext}$major'
9296 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9297 shlibpath_var
=LD_LIBRARY_PATH
9298 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9299 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9300 # the default ld.so.conf also contains /usr/contrib/lib and
9301 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9302 # libtool to hard-code these into programs
9305 cygwin
* | mingw
* | pw32
*)
9306 version_type
=windows
9311 case $GCC,$host_os in
9312 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9313 library_names_spec
='$libname.dll.a'
9314 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9315 postinstall_cmds
='base_file=`basename \${file}`~
9316 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9317 dldir=$destdir/`dirname \$dlpath`~
9318 test -d \$dldir || mkdir -p \$dldir~
9319 $install_prog $dir/$dlname \$dldir/$dlname~
9320 chmod a+x \$dldir/$dlname'
9321 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9322 dlpath=$dir/\$dldll~
9324 shlibpath_overrides_runpath
=yes
9328 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9329 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9330 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9333 # MinGW DLLs use traditional 'lib' prefix
9334 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9335 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9336 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9337 # It is most probably a Windows format PATH printed by
9338 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9339 # path with ; separators, and with drive letters. We can handle the
9340 # drive letters (cygwin fileutils understands them), so leave them,
9341 # especially as we might pass files found there to a mingw objdump,
9342 # which wouldn't understand a cygwinified path. Ahh.
9343 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9345 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9349 # pw32 DLLs use 'pw' prefix rather than 'lib'
9350 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9356 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9359 dynamic_linker
='Win32 ld.exe'
9360 # FIXME: first we should search . and the directory the executable is in
9364 darwin
* | rhapsody
*)
9365 dynamic_linker
="$host_os dyld"
9369 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9370 soname_spec
='${libname}${release}${major}$shared_ext'
9371 shlibpath_overrides_runpath
=yes
9372 shlibpath_var
=DYLD_LIBRARY_PATH
9373 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9375 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9376 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9384 soname_spec
='${libname}${release}${shared_ext}$major'
9385 shlibpath_var
=LD_LIBRARY_PATH
9392 freebsd
* | dragonfly
*)
9393 # DragonFly does not have aout. When/if they implement a new
9394 # versioning mechanism, adjust this.
9395 if test -x /usr
/bin
/objformat
; then
9396 objformat
=`/usr/bin/objformat`
9399 freebsd
[123]*) objformat
=aout
;;
9403 version_type
=freebsd-
$objformat
9404 case $version_type in
9406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9411 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9415 shlibpath_var
=LD_LIBRARY_PATH
9418 shlibpath_overrides_runpath
=yes
9420 freebsd3.
[01]* | freebsdelf3.
[01]*)
9421 shlibpath_overrides_runpath
=yes
9422 hardcode_into_libs
=yes
9424 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9425 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9426 shlibpath_overrides_runpath
=no
9427 hardcode_into_libs
=yes
9429 *) # from 4.6 on, and DragonFly
9430 shlibpath_overrides_runpath
=yes
9431 hardcode_into_libs
=yes
9440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9441 soname_spec
='${libname}${release}${shared_ext}$major'
9442 shlibpath_var
=LD_LIBRARY_PATH
9443 hardcode_into_libs
=yes
9446 hpux9
* | hpux10
* | hpux11
*)
9447 # Give a soname corresponding to the major version so that dld.sl refuses to
9448 # link against other versions.
9455 hardcode_into_libs
=yes
9456 dynamic_linker
="$host_os dld.so"
9457 shlibpath_var
=LD_LIBRARY_PATH
9458 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9460 soname_spec
='${libname}${release}${shared_ext}$major'
9461 if test "X$HPUX_IA64_MODE" = X32
; then
9462 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9464 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9466 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9470 hardcode_into_libs
=yes
9471 dynamic_linker
="$host_os dld.sl"
9472 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9473 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9475 soname_spec
='${libname}${release}${shared_ext}$major'
9476 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9477 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9481 dynamic_linker
="$host_os dld.sl"
9482 shlibpath_var
=SHLIB_PATH
9483 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9485 soname_spec
='${libname}${release}${shared_ext}$major'
9488 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9489 postinstall_cmds
='chmod 555 $lib'
9496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9497 soname_spec
='${libname}${release}${shared_ext}$major'
9498 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9499 shlibpath_var
=LD_LIBRARY_PATH
9500 shlibpath_overrides_runpath
=no
9501 hardcode_into_libs
=yes
9504 irix5
* | irix6
* | nonstopux
*)
9506 nonstopux
*) version_type
=nonstopux
;;
9508 if test "$lt_cv_prog_gnu_ld" = yes; then
9516 soname_spec
='${libname}${release}${shared_ext}$major'
9517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9519 irix5
* | nonstopux
*)
9523 case $LD in # libtool.m4 will add one of these switches to LD
9524 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9525 libsuff
= shlibsuff
= libmagic
=32-bit;;
9526 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9527 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9528 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9529 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9530 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9534 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9535 shlibpath_overrides_runpath
=no
9536 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9537 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9538 hardcode_into_libs
=yes
9541 # No shared lib support for Linux oldld, aout, or coff.
9542 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9546 # This must be Linux ELF.
9547 linux
* | k
*bsd
*-gnu)
9551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9552 soname_spec
='${libname}${release}${shared_ext}$major'
9553 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9554 shlibpath_var
=LD_LIBRARY_PATH
9555 shlibpath_overrides_runpath
=no
9556 # This implies no fast_install, which is unacceptable.
9557 # Some rework will be needed to allow for fast_install
9558 # before this can be enabled.
9559 hardcode_into_libs
=yes
9561 # Append ld.so.conf contents to the search path
9562 if test -f /etc
/ld.so.conf
; then
9563 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' ' '`
9564 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9567 # We used to test for /lib/ld.so.1 and disable shared libraries on
9568 # powerpc, because MkLinux only supported shared libraries with the
9569 # GNU dynamic linker. Since this was broken with cross compilers,
9570 # most powerpc-linux boxes support dynamic linking these days and
9571 # people can always --disable-shared, the test was removed, and we
9572 # assume the GNU/Linux dynamic linker is in use.
9573 dynamic_linker
='GNU/Linux ld.so'
9580 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9582 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9583 dynamic_linker
='NetBSD (a.out) ld.so'
9585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9586 soname_spec
='${libname}${release}${shared_ext}$major'
9587 dynamic_linker
='NetBSD ld.elf_so'
9589 shlibpath_var
=LD_LIBRARY_PATH
9590 shlibpath_overrides_runpath
=yes
9591 hardcode_into_libs
=yes
9596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597 shlibpath_var
=LD_LIBRARY_PATH
9598 shlibpath_overrides_runpath
=yes
9605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9606 soname_spec
='${libname}${release}${shared_ext}$major'
9607 shlibpath_var
=LD_LIBRARY_PATH
9608 shlibpath_overrides_runpath
=yes
9613 sys_lib_dlsearch_path_spec
="/usr/lib"
9615 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9617 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9618 *) need_version
=no
;;
9620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9622 shlibpath_var
=LD_LIBRARY_PATH
9623 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9625 openbsd2.
[89] | openbsd2.
[89].
*)
9626 shlibpath_overrides_runpath
=no
9629 shlibpath_overrides_runpath
=yes
9633 shlibpath_overrides_runpath
=yes
9638 libname_spec
='$name'
9641 library_names_spec
='$libname${shared_ext} $libname.a'
9642 dynamic_linker
='OS/2 ld.exe'
9643 shlibpath_var
=LIBPATH
9646 osf3
* | osf4
* | osf5
*)
9650 soname_spec
='${libname}${release}${shared_ext}$major'
9651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9652 shlibpath_var
=LD_LIBRARY_PATH
9653 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9654 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666 soname_spec
='${libname}${release}${shared_ext}$major'
9667 shlibpath_var
=LD_LIBRARY_PATH
9668 shlibpath_overrides_runpath
=yes
9669 hardcode_into_libs
=yes
9670 # ldd complains unless libraries are executable
9671 postinstall_cmds
='chmod +x $lib'
9676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9677 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9678 shlibpath_var
=LD_LIBRARY_PATH
9679 shlibpath_overrides_runpath
=yes
9680 if test "$with_gnu_ld" = yes; then
9688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9689 soname_spec
='${libname}${release}${shared_ext}$major'
9690 shlibpath_var
=LD_LIBRARY_PATH
9691 case $host_vendor in
9693 shlibpath_overrides_runpath
=no
9695 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9696 runpath_var
=LD_RUN_PATH
9704 shlibpath_overrides_runpath
=no
9705 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9711 if test -d /usr
/nec
;then
9713 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9714 soname_spec
='$libname${shared_ext}.$major'
9715 shlibpath_var
=LD_LIBRARY_PATH
9719 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9720 version_type
=freebsd-elf
9723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9724 soname_spec
='${libname}${release}${shared_ext}$major'
9725 shlibpath_var
=LD_LIBRARY_PATH
9726 hardcode_into_libs
=yes
9727 if test "$with_gnu_ld" = yes; then
9728 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9729 shlibpath_overrides_runpath
=no
9731 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9732 shlibpath_overrides_runpath
=yes
9735 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9739 sys_lib_dlsearch_path_spec
='/usr/lib'
9744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745 soname_spec
='${libname}${release}${shared_ext}$major'
9746 shlibpath_var
=LD_LIBRARY_PATH
9753 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9754 echo "${ECHO_T}$dynamic_linker" >&6; }
9755 test "$dynamic_linker" = no
&& can_build_shared
=no
9757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9763 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9764 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9770 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9772 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9773 if test "$GCC" = yes; then
9774 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9777 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9778 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9780 if test -n "$hardcode_libdir_flag_spec" || \
9781 test -n "$runpath_var" || \
9782 test "X$hardcode_automatic" = "Xyes" ; then
9784 # We can hardcode non-existant directories.
9785 if test "$hardcode_direct" != no
&&
9786 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9787 # have to relink, otherwise we might link with an installed library
9788 # when we should be linking with a yet-to-be-installed one
9789 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9790 test "$hardcode_minus_L" != no
; then
9791 # Linking always hardcodes the temporary library directory.
9792 hardcode_action
=relink
9794 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9795 hardcode_action
=immediate
9798 # We cannot hardcode anything, or else we can only hardcode existing
9800 hardcode_action
=unsupported
9802 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9803 echo "${ECHO_T}$hardcode_action" >&6; }
9805 if test "$hardcode_action" = relink
; then
9806 # Fast installation is not supported
9807 enable_fast_install
=no
9808 elif test "$shlibpath_overrides_runpath" = yes ||
9809 test "$enable_shared" = no
; then
9810 # Fast installation is not necessary
9811 enable_fast_install
=needless
9816 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9817 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9818 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9819 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9820 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9821 { echo "$as_me:$LINENO: result: yes" >&5
9822 echo "${ECHO_T}yes" >&6; }
9824 # FIXME - insert some real tests, host_os isn't really good enough
9827 if test -n "$STRIP" ; then
9828 striplib
="$STRIP -x"
9829 old_striplib
="$STRIP -S"
9830 { echo "$as_me:$LINENO: result: yes" >&5
9831 echo "${ECHO_T}yes" >&6; }
9833 { echo "$as_me:$LINENO: result: no" >&5
9834 echo "${ECHO_T}no" >&6; }
9838 { echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6; }
9844 if test "x$enable_dlopen" != xyes
; then
9845 enable_dlopen
=unknown
9846 enable_dlopen_self
=unknown
9847 enable_dlopen_self_static
=unknown
9854 lt_cv_dlopen
="load_add_on"
9856 lt_cv_dlopen_self
=yes
9860 lt_cv_dlopen
="LoadLibrary"
9865 lt_cv_dlopen
="dlopen"
9870 # if libdl is installed we need to link against it
9871 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9872 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9876 ac_check_lib_save_LIBS
=$LIBS
9878 cat >conftest.
$ac_ext <<_ACEOF
9881 cat confdefs.h
>>conftest.
$ac_ext
9882 cat >>conftest.
$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9900 rm -f conftest.
$ac_objext conftest
$ac_exeext
9901 if { (ac_try
="$ac_link"
9903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9904 *) ac_try_echo=$ac_try;;
9906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9907 (eval "$ac_link") 2>conftest.er1
9909 grep -v '^ *+' conftest.er1 >conftest.err
9911 cat conftest.err >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); } && {
9914 test -z "$ac_c_werror_flag" ||
9915 test ! -s conftest.err
9916 } && test -s conftest$ac_exeext &&
9917 $as_test_x conftest$ac_exeext; then
9918 ac_cv_lib_dl_dlopen=yes
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9923 ac_cv_lib_dl_dlopen=no
9926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_lib_save_LIBS
9930 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9931 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9932 if test $ac_cv_lib_dl_dlopen = yes; then
9933 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9938 lt_cv_dlopen_self=yes
9945 { echo "$as_me:$LINENO: checking for shl_load" >&5
9946 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9947 if test "${ac_cv_func_shl_load+set}" = set; then
9948 echo $ECHO_N "(cached) $ECHO_C" >&6
9950 cat >conftest.$ac_ext <<_ACEOF
9953 cat confdefs.h >>conftest.$ac_ext
9954 cat >>conftest.$ac_ext <<_ACEOF
9955 /* end confdefs.h. */
9956 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9958 #define shl_load innocuous_shl_load
9960 /* System header to define __stub macros and hopefully few prototypes,
9961 which can conflict with char shl_load (); below.
9962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9963 <limits.h> exists even on freestanding compilers. */
9966 # include <limits.h>
9968 # include <assert.h>
9973 /* Override any GCC internal prototype to avoid an error.
9974 Use char because int might match the return type of a GCC
9975 builtin and then its argument prototype would still apply. */
9980 /* The GNU C library defines this for functions which it implements
9981 to always fail with ENOSYS. Some functions are actually named
9982 something starting with __ and the normal name is an alias. */
9983 #if defined __stub_shl_load || defined __stub___shl_load
9995 rm -f conftest.$ac_objext conftest$ac_exeext
9996 if { (ac_try="$ac_link"
9998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9999 *) ac_try_echo
=$ac_try;;
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_link") 2>conftest.er1
10004 grep -v '^ *+' conftest.er1
>conftest.err
10006 cat conftest.err
>&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } && {
10009 test -z "$ac_c_werror_flag" ||
10010 test ! -s conftest.err
10011 } && test -s conftest
$ac_exeext &&
10012 $as_test_x conftest
$ac_exeext; then
10013 ac_cv_func_shl_load
=yes
10015 echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.
$ac_ext >&5
10018 ac_cv_func_shl_load
=no
10021 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10022 conftest
$ac_exeext conftest.
$ac_ext
10024 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10025 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10026 if test $ac_cv_func_shl_load = yes; then
10027 lt_cv_dlopen
="shl_load"
10029 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10030 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10031 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10034 ac_check_lib_save_LIBS
=$LIBS
10036 cat >conftest.
$ac_ext <<_ACEOF
10039 cat confdefs.h
>>conftest.
$ac_ext
10040 cat >>conftest.
$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10053 return shl_load ();
10058 rm -f conftest.
$ac_objext conftest
$ac_exeext
10059 if { (ac_try
="$ac_link"
10060 case "(($ac_try" in
10061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10062 *) ac_try_echo=$ac_try;;
10064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10065 (eval "$ac_link") 2>conftest.er1
10067 grep -v '^ *+' conftest.er1 >conftest.err
10069 cat conftest.err >&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); } && {
10072 test -z "$ac_c_werror_flag" ||
10073 test ! -s conftest.err
10074 } && test -s conftest$ac_exeext &&
10075 $as_test_x conftest$ac_exeext; then
10076 ac_cv_lib_dld_shl_load=yes
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10081 ac_cv_lib_dld_shl_load=no
10084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10089 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10090 if test $ac_cv_lib_dld_shl_load = yes; then
10091 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10093 { echo "$as_me:$LINENO: checking for dlopen" >&5
10094 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10095 if test "${ac_cv_func_dlopen+set}" = set; then
10096 echo $ECHO_N "(cached) $ECHO_C" >&6
10098 cat >conftest.$ac_ext <<_ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10104 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10106 #define dlopen innocuous_dlopen
10108 /* System header to define __stub macros and hopefully few prototypes,
10109 which can conflict with char dlopen (); below.
10110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10111 <limits.h> exists even on freestanding compilers. */
10114 # include <limits.h>
10116 # include <assert.h>
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10128 /* The GNU C library defines this for functions which it implements
10129 to always fail with ENOSYS. Some functions are actually named
10130 something starting with __ and the normal name is an alias. */
10131 #if defined __stub_dlopen || defined __stub___dlopen
10143 rm -f conftest.$ac_objext conftest$ac_exeext
10144 if { (ac_try="$ac_link"
10145 case "(($ac_try" in
10146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10147 *) ac_try_echo
=$ac_try;;
10149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10150 (eval "$ac_link") 2>conftest.er1
10152 grep -v '^ *+' conftest.er1
>conftest.err
10154 cat conftest.err
>&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); } && {
10157 test -z "$ac_c_werror_flag" ||
10158 test ! -s conftest.err
10159 } && test -s conftest
$ac_exeext &&
10160 $as_test_x conftest
$ac_exeext; then
10161 ac_cv_func_dlopen
=yes
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.
$ac_ext >&5
10166 ac_cv_func_dlopen
=no
10169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10170 conftest
$ac_exeext conftest.
$ac_ext
10172 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10173 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10174 if test $ac_cv_func_dlopen = yes; then
10175 lt_cv_dlopen
="dlopen"
10177 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10178 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10179 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 ac_check_lib_save_LIBS
=$LIBS
10184 cat >conftest.
$ac_ext <<_ACEOF
10187 cat confdefs.h
>>conftest.
$ac_ext
10188 cat >>conftest.
$ac_ext <<_ACEOF
10189 /* end confdefs.h. */
10191 /* Override any GCC internal prototype to avoid an error.
10192 Use char because int might match the return type of a GCC
10193 builtin and then its argument prototype would still apply. */
10206 rm -f conftest.
$ac_objext conftest
$ac_exeext
10207 if { (ac_try
="$ac_link"
10208 case "(($ac_try" in
10209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10210 *) ac_try_echo=$ac_try;;
10212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10213 (eval "$ac_link") 2>conftest.er1
10215 grep -v '^ *+' conftest.er1 >conftest.err
10217 cat conftest.err >&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); } && {
10220 test -z "$ac_c_werror_flag" ||
10221 test ! -s conftest.err
10222 } && test -s conftest$ac_exeext &&
10223 $as_test_x conftest$ac_exeext; then
10224 ac_cv_lib_dl_dlopen=yes
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.$ac_ext >&5
10229 ac_cv_lib_dl_dlopen=no
10232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10233 conftest$ac_exeext conftest.$ac_ext
10234 LIBS=$ac_check_lib_save_LIBS
10236 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10237 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10238 if test $ac_cv_lib_dl_dlopen = yes; then
10239 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10241 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10242 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10243 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 ac_check_lib_save_LIBS=$LIBS
10247 LIBS="-lsvld $LIBS"
10248 cat >conftest.$ac_ext <<_ACEOF
10251 cat confdefs.h >>conftest.$ac_ext
10252 cat >>conftest.$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10255 /* Override any GCC internal prototype to avoid an error.
10256 Use char because int might match the return type of a GCC
10257 builtin and then its argument prototype would still apply. */
10270 rm -f conftest.$ac_objext conftest$ac_exeext
10271 if { (ac_try="$ac_link"
10272 case "(($ac_try" in
10273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10274 *) ac_try_echo
=$ac_try;;
10276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10277 (eval "$ac_link") 2>conftest.er1
10279 grep -v '^ *+' conftest.er1
>conftest.err
10281 cat conftest.err
>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); } && {
10284 test -z "$ac_c_werror_flag" ||
10285 test ! -s conftest.err
10286 } && test -s conftest
$ac_exeext &&
10287 $as_test_x conftest
$ac_exeext; then
10288 ac_cv_lib_svld_dlopen
=yes
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.
$ac_ext >&5
10293 ac_cv_lib_svld_dlopen
=no
10296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10297 conftest
$ac_exeext conftest.
$ac_ext
10298 LIBS
=$ac_check_lib_save_LIBS
10300 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10301 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10302 if test $ac_cv_lib_svld_dlopen = yes; then
10303 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10305 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10306 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10307 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 ac_check_lib_save_LIBS
=$LIBS
10312 cat >conftest.
$ac_ext <<_ACEOF
10315 cat confdefs.h
>>conftest.
$ac_ext
10316 cat >>conftest.
$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10329 return dld_link ();
10334 rm -f conftest.
$ac_objext conftest
$ac_exeext
10335 if { (ac_try
="$ac_link"
10336 case "(($ac_try" in
10337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10338 *) ac_try_echo=$ac_try;;
10340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10341 (eval "$ac_link") 2>conftest.er1
10343 grep -v '^ *+' conftest.er1 >conftest.err
10345 cat conftest.err >&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); } && {
10348 test -z "$ac_c_werror_flag" ||
10349 test ! -s conftest.err
10350 } && test -s conftest$ac_exeext &&
10351 $as_test_x conftest$ac_exeext; then
10352 ac_cv_lib_dld_dld_link=yes
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10357 ac_cv_lib_dld_dld_link=no
10360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10361 conftest$ac_exeext conftest.$ac_ext
10362 LIBS=$ac_check_lib_save_LIBS
10364 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10365 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10366 if test $ac_cv_lib_dld_dld_link = yes; then
10367 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10388 if test "x$lt_cv_dlopen" != xno; then
10394 case $lt_cv_dlopen in
10396 save_CPPFLAGS="$CPPFLAGS"
10397 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10399 save_LDFLAGS="$LDFLAGS"
10400 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10403 LIBS="$lt_cv_dlopen_libs $LIBS"
10405 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10406 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10407 if test "${lt_cv_dlopen_self+set}" = set; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 if test "$cross_compiling" = yes; then :
10411 lt_cv_dlopen_self=cross
10413 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10414 lt_status=$lt_dlunknown
10415 cat > conftest.$ac_ext <<EOF
10416 #line 10416 "configure"
10417 #include "confdefs.h"
10426 # define LT_DLGLOBAL RTLD_GLOBAL
10429 # define LT_DLGLOBAL DL_GLOBAL
10431 # define LT_DLGLOBAL 0
10435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10436 find out it does not work in some platform. */
10437 #ifndef LT_DLLAZY_OR_NOW
10439 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10442 # define LT_DLLAZY_OR_NOW DL_LAZY
10445 # define LT_DLLAZY_OR_NOW RTLD_NOW
10448 # define LT_DLLAZY_OR_NOW DL_NOW
10450 # define LT_DLLAZY_OR_NOW 0
10458 extern "C" void exit (int);
10461 void fnord() { int i=42;}
10464 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10465 int status = $lt_dlunknown;
10469 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10470 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10471 /* dlclose (self); */
10479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10480 (eval $ac_link) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10484 (./conftest; exit; ) >&5 2>/dev/null
10486 case x$lt_status in
10487 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10488 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10489 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10492 # compilation failed
10493 lt_cv_dlopen_self=no
10500 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10501 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10503 if test "x$lt_cv_dlopen_self" = xyes; then
10504 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10505 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10506 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10507 if test "${lt_cv_dlopen_self_static+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 if test "$cross_compiling" = yes; then :
10511 lt_cv_dlopen_self_static=cross
10513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10514 lt_status=$lt_dlunknown
10515 cat > conftest.$ac_ext <<EOF
10516 #line 10516 "configure"
10517 #include "confdefs.h"
10526 # define LT_DLGLOBAL RTLD_GLOBAL
10529 # define LT_DLGLOBAL DL_GLOBAL
10531 # define LT_DLGLOBAL 0
10535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10536 find out it does not work in some platform. */
10537 #ifndef LT_DLLAZY_OR_NOW
10539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10542 # define LT_DLLAZY_OR_NOW DL_LAZY
10545 # define LT_DLLAZY_OR_NOW RTLD_NOW
10548 # define LT_DLLAZY_OR_NOW DL_NOW
10550 # define LT_DLLAZY_OR_NOW 0
10558 extern "C" void exit (int);
10561 void fnord() { int i=42;}
10564 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10565 int status = $lt_dlunknown;
10569 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10570 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10571 /* dlclose (self); */
10579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10580 (eval $ac_link) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10584 (./conftest; exit; ) >&5 2>/dev/null
10586 case x$lt_status in
10587 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10588 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10589 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10592 # compilation failed
10593 lt_cv_dlopen_self_static=no
10600 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10601 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10604 CPPFLAGS="$save_CPPFLAGS"
10605 LDFLAGS="$save_LDFLAGS"
10610 case $lt_cv_dlopen_self in
10611 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10612 *) enable_dlopen_self=unknown ;;
10615 case $lt_cv_dlopen_self_static in
10616 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10617 *) enable_dlopen_self_static=unknown ;;
10622 # Report which library types will actually be built
10623 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10624 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10625 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10626 echo "${ECHO_T}$can_build_shared" >&6; }
10628 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10629 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10630 test "$can_build_shared" = "no" && enable_shared=no
10632 # On AIX, shared libraries and static libraries use the same namespace, and
10633 # are all built from PIC.
10636 test "$enable_shared" = yes && enable_static=no
10637 if test -n "$RANLIB"; then
10638 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10639 postinstall_cmds='$RANLIB $lib'
10644 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10645 test "$enable_shared" = yes && enable_static=no
10649 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10650 echo "${ECHO_T}$enable_shared" >&6; }
10652 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10653 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10654 # Make sure either enable_shared or enable_static is yes.
10655 test "$enable_shared" = yes || enable_static=yes
10656 { echo "$as_me:$LINENO: result: $enable_static" >&5
10657 echo "${ECHO_T}$enable_static" >&6; }
10659 # The else clause should only fire when bootstrapping the
10660 # libtool distribution, otherwise you forgot to ship ltmain.sh
10661 # with your package, and you will get complaints that there are
10662 # no rules to generate ltmain.sh.
10663 if test -f "$ltmain"; then
10664 # See if we are running on zsh, and set the options which allow our commands through
10665 # without removal of \ escapes.
10666 if test -n "${ZSH_VERSION+set}" ; then
10667 setopt NO_GLOB_SUBST
10669 # Now quote all the things that may contain metacharacters while being
10670 # careful not to overquote the AC_SUBSTed values. We take copies of the
10671 # variables and quote the copies for generation of the libtool script.
10672 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10674 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10675 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10676 deplibs_check_method reload_flag reload_cmds need_locks \
10677 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10678 lt_cv_sys_global_symbol_to_c_name_address \
10679 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10680 old_postinstall_cmds old_postuninstall_cmds \
10684 lt_prog_compiler_wl \
10685 lt_prog_compiler_pic \
10686 lt_prog_compiler_static \
10687 lt_prog_compiler_no_builtin_flag \
10688 export_dynamic_flag_spec \
10689 thread_safe_flag_spec \
10690 whole_archive_flag_spec \
10691 enable_shared_with_static_runtimes \
10693 old_archive_from_new_cmds \
10698 compiler_lib_search_path \
10699 compiler_lib_search_dirs \
10701 archive_expsym_cmds \
10703 postuninstall_cmds \
10704 old_archive_from_expsyms_cmds \
10705 allow_undefined_flag \
10706 no_undefined_flag \
10707 export_symbols_cmds \
10708 hardcode_libdir_flag_spec \
10709 hardcode_libdir_flag_spec_ld \
10710 hardcode_libdir_separator \
10711 hardcode_automatic \
10713 module_expsym_cmds \
10714 lt_cv_prog_compiler_c_o \
10717 include_expsyms; do
10720 old_archive_cmds | \
10721 old_archive_from_new_cmds | \
10723 archive_expsym_cmds | \
10725 module_expsym_cmds | \
10726 old_archive_from_expsyms_cmds | \
10727 export_symbols_cmds | \
10728 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10729 postinstall_cmds | postuninstall_cmds | \
10730 old_postinstall_cmds | old_postuninstall_cmds | \
10731 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10732 # Double-quote double-evaled strings.
10733 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10736 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10742 *'\$0 --fallback-echo"')
10743 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10747 cfgfile="${ofile}T"
10748 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10750 { echo "$as_me:$LINENO: creating $ofile" >&5
10751 echo "$as_me: creating $ofile" >&6;}
10753 cat <<__EOF__ >> "$cfgfile"
10756 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10757 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10758 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10760 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10761 # Free Software Foundation, Inc.
10763 # This file is part of GNU Libtool:
10764 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10766 # This program is free software; you can redistribute it and/or modify
10767 # it under the terms of the GNU General Public License as published by
10768 # the Free Software Foundation; either version 2 of the License, or
10769 # (at your option) any later version.
10771 # This program is distributed in the hope that it will be useful, but
10772 # WITHOUT ANY WARRANTY; without even the implied warranty of
10773 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10774 # General Public License for more details.
10776 # You should have received a copy of the GNU General Public License
10777 # along with this program; if not, write to the Free Software
10778 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10780 # As a special exception to the GNU General Public License, if you
10781 # distribute this file as part of a program that contains a
10782 # configuration script generated by Autoconf, you may include it under
10783 # the same distribution terms that you use for the rest of that program.
10785 # A sed program that does not truncate output.
10788 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10789 Xsed="$SED -e 1s/^X//"
10791 # The HP-UX ksh and POSIX shell print the target directory to stdout
10792 # if CDPATH is set.
10793 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10795 # The names of the tagged configurations supported by this script.
10798 # ### BEGIN LIBTOOL CONFIG
10800 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10802 # Shell to use when invoking shell scripts.
10805 # Whether or not to build shared libraries.
10806 build_libtool_libs=$enable_shared
10808 # Whether or not to build static libraries.
10809 build_old_libs=$enable_static
10811 # Whether or not to add -lc for building shared libraries.
10812 build_libtool_need_lc=$archive_cmds_need_lc
10814 # Whether or not to disallow shared libs when runtime libs are static
10815 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10817 # Whether or not to optimize for fast installation.
10818 fast_install=$enable_fast_install
10821 host_alias=$host_alias
10825 # The build system.
10826 build_alias=$build_alias
10830 # An echo program that does not interpret backslashes.
10835 AR_FLAGS=$lt_AR_FLAGS
10840 # LTCC compiler flags.
10841 LTCFLAGS=$lt_LTCFLAGS
10843 # A language-specific compiler.
10846 # Is the compiler the GNU C compiler?
10852 # The linker used to build libraries.
10855 # Whether we need hard or soft links.
10858 # A BSD-compatible nm program.
10861 # A symbol stripping program
10864 # Used to examine libraries when file_magic_cmd begins "file"
10865 MAGIC_CMD=$MAGIC_CMD
10867 # Used on cygwin: DLL creation program.
10870 # Used on cygwin: object dumper.
10873 # Used on cygwin: assembler.
10876 # The name of the directory that contains temporary libtool files.
10879 # How to create reloadable object files.
10880 reload_flag=$lt_reload_flag
10881 reload_cmds=$lt_reload_cmds
10883 # How to pass a linker flag through the compiler.
10884 wl=$lt_lt_prog_compiler_wl
10886 # Object file suffix (normally "o").
10887 objext="$ac_objext"
10889 # Old archive suffix (normally "a").
10892 # Shared library suffix (normally ".so").
10893 shrext_cmds='$shrext_cmds'
10895 # Executable file suffix (normally "").
10898 # Additional compiler flags for building library objects.
10899 pic_flag=$lt_lt_prog_compiler_pic
10902 # What is the maximum length of a command?
10903 max_cmd_len=$lt_cv_sys_max_cmd_len
10905 # Does compiler simultaneously support -c and -o options?
10906 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10908 # Must we lock files when doing compilation?
10909 need_locks=$lt_need_locks
10911 # Do we need the lib prefix for modules?
10912 need_lib_prefix=$need_lib_prefix
10914 # Do we need a version for libraries?
10915 need_version=$need_version
10917 # Whether dlopen is supported.
10918 dlopen_support=$enable_dlopen
10920 # Whether dlopen of programs is supported.
10921 dlopen_self=$enable_dlopen_self
10923 # Whether dlopen of statically linked programs is supported.
10924 dlopen_self_static=$enable_dlopen_self_static
10926 # Compiler flag to prevent dynamic linking.
10927 link_static_flag=$lt_lt_prog_compiler_static
10929 # Compiler flag to turn off builtin functions.
10930 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10932 # Compiler flag to allow reflexive dlopens.
10933 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10935 # Compiler flag to generate shared objects directly from archives.
10936 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10938 # Compiler flag to generate thread-safe objects.
10939 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10941 # Library versioning type.
10942 version_type=$version_type
10944 # Format of library name prefix.
10945 libname_spec=$lt_libname_spec
10947 # List of archive names. First name is the real one, the rest are links.
10948 # The last name is the one that the linker finds with -lNAME.
10949 library_names_spec=$lt_library_names_spec
10951 # The coded name of the library, if different from the real name.
10952 soname_spec=$lt_soname_spec
10954 # Commands used to build and install an old-style archive.
10956 old_archive_cmds=$lt_old_archive_cmds
10957 old_postinstall_cmds=$lt_old_postinstall_cmds
10958 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10960 # Create an old-style archive from a shared archive.
10961 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10963 # Create a temporary old-style archive to link instead of a shared archive.
10964 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10966 # Commands used to build and install a shared archive.
10967 archive_cmds=$lt_archive_cmds
10968 archive_expsym_cmds=$lt_archive_expsym_cmds
10969 postinstall_cmds=$lt_postinstall_cmds
10970 postuninstall_cmds=$lt_postuninstall_cmds
10972 # Commands used to build a loadable module (assumed same as above if empty)
10973 module_cmds=$lt_module_cmds
10974 module_expsym_cmds=$lt_module_expsym_cmds
10976 # Commands to strip libraries.
10977 old_striplib=$lt_old_striplib
10978 striplib=$lt_striplib
10980 # Dependencies to place before the objects being linked to create a
10982 predep_objects=$lt_predep_objects
10984 # Dependencies to place after the objects being linked to create a
10986 postdep_objects=$lt_postdep_objects
10988 # Dependencies to place before the objects being linked to create a
10990 predeps=$lt_predeps
10992 # Dependencies to place after the objects being linked to create a
10994 postdeps=$lt_postdeps
10996 # The directories searched by this compiler when creating a shared
10998 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11000 # The library search path used internally by the compiler when linking
11001 # a shared library.
11002 compiler_lib_search_path=$lt_compiler_lib_search_path
11004 # Method to check whether dependent libraries are shared objects.
11005 deplibs_check_method=$lt_deplibs_check_method
11007 # Command to use when deplibs_check_method == file_magic.
11008 file_magic_cmd=$lt_file_magic_cmd
11010 # Flag that allows shared libraries with undefined symbols to be built.
11011 allow_undefined_flag=$lt_allow_undefined_flag
11013 # Flag that forces no undefined symbols.
11014 no_undefined_flag=$lt_no_undefined_flag
11016 # Commands used to finish a libtool library installation in a directory.
11017 finish_cmds=$lt_finish_cmds
11019 # Same as above, but a single script fragment to be evaled but not shown.
11020 finish_eval=$lt_finish_eval
11022 # Take the output of nm and produce a listing of raw symbols and C names.
11023 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11025 # Transform the output of nm in a proper C declaration
11026 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11028 # Transform the output of nm in a C name address pair
11029 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11031 # This is the shared library runtime path variable.
11032 runpath_var=$runpath_var
11034 # This is the shared library path variable.
11035 shlibpath_var=$shlibpath_var
11037 # Is shlibpath searched before the hard-coded library search path?
11038 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11040 # How to hardcode a shared library path into an executable.
11041 hardcode_action=$hardcode_action
11043 # Whether we should hardcode library paths into libraries.
11044 hardcode_into_libs=$hardcode_into_libs
11046 # Flag to hardcode \$libdir into a binary during linking.
11047 # This must work even if \$libdir does not exist.
11048 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11050 # If ld is used when linking, flag to hardcode \$libdir into
11051 # a binary during linking. This must work even if \$libdir does
11053 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11055 # Whether we need a single -rpath flag with a separated argument.
11056 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11058 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11059 # resulting binary.
11060 hardcode_direct=$hardcode_direct
11062 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11063 # resulting binary.
11064 hardcode_minus_L=$hardcode_minus_L
11066 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11067 # the resulting binary.
11068 hardcode_shlibpath_var=$hardcode_shlibpath_var
11070 # Set to yes if building a shared library automatically hardcodes DIR into the library
11071 # and all subsequent libraries and executables linked against it.
11072 hardcode_automatic=$hardcode_automatic
11074 # Variables whose values should be saved in libtool wrapper scripts and
11075 # restored at relink time.
11076 variables_saved_for_relink="$variables_saved_for_relink"
11078 # Whether libtool must link a program against all its dependency libraries.
11079 link_all_deplibs=$link_all_deplibs
11081 # Compile-time system search path for libraries
11082 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11084 # Run-time system search path for libraries
11085 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11087 # Fix the shell variable \$srcfile for the compiler.
11088 fix_srcfile_path=$lt_fix_srcfile_path
11090 # Set to yes if exported symbols are required.
11091 always_export_symbols=$always_export_symbols
11093 # The commands to list exported symbols.
11094 export_symbols_cmds=$lt_export_symbols_cmds
11096 # The commands to extract the exported symbol list from a shared archive.
11097 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11099 # Symbols that should not be listed in the preloaded symbols.
11100 exclude_expsyms=$lt_exclude_expsyms
11102 # Symbols that must always be exported.
11103 include_expsyms=$lt_include_expsyms
11105 # ### END LIBTOOL CONFIG
11112 cat <<\EOF >> "$cfgfile"
11114 # AIX sometimes has problems with the GCC collect2 program. For some
11115 # reason, if we set the COLLECT_NAMES environment variable, the problems
11116 # vanish in a puff of smoke.
11117 if test "X${COLLECT_NAMES+set}" != Xset; then
11119 export COLLECT_NAMES
11125 # We use sed instead of cat because bash on DJGPP gets confused if
11126 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11127 # text mode, it properly converts lines to CR/LF. This bash problem
11128 # is reportedly fixed, but why not run on old versions too?
11129 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11131 mv -f "$cfgfile" "$ofile" || \
11132 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11136 # If there is no Makefile yet, we rely on a make rule to execute
11137 # `config.status
--recheck' to rerun these tests and create the
11138 # libtool script then.
11139 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11140 if test -f "$ltmain_in"; then
11141 test -f Makefile && make "$ltmain"
11147 ac_cpp='$CPP $CPPFLAGS'
11148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11149 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11155 # Check whether --with-tags was given.
11156 if test "${with_tags+set}" = set; then
11157 withval=$with_tags; tagnames="$withval"
11161 if test -f "$ltmain" && test -n "$tagnames"; then
11162 if test ! -f "${ofile}"; then
11163 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11164 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11167 if test -z "$LTCC"; then
11168 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11169 if test -z "$LTCC"; then
11170 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11171 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11173 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11174 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11177 if test -z "$LTCFLAGS"; then
11178 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11181 # Extract list of available tagged configurations in $ofile.
11182 # Note that this assumes the entire list is on one line.
11183 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11185 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11186 for tagname in $tagnames; do
11188 # Check whether tagname contains only valid characters
11189 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11191 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11192 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11193 { (exit 1); exit 1; }; }
11197 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11199 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11200 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11201 { (exit 1); exit 1; }; }
11204 # Update the list of available tags.
11205 if test -n "$tagname"; then
11206 echo appending configuration tag \"$tagname\" to $ofile
11210 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11211 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11212 (test "X$CXX" != "Xg++"))) ; then
11214 ac_cpp='$CXXCPP $CPPFLAGS'
11215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11222 archive_cmds_need_lc_CXX=no
11223 allow_undefined_flag_CXX=
11224 always_export_symbols_CXX=no
11225 archive_expsym_cmds_CXX=
11226 export_dynamic_flag_spec_CXX=
11227 hardcode_direct_CXX=no
11228 hardcode_libdir_flag_spec_CXX=
11229 hardcode_libdir_flag_spec_ld_CXX=
11230 hardcode_libdir_separator_CXX=
11231 hardcode_minus_L_CXX=no
11232 hardcode_shlibpath_var_CXX=unsupported
11233 hardcode_automatic_CXX=no
11235 module_expsym_cmds_CXX=
11236 link_all_deplibs_CXX=unknown
11237 old_archive_cmds_CXX=$old_archive_cmds
11238 no_undefined_flag_CXX=
11239 whole_archive_flag_spec_CXX=
11240 enable_shared_with_static_runtimes_CXX=no
11242 # Dependencies to place before and after the object being linked:
11243 predep_objects_CXX=
11244 postdep_objects_CXX=
11247 compiler_lib_search_path_CXX=
11248 compiler_lib_search_dirs_CXX=
11250 # Source file extension for C++ test sources.
11253 # Object file extension for compiled C++ test sources.
11257 # Code to be used in simple compile tests
11258 lt_simple_compile_test_code="int some_variable = 0;"
11260 # Code to be used in simple link tests
11261 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11263 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11265 # If no C compiler was specified, use CC.
11268 # If no C compiler flags were specified, use CFLAGS.
11269 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11271 # Allow CC to be a program name with arguments.
11275 # save warnings/boilerplate of simple test code
11276 ac_outfile=conftest.$ac_objext
11277 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11278 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11279 _lt_compiler_boilerplate=`cat conftest.err
`
11282 ac_outfile=conftest.$ac_objext
11283 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11284 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11285 _lt_linker_boilerplate=`cat conftest.err
`
11289 # Allow CC to be a program name with arguments.
11294 lt_save_with_gnu_ld=$with_gnu_ld
11295 lt_save_path_LD=$lt_cv_path_LD
11296 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11297 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11299 $as_unset lt_cv_prog_gnu_ld
11301 if test -n "${lt_cv_path_LDCXX+set}"; then
11302 lt_cv_path_LD=$lt_cv_path_LDCXX
11304 $as_unset lt_cv_path_LD
11306 test -z "${LDCXX+set}" || LD=$LDCXX
11310 for cc_temp in $compiler""; do
11312 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11313 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11318 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11321 # We don't want -fno-exception wen compiling C++ code, so set the
11322 # no_builtin_flag separately
11323 if test "$GXX" = yes; then
11324 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11326 lt_prog_compiler_no_builtin_flag_CXX=
11329 if test "$GXX" = yes; then
11330 # Set up default GNU C++ configuration
11333 # Check whether --with-gnu-ld was given.
11334 if test "${with_gnu_ld+set}" = set; then
11335 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11341 if test "$GCC" = yes; then
11342 # Check if gcc -print-prog-name=ld gives a path.
11343 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11344 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11347 # gcc leaves a trailing carriage return which upsets mingw
11348 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11350 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11353 # Accept absolute paths.
11355 re_direlt='/[^/][^/]*/\.\./'
11356 # Canonicalize the pathname of ld
11357 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11358 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11359 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11361 test -z "$LD" && LD="$ac_prog"
11364 # If it fails, then pretend we aren't using GCC.
11368 # If it is relative, then search for the first ld in PATH.
11369 with_gnu_ld=unknown
11372 elif test "$with_gnu_ld" = yes; then
11373 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11374 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11376 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11377 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11379 if test "${lt_cv_path_LD+set}" = set; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11382 if test -z "$LD"; then
11383 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11384 for ac_dir in $PATH; do
11386 test -z "$ac_dir" && ac_dir=.
11387 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11388 lt_cv_path_LD="$ac_dir/$ac_prog"
11389 # Check to see if the program is GNU ld. I'd rather use --version,
11390 # but apparently some variants of GNU ld only accept -v.
11391 # Break only if it was the GNU/non-GNU ld that we prefer.
11392 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11393 *GNU* | *'with BFD'*)
11394 test "$with_gnu_ld" != no && break
11397 test "$with_gnu_ld" != yes && break
11404 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11408 LD="$lt_cv_path_LD"
11409 if test -n "$LD"; then
11410 { echo "$as_me:$LINENO: result: $LD" >&5
11411 echo "${ECHO_T}$LD" >&6; }
11413 { echo "$as_me:$LINENO: result: no" >&5
11414 echo "${ECHO_T}no" >&6; }
11416 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11417 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11418 { (exit 1); exit 1; }; }
11419 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11420 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11421 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11425 case `$LD -v 2>&1 </dev
/null
` in
11426 *GNU* | *'with BFD'*)
11427 lt_cv_prog_gnu_ld=yes
11430 lt_cv_prog_gnu_ld=no
11434 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11435 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11436 with_gnu_ld=$lt_cv_prog_gnu_ld
11440 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11441 # archiving commands below assume that GNU ld is being used.
11442 if test "$with_gnu_ld" = yes; then
11443 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11444 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'
11446 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11447 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11449 # If archive_cmds runs LD, not CC, wlarc should be empty
11450 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11451 # investigate it a little bit more. (MM)
11454 # ancient GNU ld didn't support --whole-archive et. al.
11455 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11456 grep 'no-whole-archive' > /dev/null; then
11457 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11459 whole_archive_flag_spec_CXX=
11465 # A generic and very simple default shared library creation
11466 # command for GNU C++ for the case where it uses the native
11467 # linker, instead of GNU ld. If possible, this setting should
11468 # overridden to take advantage of the native linker features on
11469 # the platform it is being used on.
11470 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11473 # Commands to make compiler produce verbose output that lists
11474 # what "hidden" libraries, object files and flags are used when
11475 # linking a shared library.
11476 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11484 # PORTME: fill in a description of your system's C++ link characteristics
11485 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11486 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11490 # FIXME: insert proper C++ library support
11494 if test "$host_cpu" = ia64; then
11495 # On IA64, the linker does run time linking by default, so we don't
11496 # have to do anything special.
11497 aix_use_runtimelinking=no
11498 exp_sym_flag='-Bexport'
11501 aix_use_runtimelinking=no
11503 # Test if we are trying to use run time linking or normal
11504 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11505 # need to do runtime linking.
11506 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11507 for ld_flag in $LDFLAGS; do
11510 aix_use_runtimelinking=yes
11518 exp_sym_flag='-bexport'
11519 no_entry_flag='-bnoentry'
11522 # When large executables or shared objects are built, AIX ld can
11523 # have problems creating the table of contents. If linking a library
11524 # or program results in "error TOC overflow" add -mminimal-toc to
11525 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11526 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11528 archive_cmds_CXX=''
11529 hardcode_direct_CXX=yes
11530 hardcode_libdir_separator_CXX=':'
11531 link_all_deplibs_CXX=yes
11533 if test "$GXX" = yes; then
11534 case $host_os in aix4.[012]|aix4.[012].*)
11535 # We only want to do this on AIX 4.2 and lower, the check
11536 # below for broken collect2 doesn't work under 4.3+
11537 collect2name=`${CC} -print-prog-name=collect2
`
11538 if test -f "$collect2name" && \
11539 strings "$collect2name" | grep resolve_lib_name >/dev/null
11541 # We have reworked collect2
11544 # We have old collect2
11545 hardcode_direct_CXX=unsupported
11546 # It fails to find uninstalled libraries when the uninstalled
11547 # path is not listed in the libpath. Setting hardcode_minus_L
11548 # to unsupported forces relinking
11549 hardcode_minus_L_CXX=yes
11550 hardcode_libdir_flag_spec_CXX='-L$libdir'
11551 hardcode_libdir_separator_CXX=
11555 shared_flag='-shared'
11556 if test "$aix_use_runtimelinking" = yes; then
11557 shared_flag="$shared_flag "'${wl}-G'
11561 if test "$host_cpu" = ia64; then
11562 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11563 # chokes on -Wl,-G. The following line is correct:
11566 if test "$aix_use_runtimelinking" = yes; then
11567 shared_flag='${wl}-G'
11569 shared_flag='${wl}-bM:SRE'
11574 # It seems that -bexpall does not export symbols beginning with
11575 # underscore (_), so it is better to generate a list of symbols to export.
11576 always_export_symbols_CXX=yes
11577 if test "$aix_use_runtimelinking" = yes; then
11578 # Warning - without using the other runtime loading flags (-brtl),
11579 # -berok will link without error, but may produce a broken library.
11580 allow_undefined_flag_CXX='-berok'
11581 # Determine the default libpath from the value encoded in an empty executable.
11582 cat >conftest.$ac_ext <<_ACEOF
11585 cat confdefs.h >>conftest.$ac_ext
11586 cat >>conftest.$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (ac_try="$ac_link"
11599 case "(($ac_try" in
11600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11601 *) ac_try_echo
=$ac_try;;
11603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11604 (eval "$ac_link") 2>conftest.er1
11606 grep -v '^ *+' conftest.er1
>conftest.err
11608 cat conftest.err
>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } && {
11611 test -z "$ac_cxx_werror_flag" ||
11612 test ! -s conftest.err
11613 } && test -s conftest
$ac_exeext &&
11614 $as_test_x conftest
$ac_exeext; then
11616 lt_aix_libpath_sed
='
11617 /Import File Strings/,/^$/ {
11623 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11624 # Check for a 64-bit object if we didn't find anything.
11625 if test -z "$aix_libpath"; then
11626 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11629 echo "$as_me: failed program was:" >&5
11630 sed 's/^/| /' conftest.
$ac_ext >&5
11635 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11636 conftest
$ac_exeext conftest.
$ac_ext
11637 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11639 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11641 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"
11643 if test "$host_cpu" = ia64
; then
11644 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11645 allow_undefined_flag_CXX
="-z nodefs"
11646 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"
11648 # Determine the default libpath from the value encoded in an empty executable.
11649 cat >conftest.
$ac_ext <<_ACEOF
11652 cat confdefs.h
>>conftest.
$ac_ext
11653 cat >>conftest.
$ac_ext <<_ACEOF
11654 /* end confdefs.h. */
11664 rm -f conftest.
$ac_objext conftest
$ac_exeext
11665 if { (ac_try
="$ac_link"
11666 case "(($ac_try" in
11667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11668 *) ac_try_echo=$ac_try;;
11670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11671 (eval "$ac_link") 2>conftest.er1
11673 grep -v '^ *+' conftest.er1 >conftest.err
11675 cat conftest.err >&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); } && {
11678 test -z "$ac_cxx_werror_flag" ||
11679 test ! -s conftest.err
11680 } && test -s conftest$ac_exeext &&
11681 $as_test_x conftest$ac_exeext; then
11683 lt_aix_libpath_sed='
11684 /Import File Strings/,/^$/ {
11690 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11691 # Check for a 64-bit object if we didn't find anything.
11692 if test -z "$aix_libpath"; then
11693 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11703 conftest$ac_exeext conftest.$ac_ext
11704 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11706 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11707 # Warning - without using the other run time loading flags,
11708 # -berok will link without error, but may produce a broken library.
11709 no_undefined_flag_CXX=' ${wl}-bernotok'
11710 allow_undefined_flag_CXX=' ${wl}-berok'
11711 # Exported symbols can be pulled into shared objects from archives
11712 whole_archive_flag_spec_CXX='$convenience'
11713 archive_cmds_need_lc_CXX=yes
11714 # This is similar to how AIX traditionally builds its shared libraries.
11715 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'
11721 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11722 allow_undefined_flag_CXX=unsupported
11723 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11724 # support --undefined. This deserves some investigation. FIXME
11725 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11732 case $cc_basename in
11734 # FIXME: insert proper C++ library support
11740 cygwin* | mingw* | pw32*)
11741 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11742 # as there is no search path for DLLs.
11743 hardcode_libdir_flag_spec_CXX='-L$libdir'
11744 allow_undefined_flag_CXX=unsupported
11745 always_export_symbols_CXX=no
11746 enable_shared_with_static_runtimes_CXX=yes
11748 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11749 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'
11750 # If the export-symbols file already is a .def file (1st line
11751 # is EXPORTS), use it as is; otherwise, prepend...
11752 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11753 cp $export_symbols $output_objdir/$soname.def;
11755 echo EXPORTS > $output_objdir/$soname.def;
11756 cat $export_symbols >> $output_objdir/$soname.def;
11758 $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'
11763 darwin* | rhapsody*)
11764 archive_cmds_need_lc_CXX=no
11765 hardcode_direct_CXX=no
11766 hardcode_automatic_CXX=yes
11767 hardcode_shlibpath_var_CXX=unsupported
11768 whole_archive_flag_spec_CXX=''
11769 link_all_deplibs_CXX=yes
11770 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11771 if test "$GXX" = yes ; then
11772 output_verbose_link_cmd='echo'
11773 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11774 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11775 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11776 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11777 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11778 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${_lt_dsymutil}"
11779 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
11782 case $cc_basename in
11784 output_verbose_link_cmd='echo'
11785 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'
11786 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11787 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11788 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}'
11789 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}'
11799 case $cc_basename in
11801 # FIXME: insert proper C++ library support
11805 # Green Hills C++ Compiler
11806 # FIXME: insert proper C++ library support
11810 # FIXME: insert proper C++ library support
11816 # C++ shared libraries reported to be fairly broken before switch to ELF
11820 archive_cmds_need_lc_CXX=no
11822 freebsd* | dragonfly*)
11823 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11830 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11831 hardcode_libdir_separator_CXX=:
11832 export_dynamic_flag_spec_CXX='${wl}-E'
11833 hardcode_direct_CXX=yes
11834 hardcode_minus_L_CXX=yes # Not in the search PATH,
11835 # but as the default
11836 # location of the library.
11838 case $cc_basename in
11840 # FIXME: insert proper C++ library support
11844 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'
11845 # Commands to make compiler produce verbose output that lists
11846 # what "hidden" libraries, object files and flags are used when
11847 # linking a shared library.
11849 # There doesn't appear to be a way to prevent this compiler from
11850 # explicitly linking system object files so we need to strip them
11851 # from the output so that they don't get included in the library
11853 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'
11856 if test "$GXX" = yes; then
11857 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'
11859 # FIXME: insert proper C++ library support
11866 if test $with_gnu_ld = no; then
11867 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11868 hardcode_libdir_separator_CXX=:
11873 export_dynamic_flag_spec_CXX='${wl}-E'
11879 hardcode_direct_CXX=no
11880 hardcode_shlibpath_var_CXX=no
11883 hardcode_direct_CXX=yes
11884 hardcode_minus_L_CXX=yes # Not in the search PATH,
11885 # but as the default
11886 # location of the library.
11890 case $cc_basename in
11892 # FIXME: insert proper C++ library support
11898 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11901 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11904 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11907 # Commands to make compiler produce verbose output that lists
11908 # what "hidden" libraries, object files and flags are used when
11909 # linking a shared library.
11911 # There doesn't appear to be a way to prevent this compiler from
11912 # explicitly linking system object files so we need to strip them
11913 # from the output so that they don't get included in the library
11915 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'
11918 if test "$GXX" = yes; then
11919 if test $with_gnu_ld = no; then
11922 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11925 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11928 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'
11933 # FIXME: insert proper C++ library support
11940 hardcode_direct_CXX=no
11941 hardcode_shlibpath_var_CXX=no
11942 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11943 export_dynamic_flag_spec_CXX='${wl}-E'
11944 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11945 # Instead, shared libraries are loaded at an image base (0x10000000 by
11946 # default) and relocated if they conflict, which is a slow very memory
11947 # consuming and fragmenting process. To avoid this, we pick a random,
11948 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11949 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11950 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'
11951 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'
11954 case $cc_basename in
11957 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'
11959 # Archives containing C++ object files must be created using
11960 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11961 # necessary to make sure instantiated templates are included
11963 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11966 if test "$GXX" = yes; then
11967 if test "$with_gnu_ld" = no; then
11968 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'
11970 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'
11973 link_all_deplibs_CXX=yes
11976 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11977 hardcode_libdir_separator_CXX=:
11979 linux* | k*bsd*-gnu)
11980 case $cc_basename in
11982 # Kuck and Associates, Inc. (KAI) C++ Compiler
11984 # KCC will only create a shared library if the output file
11985 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11986 # to its proper name (with version) after linking.
11987 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'
11988 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'
11989 # Commands to make compiler produce verbose output that lists
11990 # what "hidden" libraries, object files and flags are used when
11991 # linking a shared library.
11993 # There doesn't appear to be a way to prevent this compiler from
11994 # explicitly linking system object files so we need to strip them
11995 # from the output so that they don't get included in the library
11997 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'
11999 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12000 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12002 # Archives containing C++ object files must be created using
12003 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12004 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12009 # version 8.0 and above of icpc choke on multiply defined symbols
12010 # if we add $predep_objects and $postdep_objects, however 7.1 and
12011 # earlier do not add the objects themselves.
12012 case `$CC -V 2>&1` in
12014 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12015 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'
12017 *) # Version 8.0 or newer
12020 ia64
*) tmp_idyn
=' -i_dynamic';;
12022 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12023 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'
12026 archive_cmds_need_lc_CXX
=no
12027 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12028 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12029 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12032 # Portland Group C++ compiler
12033 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12034 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'
12036 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12037 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12038 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'
12042 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12043 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'
12045 runpath_var
=LD_RUN_PATH
12046 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12047 hardcode_libdir_separator_CXX
=:
12049 # Commands to make compiler produce verbose output that lists
12050 # what "hidden" libraries, object files and flags are used when
12051 # linking a shared library.
12053 # There doesn't appear to be a way to prevent this compiler from
12054 # explicitly linking system object files so we need to strip them
12055 # from the output so that they don't get included in the library
12057 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'
12060 case `$CC -V 2>&1 | sed 5q` in
12063 no_undefined_flag_CXX
=' -zdefs'
12064 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12065 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'
12066 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12067 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'
12069 # Not sure whether something based on
12070 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12072 output_verbose_link_cmd
='echo'
12074 # Archives containing C++ object files must be created using
12075 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12076 # necessary to make sure instantiated templates are included
12078 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12085 # FIXME: insert proper C++ library support
12089 # FIXME: insert proper C++ library support
12093 case $cc_basename in
12095 # FIXME: insert proper C++ library support
12099 # FIXME: insert proper C++ library support
12105 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12106 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12108 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12109 hardcode_direct_CXX
=yes
12110 hardcode_shlibpath_var_CXX
=no
12112 # Workaround some broken pre-1.5 toolchains
12113 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12116 # C++ shared libraries are fairly broken
12120 if test -f /usr
/libexec
/ld.so
; then
12121 hardcode_direct_CXX
=yes
12122 hardcode_shlibpath_var_CXX
=no
12123 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12124 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12125 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12126 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12127 export_dynamic_flag_spec_CXX
='${wl}-E'
12128 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12130 output_verbose_link_cmd
='echo'
12136 case $cc_basename in
12138 # Kuck and Associates, Inc. (KAI) C++ Compiler
12140 # KCC will only create a shared library if the output file
12141 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12142 # to its proper name (with version) after linking.
12143 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'
12145 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12146 hardcode_libdir_separator_CXX
=:
12148 # Archives containing C++ object files must be created using
12149 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12150 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12154 # Rational C++ 2.4.1
12155 # FIXME: insert proper C++ library support
12159 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12160 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'
12162 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12163 hardcode_libdir_separator_CXX
=:
12165 # Commands to make compiler produce verbose output that lists
12166 # what "hidden" libraries, object files and flags are used when
12167 # linking a shared library.
12169 # There doesn't appear to be a way to prevent this compiler from
12170 # explicitly linking system object files so we need to strip them
12171 # from the output so that they don't get included in the library
12173 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'
12176 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12177 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12178 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'
12180 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12181 hardcode_libdir_separator_CXX
=:
12183 # Commands to make compiler produce verbose output that lists
12184 # what "hidden" libraries, object files and flags are used when
12185 # linking a shared library.
12186 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12189 # FIXME: insert proper C++ library support
12196 case $cc_basename in
12198 # Kuck and Associates, Inc. (KAI) C++ Compiler
12200 # KCC will only create a shared library if the output file
12201 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12202 # to its proper name (with version) after linking.
12203 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'
12205 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12206 hardcode_libdir_separator_CXX
=:
12208 # Archives containing C++ object files must be created using
12209 # the KAI C++ compiler.
12210 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12213 # Rational C++ 2.4.1
12214 # FIXME: insert proper C++ library support
12218 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12219 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'
12220 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12221 echo "-hidden">> $lib.exp~
12222 $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~
12225 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12226 hardcode_libdir_separator_CXX
=:
12228 # Commands to make compiler produce verbose output that lists
12229 # what "hidden" libraries, object files and flags are used when
12230 # linking a shared library.
12232 # There doesn't appear to be a way to prevent this compiler from
12233 # explicitly linking system object files so we need to strip them
12234 # from the output so that they don't get included in the library
12236 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'
12239 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12240 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12241 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'
12243 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12244 hardcode_libdir_separator_CXX
=:
12246 # Commands to make compiler produce verbose output that lists
12247 # what "hidden" libraries, object files and flags are used when
12248 # linking a shared library.
12249 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12252 # FIXME: insert proper C++ library support
12259 # FIXME: insert proper C++ library support
12263 case $cc_basename in
12266 # FIXME: insert proper C++ library support
12271 # FIXME: insert proper C++ library support
12275 # FIXME: insert proper C++ library support
12281 case $cc_basename in
12283 # Sun C++ 4.2, 5.x and Centerline C++
12284 archive_cmds_need_lc_CXX
=yes
12285 no_undefined_flag_CXX
=' -zdefs'
12286 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12287 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12288 $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'
12290 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12291 hardcode_shlibpath_var_CXX
=no
12293 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12295 # The compiler driver will combine and reorder linker options,
12296 # but understands `-z linker_flag'.
12297 # Supported since Solaris 2.6 (maybe 2.5.1?)
12298 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12301 link_all_deplibs_CXX
=yes
12303 output_verbose_link_cmd
='echo'
12305 # Archives containing C++ object files must be created using
12306 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12307 # necessary to make sure instantiated templates are included
12309 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12312 # Green Hills C++ Compiler
12313 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12315 # The C++ compiler must be used to create the archive.
12316 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12319 # GNU C++ compiler with Solaris linker
12320 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12321 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12322 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12323 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12324 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12325 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12327 # Commands to make compiler produce verbose output that lists
12328 # what "hidden" libraries, object files and flags are used when
12329 # linking a shared library.
12330 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12332 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12334 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12335 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12336 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12338 # Commands to make compiler produce verbose output that lists
12339 # what "hidden" libraries, object files and flags are used when
12340 # linking a shared library.
12341 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12344 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12346 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12348 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12355 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12356 no_undefined_flag_CXX
='${wl}-z,text'
12357 archive_cmds_need_lc_CXX
=no
12358 hardcode_shlibpath_var_CXX
=no
12359 runpath_var
='LD_RUN_PATH'
12361 case $cc_basename in
12363 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12364 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12367 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12368 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12372 sysv5
* | sco3.2v5
* | sco5v6
*)
12373 # Note: We can NOT use -z defs as we might desire, because we do not
12374 # link with -lc, and that would cause any symbols used from libc to
12375 # always be unresolved, which means just about no library would
12376 # ever link correctly. If we're not using GNU ld we use -z text
12377 # though, which does catch some bad symbols but isn't as heavy-handed
12379 # For security reasons, it is highly recommended that you always
12380 # use absolute paths for naming shared libraries, and exclude the
12381 # DT_RUNPATH tag from executables and libraries. But doing so
12382 # requires that you compile everything twice, which is a pain.
12383 # So that behaviour is only enabled if SCOABSPATH is set to a
12384 # non-empty value in the environment. Most likely only useful for
12385 # creating official distributions of packages.
12386 # This is a hack until libtool officially supports absolute path
12387 # names for shared libraries.
12388 no_undefined_flag_CXX
='${wl}-z,text'
12389 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12390 archive_cmds_need_lc_CXX
=no
12391 hardcode_shlibpath_var_CXX
=no
12392 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12393 hardcode_libdir_separator_CXX
=':'
12394 link_all_deplibs_CXX
=yes
12395 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12396 runpath_var
='LD_RUN_PATH'
12398 case $cc_basename in
12400 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12401 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12404 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12405 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12410 case $cc_basename in
12412 # NonStop-UX NCC 3.20
12413 # FIXME: insert proper C++ library support
12417 # FIXME: insert proper C++ library support
12423 # FIXME: insert proper C++ library support
12427 # FIXME: insert proper C++ library support
12431 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12432 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12433 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12438 cat > conftest.
$ac_ext <<EOF
12442 Foo (void) { a = 0; }
12448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12449 (eval $ac_compile) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; then
12453 # Parse the compiler output and extract the necessary
12454 # objects, libraries and library flags.
12456 # Sentinel used to keep track of whether or not we are before
12457 # the conftest object file.
12458 pre_test_object_deps_done
=no
12460 # The `*' in the case matches for architectures that use `case' in
12461 # $output_verbose_cmd can trigger glob expansion during the loop
12462 # eval without this substitution.
12463 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12465 for p
in `eval $output_verbose_link_cmd`; do
12469 # Some compilers place space between "-{L,R}" and the path.
12470 # Remove the space.
12471 if test $p = "-L" \
12472 ||
test $p = "-R"; then
12479 if test "$pre_test_object_deps_done" = no
; then
12482 # Internal compiler library paths should come after those
12483 # provided the user. The postdeps already come after the
12484 # user supplied libs so there is no need to process them.
12485 if test -z "$compiler_lib_search_path_CXX"; then
12486 compiler_lib_search_path_CXX
="${prev}${p}"
12488 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12491 # The "-l" case would never come before the object being
12492 # linked, so don't bother handling this case.
12495 if test -z "$postdeps_CXX"; then
12496 postdeps_CXX
="${prev}${p}"
12498 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12504 # This assumes that the test object file only shows up
12505 # once in the compiler output.
12506 if test "$p" = "conftest.$objext"; then
12507 pre_test_object_deps_done
=yes
12511 if test "$pre_test_object_deps_done" = no
; then
12512 if test -z "$predep_objects_CXX"; then
12513 predep_objects_CXX
="$p"
12515 predep_objects_CXX
="$predep_objects_CXX $p"
12518 if test -z "$postdep_objects_CXX"; then
12519 postdep_objects_CXX
="$p"
12521 postdep_objects_CXX
="$postdep_objects_CXX $p"
12526 *) ;; # Ignore the rest.
12534 echo "libtool.m4: error: problem compiling CXX test program"
12537 $rm -f confest.
$objext
12539 compiler_lib_search_dirs_CXX
=
12540 if test -n "$compiler_lib_search_path_CXX"; then
12541 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12544 # PORTME: override above test on systems where it is broken
12547 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12548 # hack all around it, let's just trust "g++" to DTRT.
12549 predep_objects_CXX
=
12550 postdep_objects_CXX
=
12555 case `$CC -V 2>&1 | sed 5q` in
12559 # The more standards-conforming stlport4 library is
12560 # incompatible with the Cstd library. Avoid specifying
12561 # it if it's in CXXFLAGS. Ignore libCrun as
12562 # -library=stlport4 depends on it.
12563 case " $CXX $CXXFLAGS " in
12564 *" -library=stlport4 "*)
12565 solaris_use_stlport4
=yes
12568 if test "$solaris_use_stlport4" != yes; then
12569 postdeps_CXX
='-library=Cstd -library=Crun'
12576 case $cc_basename in
12578 # The more standards-conforming stlport4 library is
12579 # incompatible with the Cstd library. Avoid specifying
12580 # it if it's in CXXFLAGS. Ignore libCrun as
12581 # -library=stlport4 depends on it.
12582 case " $CXX $CXXFLAGS " in
12583 *" -library=stlport4 "*)
12584 solaris_use_stlport4
=yes
12588 # Adding this requires a known-good setup of shared libraries for
12589 # Sun compiler versions before 5.6, else PIC objects from an old
12590 # archive will be linked into the output, leading to subtle bugs.
12591 if test "$solaris_use_stlport4" != yes; then
12592 postdeps_CXX
='-library=Cstd -library=Crun'
12599 case " $postdeps_CXX " in
12600 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12603 lt_prog_compiler_wl_CXX
=
12604 lt_prog_compiler_pic_CXX
=
12605 lt_prog_compiler_static_CXX
=
12607 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12608 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12610 # C++ specific cases for pic, static, wl, etc.
12611 if test "$GXX" = yes; then
12612 lt_prog_compiler_wl_CXX
='-Wl,'
12613 lt_prog_compiler_static_CXX
='-static'
12617 # All AIX code is PIC.
12618 if test "$host_cpu" = ia64
; then
12619 # AIX 5 now supports IA64 processor
12620 lt_prog_compiler_static_CXX
='-Bstatic'
12624 # FIXME: we need at least 68020 code to build shared libraries, but
12625 # adding the `-m68020' flag to GCC prevents building anything better,
12627 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12629 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12630 # PIC is the default for these OSes.
12632 mingw
* | cygwin
* | os2
* | pw32
*)
12633 # This hack is so that the source file can tell whether it is being
12634 # built for inclusion in a dll (and should export symbols for example).
12635 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12636 # (--disable-auto-import) libraries
12637 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12639 darwin
* | rhapsody
*)
12640 # PIC is the default on this platform
12641 # Common symbols not allowed in MH_DYLIB files
12642 lt_prog_compiler_pic_CXX
='-fno-common'
12645 # DJGPP does not support shared libraries at all
12646 lt_prog_compiler_pic_CXX
=
12649 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12650 # Instead, we relocate shared libraries at runtime.
12653 if test -d /usr
/nec
; then
12654 lt_prog_compiler_pic_CXX
=-Kconform_pic
12658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12659 # not for PA HP-UX.
12664 lt_prog_compiler_pic_CXX
='-fPIC'
12669 lt_prog_compiler_pic_CXX
='-fPIC'
12675 # All AIX code is PIC.
12676 if test "$host_cpu" = ia64
; then
12677 # AIX 5 now supports IA64 processor
12678 lt_prog_compiler_static_CXX
='-Bstatic'
12680 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12684 case $cc_basename in
12686 # Green Hills C++ Compiler
12687 # _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"
12692 # PIC is the default on this platform
12693 # Common symbols not allowed in MH_DYLIB files
12694 case $cc_basename in
12696 lt_prog_compiler_pic_CXX
='-qnocommon'
12697 lt_prog_compiler_wl_CXX
='-Wl,'
12702 case $cc_basename in
12704 lt_prog_compiler_pic_CXX
='-KPIC'
12707 # Green Hills C++ Compiler
12708 lt_prog_compiler_pic_CXX
='-pic'
12714 freebsd
* | dragonfly
*)
12715 # FreeBSD uses GNU C++
12717 hpux9
* | hpux10
* | hpux11
*)
12718 case $cc_basename in
12720 lt_prog_compiler_wl_CXX
='-Wl,'
12721 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12722 if test "$host_cpu" != ia64
; then
12723 lt_prog_compiler_pic_CXX
='+Z'
12727 lt_prog_compiler_wl_CXX
='-Wl,'
12728 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12734 lt_prog_compiler_pic_CXX
='+Z'
12743 # This is c89, which is MS Visual C++ (no shared libs)
12744 # Anyone wants to do a port?
12746 irix5
* | irix6
* | nonstopux
*)
12747 case $cc_basename in
12749 lt_prog_compiler_wl_CXX
='-Wl,'
12750 lt_prog_compiler_static_CXX
='-non_shared'
12751 # CC pic flag -KPIC is the default.
12757 linux
* | k
*bsd
*-gnu)
12758 case $cc_basename in
12761 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12762 lt_prog_compiler_pic_CXX
='-fPIC'
12766 lt_prog_compiler_wl_CXX
='-Wl,'
12767 lt_prog_compiler_pic_CXX
='-KPIC'
12768 lt_prog_compiler_static_CXX
='-static'
12771 # Portland Group C++ compiler.
12772 lt_prog_compiler_wl_CXX
='-Wl,'
12773 lt_prog_compiler_pic_CXX
='-fpic'
12774 lt_prog_compiler_static_CXX
='-Bstatic'
12778 # Make sure the PIC flag is empty. It appears that all Alpha
12779 # Linux and Compaq Tru64 Unix objects are PIC.
12780 lt_prog_compiler_pic_CXX
=
12781 lt_prog_compiler_static_CXX
='-non_shared'
12784 case `$CC -V 2>&1 | sed 5q` in
12787 lt_prog_compiler_pic_CXX
='-KPIC'
12788 lt_prog_compiler_static_CXX
='-Bstatic'
12789 lt_prog_compiler_wl_CXX
='-Qoption ld '
12800 case $cc_basename in
12802 lt_prog_compiler_pic_CXX
='-W c,exportall'
12810 osf3
* | osf4
* | osf5
*)
12811 case $cc_basename in
12813 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12816 # Rational C++ 2.4.1
12817 lt_prog_compiler_pic_CXX
='-pic'
12820 # Digital/Compaq C++
12821 lt_prog_compiler_wl_CXX
='-Wl,'
12822 # Make sure the PIC flag is empty. It appears that all Alpha
12823 # Linux and Compaq Tru64 Unix objects are PIC.
12824 lt_prog_compiler_pic_CXX
=
12825 lt_prog_compiler_static_CXX
='-non_shared'
12834 case $cc_basename in
12836 # Sun C++ 4.2, 5.x and Centerline C++
12837 lt_prog_compiler_pic_CXX
='-KPIC'
12838 lt_prog_compiler_static_CXX
='-Bstatic'
12839 lt_prog_compiler_wl_CXX
='-Qoption ld '
12842 # Green Hills C++ Compiler
12843 lt_prog_compiler_pic_CXX
='-PIC'
12850 case $cc_basename in
12853 lt_prog_compiler_pic_CXX
='-pic'
12854 lt_prog_compiler_static_CXX
='-Bstatic'
12858 lt_prog_compiler_pic_CXX
='-pic'
12865 case $cc_basename in
12867 # NonStop-UX NCC 3.20
12868 lt_prog_compiler_pic_CXX
='-KPIC'
12874 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12875 case $cc_basename in
12877 lt_prog_compiler_wl_CXX
='-Wl,'
12878 lt_prog_compiler_pic_CXX
='-KPIC'
12879 lt_prog_compiler_static_CXX
='-Bstatic'
12886 lt_prog_compiler_can_build_shared_CXX
=no
12891 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12892 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12895 # Check to make sure the PIC flag actually works.
12897 if test -n "$lt_prog_compiler_pic_CXX"; then
12899 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12900 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12901 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 lt_cv_prog_compiler_pic_works_CXX
=no
12905 ac_outfile
=conftest.
$ac_objext
12906 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12907 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12908 # Insert the option either (1) after the last *FLAGS variable, or
12909 # (2) before a word containing "conftest.", or (3) at the end.
12910 # Note that $ac_compile itself does not contain backslashes and begins
12911 # with a dollar sign (not a hyphen), so the echo should work correctly.
12912 # The option is referenced via a variable to avoid confusing sed.
12913 lt_compile
=`echo "$ac_compile" | $SED \
12914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12916 -e 's:$: $lt_compiler_flag:'`
12917 (eval echo "\"\$as_me:12917: $lt_compile\"" >&5)
12918 (eval "$lt_compile" 2>conftest.err
)
12920 cat conftest.err
>&5
12921 echo "$as_me:12921: \$? = $ac_status" >&5
12922 if (exit $ac_status) && test -s "$ac_outfile"; then
12923 # The compiler can only warn and ignore the option if not recognized
12924 # So say no if there are warnings other than the usual output.
12925 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12926 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12927 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12928 lt_cv_prog_compiler_pic_works_CXX
=yes
12934 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12935 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12937 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12938 case $lt_prog_compiler_pic_CXX in
12940 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12943 lt_prog_compiler_pic_CXX
=
12944 lt_prog_compiler_can_build_shared_CXX
=no
12949 # For platforms which do not support PIC, -DPIC is meaningless:
12951 lt_prog_compiler_pic_CXX
=
12954 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12959 # Check to make sure the static flag actually works.
12961 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12962 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12963 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12964 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 lt_cv_prog_compiler_static_works_CXX
=no
12968 save_LDFLAGS
="$LDFLAGS"
12969 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12970 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12971 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12972 # The linker can only warn and ignore the option if not recognized
12973 # So say no if there are warnings
12974 if test -s conftest.err
; then
12975 # Append any errors to the config.log.
12976 cat conftest.err
1>&5
12977 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12978 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12979 if diff conftest.exp conftest.er2
>/dev
/null
; then
12980 lt_cv_prog_compiler_static_works_CXX
=yes
12983 lt_cv_prog_compiler_static_works_CXX
=yes
12987 LDFLAGS
="$save_LDFLAGS"
12990 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12991 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12993 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12996 lt_prog_compiler_static_CXX
=
13000 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13001 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13002 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 lt_cv_prog_compiler_c_o_CXX
=no
13006 $rm -r conftest
2>/dev
/null
13010 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13012 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13013 # Insert the option either (1) after the last *FLAGS variable, or
13014 # (2) before a word containing "conftest.", or (3) at the end.
13015 # Note that $ac_compile itself does not contain backslashes and begins
13016 # with a dollar sign (not a hyphen), so the echo should work correctly.
13017 lt_compile
=`echo "$ac_compile" | $SED \
13018 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13019 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13020 -e 's:$: $lt_compiler_flag:'`
13021 (eval echo "\"\$as_me:13021: $lt_compile\"" >&5)
13022 (eval "$lt_compile" 2>out
/conftest.err
)
13024 cat out
/conftest.err
>&5
13025 echo "$as_me:13025: \$? = $ac_status" >&5
13026 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13028 # The compiler can only warn and ignore the option if not recognized
13029 # So say no if there are warnings
13030 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13031 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13032 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13033 lt_cv_prog_compiler_c_o_CXX
=yes
13038 # SGI C++ compiler will create directory out/ii_files/ for
13039 # template instantiation
13040 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13041 $rm out
/* && rmdir out
13047 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13048 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13051 hard_links
="nottested"
13052 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13053 # do not overwrite the value of need_locks provided by the user
13054 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13055 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13058 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13060 ln conftest.a conftest.b
2>&5 || hard_links
=no
13061 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13062 { echo "$as_me:$LINENO: result: $hard_links" >&5
13063 echo "${ECHO_T}$hard_links" >&6; }
13064 if test "$hard_links" = no
; then
13065 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13066 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13073 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13074 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13076 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13079 # If we're using GNU nm, then we don't want the "-C" option.
13080 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13081 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13082 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'
13084 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'
13088 export_symbols_cmds_CXX
="$ltdll_cmds"
13091 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'
13094 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13097 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13099 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13100 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13101 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13104 # Do we need to explicitly link libc?
13106 case "x$archive_cmds_need_lc_CXX" in
13108 # Assume -lc should be added
13109 archive_cmds_need_lc_CXX
=yes
13111 if test "$enable_shared" = yes && test "$GCC" = yes; then
13112 case $archive_cmds_CXX in
13114 # FIXME: we may have to deal with multi-command sequences.
13117 # Test whether the compiler implicitly links with -lc since on some
13118 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13119 # to ld, don't add -lc before -lgcc.
13120 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13121 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13123 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126 (eval $ac_compile) 2>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } 2>conftest.err
; then
13132 libobjs
=conftest.
$ac_objext
13134 wl
=$lt_prog_compiler_wl_CXX
13135 pic_flag
=$lt_prog_compiler_pic_CXX
13141 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13142 allow_undefined_flag_CXX
=
13143 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13144 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }
13149 archive_cmds_need_lc_CXX
=no
13151 archive_cmds_need_lc_CXX
=yes
13153 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13155 cat conftest.err
1>&5
13158 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13159 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13166 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13167 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13168 library_names_spec
=
13169 libname_spec
='lib$name'
13173 postuninstall_cmds
=
13177 shlibpath_overrides_runpath
=unknown
13179 dynamic_linker
="$host_os ld.so"
13180 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13182 need_lib_prefix
=unknown
13183 hardcode_into_libs
=no
13185 # when you set need_version to no, make sure it does not cause -set_version
13186 # flags to be left without arguments
13187 need_version
=unknown
13192 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13193 shlibpath_var
=LIBPATH
13195 # AIX 3 has no versioning support, so we append a major version to the name.
13196 soname_spec
='${libname}${release}${shared_ext}$major'
13203 hardcode_into_libs
=yes
13204 if test "$host_cpu" = ia64
; then
13205 # AIX 5 supports IA64
13206 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13207 shlibpath_var
=LD_LIBRARY_PATH
13209 # With GCC up to 2.95.x, collect2 would create an import file
13210 # for dependence libraries. The import file would start with
13211 # the line `#! .'. This would cause the generated library to
13212 # depend on `.', always an invalid library. This was fixed in
13213 # development snapshots of GCC prior to 3.0.
13215 aix4 | aix4.
[01] | aix4.
[01].
*)
13216 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13218 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13221 can_build_shared
=no
13225 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13226 # soname into executable. Probably we can add versioning support to
13227 # collect2, so additional links can be useful in future.
13228 if test "$aix_use_runtimelinking" = yes; then
13229 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13230 # instead of lib<name>.a to let people know that these are not
13231 # typical AIX shared libraries.
13232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13234 # We preserve .a as extension for shared libraries through AIX4.2
13235 # and later when we are not doing run time linking.
13236 library_names_spec
='${libname}${release}.a $libname.a'
13237 soname_spec
='${libname}${release}${shared_ext}$major'
13239 shlibpath_var
=LIBPATH
13244 library_names_spec
='$libname.ixlibrary $libname.a'
13245 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13246 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'
13250 library_names_spec
='${libname}${shared_ext}'
13251 dynamic_linker
="$host_os ld.so"
13252 shlibpath_var
=LIBRARY_PATH
13258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13259 soname_spec
='${libname}${release}${shared_ext}$major'
13260 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13261 shlibpath_var
=LD_LIBRARY_PATH
13262 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13263 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13264 # the default ld.so.conf also contains /usr/contrib/lib and
13265 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13266 # libtool to hard-code these into programs
13269 cygwin
* | mingw
* | pw32
*)
13270 version_type
=windows
13275 case $GCC,$host_os in
13276 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13277 library_names_spec
='$libname.dll.a'
13278 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13279 postinstall_cmds
='base_file=`basename \${file}`~
13280 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13281 dldir=$destdir/`dirname \$dlpath`~
13282 test -d \$dldir || mkdir -p \$dldir~
13283 $install_prog $dir/$dlname \$dldir/$dlname~
13284 chmod a+x \$dldir/$dlname'
13285 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13286 dlpath=$dir/\$dldll~
13288 shlibpath_overrides_runpath
=yes
13292 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13293 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13294 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13297 # MinGW DLLs use traditional 'lib' prefix
13298 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13299 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13300 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13301 # It is most probably a Windows format PATH printed by
13302 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13303 # path with ; separators, and with drive letters. We can handle the
13304 # drive letters (cygwin fileutils understands them), so leave them,
13305 # especially as we might pass files found there to a mingw objdump,
13306 # which wouldn't understand a cygwinified path. Ahh.
13307 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13309 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13313 # pw32 DLLs use 'pw' prefix rather than 'lib'
13314 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13320 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13323 dynamic_linker
='Win32 ld.exe'
13324 # FIXME: first we should search . and the directory the executable is in
13328 darwin
* | rhapsody
*)
13329 dynamic_linker
="$host_os dyld"
13330 version_type
=darwin
13333 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13334 soname_spec
='${libname}${release}${major}$shared_ext'
13335 shlibpath_overrides_runpath
=yes
13336 shlibpath_var
=DYLD_LIBRARY_PATH
13337 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13339 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13347 soname_spec
='${libname}${release}${shared_ext}$major'
13348 shlibpath_var
=LD_LIBRARY_PATH
13355 freebsd
* | dragonfly
*)
13356 # DragonFly does not have aout. When/if they implement a new
13357 # versioning mechanism, adjust this.
13358 if test -x /usr
/bin
/objformat
; then
13359 objformat
=`/usr/bin/objformat`
13362 freebsd
[123]*) objformat
=aout
;;
13363 *) objformat
=elf
;;
13366 version_type
=freebsd-
$objformat
13367 case $version_type in
13369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13374 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13378 shlibpath_var
=LD_LIBRARY_PATH
13381 shlibpath_overrides_runpath
=yes
13383 freebsd3.
[01]* | freebsdelf3.
[01]*)
13384 shlibpath_overrides_runpath
=yes
13385 hardcode_into_libs
=yes
13387 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13388 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13389 shlibpath_overrides_runpath
=no
13390 hardcode_into_libs
=yes
13392 *) # from 4.6 on, and DragonFly
13393 shlibpath_overrides_runpath
=yes
13394 hardcode_into_libs
=yes
13403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13404 soname_spec
='${libname}${release}${shared_ext}$major'
13405 shlibpath_var
=LD_LIBRARY_PATH
13406 hardcode_into_libs
=yes
13409 hpux9
* | hpux10
* | hpux11
*)
13410 # Give a soname corresponding to the major version so that dld.sl refuses to
13411 # link against other versions.
13418 hardcode_into_libs
=yes
13419 dynamic_linker
="$host_os dld.so"
13420 shlibpath_var
=LD_LIBRARY_PATH
13421 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13423 soname_spec
='${libname}${release}${shared_ext}$major'
13424 if test "X$HPUX_IA64_MODE" = X32
; then
13425 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13427 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13429 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13433 hardcode_into_libs
=yes
13434 dynamic_linker
="$host_os dld.sl"
13435 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13436 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13438 soname_spec
='${libname}${release}${shared_ext}$major'
13439 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13440 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13444 dynamic_linker
="$host_os dld.sl"
13445 shlibpath_var
=SHLIB_PATH
13446 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13448 soname_spec
='${libname}${release}${shared_ext}$major'
13451 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13452 postinstall_cmds
='chmod 555 $lib'
13459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13460 soname_spec
='${libname}${release}${shared_ext}$major'
13461 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13462 shlibpath_var
=LD_LIBRARY_PATH
13463 shlibpath_overrides_runpath
=no
13464 hardcode_into_libs
=yes
13467 irix5
* | irix6
* | nonstopux
*)
13469 nonstopux
*) version_type
=nonstopux
;;
13471 if test "$lt_cv_prog_gnu_ld" = yes; then
13479 soname_spec
='${libname}${release}${shared_ext}$major'
13480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13482 irix5
* | nonstopux
*)
13483 libsuff
= shlibsuff
=
13486 case $LD in # libtool.m4 will add one of these switches to LD
13487 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13488 libsuff
= shlibsuff
= libmagic
=32-bit;;
13489 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13490 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13491 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13492 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13493 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13497 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13498 shlibpath_overrides_runpath
=no
13499 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13500 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13501 hardcode_into_libs
=yes
13504 # No shared lib support for Linux oldld, aout, or coff.
13505 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13509 # This must be Linux ELF.
13510 linux
* | k
*bsd
*-gnu)
13514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 soname_spec
='${libname}${release}${shared_ext}$major'
13516 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13517 shlibpath_var
=LD_LIBRARY_PATH
13518 shlibpath_overrides_runpath
=no
13519 # This implies no fast_install, which is unacceptable.
13520 # Some rework will be needed to allow for fast_install
13521 # before this can be enabled.
13522 hardcode_into_libs
=yes
13524 # Append ld.so.conf contents to the search path
13525 if test -f /etc
/ld.so.conf
; then
13526 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' ' '`
13527 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13530 # We used to test for /lib/ld.so.1 and disable shared libraries on
13531 # powerpc, because MkLinux only supported shared libraries with the
13532 # GNU dynamic linker. Since this was broken with cross compilers,
13533 # most powerpc-linux boxes support dynamic linking these days and
13534 # people can always --disable-shared, the test was removed, and we
13535 # assume the GNU/Linux dynamic linker is in use.
13536 dynamic_linker
='GNU/Linux ld.so'
13543 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13545 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13546 dynamic_linker
='NetBSD (a.out) ld.so'
13548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13549 soname_spec
='${libname}${release}${shared_ext}$major'
13550 dynamic_linker
='NetBSD ld.elf_so'
13552 shlibpath_var
=LD_LIBRARY_PATH
13553 shlibpath_overrides_runpath
=yes
13554 hardcode_into_libs
=yes
13559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13560 shlibpath_var
=LD_LIBRARY_PATH
13561 shlibpath_overrides_runpath
=yes
13568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13569 soname_spec
='${libname}${release}${shared_ext}$major'
13570 shlibpath_var
=LD_LIBRARY_PATH
13571 shlibpath_overrides_runpath
=yes
13576 sys_lib_dlsearch_path_spec
="/usr/lib"
13578 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13580 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13581 *) need_version
=no
;;
13583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13584 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13585 shlibpath_var
=LD_LIBRARY_PATH
13586 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13588 openbsd2.
[89] | openbsd2.
[89].
*)
13589 shlibpath_overrides_runpath
=no
13592 shlibpath_overrides_runpath
=yes
13596 shlibpath_overrides_runpath
=yes
13601 libname_spec
='$name'
13604 library_names_spec
='$libname${shared_ext} $libname.a'
13605 dynamic_linker
='OS/2 ld.exe'
13606 shlibpath_var
=LIBPATH
13609 osf3
* | osf4
* | osf5
*)
13613 soname_spec
='${libname}${release}${shared_ext}$major'
13614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13615 shlibpath_var
=LD_LIBRARY_PATH
13616 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13617 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13629 soname_spec
='${libname}${release}${shared_ext}$major'
13630 shlibpath_var
=LD_LIBRARY_PATH
13631 shlibpath_overrides_runpath
=yes
13632 hardcode_into_libs
=yes
13633 # ldd complains unless libraries are executable
13634 postinstall_cmds
='chmod +x $lib'
13639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13640 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13641 shlibpath_var
=LD_LIBRARY_PATH
13642 shlibpath_overrides_runpath
=yes
13643 if test "$with_gnu_ld" = yes; then
13651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13652 soname_spec
='${libname}${release}${shared_ext}$major'
13653 shlibpath_var
=LD_LIBRARY_PATH
13654 case $host_vendor in
13656 shlibpath_overrides_runpath
=no
13658 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13659 runpath_var
=LD_RUN_PATH
13667 shlibpath_overrides_runpath
=no
13668 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13674 if test -d /usr
/nec
;then
13676 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13677 soname_spec
='$libname${shared_ext}.$major'
13678 shlibpath_var
=LD_LIBRARY_PATH
13682 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13683 version_type
=freebsd-elf
13686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13687 soname_spec
='${libname}${release}${shared_ext}$major'
13688 shlibpath_var
=LD_LIBRARY_PATH
13689 hardcode_into_libs
=yes
13690 if test "$with_gnu_ld" = yes; then
13691 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13692 shlibpath_overrides_runpath
=no
13694 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13695 shlibpath_overrides_runpath
=yes
13698 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13702 sys_lib_dlsearch_path_spec
='/usr/lib'
13707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13708 soname_spec
='${libname}${release}${shared_ext}$major'
13709 shlibpath_var
=LD_LIBRARY_PATH
13716 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13717 echo "${ECHO_T}$dynamic_linker" >&6; }
13718 test "$dynamic_linker" = no
&& can_build_shared
=no
13720 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13726 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13727 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13728 echo $ECHO_N "(cached) $ECHO_C" >&6
13730 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13733 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13735 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13736 if test "$GCC" = yes; then
13737 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13740 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13741 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13742 hardcode_action_CXX
=
13743 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13744 test -n "$runpath_var_CXX" || \
13745 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13747 # We can hardcode non-existant directories.
13748 if test "$hardcode_direct_CXX" != no
&&
13749 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13750 # have to relink, otherwise we might link with an installed library
13751 # when we should be linking with a yet-to-be-installed one
13752 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13753 test "$hardcode_minus_L_CXX" != no
; then
13754 # Linking always hardcodes the temporary library directory.
13755 hardcode_action_CXX
=relink
13757 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13758 hardcode_action_CXX
=immediate
13761 # We cannot hardcode anything, or else we can only hardcode existing
13763 hardcode_action_CXX
=unsupported
13765 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13766 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13768 if test "$hardcode_action_CXX" = relink
; then
13769 # Fast installation is not supported
13770 enable_fast_install
=no
13771 elif test "$shlibpath_overrides_runpath" = yes ||
13772 test "$enable_shared" = no
; then
13773 # Fast installation is not necessary
13774 enable_fast_install
=needless
13778 # The else clause should only fire when bootstrapping the
13779 # libtool distribution, otherwise you forgot to ship ltmain.sh
13780 # with your package, and you will get complaints that there are
13781 # no rules to generate ltmain.sh.
13782 if test -f "$ltmain"; then
13783 # See if we are running on zsh, and set the options which allow our commands through
13784 # without removal of \ escapes.
13785 if test -n "${ZSH_VERSION+set}" ; then
13786 setopt NO_GLOB_SUBST
13788 # Now quote all the things that may contain metacharacters while being
13789 # careful not to overquote the AC_SUBSTed values. We take copies of the
13790 # variables and quote the copies for generation of the libtool script.
13791 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13793 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13794 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13795 deplibs_check_method reload_flag reload_cmds need_locks \
13796 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13797 lt_cv_sys_global_symbol_to_c_name_address \
13798 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13799 old_postinstall_cmds old_postuninstall_cmds \
13803 lt_prog_compiler_wl_CXX \
13804 lt_prog_compiler_pic_CXX \
13805 lt_prog_compiler_static_CXX \
13806 lt_prog_compiler_no_builtin_flag_CXX \
13807 export_dynamic_flag_spec_CXX \
13808 thread_safe_flag_spec_CXX \
13809 whole_archive_flag_spec_CXX \
13810 enable_shared_with_static_runtimes_CXX \
13811 old_archive_cmds_CXX \
13812 old_archive_from_new_cmds_CXX \
13813 predep_objects_CXX \
13814 postdep_objects_CXX \
13817 compiler_lib_search_path_CXX \
13818 compiler_lib_search_dirs_CXX \
13820 archive_expsym_cmds_CXX \
13821 postinstall_cmds_CXX \
13822 postuninstall_cmds_CXX \
13823 old_archive_from_expsyms_cmds_CXX \
13824 allow_undefined_flag_CXX \
13825 no_undefined_flag_CXX \
13826 export_symbols_cmds_CXX \
13827 hardcode_libdir_flag_spec_CXX \
13828 hardcode_libdir_flag_spec_ld_CXX \
13829 hardcode_libdir_separator_CXX \
13830 hardcode_automatic_CXX \
13832 module_expsym_cmds_CXX \
13833 lt_cv_prog_compiler_c_o_CXX \
13834 fix_srcfile_path_CXX \
13835 exclude_expsyms_CXX \
13836 include_expsyms_CXX
; do
13839 old_archive_cmds_CXX | \
13840 old_archive_from_new_cmds_CXX | \
13841 archive_cmds_CXX | \
13842 archive_expsym_cmds_CXX | \
13843 module_cmds_CXX | \
13844 module_expsym_cmds_CXX | \
13845 old_archive_from_expsyms_cmds_CXX | \
13846 export_symbols_cmds_CXX | \
13847 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13848 postinstall_cmds | postuninstall_cmds | \
13849 old_postinstall_cmds | old_postuninstall_cmds | \
13850 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13851 # Double-quote double-evaled strings.
13852 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13855 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13861 *'\$0 --fallback-echo"')
13862 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13868 cat <<__EOF__ >> "$cfgfile"
13869 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13871 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13873 # Shell to use when invoking shell scripts.
13876 # Whether or not to build shared libraries.
13877 build_libtool_libs=$enable_shared
13879 # Whether or not to build static libraries.
13880 build_old_libs=$enable_static
13882 # Whether or not to add -lc for building shared libraries.
13883 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13885 # Whether or not to disallow shared libs when runtime libs are static
13886 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13888 # Whether or not to optimize for fast installation.
13889 fast_install=$enable_fast_install
13892 host_alias=$host_alias
13896 # The build system.
13897 build_alias=$build_alias
13901 # An echo program that does not interpret backslashes.
13906 AR_FLAGS=$lt_AR_FLAGS
13911 # LTCC compiler flags.
13912 LTCFLAGS=$lt_LTCFLAGS
13914 # A language-specific compiler.
13915 CC=$lt_compiler_CXX
13917 # Is the compiler the GNU C compiler?
13923 # The linker used to build libraries.
13926 # Whether we need hard or soft links.
13929 # A BSD-compatible nm program.
13932 # A symbol stripping program
13935 # Used to examine libraries when file_magic_cmd begins "file"
13936 MAGIC_CMD=$MAGIC_CMD
13938 # Used on cygwin: DLL creation program.
13941 # Used on cygwin: object dumper.
13944 # Used on cygwin: assembler.
13947 # The name of the directory that contains temporary libtool files.
13950 # How to create reloadable object files.
13951 reload_flag=$lt_reload_flag
13952 reload_cmds=$lt_reload_cmds
13954 # How to pass a linker flag through the compiler.
13955 wl=$lt_lt_prog_compiler_wl_CXX
13957 # Object file suffix (normally "o").
13958 objext="$ac_objext"
13960 # Old archive suffix (normally "a").
13963 # Shared library suffix (normally ".so").
13964 shrext_cmds='$shrext_cmds'
13966 # Executable file suffix (normally "").
13969 # Additional compiler flags for building library objects.
13970 pic_flag=$lt_lt_prog_compiler_pic_CXX
13973 # What is the maximum length of a command?
13974 max_cmd_len=$lt_cv_sys_max_cmd_len
13976 # Does compiler simultaneously support -c and -o options?
13977 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13979 # Must we lock files when doing compilation?
13980 need_locks=$lt_need_locks
13982 # Do we need the lib prefix for modules?
13983 need_lib_prefix=$need_lib_prefix
13985 # Do we need a version for libraries?
13986 need_version=$need_version
13988 # Whether dlopen is supported.
13989 dlopen_support=$enable_dlopen
13991 # Whether dlopen of programs is supported.
13992 dlopen_self=$enable_dlopen_self
13994 # Whether dlopen of statically linked programs is supported.
13995 dlopen_self_static=$enable_dlopen_self_static
13997 # Compiler flag to prevent dynamic linking.
13998 link_static_flag=$lt_lt_prog_compiler_static_CXX
14000 # Compiler flag to turn off builtin functions.
14001 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14003 # Compiler flag to allow reflexive dlopens.
14004 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14006 # Compiler flag to generate shared objects directly from archives.
14007 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14009 # Compiler flag to generate thread-safe objects.
14010 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14012 # Library versioning type.
14013 version_type=$version_type
14015 # Format of library name prefix.
14016 libname_spec=$lt_libname_spec
14018 # List of archive names. First name is the real one, the rest are links.
14019 # The last name is the one that the linker finds with -lNAME.
14020 library_names_spec=$lt_library_names_spec
14022 # The coded name of the library, if different from the real name.
14023 soname_spec=$lt_soname_spec
14025 # Commands used to build and install an old-style archive.
14027 old_archive_cmds=$lt_old_archive_cmds_CXX
14028 old_postinstall_cmds=$lt_old_postinstall_cmds
14029 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14031 # Create an old-style archive from a shared archive.
14032 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14034 # Create a temporary old-style archive to link instead of a shared archive.
14035 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14037 # Commands used to build and install a shared archive.
14038 archive_cmds=$lt_archive_cmds_CXX
14039 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14040 postinstall_cmds=$lt_postinstall_cmds
14041 postuninstall_cmds=$lt_postuninstall_cmds
14043 # Commands used to build a loadable module (assumed same as above if empty)
14044 module_cmds=$lt_module_cmds_CXX
14045 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14047 # Commands to strip libraries.
14048 old_striplib=$lt_old_striplib
14049 striplib=$lt_striplib
14051 # Dependencies to place before the objects being linked to create a
14053 predep_objects=$lt_predep_objects_CXX
14055 # Dependencies to place after the objects being linked to create a
14057 postdep_objects=$lt_postdep_objects_CXX
14059 # Dependencies to place before the objects being linked to create a
14061 predeps=$lt_predeps_CXX
14063 # Dependencies to place after the objects being linked to create a
14065 postdeps=$lt_postdeps_CXX
14067 # The directories searched by this compiler when creating a shared
14069 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14071 # The library search path used internally by the compiler when linking
14072 # a shared library.
14073 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14075 # Method to check whether dependent libraries are shared objects.
14076 deplibs_check_method=$lt_deplibs_check_method
14078 # Command to use when deplibs_check_method == file_magic.
14079 file_magic_cmd=$lt_file_magic_cmd
14081 # Flag that allows shared libraries with undefined symbols to be built.
14082 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14084 # Flag that forces no undefined symbols.
14085 no_undefined_flag=$lt_no_undefined_flag_CXX
14087 # Commands used to finish a libtool library installation in a directory.
14088 finish_cmds=$lt_finish_cmds
14090 # Same as above, but a single script fragment to be evaled but not shown.
14091 finish_eval=$lt_finish_eval
14093 # Take the output of nm and produce a listing of raw symbols and C names.
14094 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14096 # Transform the output of nm in a proper C declaration
14097 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14099 # Transform the output of nm in a C name address pair
14100 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14102 # This is the shared library runtime path variable.
14103 runpath_var=$runpath_var
14105 # This is the shared library path variable.
14106 shlibpath_var=$shlibpath_var
14108 # Is shlibpath searched before the hard-coded library search path?
14109 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14111 # How to hardcode a shared library path into an executable.
14112 hardcode_action=$hardcode_action_CXX
14114 # Whether we should hardcode library paths into libraries.
14115 hardcode_into_libs=$hardcode_into_libs
14117 # Flag to hardcode \$libdir into a binary during linking.
14118 # This must work even if \$libdir does not exist.
14119 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14121 # If ld is used when linking, flag to hardcode \$libdir into
14122 # a binary during linking. This must work even if \$libdir does
14124 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14126 # Whether we need a single -rpath flag with a separated argument.
14127 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14129 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14130 # resulting binary.
14131 hardcode_direct=$hardcode_direct_CXX
14133 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14134 # resulting binary.
14135 hardcode_minus_L=$hardcode_minus_L_CXX
14137 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14138 # the resulting binary.
14139 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14141 # Set to yes if building a shared library automatically hardcodes DIR into the library
14142 # and all subsequent libraries and executables linked against it.
14143 hardcode_automatic=$hardcode_automatic_CXX
14145 # Variables whose values should be saved in libtool wrapper scripts and
14146 # restored at relink time.
14147 variables_saved_for_relink="$variables_saved_for_relink"
14149 # Whether libtool must link a program against all its dependency libraries.
14150 link_all_deplibs=$link_all_deplibs_CXX
14152 # Compile-time system search path for libraries
14153 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14155 # Run-time system search path for libraries
14156 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14158 # Fix the shell variable \$srcfile for the compiler.
14159 fix_srcfile_path=$lt_fix_srcfile_path
14161 # Set to yes if exported symbols are required.
14162 always_export_symbols=$always_export_symbols_CXX
14164 # The commands to list exported symbols.
14165 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14167 # The commands to extract the exported symbol list from a shared archive.
14168 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14170 # Symbols that should not be listed in the preloaded symbols.
14171 exclude_expsyms=$lt_exclude_expsyms_CXX
14173 # Symbols that must always be exported.
14174 include_expsyms=$lt_include_expsyms_CXX
14176 # ### END LIBTOOL TAG CONFIG: $tagname
14182 # If there is no Makefile yet, we rely on a make rule to execute
14183 # `config.status --recheck' to rerun these tests and create the
14184 # libtool script then.
14185 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14186 if test -f "$ltmain_in"; then
14187 test -f Makefile
&& make "$ltmain"
14193 ac_cpp
='$CPP $CPPFLAGS'
14194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14202 with_gnu_ldcxx
=$with_gnu_ld
14203 with_gnu_ld
=$lt_save_with_gnu_ld
14204 lt_cv_path_LDCXX
=$lt_cv_path_LD
14205 lt_cv_path_LD
=$lt_save_path_LD
14206 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14207 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14215 if test -n "$F77" && test "X$F77" != "Xno"; then
14218 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14219 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14220 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14223 archive_cmds_need_lc_F77
=no
14224 allow_undefined_flag_F77
=
14225 always_export_symbols_F77
=no
14226 archive_expsym_cmds_F77
=
14227 export_dynamic_flag_spec_F77
=
14228 hardcode_direct_F77
=no
14229 hardcode_libdir_flag_spec_F77
=
14230 hardcode_libdir_flag_spec_ld_F77
=
14231 hardcode_libdir_separator_F77
=
14232 hardcode_minus_L_F77
=no
14233 hardcode_automatic_F77
=no
14235 module_expsym_cmds_F77
=
14236 link_all_deplibs_F77
=unknown
14237 old_archive_cmds_F77
=$old_archive_cmds
14238 no_undefined_flag_F77
=
14239 whole_archive_flag_spec_F77
=
14240 enable_shared_with_static_runtimes_F77
=no
14242 # Source file extension for f77 test sources.
14245 # Object file extension for compiled f77 test sources.
14249 # Code to be used in simple compile tests
14250 lt_simple_compile_test_code
="\
14256 # Code to be used in simple link tests
14257 lt_simple_link_test_code
="\
14262 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14264 # If no C compiler was specified, use CC.
14267 # If no C compiler flags were specified, use CFLAGS.
14268 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14270 # Allow CC to be a program name with arguments.
14274 # save warnings/boilerplate of simple test code
14275 ac_outfile
=conftest.
$ac_objext
14276 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14277 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14278 _lt_compiler_boilerplate
=`cat conftest.err`
14281 ac_outfile
=conftest.
$ac_objext
14282 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14283 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14284 _lt_linker_boilerplate
=`cat conftest.err`
14288 # Allow CC to be a program name with arguments.
14293 for cc_temp
in $compiler""; do
14295 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14296 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14301 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14304 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14305 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14306 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14307 echo "${ECHO_T}$can_build_shared" >&6; }
14309 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14310 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14311 test "$can_build_shared" = "no" && enable_shared
=no
14313 # On AIX, shared libraries and static libraries use the same namespace, and
14314 # are all built from PIC.
14317 test "$enable_shared" = yes && enable_static
=no
14318 if test -n "$RANLIB"; then
14319 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14320 postinstall_cmds
='$RANLIB $lib'
14324 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14325 test "$enable_shared" = yes && enable_static
=no
14329 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14330 echo "${ECHO_T}$enable_shared" >&6; }
14332 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14333 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14334 # Make sure either enable_shared or enable_static is yes.
14335 test "$enable_shared" = yes || enable_static
=yes
14336 { echo "$as_me:$LINENO: result: $enable_static" >&5
14337 echo "${ECHO_T}$enable_static" >&6; }
14342 lt_prog_compiler_wl_F77
=
14343 lt_prog_compiler_pic_F77
=
14344 lt_prog_compiler_static_F77
=
14346 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14347 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14349 if test "$GCC" = yes; then
14350 lt_prog_compiler_wl_F77
='-Wl,'
14351 lt_prog_compiler_static_F77
='-static'
14355 # All AIX code is PIC.
14356 if test "$host_cpu" = ia64
; then
14357 # AIX 5 now supports IA64 processor
14358 lt_prog_compiler_static_F77
='-Bstatic'
14363 # FIXME: we need at least 68020 code to build shared libraries, but
14364 # adding the `-m68020' flag to GCC prevents building anything better,
14366 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14369 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14370 # PIC is the default for these OSes.
14373 mingw
* | cygwin
* | pw32
* | os2
*)
14374 # This hack is so that the source file can tell whether it is being
14375 # built for inclusion in a dll (and should export symbols for example).
14376 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14377 # (--disable-auto-import) libraries
14378 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14381 darwin
* | rhapsody
*)
14382 # PIC is the default on this platform
14383 # Common symbols not allowed in MH_DYLIB files
14384 lt_prog_compiler_pic_F77
='-fno-common'
14388 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14389 # Instead, we relocate shared libraries at runtime.
14393 # Just because we use GCC doesn't mean we suddenly get shared libraries
14394 # on systems that don't support them.
14395 lt_prog_compiler_can_build_shared_F77
=no
14400 if test -d /usr
/nec
; then
14401 lt_prog_compiler_pic_F77
=-Kconform_pic
14406 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14407 # not for PA HP-UX.
14413 lt_prog_compiler_pic_F77
='-fPIC'
14419 lt_prog_compiler_pic_F77
='-fPIC'
14423 # PORTME Check for flag to pass linker flags through the system compiler.
14426 lt_prog_compiler_wl_F77
='-Wl,'
14427 if test "$host_cpu" = ia64
; then
14428 # AIX 5 now supports IA64 processor
14429 lt_prog_compiler_static_F77
='-Bstatic'
14431 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14435 # PIC is the default on this platform
14436 # Common symbols not allowed in MH_DYLIB files
14437 case $cc_basename in
14439 lt_prog_compiler_pic_F77
='-qnocommon'
14440 lt_prog_compiler_wl_F77
='-Wl,'
14445 mingw
* | cygwin
* | pw32
* | os2
*)
14446 # This hack is so that the source file can tell whether it is being
14447 # built for inclusion in a dll (and should export symbols for example).
14448 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14451 hpux9
* | hpux10
* | hpux11
*)
14452 lt_prog_compiler_wl_F77
='-Wl,'
14453 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14454 # not for PA HP-UX.
14460 lt_prog_compiler_pic_F77
='+Z'
14463 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14464 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14467 irix5
* | irix6
* | nonstopux
*)
14468 lt_prog_compiler_wl_F77
='-Wl,'
14469 # PIC (with -KPIC) is the default.
14470 lt_prog_compiler_static_F77
='-non_shared'
14474 lt_prog_compiler_pic_F77
='-KPIC'
14475 lt_prog_compiler_static_F77
='-Bstatic'
14478 linux
* | k
*bsd
*-gnu)
14479 case $cc_basename in
14481 lt_prog_compiler_wl_F77
='-Wl,'
14482 lt_prog_compiler_pic_F77
='-KPIC'
14483 lt_prog_compiler_static_F77
='-static'
14485 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14486 # Portland Group compilers (*not* the Pentium gcc compiler,
14487 # which looks to be a dead project)
14488 lt_prog_compiler_wl_F77
='-Wl,'
14489 lt_prog_compiler_pic_F77
='-fpic'
14490 lt_prog_compiler_static_F77
='-Bstatic'
14493 lt_prog_compiler_wl_F77
='-Wl,'
14494 # All Alpha code is PIC.
14495 lt_prog_compiler_static_F77
='-non_shared'
14498 case `$CC -V 2>&1 | sed 5q` in
14501 lt_prog_compiler_pic_F77
='-KPIC'
14502 lt_prog_compiler_static_F77
='-Bstatic'
14503 lt_prog_compiler_wl_F77
='-Wl,'
14506 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14507 lt_prog_compiler_pic_F77
='-KPIC'
14508 lt_prog_compiler_static_F77
='-Bstatic'
14509 lt_prog_compiler_wl_F77
=''
14516 osf3
* | osf4
* | osf5
*)
14517 lt_prog_compiler_wl_F77
='-Wl,'
14518 # All OSF/1 code is PIC.
14519 lt_prog_compiler_static_F77
='-non_shared'
14523 lt_prog_compiler_static_F77
='-non_shared'
14527 lt_prog_compiler_pic_F77
='-KPIC'
14528 lt_prog_compiler_static_F77
='-Bstatic'
14529 case $cc_basename in
14530 f77
* | f90
* | f95
*)
14531 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14533 lt_prog_compiler_wl_F77
='-Wl,';;
14538 lt_prog_compiler_wl_F77
='-Qoption ld '
14539 lt_prog_compiler_pic_F77
='-PIC'
14540 lt_prog_compiler_static_F77
='-Bstatic'
14543 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14544 lt_prog_compiler_wl_F77
='-Wl,'
14545 lt_prog_compiler_pic_F77
='-KPIC'
14546 lt_prog_compiler_static_F77
='-Bstatic'
14550 if test -d /usr
/nec
;then
14551 lt_prog_compiler_pic_F77
='-Kconform_pic'
14552 lt_prog_compiler_static_F77
='-Bstatic'
14556 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14557 lt_prog_compiler_wl_F77
='-Wl,'
14558 lt_prog_compiler_pic_F77
='-KPIC'
14559 lt_prog_compiler_static_F77
='-Bstatic'
14563 lt_prog_compiler_wl_F77
='-Wl,'
14564 lt_prog_compiler_can_build_shared_F77
=no
14568 lt_prog_compiler_pic_F77
='-pic'
14569 lt_prog_compiler_static_F77
='-Bstatic'
14573 lt_prog_compiler_can_build_shared_F77
=no
14578 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14579 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14582 # Check to make sure the PIC flag actually works.
14584 if test -n "$lt_prog_compiler_pic_F77"; then
14586 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14587 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14588 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 lt_cv_prog_compiler_pic_works_F77
=no
14592 ac_outfile
=conftest.
$ac_objext
14593 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14594 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14595 # Insert the option either (1) after the last *FLAGS variable, or
14596 # (2) before a word containing "conftest.", or (3) at the end.
14597 # Note that $ac_compile itself does not contain backslashes and begins
14598 # with a dollar sign (not a hyphen), so the echo should work correctly.
14599 # The option is referenced via a variable to avoid confusing sed.
14600 lt_compile
=`echo "$ac_compile" | $SED \
14601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14603 -e 's:$: $lt_compiler_flag:'`
14604 (eval echo "\"\$as_me:14604: $lt_compile\"" >&5)
14605 (eval "$lt_compile" 2>conftest.err
)
14607 cat conftest.err
>&5
14608 echo "$as_me:14608: \$? = $ac_status" >&5
14609 if (exit $ac_status) && test -s "$ac_outfile"; then
14610 # The compiler can only warn and ignore the option if not recognized
14611 # So say no if there are warnings other than the usual output.
14612 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14613 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14614 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14615 lt_cv_prog_compiler_pic_works_F77
=yes
14621 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14622 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14624 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14625 case $lt_prog_compiler_pic_F77 in
14627 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14630 lt_prog_compiler_pic_F77
=
14631 lt_prog_compiler_can_build_shared_F77
=no
14636 # For platforms which do not support PIC, -DPIC is meaningless:
14638 lt_prog_compiler_pic_F77
=
14641 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14646 # Check to make sure the static flag actually works.
14648 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14649 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14650 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14651 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14652 echo $ECHO_N "(cached) $ECHO_C" >&6
14654 lt_cv_prog_compiler_static_works_F77
=no
14655 save_LDFLAGS
="$LDFLAGS"
14656 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14657 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14658 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14659 # The linker can only warn and ignore the option if not recognized
14660 # So say no if there are warnings
14661 if test -s conftest.err
; then
14662 # Append any errors to the config.log.
14663 cat conftest.err
1>&5
14664 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14665 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14666 if diff conftest.exp conftest.er2
>/dev
/null
; then
14667 lt_cv_prog_compiler_static_works_F77
=yes
14670 lt_cv_prog_compiler_static_works_F77
=yes
14674 LDFLAGS
="$save_LDFLAGS"
14677 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14678 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14680 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14683 lt_prog_compiler_static_F77
=
14687 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14688 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14689 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 lt_cv_prog_compiler_c_o_F77
=no
14693 $rm -r conftest
2>/dev
/null
14697 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14699 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14700 # Insert the option either (1) after the last *FLAGS variable, or
14701 # (2) before a word containing "conftest.", or (3) at the end.
14702 # Note that $ac_compile itself does not contain backslashes and begins
14703 # with a dollar sign (not a hyphen), so the echo should work correctly.
14704 lt_compile
=`echo "$ac_compile" | $SED \
14705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14707 -e 's:$: $lt_compiler_flag:'`
14708 (eval echo "\"\$as_me:14708: $lt_compile\"" >&5)
14709 (eval "$lt_compile" 2>out
/conftest.err
)
14711 cat out
/conftest.err
>&5
14712 echo "$as_me:14712: \$? = $ac_status" >&5
14713 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14715 # The compiler can only warn and ignore the option if not recognized
14716 # So say no if there are warnings
14717 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14718 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14719 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14720 lt_cv_prog_compiler_c_o_F77
=yes
14725 # SGI C++ compiler will create directory out/ii_files/ for
14726 # template instantiation
14727 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14728 $rm out
/* && rmdir out
14734 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14735 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14738 hard_links
="nottested"
14739 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14740 # do not overwrite the value of need_locks provided by the user
14741 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14742 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14745 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14747 ln conftest.a conftest.b
2>&5 || hard_links
=no
14748 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14749 { echo "$as_me:$LINENO: result: $hard_links" >&5
14750 echo "${ECHO_T}$hard_links" >&6; }
14751 if test "$hard_links" = no
; then
14752 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14753 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14760 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14761 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14764 allow_undefined_flag_F77
=
14765 enable_shared_with_static_runtimes_F77
=no
14767 archive_expsym_cmds_F77
=
14768 old_archive_From_new_cmds_F77
=
14769 old_archive_from_expsyms_cmds_F77
=
14770 export_dynamic_flag_spec_F77
=
14771 whole_archive_flag_spec_F77
=
14772 thread_safe_flag_spec_F77
=
14773 hardcode_libdir_flag_spec_F77
=
14774 hardcode_libdir_flag_spec_ld_F77
=
14775 hardcode_libdir_separator_F77
=
14776 hardcode_direct_F77
=no
14777 hardcode_minus_L_F77
=no
14778 hardcode_shlibpath_var_F77
=unsupported
14779 link_all_deplibs_F77
=unknown
14780 hardcode_automatic_F77
=no
14782 module_expsym_cmds_F77
=
14783 always_export_symbols_F77
=no
14784 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14785 # include_expsyms should be a list of space-separated symbols to be *always*
14786 # included in the symbol list
14787 include_expsyms_F77
=
14788 # exclude_expsyms can be an extended regexp of symbols to exclude
14789 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14790 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14791 # as well as any symbol that contains `d'.
14792 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14793 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14794 # platforms (ab)use it in PIC code, but their linkers get confused if
14795 # the symbol is explicitly referenced. Since portable code cannot
14796 # rely on this symbol name, it's probably fine to never include it in
14797 # preloaded symbol tables.
14798 # Exclude shared library initialization/finalization symbols.
14799 extract_expsyms_cmds
=
14800 # Just being paranoid about ensuring that cc_basename is set.
14801 for cc_temp
in $compiler""; do
14803 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14804 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14809 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14812 cygwin
* | mingw
* | pw32
*)
14813 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14814 # When not using gcc, we currently assume that we are using
14815 # Microsoft Visual C++.
14816 if test "$GCC" != yes; then
14821 # we just hope/assume this is gcc and not c89 (= MSVC++)
14830 if test "$with_gnu_ld" = yes; then
14831 # If archive_cmds runs LD, not CC, wlarc should be empty
14834 # Set some defaults for GNU ld with shared library support. These
14835 # are reset later if shared libraries are not supported. Putting them
14836 # here allows them to be overridden if necessary.
14837 runpath_var
=LD_RUN_PATH
14838 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14839 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14840 # ancient GNU ld didn't support --whole-archive et. al.
14841 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14842 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14844 whole_archive_flag_spec_F77
=
14846 supports_anon_versioning
=no
14847 case `$LD -v 2>/dev/null` in
14848 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14849 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14850 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14851 *\
2.11.
*) ;; # other 2.11 versions
14852 *) supports_anon_versioning
=yes ;;
14855 # See if GNU ld supports shared libraries.
14858 # On AIX/PPC, the GNU linker is very broken
14859 if test "$host_cpu" != ia64
; then
14863 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14864 *** to be unable to reliably create shared libraries on AIX.
14865 *** Therefore, libtool is disabling shared libraries support. If you
14866 *** really care for shared libraries, you may want to modify your PATH
14867 *** so that a non-GNU linker is found, and then restart.
14874 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)'
14875 hardcode_libdir_flag_spec_F77
='-L$libdir'
14876 hardcode_minus_L_F77
=yes
14878 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14879 # that the semantics of dynamic libraries on AmigaOS, at least up
14880 # to version 4, is to share data among multiple programs linked
14881 # with the same dynamic library. Since this doesn't match the
14882 # behavior of shared libraries on other platforms, we can't use
14888 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14889 allow_undefined_flag_F77
=unsupported
14890 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14891 # support --undefined. This deserves some investigation. FIXME
14892 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14898 cygwin
* | mingw
* | pw32
*)
14899 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14900 # as there is no search path for DLLs.
14901 hardcode_libdir_flag_spec_F77
='-L$libdir'
14902 allow_undefined_flag_F77
=unsupported
14903 always_export_symbols_F77
=no
14904 enable_shared_with_static_runtimes_F77
=yes
14905 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14907 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14908 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14909 # If the export-symbols file already is a .def file (1st line
14910 # is EXPORTS), use it as is; otherwise, prepend...
14911 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14912 cp $export_symbols $output_objdir/$soname.def;
14914 echo EXPORTS > $output_objdir/$soname.def;
14915 cat $export_symbols >> $output_objdir/$soname.def;
14917 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14924 hardcode_direct_F77
=no
14925 hardcode_shlibpath_var_F77
=no
14926 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14927 export_dynamic_flag_spec_F77
='${wl}-E'
14928 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14929 # Instead, shared libraries are loaded at an image base (0x10000000 by
14930 # default) and relocated if they conflict, which is a slow very memory
14931 # consuming and fragmenting process. To avoid this, we pick a random,
14932 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14933 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14934 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'
14935 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'
14938 gnu
* | linux
* | k
*bsd
*-gnu)
14939 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14941 case $cc_basename,$host_cpu in
14942 pgcc
*) # Portland Group C compiler
14943 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'
14944 tmp_addflag
=' $pic_flag'
14946 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14947 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'
14948 tmp_addflag
=' $pic_flag -Mnomain' ;;
14949 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14950 tmp_addflag
=' -i_dynamic' ;;
14951 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14952 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14953 ifc
* | ifort
*) # Intel Fortran compiler
14954 tmp_addflag
=' -nofor_main' ;;
14956 case `$CC -V 2>&1 | sed 5q` in
14957 *Sun\ C
*) # Sun C 5.9
14958 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'
14959 tmp_sharedflag
='-G' ;;
14960 *Sun\ F
*) # Sun Fortran 8.3
14961 tmp_sharedflag
='-G' ;;
14963 tmp_sharedflag
='-shared' ;;
14965 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14967 if test $supports_anon_versioning = yes; then
14968 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14970 $echo "local: *; };" >> $output_objdir/$libname.ver~
14971 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14979 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14980 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14983 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14984 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14989 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14993 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14994 *** create shared libraries on Solaris systems. Therefore, libtool
14995 *** is disabling shared libraries support. We urge you to upgrade GNU
14996 *** binutils to release 2.9.1 or newer. Another option is to modify
14997 *** your PATH or compiler configuration so that the native linker is
14998 *** used, and then restart.
15001 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15002 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15003 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15009 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15010 case `$LD -v 2>&1` in
15011 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15015 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15016 *** reliably create shared libraries on SCO systems. Therefore, libtool
15017 *** is disabling shared libraries support. We urge you to upgrade GNU
15018 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15019 *** your PATH or compiler configuration so that the native linker is
15020 *** used, and then restart.
15025 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15026 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15027 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15028 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15037 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15039 hardcode_direct_F77
=yes
15040 hardcode_shlibpath_var_F77
=no
15044 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15045 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15046 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15053 if test "$ld_shlibs_F77" = no
; then
15055 hardcode_libdir_flag_spec_F77
=
15056 export_dynamic_flag_spec_F77
=
15057 whole_archive_flag_spec_F77
=
15060 # PORTME fill in a description of your system's linker (not GNU ld)
15063 allow_undefined_flag_F77
=unsupported
15064 always_export_symbols_F77
=yes
15065 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'
15066 # Note: this linker hardcodes the directories in LIBPATH if there
15067 # are no directories specified by -L.
15068 hardcode_minus_L_F77
=yes
15069 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15070 # Neither direct hardcoding nor static linking is supported with a
15072 hardcode_direct_F77
=unsupported
15077 if test "$host_cpu" = ia64
; then
15078 # On IA64, the linker does run time linking by default, so we don't
15079 # have to do anything special.
15080 aix_use_runtimelinking
=no
15081 exp_sym_flag
='-Bexport'
15084 # If we're using GNU nm, then we don't want the "-C" option.
15085 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15086 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15087 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'
15089 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'
15091 aix_use_runtimelinking
=no
15093 # Test if we are trying to use run time linking or normal
15094 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15095 # need to do runtime linking.
15096 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15097 for ld_flag
in $LDFLAGS; do
15098 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15099 aix_use_runtimelinking
=yes
15106 exp_sym_flag
='-bexport'
15107 no_entry_flag
='-bnoentry'
15110 # When large executables or shared objects are built, AIX ld can
15111 # have problems creating the table of contents. If linking a library
15112 # or program results in "error TOC overflow" add -mminimal-toc to
15113 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15114 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15116 archive_cmds_F77
=''
15117 hardcode_direct_F77
=yes
15118 hardcode_libdir_separator_F77
=':'
15119 link_all_deplibs_F77
=yes
15121 if test "$GCC" = yes; then
15122 case $host_os in aix4.
[012]|aix4.
[012].
*)
15123 # We only want to do this on AIX 4.2 and lower, the check
15124 # below for broken collect2 doesn't work under 4.3+
15125 collect2name
=`${CC} -print-prog-name=collect2`
15126 if test -f "$collect2name" && \
15127 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15129 # We have reworked collect2
15132 # We have old collect2
15133 hardcode_direct_F77
=unsupported
15134 # It fails to find uninstalled libraries when the uninstalled
15135 # path is not listed in the libpath. Setting hardcode_minus_L
15136 # to unsupported forces relinking
15137 hardcode_minus_L_F77
=yes
15138 hardcode_libdir_flag_spec_F77
='-L$libdir'
15139 hardcode_libdir_separator_F77
=
15143 shared_flag
='-shared'
15144 if test "$aix_use_runtimelinking" = yes; then
15145 shared_flag
="$shared_flag "'${wl}-G'
15149 if test "$host_cpu" = ia64
; then
15150 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15151 # chokes on -Wl,-G. The following line is correct:
15154 if test "$aix_use_runtimelinking" = yes; then
15155 shared_flag
='${wl}-G'
15157 shared_flag
='${wl}-bM:SRE'
15162 # It seems that -bexpall does not export symbols beginning with
15163 # underscore (_), so it is better to generate a list of symbols to export.
15164 always_export_symbols_F77
=yes
15165 if test "$aix_use_runtimelinking" = yes; then
15166 # Warning - without using the other runtime loading flags (-brtl),
15167 # -berok will link without error, but may produce a broken library.
15168 allow_undefined_flag_F77
='-berok'
15169 # Determine the default libpath from the value encoded in an empty executable.
15170 cat >conftest.
$ac_ext <<_ACEOF
15175 rm -f conftest.
$ac_objext conftest
$ac_exeext
15176 if { (ac_try
="$ac_link"
15177 case "(($ac_try" in
15178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_link") 2>conftest.er1
15184 grep -v '^ *+' conftest.er1 >conftest.err
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_f77_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest$ac_exeext &&
15192 $as_test_x conftest$ac_exeext; then
15194 lt_aix_libpath_sed='
15195 /Import File Strings/,/^$/ {
15201 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15202 # Check for a 64-bit object if we didn't find anything.
15203 if test -z "$aix_libpath"; then
15204 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15214 conftest$ac_exeext conftest.$ac_ext
15215 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15217 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15218 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"
15220 if test "$host_cpu" = ia64; then
15221 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15222 allow_undefined_flag_F77="-z nodefs"
15223 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"
15225 # Determine the default libpath from the value encoded in an empty executable.
15226 cat >conftest.$ac_ext <<_ACEOF
15231 rm -f conftest.$ac_objext conftest$ac_exeext
15232 if { (ac_try="$ac_link"
15233 case "(($ac_try" in
15234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15235 *) ac_try_echo
=$ac_try;;
15237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15238 (eval "$ac_link") 2>conftest.er1
15240 grep -v '^ *+' conftest.er1
>conftest.err
15242 cat conftest.err
>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); } && {
15245 test -z "$ac_f77_werror_flag" ||
15246 test ! -s conftest.err
15247 } && test -s conftest
$ac_exeext &&
15248 $as_test_x conftest
$ac_exeext; then
15250 lt_aix_libpath_sed
='
15251 /Import File Strings/,/^$/ {
15257 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15258 # Check for a 64-bit object if we didn't find anything.
15259 if test -z "$aix_libpath"; then
15260 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15263 echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.
$ac_ext >&5
15269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15270 conftest
$ac_exeext conftest.
$ac_ext
15271 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15273 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15274 # Warning - without using the other run time loading flags,
15275 # -berok will link without error, but may produce a broken library.
15276 no_undefined_flag_F77
=' ${wl}-bernotok'
15277 allow_undefined_flag_F77
=' ${wl}-berok'
15278 # Exported symbols can be pulled into shared objects from archives
15279 whole_archive_flag_spec_F77
='$convenience'
15280 archive_cmds_need_lc_F77
=yes
15281 # This is similar to how AIX traditionally builds its shared libraries.
15282 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'
15288 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)'
15289 hardcode_libdir_flag_spec_F77
='-L$libdir'
15290 hardcode_minus_L_F77
=yes
15291 # see comment about different semantics on the GNU ld section
15296 export_dynamic_flag_spec_F77
=-rdynamic
15299 cygwin
* | mingw
* | pw32
*)
15300 # When not using gcc, we currently assume that we are using
15301 # Microsoft Visual C++.
15302 # hardcode_libdir_flag_spec is actually meaningless, as there is
15303 # no search path for DLLs.
15304 hardcode_libdir_flag_spec_F77
=' '
15305 allow_undefined_flag_F77
=unsupported
15306 # Tell ltmain to make .lib files, not .a files.
15308 # Tell ltmain to make .dll files, not .so files.
15310 # FIXME: Setting linknames here is a bad hack.
15311 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15312 # The linker will automatically build a .lib file if we build a DLL.
15313 old_archive_From_new_cmds_F77
='true'
15314 # FIXME: Should let the user specify the lib program.
15315 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15316 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15317 enable_shared_with_static_runtimes_F77
=yes
15320 darwin
* | rhapsody
*)
15322 rhapsody
* | darwin1.
[012])
15323 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15326 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15327 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15329 case ${MACOSX_DEPLOYMENT_TARGET} in
15331 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15334 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15340 archive_cmds_need_lc_F77
=no
15341 hardcode_direct_F77
=no
15342 hardcode_automatic_F77
=yes
15343 hardcode_shlibpath_var_F77
=unsupported
15344 whole_archive_flag_spec_F77
=''
15345 link_all_deplibs_F77
=yes
15346 if test "$GCC" = yes ; then
15347 output_verbose_link_cmd
='echo'
15348 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15349 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15350 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15351 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15353 case $cc_basename in
15355 output_verbose_link_cmd
='echo'
15356 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15357 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15358 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15359 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}'
15360 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}'
15370 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15371 hardcode_libdir_flag_spec_F77
='-L$libdir'
15372 hardcode_shlibpath_var_F77
=no
15379 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15380 # support. Future versions do this automatically, but an explicit c++rt0.o
15381 # does not break anything, and helps significantly (at the cost of a little
15384 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15385 hardcode_libdir_flag_spec_F77
='-R$libdir'
15386 hardcode_direct_F77
=yes
15387 hardcode_shlibpath_var_F77
=no
15390 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15392 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15393 hardcode_direct_F77
=yes
15394 hardcode_minus_L_F77
=yes
15395 hardcode_shlibpath_var_F77
=no
15398 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15399 freebsd
* | dragonfly
*)
15400 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15401 hardcode_libdir_flag_spec_F77
='-R$libdir'
15402 hardcode_direct_F77
=yes
15403 hardcode_shlibpath_var_F77
=no
15407 if test "$GCC" = yes; then
15408 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'
15410 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'
15412 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15413 hardcode_libdir_separator_F77
=:
15414 hardcode_direct_F77
=yes
15416 # hardcode_minus_L: Not really in the search PATH,
15417 # but as the default location of the library.
15418 hardcode_minus_L_F77
=yes
15419 export_dynamic_flag_spec_F77
='${wl}-E'
15423 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15424 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15426 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15428 if test "$with_gnu_ld" = no
; then
15429 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15430 hardcode_libdir_separator_F77
=:
15432 hardcode_direct_F77
=yes
15433 export_dynamic_flag_spec_F77
='${wl}-E'
15435 # hardcode_minus_L: Not really in the search PATH,
15436 # but as the default location of the library.
15437 hardcode_minus_L_F77
=yes
15442 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15445 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15448 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15451 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15457 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15460 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15463 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15467 if test "$with_gnu_ld" = no
; then
15468 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15469 hardcode_libdir_separator_F77
=:
15473 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15474 hardcode_direct_F77
=no
15475 hardcode_shlibpath_var_F77
=no
15478 hardcode_direct_F77
=yes
15479 export_dynamic_flag_spec_F77
='${wl}-E'
15481 # hardcode_minus_L: Not really in the search PATH,
15482 # but as the default location of the library.
15483 hardcode_minus_L_F77
=yes
15489 irix5
* | irix6
* | nonstopux
*)
15490 if test "$GCC" = yes; then
15491 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'
15493 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'
15494 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15496 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15497 hardcode_libdir_separator_F77
=:
15498 link_all_deplibs_F77
=yes
15502 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15503 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15505 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15507 hardcode_libdir_flag_spec_F77
='-R$libdir'
15508 hardcode_direct_F77
=yes
15509 hardcode_shlibpath_var_F77
=no
15513 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15514 hardcode_direct_F77
=yes
15515 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15516 hardcode_libdir_separator_F77
=:
15517 hardcode_shlibpath_var_F77
=no
15521 if test -f /usr
/libexec
/ld.so
; then
15522 hardcode_direct_F77
=yes
15523 hardcode_shlibpath_var_F77
=no
15524 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15525 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15526 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15527 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15528 export_dynamic_flag_spec_F77
='${wl}-E'
15531 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15532 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15533 hardcode_libdir_flag_spec_F77
='-R$libdir'
15536 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15537 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15547 hardcode_libdir_flag_spec_F77
='-L$libdir'
15548 hardcode_minus_L_F77
=yes
15549 allow_undefined_flag_F77
=unsupported
15550 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'
15551 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15555 if test "$GCC" = yes; then
15556 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15557 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'
15559 allow_undefined_flag_F77
=' -expect_unresolved \*'
15560 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'
15562 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15563 hardcode_libdir_separator_F77
=:
15566 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15567 if test "$GCC" = yes; then
15568 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15569 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'
15570 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15572 allow_undefined_flag_F77
=' -expect_unresolved \*'
15573 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'
15574 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~
15575 $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'
15577 # Both c and cxx compiler support -rpath directly
15578 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15580 hardcode_libdir_separator_F77
=:
15584 no_undefined_flag_F77
=' -z text'
15585 if test "$GCC" = yes; then
15587 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15588 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15589 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15592 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15593 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15594 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15596 hardcode_libdir_flag_spec_F77
='-R$libdir'
15597 hardcode_shlibpath_var_F77
=no
15599 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15601 # The compiler driver will combine and reorder linker options,
15602 # but understands `-z linker_flag'. GCC discards it without `$wl',
15603 # but is careful enough not to reorder.
15604 # Supported since Solaris 2.6 (maybe 2.5.1?)
15605 if test "$GCC" = yes; then
15606 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15608 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15612 link_all_deplibs_F77
=yes
15616 if test "x$host_vendor" = xsequent
; then
15617 # Use $CC to link under sequent, because it throws in some extra .o
15618 # files that make .init and .fini sections work.
15619 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15621 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15623 hardcode_libdir_flag_spec_F77
='-L$libdir'
15624 hardcode_direct_F77
=yes
15625 hardcode_minus_L_F77
=yes
15626 hardcode_shlibpath_var_F77
=no
15630 case $host_vendor in
15632 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15633 hardcode_direct_F77
=yes # is this really true???
15636 ## LD is ld it makes a PLAMLIB
15637 ## CC just makes a GrossModule.
15638 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15639 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15640 hardcode_direct_F77
=no
15643 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15644 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15647 runpath_var
='LD_RUN_PATH'
15648 hardcode_shlibpath_var_F77
=no
15652 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15653 hardcode_shlibpath_var_F77
=no
15654 export_dynamic_flag_spec_F77
='-Bexport'
15658 if test -d /usr
/nec
; then
15659 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15660 hardcode_shlibpath_var_F77
=no
15661 runpath_var
=LD_RUN_PATH
15662 hardcode_runpath_var
=yes
15667 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15668 no_undefined_flag_F77
='${wl}-z,text'
15669 archive_cmds_need_lc_F77
=no
15670 hardcode_shlibpath_var_F77
=no
15671 runpath_var
='LD_RUN_PATH'
15673 if test "$GCC" = yes; then
15674 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15675 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15677 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15678 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15682 sysv5
* | sco3.2v5
* | sco5v6
*)
15683 # Note: We can NOT use -z defs as we might desire, because we do not
15684 # link with -lc, and that would cause any symbols used from libc to
15685 # always be unresolved, which means just about no library would
15686 # ever link correctly. If we're not using GNU ld we use -z text
15687 # though, which does catch some bad symbols but isn't as heavy-handed
15689 no_undefined_flag_F77
='${wl}-z,text'
15690 allow_undefined_flag_F77
='${wl}-z,nodefs'
15691 archive_cmds_need_lc_F77
=no
15692 hardcode_shlibpath_var_F77
=no
15693 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15694 hardcode_libdir_separator_F77
=':'
15695 link_all_deplibs_F77
=yes
15696 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15697 runpath_var
='LD_RUN_PATH'
15699 if test "$GCC" = yes; then
15700 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15701 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15703 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15704 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15709 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15710 hardcode_libdir_flag_spec_F77
='-L$libdir'
15711 hardcode_shlibpath_var_F77
=no
15720 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15721 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15722 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15725 # Do we need to explicitly link libc?
15727 case "x$archive_cmds_need_lc_F77" in
15729 # Assume -lc should be added
15730 archive_cmds_need_lc_F77
=yes
15732 if test "$enable_shared" = yes && test "$GCC" = yes; then
15733 case $archive_cmds_F77 in
15735 # FIXME: we may have to deal with multi-command sequences.
15738 # Test whether the compiler implicitly links with -lc since on some
15739 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15740 # to ld, don't add -lc before -lgcc.
15741 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15742 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15744 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } 2>conftest.err
; then
15753 libobjs
=conftest.
$ac_objext
15755 wl
=$lt_prog_compiler_wl_F77
15756 pic_flag
=$lt_prog_compiler_pic_F77
15762 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15763 allow_undefined_flag_F77
=
15764 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15765 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }
15770 archive_cmds_need_lc_F77
=no
15772 archive_cmds_need_lc_F77
=yes
15774 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15776 cat conftest.err
1>&5
15779 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15780 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15787 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15788 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15789 library_names_spec
=
15790 libname_spec
='lib$name'
15794 postuninstall_cmds
=
15798 shlibpath_overrides_runpath
=unknown
15800 dynamic_linker
="$host_os ld.so"
15801 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15803 need_lib_prefix
=unknown
15804 hardcode_into_libs
=no
15806 # when you set need_version to no, make sure it does not cause -set_version
15807 # flags to be left without arguments
15808 need_version
=unknown
15813 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15814 shlibpath_var
=LIBPATH
15816 # AIX 3 has no versioning support, so we append a major version to the name.
15817 soname_spec
='${libname}${release}${shared_ext}$major'
15824 hardcode_into_libs
=yes
15825 if test "$host_cpu" = ia64
; then
15826 # AIX 5 supports IA64
15827 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15828 shlibpath_var
=LD_LIBRARY_PATH
15830 # With GCC up to 2.95.x, collect2 would create an import file
15831 # for dependence libraries. The import file would start with
15832 # the line `#! .'. This would cause the generated library to
15833 # depend on `.', always an invalid library. This was fixed in
15834 # development snapshots of GCC prior to 3.0.
15836 aix4 | aix4.
[01] | aix4.
[01].
*)
15837 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15839 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15842 can_build_shared
=no
15846 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15847 # soname into executable. Probably we can add versioning support to
15848 # collect2, so additional links can be useful in future.
15849 if test "$aix_use_runtimelinking" = yes; then
15850 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15851 # instead of lib<name>.a to let people know that these are not
15852 # typical AIX shared libraries.
15853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15855 # We preserve .a as extension for shared libraries through AIX4.2
15856 # and later when we are not doing run time linking.
15857 library_names_spec
='${libname}${release}.a $libname.a'
15858 soname_spec
='${libname}${release}${shared_ext}$major'
15860 shlibpath_var
=LIBPATH
15865 library_names_spec
='$libname.ixlibrary $libname.a'
15866 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15867 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'
15871 library_names_spec
='${libname}${shared_ext}'
15872 dynamic_linker
="$host_os ld.so"
15873 shlibpath_var
=LIBRARY_PATH
15879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15880 soname_spec
='${libname}${release}${shared_ext}$major'
15881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15882 shlibpath_var
=LD_LIBRARY_PATH
15883 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15884 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15885 # the default ld.so.conf also contains /usr/contrib/lib and
15886 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15887 # libtool to hard-code these into programs
15890 cygwin
* | mingw
* | pw32
*)
15891 version_type
=windows
15896 case $GCC,$host_os in
15897 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15898 library_names_spec
='$libname.dll.a'
15899 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15900 postinstall_cmds
='base_file=`basename \${file}`~
15901 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15902 dldir=$destdir/`dirname \$dlpath`~
15903 test -d \$dldir || mkdir -p \$dldir~
15904 $install_prog $dir/$dlname \$dldir/$dlname~
15905 chmod a+x \$dldir/$dlname'
15906 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15907 dlpath=$dir/\$dldll~
15909 shlibpath_overrides_runpath
=yes
15913 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15914 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15915 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15918 # MinGW DLLs use traditional 'lib' prefix
15919 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15920 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15921 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15922 # It is most probably a Windows format PATH printed by
15923 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15924 # path with ; separators, and with drive letters. We can handle the
15925 # drive letters (cygwin fileutils understands them), so leave them,
15926 # especially as we might pass files found there to a mingw objdump,
15927 # which wouldn't understand a cygwinified path. Ahh.
15928 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15930 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15934 # pw32 DLLs use 'pw' prefix rather than 'lib'
15935 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15941 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15944 dynamic_linker
='Win32 ld.exe'
15945 # FIXME: first we should search . and the directory the executable is in
15949 darwin
* | rhapsody
*)
15950 dynamic_linker
="$host_os dyld"
15951 version_type
=darwin
15954 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15955 soname_spec
='${libname}${release}${major}$shared_ext'
15956 shlibpath_overrides_runpath
=yes
15957 shlibpath_var
=DYLD_LIBRARY_PATH
15958 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15960 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15968 soname_spec
='${libname}${release}${shared_ext}$major'
15969 shlibpath_var
=LD_LIBRARY_PATH
15976 freebsd
* | dragonfly
*)
15977 # DragonFly does not have aout. When/if they implement a new
15978 # versioning mechanism, adjust this.
15979 if test -x /usr
/bin
/objformat
; then
15980 objformat
=`/usr/bin/objformat`
15983 freebsd
[123]*) objformat
=aout
;;
15984 *) objformat
=elf
;;
15987 version_type
=freebsd-
$objformat
15988 case $version_type in
15990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15995 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15999 shlibpath_var
=LD_LIBRARY_PATH
16002 shlibpath_overrides_runpath
=yes
16004 freebsd3.
[01]* | freebsdelf3.
[01]*)
16005 shlibpath_overrides_runpath
=yes
16006 hardcode_into_libs
=yes
16008 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16009 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16010 shlibpath_overrides_runpath
=no
16011 hardcode_into_libs
=yes
16013 *) # from 4.6 on, and DragonFly
16014 shlibpath_overrides_runpath
=yes
16015 hardcode_into_libs
=yes
16024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16025 soname_spec
='${libname}${release}${shared_ext}$major'
16026 shlibpath_var
=LD_LIBRARY_PATH
16027 hardcode_into_libs
=yes
16030 hpux9
* | hpux10
* | hpux11
*)
16031 # Give a soname corresponding to the major version so that dld.sl refuses to
16032 # link against other versions.
16039 hardcode_into_libs
=yes
16040 dynamic_linker
="$host_os dld.so"
16041 shlibpath_var
=LD_LIBRARY_PATH
16042 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16044 soname_spec
='${libname}${release}${shared_ext}$major'
16045 if test "X$HPUX_IA64_MODE" = X32
; then
16046 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16048 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16050 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16054 hardcode_into_libs
=yes
16055 dynamic_linker
="$host_os dld.sl"
16056 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16057 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059 soname_spec
='${libname}${release}${shared_ext}$major'
16060 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16061 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16065 dynamic_linker
="$host_os dld.sl"
16066 shlibpath_var
=SHLIB_PATH
16067 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16069 soname_spec
='${libname}${release}${shared_ext}$major'
16072 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16073 postinstall_cmds
='chmod 555 $lib'
16080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16081 soname_spec
='${libname}${release}${shared_ext}$major'
16082 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16083 shlibpath_var
=LD_LIBRARY_PATH
16084 shlibpath_overrides_runpath
=no
16085 hardcode_into_libs
=yes
16088 irix5
* | irix6
* | nonstopux
*)
16090 nonstopux
*) version_type
=nonstopux
;;
16092 if test "$lt_cv_prog_gnu_ld" = yes; then
16100 soname_spec
='${libname}${release}${shared_ext}$major'
16101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16103 irix5
* | nonstopux
*)
16104 libsuff
= shlibsuff
=
16107 case $LD in # libtool.m4 will add one of these switches to LD
16108 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16109 libsuff
= shlibsuff
= libmagic
=32-bit;;
16110 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16111 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16112 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16113 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16114 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16118 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16119 shlibpath_overrides_runpath
=no
16120 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16121 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16122 hardcode_into_libs
=yes
16125 # No shared lib support for Linux oldld, aout, or coff.
16126 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16130 # This must be Linux ELF.
16131 linux
* | k
*bsd
*-gnu)
16135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16136 soname_spec
='${libname}${release}${shared_ext}$major'
16137 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16138 shlibpath_var
=LD_LIBRARY_PATH
16139 shlibpath_overrides_runpath
=no
16140 # This implies no fast_install, which is unacceptable.
16141 # Some rework will be needed to allow for fast_install
16142 # before this can be enabled.
16143 hardcode_into_libs
=yes
16145 # Append ld.so.conf contents to the search path
16146 if test -f /etc
/ld.so.conf
; then
16147 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' ' '`
16148 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16151 # We used to test for /lib/ld.so.1 and disable shared libraries on
16152 # powerpc, because MkLinux only supported shared libraries with the
16153 # GNU dynamic linker. Since this was broken with cross compilers,
16154 # most powerpc-linux boxes support dynamic linking these days and
16155 # people can always --disable-shared, the test was removed, and we
16156 # assume the GNU/Linux dynamic linker is in use.
16157 dynamic_linker
='GNU/Linux ld.so'
16164 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16166 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16167 dynamic_linker
='NetBSD (a.out) ld.so'
16169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16170 soname_spec
='${libname}${release}${shared_ext}$major'
16171 dynamic_linker
='NetBSD ld.elf_so'
16173 shlibpath_var
=LD_LIBRARY_PATH
16174 shlibpath_overrides_runpath
=yes
16175 hardcode_into_libs
=yes
16180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16181 shlibpath_var
=LD_LIBRARY_PATH
16182 shlibpath_overrides_runpath
=yes
16189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16190 soname_spec
='${libname}${release}${shared_ext}$major'
16191 shlibpath_var
=LD_LIBRARY_PATH
16192 shlibpath_overrides_runpath
=yes
16197 sys_lib_dlsearch_path_spec
="/usr/lib"
16199 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16201 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16202 *) need_version
=no
;;
16204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16205 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16206 shlibpath_var
=LD_LIBRARY_PATH
16207 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16209 openbsd2.
[89] | openbsd2.
[89].
*)
16210 shlibpath_overrides_runpath
=no
16213 shlibpath_overrides_runpath
=yes
16217 shlibpath_overrides_runpath
=yes
16222 libname_spec
='$name'
16225 library_names_spec
='$libname${shared_ext} $libname.a'
16226 dynamic_linker
='OS/2 ld.exe'
16227 shlibpath_var
=LIBPATH
16230 osf3
* | osf4
* | osf5
*)
16234 soname_spec
='${libname}${release}${shared_ext}$major'
16235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16236 shlibpath_var
=LD_LIBRARY_PATH
16237 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16238 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16250 soname_spec
='${libname}${release}${shared_ext}$major'
16251 shlibpath_var
=LD_LIBRARY_PATH
16252 shlibpath_overrides_runpath
=yes
16253 hardcode_into_libs
=yes
16254 # ldd complains unless libraries are executable
16255 postinstall_cmds
='chmod +x $lib'
16260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16261 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16262 shlibpath_var
=LD_LIBRARY_PATH
16263 shlibpath_overrides_runpath
=yes
16264 if test "$with_gnu_ld" = yes; then
16272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16273 soname_spec
='${libname}${release}${shared_ext}$major'
16274 shlibpath_var
=LD_LIBRARY_PATH
16275 case $host_vendor in
16277 shlibpath_overrides_runpath
=no
16279 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16280 runpath_var
=LD_RUN_PATH
16288 shlibpath_overrides_runpath
=no
16289 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16295 if test -d /usr
/nec
;then
16297 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16298 soname_spec
='$libname${shared_ext}.$major'
16299 shlibpath_var
=LD_LIBRARY_PATH
16303 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16304 version_type
=freebsd-elf
16307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16308 soname_spec
='${libname}${release}${shared_ext}$major'
16309 shlibpath_var
=LD_LIBRARY_PATH
16310 hardcode_into_libs
=yes
16311 if test "$with_gnu_ld" = yes; then
16312 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16313 shlibpath_overrides_runpath
=no
16315 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16316 shlibpath_overrides_runpath
=yes
16319 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16323 sys_lib_dlsearch_path_spec
='/usr/lib'
16328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16329 soname_spec
='${libname}${release}${shared_ext}$major'
16330 shlibpath_var
=LD_LIBRARY_PATH
16337 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16338 echo "${ECHO_T}$dynamic_linker" >&6; }
16339 test "$dynamic_linker" = no
&& can_build_shared
=no
16341 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16347 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16348 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16354 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16356 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16357 if test "$GCC" = yes; then
16358 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16361 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16362 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16363 hardcode_action_F77
=
16364 if test -n "$hardcode_libdir_flag_spec_F77" || \
16365 test -n "$runpath_var_F77" || \
16366 test "X$hardcode_automatic_F77" = "Xyes" ; then
16368 # We can hardcode non-existant directories.
16369 if test "$hardcode_direct_F77" != no
&&
16370 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16371 # have to relink, otherwise we might link with an installed library
16372 # when we should be linking with a yet-to-be-installed one
16373 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16374 test "$hardcode_minus_L_F77" != no
; then
16375 # Linking always hardcodes the temporary library directory.
16376 hardcode_action_F77
=relink
16378 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16379 hardcode_action_F77
=immediate
16382 # We cannot hardcode anything, or else we can only hardcode existing
16384 hardcode_action_F77
=unsupported
16386 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16387 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16389 if test "$hardcode_action_F77" = relink
; then
16390 # Fast installation is not supported
16391 enable_fast_install
=no
16392 elif test "$shlibpath_overrides_runpath" = yes ||
16393 test "$enable_shared" = no
; then
16394 # Fast installation is not necessary
16395 enable_fast_install
=needless
16399 # The else clause should only fire when bootstrapping the
16400 # libtool distribution, otherwise you forgot to ship ltmain.sh
16401 # with your package, and you will get complaints that there are
16402 # no rules to generate ltmain.sh.
16403 if test -f "$ltmain"; then
16404 # See if we are running on zsh, and set the options which allow our commands through
16405 # without removal of \ escapes.
16406 if test -n "${ZSH_VERSION+set}" ; then
16407 setopt NO_GLOB_SUBST
16409 # Now quote all the things that may contain metacharacters while being
16410 # careful not to overquote the AC_SUBSTed values. We take copies of the
16411 # variables and quote the copies for generation of the libtool script.
16412 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16414 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16415 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16416 deplibs_check_method reload_flag reload_cmds need_locks \
16417 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16418 lt_cv_sys_global_symbol_to_c_name_address \
16419 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16420 old_postinstall_cmds old_postuninstall_cmds \
16424 lt_prog_compiler_wl_F77 \
16425 lt_prog_compiler_pic_F77 \
16426 lt_prog_compiler_static_F77 \
16427 lt_prog_compiler_no_builtin_flag_F77 \
16428 export_dynamic_flag_spec_F77 \
16429 thread_safe_flag_spec_F77 \
16430 whole_archive_flag_spec_F77 \
16431 enable_shared_with_static_runtimes_F77 \
16432 old_archive_cmds_F77 \
16433 old_archive_from_new_cmds_F77 \
16434 predep_objects_F77 \
16435 postdep_objects_F77 \
16438 compiler_lib_search_path_F77 \
16439 compiler_lib_search_dirs_F77 \
16441 archive_expsym_cmds_F77 \
16442 postinstall_cmds_F77 \
16443 postuninstall_cmds_F77 \
16444 old_archive_from_expsyms_cmds_F77 \
16445 allow_undefined_flag_F77 \
16446 no_undefined_flag_F77 \
16447 export_symbols_cmds_F77 \
16448 hardcode_libdir_flag_spec_F77 \
16449 hardcode_libdir_flag_spec_ld_F77 \
16450 hardcode_libdir_separator_F77 \
16451 hardcode_automatic_F77 \
16453 module_expsym_cmds_F77 \
16454 lt_cv_prog_compiler_c_o_F77 \
16455 fix_srcfile_path_F77 \
16456 exclude_expsyms_F77 \
16457 include_expsyms_F77
; do
16460 old_archive_cmds_F77 | \
16461 old_archive_from_new_cmds_F77 | \
16462 archive_cmds_F77 | \
16463 archive_expsym_cmds_F77 | \
16464 module_cmds_F77 | \
16465 module_expsym_cmds_F77 | \
16466 old_archive_from_expsyms_cmds_F77 | \
16467 export_symbols_cmds_F77 | \
16468 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16469 postinstall_cmds | postuninstall_cmds | \
16470 old_postinstall_cmds | old_postuninstall_cmds | \
16471 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16472 # Double-quote double-evaled strings.
16473 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16476 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16482 *'\$0 --fallback-echo"')
16483 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16489 cat <<__EOF__ >> "$cfgfile"
16490 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16492 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16494 # Shell to use when invoking shell scripts.
16497 # Whether or not to build shared libraries.
16498 build_libtool_libs=$enable_shared
16500 # Whether or not to build static libraries.
16501 build_old_libs=$enable_static
16503 # Whether or not to add -lc for building shared libraries.
16504 build_libtool_need_lc=$archive_cmds_need_lc_F77
16506 # Whether or not to disallow shared libs when runtime libs are static
16507 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16509 # Whether or not to optimize for fast installation.
16510 fast_install=$enable_fast_install
16513 host_alias=$host_alias
16517 # The build system.
16518 build_alias=$build_alias
16522 # An echo program that does not interpret backslashes.
16527 AR_FLAGS=$lt_AR_FLAGS
16532 # LTCC compiler flags.
16533 LTCFLAGS=$lt_LTCFLAGS
16535 # A language-specific compiler.
16536 CC=$lt_compiler_F77
16538 # Is the compiler the GNU C compiler?
16544 # The linker used to build libraries.
16547 # Whether we need hard or soft links.
16550 # A BSD-compatible nm program.
16553 # A symbol stripping program
16556 # Used to examine libraries when file_magic_cmd begins "file"
16557 MAGIC_CMD=$MAGIC_CMD
16559 # Used on cygwin: DLL creation program.
16562 # Used on cygwin: object dumper.
16565 # Used on cygwin: assembler.
16568 # The name of the directory that contains temporary libtool files.
16571 # How to create reloadable object files.
16572 reload_flag=$lt_reload_flag
16573 reload_cmds=$lt_reload_cmds
16575 # How to pass a linker flag through the compiler.
16576 wl=$lt_lt_prog_compiler_wl_F77
16578 # Object file suffix (normally "o").
16579 objext="$ac_objext"
16581 # Old archive suffix (normally "a").
16584 # Shared library suffix (normally ".so").
16585 shrext_cmds='$shrext_cmds'
16587 # Executable file suffix (normally "").
16590 # Additional compiler flags for building library objects.
16591 pic_flag=$lt_lt_prog_compiler_pic_F77
16594 # What is the maximum length of a command?
16595 max_cmd_len=$lt_cv_sys_max_cmd_len
16597 # Does compiler simultaneously support -c and -o options?
16598 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16600 # Must we lock files when doing compilation?
16601 need_locks=$lt_need_locks
16603 # Do we need the lib prefix for modules?
16604 need_lib_prefix=$need_lib_prefix
16606 # Do we need a version for libraries?
16607 need_version=$need_version
16609 # Whether dlopen is supported.
16610 dlopen_support=$enable_dlopen
16612 # Whether dlopen of programs is supported.
16613 dlopen_self=$enable_dlopen_self
16615 # Whether dlopen of statically linked programs is supported.
16616 dlopen_self_static=$enable_dlopen_self_static
16618 # Compiler flag to prevent dynamic linking.
16619 link_static_flag=$lt_lt_prog_compiler_static_F77
16621 # Compiler flag to turn off builtin functions.
16622 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16624 # Compiler flag to allow reflexive dlopens.
16625 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16627 # Compiler flag to generate shared objects directly from archives.
16628 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16630 # Compiler flag to generate thread-safe objects.
16631 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16633 # Library versioning type.
16634 version_type=$version_type
16636 # Format of library name prefix.
16637 libname_spec=$lt_libname_spec
16639 # List of archive names. First name is the real one, the rest are links.
16640 # The last name is the one that the linker finds with -lNAME.
16641 library_names_spec=$lt_library_names_spec
16643 # The coded name of the library, if different from the real name.
16644 soname_spec=$lt_soname_spec
16646 # Commands used to build and install an old-style archive.
16648 old_archive_cmds=$lt_old_archive_cmds_F77
16649 old_postinstall_cmds=$lt_old_postinstall_cmds
16650 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16652 # Create an old-style archive from a shared archive.
16653 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16655 # Create a temporary old-style archive to link instead of a shared archive.
16656 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16658 # Commands used to build and install a shared archive.
16659 archive_cmds=$lt_archive_cmds_F77
16660 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16661 postinstall_cmds=$lt_postinstall_cmds
16662 postuninstall_cmds=$lt_postuninstall_cmds
16664 # Commands used to build a loadable module (assumed same as above if empty)
16665 module_cmds=$lt_module_cmds_F77
16666 module_expsym_cmds=$lt_module_expsym_cmds_F77
16668 # Commands to strip libraries.
16669 old_striplib=$lt_old_striplib
16670 striplib=$lt_striplib
16672 # Dependencies to place before the objects being linked to create a
16674 predep_objects=$lt_predep_objects_F77
16676 # Dependencies to place after the objects being linked to create a
16678 postdep_objects=$lt_postdep_objects_F77
16680 # Dependencies to place before the objects being linked to create a
16682 predeps=$lt_predeps_F77
16684 # Dependencies to place after the objects being linked to create a
16686 postdeps=$lt_postdeps_F77
16688 # The directories searched by this compiler when creating a shared
16690 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16692 # The library search path used internally by the compiler when linking
16693 # a shared library.
16694 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16696 # Method to check whether dependent libraries are shared objects.
16697 deplibs_check_method=$lt_deplibs_check_method
16699 # Command to use when deplibs_check_method == file_magic.
16700 file_magic_cmd=$lt_file_magic_cmd
16702 # Flag that allows shared libraries with undefined symbols to be built.
16703 allow_undefined_flag=$lt_allow_undefined_flag_F77
16705 # Flag that forces no undefined symbols.
16706 no_undefined_flag=$lt_no_undefined_flag_F77
16708 # Commands used to finish a libtool library installation in a directory.
16709 finish_cmds=$lt_finish_cmds
16711 # Same as above, but a single script fragment to be evaled but not shown.
16712 finish_eval=$lt_finish_eval
16714 # Take the output of nm and produce a listing of raw symbols and C names.
16715 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16717 # Transform the output of nm in a proper C declaration
16718 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16720 # Transform the output of nm in a C name address pair
16721 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16723 # This is the shared library runtime path variable.
16724 runpath_var=$runpath_var
16726 # This is the shared library path variable.
16727 shlibpath_var=$shlibpath_var
16729 # Is shlibpath searched before the hard-coded library search path?
16730 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16732 # How to hardcode a shared library path into an executable.
16733 hardcode_action=$hardcode_action_F77
16735 # Whether we should hardcode library paths into libraries.
16736 hardcode_into_libs=$hardcode_into_libs
16738 # Flag to hardcode \$libdir into a binary during linking.
16739 # This must work even if \$libdir does not exist.
16740 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16742 # If ld is used when linking, flag to hardcode \$libdir into
16743 # a binary during linking. This must work even if \$libdir does
16745 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16747 # Whether we need a single -rpath flag with a separated argument.
16748 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16750 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16751 # resulting binary.
16752 hardcode_direct=$hardcode_direct_F77
16754 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16755 # resulting binary.
16756 hardcode_minus_L=$hardcode_minus_L_F77
16758 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16759 # the resulting binary.
16760 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16762 # Set to yes if building a shared library automatically hardcodes DIR into the library
16763 # and all subsequent libraries and executables linked against it.
16764 hardcode_automatic=$hardcode_automatic_F77
16766 # Variables whose values should be saved in libtool wrapper scripts and
16767 # restored at relink time.
16768 variables_saved_for_relink="$variables_saved_for_relink"
16770 # Whether libtool must link a program against all its dependency libraries.
16771 link_all_deplibs=$link_all_deplibs_F77
16773 # Compile-time system search path for libraries
16774 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16776 # Run-time system search path for libraries
16777 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16779 # Fix the shell variable \$srcfile for the compiler.
16780 fix_srcfile_path=$lt_fix_srcfile_path
16782 # Set to yes if exported symbols are required.
16783 always_export_symbols=$always_export_symbols_F77
16785 # The commands to list exported symbols.
16786 export_symbols_cmds=$lt_export_symbols_cmds_F77
16788 # The commands to extract the exported symbol list from a shared archive.
16789 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16791 # Symbols that should not be listed in the preloaded symbols.
16792 exclude_expsyms=$lt_exclude_expsyms_F77
16794 # Symbols that must always be exported.
16795 include_expsyms=$lt_include_expsyms_F77
16797 # ### END LIBTOOL TAG CONFIG: $tagname
16803 # If there is no Makefile yet, we rely on a make rule to execute
16804 # `config.status --recheck' to rerun these tests and create the
16805 # libtool script then.
16806 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16807 if test -f "$ltmain_in"; then
16808 test -f Makefile
&& make "$ltmain"
16814 ac_cpp
='$CPP $CPPFLAGS'
16815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16827 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16830 # Source file extension for Java test sources.
16833 # Object file extension for compiled Java test sources.
16837 # Code to be used in simple compile tests
16838 lt_simple_compile_test_code
="class foo {}"
16840 # Code to be used in simple link tests
16841 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16843 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16845 # If no C compiler was specified, use CC.
16848 # If no C compiler flags were specified, use CFLAGS.
16849 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16851 # Allow CC to be a program name with arguments.
16855 # save warnings/boilerplate of simple test code
16856 ac_outfile
=conftest.
$ac_objext
16857 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16858 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16859 _lt_compiler_boilerplate
=`cat conftest.err`
16862 ac_outfile
=conftest.
$ac_objext
16863 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16864 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16865 _lt_linker_boilerplate
=`cat conftest.err`
16869 # Allow CC to be a program name with arguments.
16874 for cc_temp
in $compiler""; do
16876 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16877 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16882 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16885 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16886 archive_cmds_need_lc_GCJ
=no
16888 old_archive_cmds_GCJ
=$old_archive_cmds
16891 lt_prog_compiler_no_builtin_flag_GCJ
=
16893 if test "$GCC" = yes; then
16894 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16897 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16898 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16899 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 lt_cv_prog_compiler_rtti_exceptions
=no
16903 ac_outfile
=conftest.
$ac_objext
16904 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16905 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16906 # Insert the option either (1) after the last *FLAGS variable, or
16907 # (2) before a word containing "conftest.", or (3) at the end.
16908 # Note that $ac_compile itself does not contain backslashes and begins
16909 # with a dollar sign (not a hyphen), so the echo should work correctly.
16910 # The option is referenced via a variable to avoid confusing sed.
16911 lt_compile
=`echo "$ac_compile" | $SED \
16912 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16913 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16914 -e 's:$: $lt_compiler_flag:'`
16915 (eval echo "\"\$as_me:16915: $lt_compile\"" >&5)
16916 (eval "$lt_compile" 2>conftest.err
)
16918 cat conftest.err
>&5
16919 echo "$as_me:16919: \$? = $ac_status" >&5
16920 if (exit $ac_status) && test -s "$ac_outfile"; then
16921 # The compiler can only warn and ignore the option if not recognized
16922 # So say no if there are warnings other than the usual output.
16923 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16924 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16925 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16926 lt_cv_prog_compiler_rtti_exceptions
=yes
16932 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16933 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16935 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16936 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16943 lt_prog_compiler_wl_GCJ
=
16944 lt_prog_compiler_pic_GCJ
=
16945 lt_prog_compiler_static_GCJ
=
16947 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16948 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16950 if test "$GCC" = yes; then
16951 lt_prog_compiler_wl_GCJ
='-Wl,'
16952 lt_prog_compiler_static_GCJ
='-static'
16956 # All AIX code is PIC.
16957 if test "$host_cpu" = ia64
; then
16958 # AIX 5 now supports IA64 processor
16959 lt_prog_compiler_static_GCJ
='-Bstatic'
16964 # FIXME: we need at least 68020 code to build shared libraries, but
16965 # adding the `-m68020' flag to GCC prevents building anything better,
16967 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16970 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16971 # PIC is the default for these OSes.
16974 mingw
* | cygwin
* | pw32
* | os2
*)
16975 # This hack is so that the source file can tell whether it is being
16976 # built for inclusion in a dll (and should export symbols for example).
16977 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16978 # (--disable-auto-import) libraries
16982 darwin
* | rhapsody
*)
16983 # PIC is the default on this platform
16984 # Common symbols not allowed in MH_DYLIB files
16985 lt_prog_compiler_pic_GCJ
='-fno-common'
16989 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16990 # Instead, we relocate shared libraries at runtime.
16994 # Just because we use GCC doesn't mean we suddenly get shared libraries
16995 # on systems that don't support them.
16996 lt_prog_compiler_can_build_shared_GCJ
=no
17001 if test -d /usr
/nec
; then
17002 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17007 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17008 # not for PA HP-UX.
17014 lt_prog_compiler_pic_GCJ
='-fPIC'
17020 lt_prog_compiler_pic_GCJ
='-fPIC'
17024 # PORTME Check for flag to pass linker flags through the system compiler.
17027 lt_prog_compiler_wl_GCJ
='-Wl,'
17028 if test "$host_cpu" = ia64
; then
17029 # AIX 5 now supports IA64 processor
17030 lt_prog_compiler_static_GCJ
='-Bstatic'
17032 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17036 # PIC is the default on this platform
17037 # Common symbols not allowed in MH_DYLIB files
17038 case $cc_basename in
17040 lt_prog_compiler_pic_GCJ
='-qnocommon'
17041 lt_prog_compiler_wl_GCJ
='-Wl,'
17046 mingw
* | cygwin
* | pw32
* | os2
*)
17047 # This hack is so that the source file can tell whether it is being
17048 # built for inclusion in a dll (and should export symbols for example).
17052 hpux9
* | hpux10
* | hpux11
*)
17053 lt_prog_compiler_wl_GCJ
='-Wl,'
17054 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17055 # not for PA HP-UX.
17061 lt_prog_compiler_pic_GCJ
='+Z'
17064 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17065 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17068 irix5
* | irix6
* | nonstopux
*)
17069 lt_prog_compiler_wl_GCJ
='-Wl,'
17070 # PIC (with -KPIC) is the default.
17071 lt_prog_compiler_static_GCJ
='-non_shared'
17075 lt_prog_compiler_pic_GCJ
='-KPIC'
17076 lt_prog_compiler_static_GCJ
='-Bstatic'
17079 linux
* | k
*bsd
*-gnu)
17080 case $cc_basename in
17082 lt_prog_compiler_wl_GCJ
='-Wl,'
17083 lt_prog_compiler_pic_GCJ
='-KPIC'
17084 lt_prog_compiler_static_GCJ
='-static'
17086 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17087 # Portland Group compilers (*not* the Pentium gcc compiler,
17088 # which looks to be a dead project)
17089 lt_prog_compiler_wl_GCJ
='-Wl,'
17090 lt_prog_compiler_pic_GCJ
='-fpic'
17091 lt_prog_compiler_static_GCJ
='-Bstatic'
17094 lt_prog_compiler_wl_GCJ
='-Wl,'
17095 # All Alpha code is PIC.
17096 lt_prog_compiler_static_GCJ
='-non_shared'
17099 case `$CC -V 2>&1 | sed 5q` in
17102 lt_prog_compiler_pic_GCJ
='-KPIC'
17103 lt_prog_compiler_static_GCJ
='-Bstatic'
17104 lt_prog_compiler_wl_GCJ
='-Wl,'
17107 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17108 lt_prog_compiler_pic_GCJ
='-KPIC'
17109 lt_prog_compiler_static_GCJ
='-Bstatic'
17110 lt_prog_compiler_wl_GCJ
=''
17117 osf3
* | osf4
* | osf5
*)
17118 lt_prog_compiler_wl_GCJ
='-Wl,'
17119 # All OSF/1 code is PIC.
17120 lt_prog_compiler_static_GCJ
='-non_shared'
17124 lt_prog_compiler_static_GCJ
='-non_shared'
17128 lt_prog_compiler_pic_GCJ
='-KPIC'
17129 lt_prog_compiler_static_GCJ
='-Bstatic'
17130 case $cc_basename in
17131 f77
* | f90
* | f95
*)
17132 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17134 lt_prog_compiler_wl_GCJ
='-Wl,';;
17139 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17140 lt_prog_compiler_pic_GCJ
='-PIC'
17141 lt_prog_compiler_static_GCJ
='-Bstatic'
17144 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17145 lt_prog_compiler_wl_GCJ
='-Wl,'
17146 lt_prog_compiler_pic_GCJ
='-KPIC'
17147 lt_prog_compiler_static_GCJ
='-Bstatic'
17151 if test -d /usr
/nec
;then
17152 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17153 lt_prog_compiler_static_GCJ
='-Bstatic'
17157 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17158 lt_prog_compiler_wl_GCJ
='-Wl,'
17159 lt_prog_compiler_pic_GCJ
='-KPIC'
17160 lt_prog_compiler_static_GCJ
='-Bstatic'
17164 lt_prog_compiler_wl_GCJ
='-Wl,'
17165 lt_prog_compiler_can_build_shared_GCJ
=no
17169 lt_prog_compiler_pic_GCJ
='-pic'
17170 lt_prog_compiler_static_GCJ
='-Bstatic'
17174 lt_prog_compiler_can_build_shared_GCJ
=no
17179 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17180 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17183 # Check to make sure the PIC flag actually works.
17185 if test -n "$lt_prog_compiler_pic_GCJ"; then
17187 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17188 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17189 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17192 lt_cv_prog_compiler_pic_works_GCJ
=no
17193 ac_outfile
=conftest.
$ac_objext
17194 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17195 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17196 # Insert the option either (1) after the last *FLAGS variable, or
17197 # (2) before a word containing "conftest.", or (3) at the end.
17198 # Note that $ac_compile itself does not contain backslashes and begins
17199 # with a dollar sign (not a hyphen), so the echo should work correctly.
17200 # The option is referenced via a variable to avoid confusing sed.
17201 lt_compile
=`echo "$ac_compile" | $SED \
17202 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17203 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17204 -e 's:$: $lt_compiler_flag:'`
17205 (eval echo "\"\$as_me:17205: $lt_compile\"" >&5)
17206 (eval "$lt_compile" 2>conftest.err
)
17208 cat conftest.err
>&5
17209 echo "$as_me:17209: \$? = $ac_status" >&5
17210 if (exit $ac_status) && test -s "$ac_outfile"; then
17211 # The compiler can only warn and ignore the option if not recognized
17212 # So say no if there are warnings other than the usual output.
17213 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17214 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17215 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17216 lt_cv_prog_compiler_pic_works_GCJ
=yes
17222 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17223 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17225 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17226 case $lt_prog_compiler_pic_GCJ in
17228 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17231 lt_prog_compiler_pic_GCJ
=
17232 lt_prog_compiler_can_build_shared_GCJ
=no
17237 # For platforms which do not support PIC, -DPIC is meaningless:
17239 lt_prog_compiler_pic_GCJ
=
17242 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17247 # Check to make sure the static flag actually works.
17249 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17250 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17251 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17252 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 lt_cv_prog_compiler_static_works_GCJ
=no
17256 save_LDFLAGS
="$LDFLAGS"
17257 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17258 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17259 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17260 # The linker can only warn and ignore the option if not recognized
17261 # So say no if there are warnings
17262 if test -s conftest.err
; then
17263 # Append any errors to the config.log.
17264 cat conftest.err
1>&5
17265 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17266 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17267 if diff conftest.exp conftest.er2
>/dev
/null
; then
17268 lt_cv_prog_compiler_static_works_GCJ
=yes
17271 lt_cv_prog_compiler_static_works_GCJ
=yes
17275 LDFLAGS
="$save_LDFLAGS"
17278 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17279 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17281 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17284 lt_prog_compiler_static_GCJ
=
17288 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17289 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17290 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 lt_cv_prog_compiler_c_o_GCJ
=no
17294 $rm -r conftest
2>/dev
/null
17298 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17300 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17301 # Insert the option either (1) after the last *FLAGS variable, or
17302 # (2) before a word containing "conftest.", or (3) at the end.
17303 # Note that $ac_compile itself does not contain backslashes and begins
17304 # with a dollar sign (not a hyphen), so the echo should work correctly.
17305 lt_compile
=`echo "$ac_compile" | $SED \
17306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17308 -e 's:$: $lt_compiler_flag:'`
17309 (eval echo "\"\$as_me:17309: $lt_compile\"" >&5)
17310 (eval "$lt_compile" 2>out
/conftest.err
)
17312 cat out
/conftest.err
>&5
17313 echo "$as_me:17313: \$? = $ac_status" >&5
17314 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17316 # The compiler can only warn and ignore the option if not recognized
17317 # So say no if there are warnings
17318 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17319 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17320 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17321 lt_cv_prog_compiler_c_o_GCJ
=yes
17326 # SGI C++ compiler will create directory out/ii_files/ for
17327 # template instantiation
17328 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17329 $rm out
/* && rmdir out
17335 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17336 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17339 hard_links
="nottested"
17340 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17341 # do not overwrite the value of need_locks provided by the user
17342 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17343 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17346 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17348 ln conftest.a conftest.b
2>&5 || hard_links
=no
17349 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17350 { echo "$as_me:$LINENO: result: $hard_links" >&5
17351 echo "${ECHO_T}$hard_links" >&6; }
17352 if test "$hard_links" = no
; then
17353 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17354 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17361 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17362 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17365 allow_undefined_flag_GCJ
=
17366 enable_shared_with_static_runtimes_GCJ
=no
17368 archive_expsym_cmds_GCJ
=
17369 old_archive_From_new_cmds_GCJ
=
17370 old_archive_from_expsyms_cmds_GCJ
=
17371 export_dynamic_flag_spec_GCJ
=
17372 whole_archive_flag_spec_GCJ
=
17373 thread_safe_flag_spec_GCJ
=
17374 hardcode_libdir_flag_spec_GCJ
=
17375 hardcode_libdir_flag_spec_ld_GCJ
=
17376 hardcode_libdir_separator_GCJ
=
17377 hardcode_direct_GCJ
=no
17378 hardcode_minus_L_GCJ
=no
17379 hardcode_shlibpath_var_GCJ
=unsupported
17380 link_all_deplibs_GCJ
=unknown
17381 hardcode_automatic_GCJ
=no
17383 module_expsym_cmds_GCJ
=
17384 always_export_symbols_GCJ
=no
17385 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17386 # include_expsyms should be a list of space-separated symbols to be *always*
17387 # included in the symbol list
17388 include_expsyms_GCJ
=
17389 # exclude_expsyms can be an extended regexp of symbols to exclude
17390 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17391 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17392 # as well as any symbol that contains `d'.
17393 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17394 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17395 # platforms (ab)use it in PIC code, but their linkers get confused if
17396 # the symbol is explicitly referenced. Since portable code cannot
17397 # rely on this symbol name, it's probably fine to never include it in
17398 # preloaded symbol tables.
17399 # Exclude shared library initialization/finalization symbols.
17400 extract_expsyms_cmds
=
17401 # Just being paranoid about ensuring that cc_basename is set.
17402 for cc_temp
in $compiler""; do
17404 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17405 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17410 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17413 cygwin
* | mingw
* | pw32
*)
17414 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17415 # When not using gcc, we currently assume that we are using
17416 # Microsoft Visual C++.
17417 if test "$GCC" != yes; then
17422 # we just hope/assume this is gcc and not c89 (= MSVC++)
17431 if test "$with_gnu_ld" = yes; then
17432 # If archive_cmds runs LD, not CC, wlarc should be empty
17435 # Set some defaults for GNU ld with shared library support. These
17436 # are reset later if shared libraries are not supported. Putting them
17437 # here allows them to be overridden if necessary.
17438 runpath_var
=LD_RUN_PATH
17439 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17440 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17441 # ancient GNU ld didn't support --whole-archive et. al.
17442 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17443 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17445 whole_archive_flag_spec_GCJ
=
17447 supports_anon_versioning
=no
17448 case `$LD -v 2>/dev/null` in
17449 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17450 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17451 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17452 *\
2.11.
*) ;; # other 2.11 versions
17453 *) supports_anon_versioning
=yes ;;
17456 # See if GNU ld supports shared libraries.
17459 # On AIX/PPC, the GNU linker is very broken
17460 if test "$host_cpu" != ia64
; then
17464 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17465 *** to be unable to reliably create shared libraries on AIX.
17466 *** Therefore, libtool is disabling shared libraries support. If you
17467 *** really care for shared libraries, you may want to modify your PATH
17468 *** so that a non-GNU linker is found, and then restart.
17475 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)'
17476 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17477 hardcode_minus_L_GCJ
=yes
17479 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17480 # that the semantics of dynamic libraries on AmigaOS, at least up
17481 # to version 4, is to share data among multiple programs linked
17482 # with the same dynamic library. Since this doesn't match the
17483 # behavior of shared libraries on other platforms, we can't use
17489 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17490 allow_undefined_flag_GCJ
=unsupported
17491 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17492 # support --undefined. This deserves some investigation. FIXME
17493 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17499 cygwin
* | mingw
* | pw32
*)
17500 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17501 # as there is no search path for DLLs.
17502 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17503 allow_undefined_flag_GCJ
=unsupported
17504 always_export_symbols_GCJ
=no
17505 enable_shared_with_static_runtimes_GCJ
=yes
17506 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17508 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17509 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17510 # If the export-symbols file already is a .def file (1st line
17511 # is EXPORTS), use it as is; otherwise, prepend...
17512 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17513 cp $export_symbols $output_objdir/$soname.def;
17515 echo EXPORTS > $output_objdir/$soname.def;
17516 cat $export_symbols >> $output_objdir/$soname.def;
17518 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17525 hardcode_direct_GCJ
=no
17526 hardcode_shlibpath_var_GCJ
=no
17527 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17528 export_dynamic_flag_spec_GCJ
='${wl}-E'
17529 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17530 # Instead, shared libraries are loaded at an image base (0x10000000 by
17531 # default) and relocated if they conflict, which is a slow very memory
17532 # consuming and fragmenting process. To avoid this, we pick a random,
17533 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17534 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17535 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'
17536 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'
17539 gnu
* | linux
* | k
*bsd
*-gnu)
17540 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17542 case $cc_basename,$host_cpu in
17543 pgcc
*) # Portland Group C compiler
17544 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'
17545 tmp_addflag
=' $pic_flag'
17547 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17548 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'
17549 tmp_addflag
=' $pic_flag -Mnomain' ;;
17550 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17551 tmp_addflag
=' -i_dynamic' ;;
17552 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17553 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17554 ifc
* | ifort
*) # Intel Fortran compiler
17555 tmp_addflag
=' -nofor_main' ;;
17557 case `$CC -V 2>&1 | sed 5q` in
17558 *Sun\ C
*) # Sun C 5.9
17559 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'
17560 tmp_sharedflag
='-G' ;;
17561 *Sun\ F
*) # Sun Fortran 8.3
17562 tmp_sharedflag
='-G' ;;
17564 tmp_sharedflag
='-shared' ;;
17566 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17568 if test $supports_anon_versioning = yes; then
17569 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17570 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17571 $echo "local: *; };" >> $output_objdir/$libname.ver~
17572 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17580 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17581 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17584 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17585 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17590 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17594 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17595 *** create shared libraries on Solaris systems. Therefore, libtool
17596 *** is disabling shared libraries support. We urge you to upgrade GNU
17597 *** binutils to release 2.9.1 or newer. Another option is to modify
17598 *** your PATH or compiler configuration so that the native linker is
17599 *** used, and then restart.
17602 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17603 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17604 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17610 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17611 case `$LD -v 2>&1` in
17612 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17616 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17617 *** reliably create shared libraries on SCO systems. Therefore, libtool
17618 *** is disabling shared libraries support. We urge you to upgrade GNU
17619 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17620 *** your PATH or compiler configuration so that the native linker is
17621 *** used, and then restart.
17626 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17627 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17628 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17629 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17638 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17640 hardcode_direct_GCJ
=yes
17641 hardcode_shlibpath_var_GCJ
=no
17645 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17646 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17647 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17654 if test "$ld_shlibs_GCJ" = no
; then
17656 hardcode_libdir_flag_spec_GCJ
=
17657 export_dynamic_flag_spec_GCJ
=
17658 whole_archive_flag_spec_GCJ
=
17661 # PORTME fill in a description of your system's linker (not GNU ld)
17664 allow_undefined_flag_GCJ
=unsupported
17665 always_export_symbols_GCJ
=yes
17666 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'
17667 # Note: this linker hardcodes the directories in LIBPATH if there
17668 # are no directories specified by -L.
17669 hardcode_minus_L_GCJ
=yes
17670 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17671 # Neither direct hardcoding nor static linking is supported with a
17673 hardcode_direct_GCJ
=unsupported
17678 if test "$host_cpu" = ia64
; then
17679 # On IA64, the linker does run time linking by default, so we don't
17680 # have to do anything special.
17681 aix_use_runtimelinking
=no
17682 exp_sym_flag
='-Bexport'
17685 # If we're using GNU nm, then we don't want the "-C" option.
17686 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17687 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17688 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'
17690 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'
17692 aix_use_runtimelinking
=no
17694 # Test if we are trying to use run time linking or normal
17695 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17696 # need to do runtime linking.
17697 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17698 for ld_flag
in $LDFLAGS; do
17699 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17700 aix_use_runtimelinking
=yes
17707 exp_sym_flag
='-bexport'
17708 no_entry_flag
='-bnoentry'
17711 # When large executables or shared objects are built, AIX ld can
17712 # have problems creating the table of contents. If linking a library
17713 # or program results in "error TOC overflow" add -mminimal-toc to
17714 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17715 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17717 archive_cmds_GCJ
=''
17718 hardcode_direct_GCJ
=yes
17719 hardcode_libdir_separator_GCJ
=':'
17720 link_all_deplibs_GCJ
=yes
17722 if test "$GCC" = yes; then
17723 case $host_os in aix4.
[012]|aix4.
[012].
*)
17724 # We only want to do this on AIX 4.2 and lower, the check
17725 # below for broken collect2 doesn't work under 4.3+
17726 collect2name
=`${CC} -print-prog-name=collect2`
17727 if test -f "$collect2name" && \
17728 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17730 # We have reworked collect2
17733 # We have old collect2
17734 hardcode_direct_GCJ
=unsupported
17735 # It fails to find uninstalled libraries when the uninstalled
17736 # path is not listed in the libpath. Setting hardcode_minus_L
17737 # to unsupported forces relinking
17738 hardcode_minus_L_GCJ
=yes
17739 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17740 hardcode_libdir_separator_GCJ
=
17744 shared_flag
='-shared'
17745 if test "$aix_use_runtimelinking" = yes; then
17746 shared_flag
="$shared_flag "'${wl}-G'
17750 if test "$host_cpu" = ia64
; then
17751 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17752 # chokes on -Wl,-G. The following line is correct:
17755 if test "$aix_use_runtimelinking" = yes; then
17756 shared_flag
='${wl}-G'
17758 shared_flag
='${wl}-bM:SRE'
17763 # It seems that -bexpall does not export symbols beginning with
17764 # underscore (_), so it is better to generate a list of symbols to export.
17765 always_export_symbols_GCJ
=yes
17766 if test "$aix_use_runtimelinking" = yes; then
17767 # Warning - without using the other runtime loading flags (-brtl),
17768 # -berok will link without error, but may produce a broken library.
17769 allow_undefined_flag_GCJ
='-berok'
17770 # Determine the default libpath from the value encoded in an empty executable.
17771 cat >conftest.
$ac_ext <<_ACEOF
17774 cat confdefs.h
>>conftest.
$ac_ext
17775 cat >>conftest.
$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17786 rm -f conftest.
$ac_objext conftest
$ac_exeext
17787 if { (ac_try
="$ac_link"
17788 case "(($ac_try" in
17789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17790 *) ac_try_echo=$ac_try;;
17792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17793 (eval "$ac_link") 2>conftest.er1
17795 grep -v '^ *+' conftest.er1 >conftest.err
17797 cat conftest.err >&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); } && {
17800 test -z "$ac_c_werror_flag" ||
17801 test ! -s conftest.err
17802 } && test -s conftest$ac_exeext &&
17803 $as_test_x conftest$ac_exeext; then
17805 lt_aix_libpath_sed='
17806 /Import File Strings/,/^$/ {
17812 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17813 # Check for a 64-bit object if we didn't find anything.
17814 if test -z "$aix_libpath"; then
17815 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17825 conftest$ac_exeext conftest.$ac_ext
17826 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17828 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17829 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"
17831 if test "$host_cpu" = ia64; then
17832 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17833 allow_undefined_flag_GCJ="-z nodefs"
17834 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"
17836 # Determine the default libpath from the value encoded in an empty executable.
17837 cat >conftest.$ac_ext <<_ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17852 rm -f conftest.$ac_objext conftest$ac_exeext
17853 if { (ac_try="$ac_link"
17854 case "(($ac_try" in
17855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17856 *) ac_try_echo
=$ac_try;;
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_link") 2>conftest.er1
17861 grep -v '^ *+' conftest.er1
>conftest.err
17863 cat conftest.err
>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_c_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest
$ac_exeext &&
17869 $as_test_x conftest
$ac_exeext; then
17871 lt_aix_libpath_sed
='
17872 /Import File Strings/,/^$/ {
17878 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17879 # Check for a 64-bit object if we didn't find anything.
17880 if test -z "$aix_libpath"; then
17881 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.
$ac_ext >&5
17890 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17891 conftest
$ac_exeext conftest.
$ac_ext
17892 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17894 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17895 # Warning - without using the other run time loading flags,
17896 # -berok will link without error, but may produce a broken library.
17897 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17898 allow_undefined_flag_GCJ
=' ${wl}-berok'
17899 # Exported symbols can be pulled into shared objects from archives
17900 whole_archive_flag_spec_GCJ
='$convenience'
17901 archive_cmds_need_lc_GCJ
=yes
17902 # This is similar to how AIX traditionally builds its shared libraries.
17903 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'
17909 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)'
17910 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17911 hardcode_minus_L_GCJ
=yes
17912 # see comment about different semantics on the GNU ld section
17917 export_dynamic_flag_spec_GCJ
=-rdynamic
17920 cygwin
* | mingw
* | pw32
*)
17921 # When not using gcc, we currently assume that we are using
17922 # Microsoft Visual C++.
17923 # hardcode_libdir_flag_spec is actually meaningless, as there is
17924 # no search path for DLLs.
17925 hardcode_libdir_flag_spec_GCJ
=' '
17926 allow_undefined_flag_GCJ
=unsupported
17927 # Tell ltmain to make .lib files, not .a files.
17929 # Tell ltmain to make .dll files, not .so files.
17931 # FIXME: Setting linknames here is a bad hack.
17932 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17933 # The linker will automatically build a .lib file if we build a DLL.
17934 old_archive_From_new_cmds_GCJ
='true'
17935 # FIXME: Should let the user specify the lib program.
17936 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17937 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17938 enable_shared_with_static_runtimes_GCJ
=yes
17941 darwin
* | rhapsody
*)
17943 rhapsody
* | darwin1.
[012])
17944 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17947 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17948 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17950 case ${MACOSX_DEPLOYMENT_TARGET} in
17952 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17955 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17961 archive_cmds_need_lc_GCJ
=no
17962 hardcode_direct_GCJ
=no
17963 hardcode_automatic_GCJ
=yes
17964 hardcode_shlibpath_var_GCJ
=unsupported
17965 whole_archive_flag_spec_GCJ
=''
17966 link_all_deplibs_GCJ
=yes
17967 if test "$GCC" = yes ; then
17968 output_verbose_link_cmd
='echo'
17969 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17970 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17971 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17972 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17974 case $cc_basename in
17976 output_verbose_link_cmd
='echo'
17977 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17978 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17979 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17980 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}'
17981 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}'
17991 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17992 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17993 hardcode_shlibpath_var_GCJ
=no
18000 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18001 # support. Future versions do this automatically, but an explicit c++rt0.o
18002 # does not break anything, and helps significantly (at the cost of a little
18005 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18006 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18007 hardcode_direct_GCJ
=yes
18008 hardcode_shlibpath_var_GCJ
=no
18011 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18013 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18014 hardcode_direct_GCJ
=yes
18015 hardcode_minus_L_GCJ
=yes
18016 hardcode_shlibpath_var_GCJ
=no
18019 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18020 freebsd
* | dragonfly
*)
18021 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18022 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18023 hardcode_direct_GCJ
=yes
18024 hardcode_shlibpath_var_GCJ
=no
18028 if test "$GCC" = yes; then
18029 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'
18031 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'
18033 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18034 hardcode_libdir_separator_GCJ
=:
18035 hardcode_direct_GCJ
=yes
18037 # hardcode_minus_L: Not really in the search PATH,
18038 # but as the default location of the library.
18039 hardcode_minus_L_GCJ
=yes
18040 export_dynamic_flag_spec_GCJ
='${wl}-E'
18044 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18045 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18047 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18049 if test "$with_gnu_ld" = no
; then
18050 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18051 hardcode_libdir_separator_GCJ
=:
18053 hardcode_direct_GCJ
=yes
18054 export_dynamic_flag_spec_GCJ
='${wl}-E'
18056 # hardcode_minus_L: Not really in the search PATH,
18057 # but as the default location of the library.
18058 hardcode_minus_L_GCJ
=yes
18063 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18066 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18069 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18072 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18078 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18081 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18084 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18088 if test "$with_gnu_ld" = no
; then
18089 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18090 hardcode_libdir_separator_GCJ
=:
18094 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18095 hardcode_direct_GCJ
=no
18096 hardcode_shlibpath_var_GCJ
=no
18099 hardcode_direct_GCJ
=yes
18100 export_dynamic_flag_spec_GCJ
='${wl}-E'
18102 # hardcode_minus_L: Not really in the search PATH,
18103 # but as the default location of the library.
18104 hardcode_minus_L_GCJ
=yes
18110 irix5
* | irix6
* | nonstopux
*)
18111 if test "$GCC" = yes; then
18112 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'
18114 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'
18115 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18117 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18118 hardcode_libdir_separator_GCJ
=:
18119 link_all_deplibs_GCJ
=yes
18123 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18124 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18126 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18128 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18129 hardcode_direct_GCJ
=yes
18130 hardcode_shlibpath_var_GCJ
=no
18134 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18135 hardcode_direct_GCJ
=yes
18136 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18137 hardcode_libdir_separator_GCJ
=:
18138 hardcode_shlibpath_var_GCJ
=no
18142 if test -f /usr
/libexec
/ld.so
; then
18143 hardcode_direct_GCJ
=yes
18144 hardcode_shlibpath_var_GCJ
=no
18145 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18146 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18147 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18148 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18149 export_dynamic_flag_spec_GCJ
='${wl}-E'
18152 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18153 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18154 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18157 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18158 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18168 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18169 hardcode_minus_L_GCJ
=yes
18170 allow_undefined_flag_GCJ
=unsupported
18171 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'
18172 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18176 if test "$GCC" = yes; then
18177 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18178 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'
18180 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18181 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'
18183 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18184 hardcode_libdir_separator_GCJ
=:
18187 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18188 if test "$GCC" = yes; then
18189 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18190 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'
18191 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18193 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18194 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'
18195 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~
18196 $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'
18198 # Both c and cxx compiler support -rpath directly
18199 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18201 hardcode_libdir_separator_GCJ
=:
18205 no_undefined_flag_GCJ
=' -z text'
18206 if test "$GCC" = yes; then
18208 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18209 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18210 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18213 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18214 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18215 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18217 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18218 hardcode_shlibpath_var_GCJ
=no
18220 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18222 # The compiler driver will combine and reorder linker options,
18223 # but understands `-z linker_flag'. GCC discards it without `$wl',
18224 # but is careful enough not to reorder.
18225 # Supported since Solaris 2.6 (maybe 2.5.1?)
18226 if test "$GCC" = yes; then
18227 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18229 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18233 link_all_deplibs_GCJ
=yes
18237 if test "x$host_vendor" = xsequent
; then
18238 # Use $CC to link under sequent, because it throws in some extra .o
18239 # files that make .init and .fini sections work.
18240 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18242 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18244 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18245 hardcode_direct_GCJ
=yes
18246 hardcode_minus_L_GCJ
=yes
18247 hardcode_shlibpath_var_GCJ
=no
18251 case $host_vendor in
18253 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18254 hardcode_direct_GCJ
=yes # is this really true???
18257 ## LD is ld it makes a PLAMLIB
18258 ## CC just makes a GrossModule.
18259 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18260 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18261 hardcode_direct_GCJ
=no
18264 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18265 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18268 runpath_var
='LD_RUN_PATH'
18269 hardcode_shlibpath_var_GCJ
=no
18273 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18274 hardcode_shlibpath_var_GCJ
=no
18275 export_dynamic_flag_spec_GCJ
='-Bexport'
18279 if test -d /usr
/nec
; then
18280 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18281 hardcode_shlibpath_var_GCJ
=no
18282 runpath_var
=LD_RUN_PATH
18283 hardcode_runpath_var
=yes
18288 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18289 no_undefined_flag_GCJ
='${wl}-z,text'
18290 archive_cmds_need_lc_GCJ
=no
18291 hardcode_shlibpath_var_GCJ
=no
18292 runpath_var
='LD_RUN_PATH'
18294 if test "$GCC" = yes; then
18295 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18296 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18298 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18299 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18303 sysv5
* | sco3.2v5
* | sco5v6
*)
18304 # Note: We can NOT use -z defs as we might desire, because we do not
18305 # link with -lc, and that would cause any symbols used from libc to
18306 # always be unresolved, which means just about no library would
18307 # ever link correctly. If we're not using GNU ld we use -z text
18308 # though, which does catch some bad symbols but isn't as heavy-handed
18310 no_undefined_flag_GCJ
='${wl}-z,text'
18311 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18312 archive_cmds_need_lc_GCJ
=no
18313 hardcode_shlibpath_var_GCJ
=no
18314 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18315 hardcode_libdir_separator_GCJ
=':'
18316 link_all_deplibs_GCJ
=yes
18317 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18318 runpath_var
='LD_RUN_PATH'
18320 if test "$GCC" = yes; then
18321 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18322 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18324 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18325 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18330 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18331 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18332 hardcode_shlibpath_var_GCJ
=no
18341 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18342 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18343 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18346 # Do we need to explicitly link libc?
18348 case "x$archive_cmds_need_lc_GCJ" in
18350 # Assume -lc should be added
18351 archive_cmds_need_lc_GCJ
=yes
18353 if test "$enable_shared" = yes && test "$GCC" = yes; then
18354 case $archive_cmds_GCJ in
18356 # FIXME: we may have to deal with multi-command sequences.
18359 # Test whether the compiler implicitly links with -lc since on some
18360 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18361 # to ld, don't add -lc before -lgcc.
18362 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18363 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18365 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18368 (eval $ac_compile) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); } 2>conftest.err
; then
18374 libobjs
=conftest.
$ac_objext
18376 wl
=$lt_prog_compiler_wl_GCJ
18377 pic_flag
=$lt_prog_compiler_pic_GCJ
18383 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18384 allow_undefined_flag_GCJ
=
18385 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18386 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }
18391 archive_cmds_need_lc_GCJ
=no
18393 archive_cmds_need_lc_GCJ
=yes
18395 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18397 cat conftest.err
1>&5
18400 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18401 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18408 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18409 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18410 library_names_spec
=
18411 libname_spec
='lib$name'
18415 postuninstall_cmds
=
18419 shlibpath_overrides_runpath
=unknown
18421 dynamic_linker
="$host_os ld.so"
18422 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18424 need_lib_prefix
=unknown
18425 hardcode_into_libs
=no
18427 # when you set need_version to no, make sure it does not cause -set_version
18428 # flags to be left without arguments
18429 need_version
=unknown
18434 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18435 shlibpath_var
=LIBPATH
18437 # AIX 3 has no versioning support, so we append a major version to the name.
18438 soname_spec
='${libname}${release}${shared_ext}$major'
18445 hardcode_into_libs
=yes
18446 if test "$host_cpu" = ia64
; then
18447 # AIX 5 supports IA64
18448 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18449 shlibpath_var
=LD_LIBRARY_PATH
18451 # With GCC up to 2.95.x, collect2 would create an import file
18452 # for dependence libraries. The import file would start with
18453 # the line `#! .'. This would cause the generated library to
18454 # depend on `.', always an invalid library. This was fixed in
18455 # development snapshots of GCC prior to 3.0.
18457 aix4 | aix4.
[01] | aix4.
[01].
*)
18458 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18460 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18463 can_build_shared
=no
18467 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18468 # soname into executable. Probably we can add versioning support to
18469 # collect2, so additional links can be useful in future.
18470 if test "$aix_use_runtimelinking" = yes; then
18471 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18472 # instead of lib<name>.a to let people know that these are not
18473 # typical AIX shared libraries.
18474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18476 # We preserve .a as extension for shared libraries through AIX4.2
18477 # and later when we are not doing run time linking.
18478 library_names_spec
='${libname}${release}.a $libname.a'
18479 soname_spec
='${libname}${release}${shared_ext}$major'
18481 shlibpath_var
=LIBPATH
18486 library_names_spec
='$libname.ixlibrary $libname.a'
18487 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18488 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'
18492 library_names_spec
='${libname}${shared_ext}'
18493 dynamic_linker
="$host_os ld.so"
18494 shlibpath_var
=LIBRARY_PATH
18500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18501 soname_spec
='${libname}${release}${shared_ext}$major'
18502 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18503 shlibpath_var
=LD_LIBRARY_PATH
18504 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18505 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18506 # the default ld.so.conf also contains /usr/contrib/lib and
18507 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18508 # libtool to hard-code these into programs
18511 cygwin
* | mingw
* | pw32
*)
18512 version_type
=windows
18517 case $GCC,$host_os in
18518 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18519 library_names_spec
='$libname.dll.a'
18520 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18521 postinstall_cmds
='base_file=`basename \${file}`~
18522 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18523 dldir=$destdir/`dirname \$dlpath`~
18524 test -d \$dldir || mkdir -p \$dldir~
18525 $install_prog $dir/$dlname \$dldir/$dlname~
18526 chmod a+x \$dldir/$dlname'
18527 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18528 dlpath=$dir/\$dldll~
18530 shlibpath_overrides_runpath
=yes
18534 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18535 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18536 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18539 # MinGW DLLs use traditional 'lib' prefix
18540 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18541 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18542 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18543 # It is most probably a Windows format PATH printed by
18544 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18545 # path with ; separators, and with drive letters. We can handle the
18546 # drive letters (cygwin fileutils understands them), so leave them,
18547 # especially as we might pass files found there to a mingw objdump,
18548 # which wouldn't understand a cygwinified path. Ahh.
18549 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18551 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18555 # pw32 DLLs use 'pw' prefix rather than 'lib'
18556 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18562 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18565 dynamic_linker
='Win32 ld.exe'
18566 # FIXME: first we should search . and the directory the executable is in
18570 darwin
* | rhapsody
*)
18571 dynamic_linker
="$host_os dyld"
18572 version_type
=darwin
18575 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18576 soname_spec
='${libname}${release}${major}$shared_ext'
18577 shlibpath_overrides_runpath
=yes
18578 shlibpath_var
=DYLD_LIBRARY_PATH
18579 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18581 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18589 soname_spec
='${libname}${release}${shared_ext}$major'
18590 shlibpath_var
=LD_LIBRARY_PATH
18597 freebsd
* | dragonfly
*)
18598 # DragonFly does not have aout. When/if they implement a new
18599 # versioning mechanism, adjust this.
18600 if test -x /usr
/bin
/objformat
; then
18601 objformat
=`/usr/bin/objformat`
18604 freebsd
[123]*) objformat
=aout
;;
18605 *) objformat
=elf
;;
18608 version_type
=freebsd-
$objformat
18609 case $version_type in
18611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18616 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18620 shlibpath_var
=LD_LIBRARY_PATH
18623 shlibpath_overrides_runpath
=yes
18625 freebsd3.
[01]* | freebsdelf3.
[01]*)
18626 shlibpath_overrides_runpath
=yes
18627 hardcode_into_libs
=yes
18629 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18630 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18631 shlibpath_overrides_runpath
=no
18632 hardcode_into_libs
=yes
18634 *) # from 4.6 on, and DragonFly
18635 shlibpath_overrides_runpath
=yes
18636 hardcode_into_libs
=yes
18645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18646 soname_spec
='${libname}${release}${shared_ext}$major'
18647 shlibpath_var
=LD_LIBRARY_PATH
18648 hardcode_into_libs
=yes
18651 hpux9
* | hpux10
* | hpux11
*)
18652 # Give a soname corresponding to the major version so that dld.sl refuses to
18653 # link against other versions.
18660 hardcode_into_libs
=yes
18661 dynamic_linker
="$host_os dld.so"
18662 shlibpath_var
=LD_LIBRARY_PATH
18663 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18665 soname_spec
='${libname}${release}${shared_ext}$major'
18666 if test "X$HPUX_IA64_MODE" = X32
; then
18667 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18669 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18671 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18675 hardcode_into_libs
=yes
18676 dynamic_linker
="$host_os dld.sl"
18677 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18678 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18680 soname_spec
='${libname}${release}${shared_ext}$major'
18681 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18682 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18686 dynamic_linker
="$host_os dld.sl"
18687 shlibpath_var
=SHLIB_PATH
18688 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18690 soname_spec
='${libname}${release}${shared_ext}$major'
18693 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18694 postinstall_cmds
='chmod 555 $lib'
18701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18702 soname_spec
='${libname}${release}${shared_ext}$major'
18703 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18704 shlibpath_var
=LD_LIBRARY_PATH
18705 shlibpath_overrides_runpath
=no
18706 hardcode_into_libs
=yes
18709 irix5
* | irix6
* | nonstopux
*)
18711 nonstopux
*) version_type
=nonstopux
;;
18713 if test "$lt_cv_prog_gnu_ld" = yes; then
18721 soname_spec
='${libname}${release}${shared_ext}$major'
18722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18724 irix5
* | nonstopux
*)
18725 libsuff
= shlibsuff
=
18728 case $LD in # libtool.m4 will add one of these switches to LD
18729 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18730 libsuff
= shlibsuff
= libmagic
=32-bit;;
18731 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18732 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18733 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18734 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18735 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18739 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18740 shlibpath_overrides_runpath
=no
18741 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18742 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18743 hardcode_into_libs
=yes
18746 # No shared lib support for Linux oldld, aout, or coff.
18747 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18751 # This must be Linux ELF.
18752 linux
* | k
*bsd
*-gnu)
18756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18757 soname_spec
='${libname}${release}${shared_ext}$major'
18758 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18759 shlibpath_var
=LD_LIBRARY_PATH
18760 shlibpath_overrides_runpath
=no
18761 # This implies no fast_install, which is unacceptable.
18762 # Some rework will be needed to allow for fast_install
18763 # before this can be enabled.
18764 hardcode_into_libs
=yes
18766 # Append ld.so.conf contents to the search path
18767 if test -f /etc
/ld.so.conf
; then
18768 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' ' '`
18769 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18772 # We used to test for /lib/ld.so.1 and disable shared libraries on
18773 # powerpc, because MkLinux only supported shared libraries with the
18774 # GNU dynamic linker. Since this was broken with cross compilers,
18775 # most powerpc-linux boxes support dynamic linking these days and
18776 # people can always --disable-shared, the test was removed, and we
18777 # assume the GNU/Linux dynamic linker is in use.
18778 dynamic_linker
='GNU/Linux ld.so'
18785 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18788 dynamic_linker
='NetBSD (a.out) ld.so'
18790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18791 soname_spec
='${libname}${release}${shared_ext}$major'
18792 dynamic_linker
='NetBSD ld.elf_so'
18794 shlibpath_var
=LD_LIBRARY_PATH
18795 shlibpath_overrides_runpath
=yes
18796 hardcode_into_libs
=yes
18801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18802 shlibpath_var
=LD_LIBRARY_PATH
18803 shlibpath_overrides_runpath
=yes
18810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18811 soname_spec
='${libname}${release}${shared_ext}$major'
18812 shlibpath_var
=LD_LIBRARY_PATH
18813 shlibpath_overrides_runpath
=yes
18818 sys_lib_dlsearch_path_spec
="/usr/lib"
18820 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18822 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18823 *) need_version
=no
;;
18825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18826 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18827 shlibpath_var
=LD_LIBRARY_PATH
18828 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18830 openbsd2.
[89] | openbsd2.
[89].
*)
18831 shlibpath_overrides_runpath
=no
18834 shlibpath_overrides_runpath
=yes
18838 shlibpath_overrides_runpath
=yes
18843 libname_spec
='$name'
18846 library_names_spec
='$libname${shared_ext} $libname.a'
18847 dynamic_linker
='OS/2 ld.exe'
18848 shlibpath_var
=LIBPATH
18851 osf3
* | osf4
* | osf5
*)
18855 soname_spec
='${libname}${release}${shared_ext}$major'
18856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18857 shlibpath_var
=LD_LIBRARY_PATH
18858 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18859 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18871 soname_spec
='${libname}${release}${shared_ext}$major'
18872 shlibpath_var
=LD_LIBRARY_PATH
18873 shlibpath_overrides_runpath
=yes
18874 hardcode_into_libs
=yes
18875 # ldd complains unless libraries are executable
18876 postinstall_cmds
='chmod +x $lib'
18881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18882 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18883 shlibpath_var
=LD_LIBRARY_PATH
18884 shlibpath_overrides_runpath
=yes
18885 if test "$with_gnu_ld" = yes; then
18893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18894 soname_spec
='${libname}${release}${shared_ext}$major'
18895 shlibpath_var
=LD_LIBRARY_PATH
18896 case $host_vendor in
18898 shlibpath_overrides_runpath
=no
18900 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18901 runpath_var
=LD_RUN_PATH
18909 shlibpath_overrides_runpath
=no
18910 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18916 if test -d /usr
/nec
;then
18918 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18919 soname_spec
='$libname${shared_ext}.$major'
18920 shlibpath_var
=LD_LIBRARY_PATH
18924 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18925 version_type
=freebsd-elf
18928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18929 soname_spec
='${libname}${release}${shared_ext}$major'
18930 shlibpath_var
=LD_LIBRARY_PATH
18931 hardcode_into_libs
=yes
18932 if test "$with_gnu_ld" = yes; then
18933 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18934 shlibpath_overrides_runpath
=no
18936 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18937 shlibpath_overrides_runpath
=yes
18940 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18944 sys_lib_dlsearch_path_spec
='/usr/lib'
18949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18950 soname_spec
='${libname}${release}${shared_ext}$major'
18951 shlibpath_var
=LD_LIBRARY_PATH
18958 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18959 echo "${ECHO_T}$dynamic_linker" >&6; }
18960 test "$dynamic_linker" = no
&& can_build_shared
=no
18962 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18968 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18969 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18970 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18975 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18977 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18978 if test "$GCC" = yes; then
18979 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18982 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18983 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18984 hardcode_action_GCJ
=
18985 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18986 test -n "$runpath_var_GCJ" || \
18987 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18989 # We can hardcode non-existant directories.
18990 if test "$hardcode_direct_GCJ" != no
&&
18991 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18992 # have to relink, otherwise we might link with an installed library
18993 # when we should be linking with a yet-to-be-installed one
18994 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18995 test "$hardcode_minus_L_GCJ" != no
; then
18996 # Linking always hardcodes the temporary library directory.
18997 hardcode_action_GCJ
=relink
18999 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19000 hardcode_action_GCJ
=immediate
19003 # We cannot hardcode anything, or else we can only hardcode existing
19005 hardcode_action_GCJ
=unsupported
19007 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19008 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19010 if test "$hardcode_action_GCJ" = relink
; then
19011 # Fast installation is not supported
19012 enable_fast_install
=no
19013 elif test "$shlibpath_overrides_runpath" = yes ||
19014 test "$enable_shared" = no
; then
19015 # Fast installation is not necessary
19016 enable_fast_install
=needless
19020 # The else clause should only fire when bootstrapping the
19021 # libtool distribution, otherwise you forgot to ship ltmain.sh
19022 # with your package, and you will get complaints that there are
19023 # no rules to generate ltmain.sh.
19024 if test -f "$ltmain"; then
19025 # See if we are running on zsh, and set the options which allow our commands through
19026 # without removal of \ escapes.
19027 if test -n "${ZSH_VERSION+set}" ; then
19028 setopt NO_GLOB_SUBST
19030 # Now quote all the things that may contain metacharacters while being
19031 # careful not to overquote the AC_SUBSTed values. We take copies of the
19032 # variables and quote the copies for generation of the libtool script.
19033 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19035 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19036 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19037 deplibs_check_method reload_flag reload_cmds need_locks \
19038 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19039 lt_cv_sys_global_symbol_to_c_name_address \
19040 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19041 old_postinstall_cmds old_postuninstall_cmds \
19045 lt_prog_compiler_wl_GCJ \
19046 lt_prog_compiler_pic_GCJ \
19047 lt_prog_compiler_static_GCJ \
19048 lt_prog_compiler_no_builtin_flag_GCJ \
19049 export_dynamic_flag_spec_GCJ \
19050 thread_safe_flag_spec_GCJ \
19051 whole_archive_flag_spec_GCJ \
19052 enable_shared_with_static_runtimes_GCJ \
19053 old_archive_cmds_GCJ \
19054 old_archive_from_new_cmds_GCJ \
19055 predep_objects_GCJ \
19056 postdep_objects_GCJ \
19059 compiler_lib_search_path_GCJ \
19060 compiler_lib_search_dirs_GCJ \
19062 archive_expsym_cmds_GCJ \
19063 postinstall_cmds_GCJ \
19064 postuninstall_cmds_GCJ \
19065 old_archive_from_expsyms_cmds_GCJ \
19066 allow_undefined_flag_GCJ \
19067 no_undefined_flag_GCJ \
19068 export_symbols_cmds_GCJ \
19069 hardcode_libdir_flag_spec_GCJ \
19070 hardcode_libdir_flag_spec_ld_GCJ \
19071 hardcode_libdir_separator_GCJ \
19072 hardcode_automatic_GCJ \
19074 module_expsym_cmds_GCJ \
19075 lt_cv_prog_compiler_c_o_GCJ \
19076 fix_srcfile_path_GCJ \
19077 exclude_expsyms_GCJ \
19078 include_expsyms_GCJ
; do
19081 old_archive_cmds_GCJ | \
19082 old_archive_from_new_cmds_GCJ | \
19083 archive_cmds_GCJ | \
19084 archive_expsym_cmds_GCJ | \
19085 module_cmds_GCJ | \
19086 module_expsym_cmds_GCJ | \
19087 old_archive_from_expsyms_cmds_GCJ | \
19088 export_symbols_cmds_GCJ | \
19089 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19090 postinstall_cmds | postuninstall_cmds | \
19091 old_postinstall_cmds | old_postuninstall_cmds | \
19092 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19093 # Double-quote double-evaled strings.
19094 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19097 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19103 *'\$0 --fallback-echo"')
19104 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19110 cat <<__EOF__ >> "$cfgfile"
19111 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19113 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19115 # Shell to use when invoking shell scripts.
19118 # Whether or not to build shared libraries.
19119 build_libtool_libs=$enable_shared
19121 # Whether or not to build static libraries.
19122 build_old_libs=$enable_static
19124 # Whether or not to add -lc for building shared libraries.
19125 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19127 # Whether or not to disallow shared libs when runtime libs are static
19128 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19130 # Whether or not to optimize for fast installation.
19131 fast_install=$enable_fast_install
19134 host_alias=$host_alias
19138 # The build system.
19139 build_alias=$build_alias
19143 # An echo program that does not interpret backslashes.
19148 AR_FLAGS=$lt_AR_FLAGS
19153 # LTCC compiler flags.
19154 LTCFLAGS=$lt_LTCFLAGS
19156 # A language-specific compiler.
19157 CC=$lt_compiler_GCJ
19159 # Is the compiler the GNU C compiler?
19165 # The linker used to build libraries.
19168 # Whether we need hard or soft links.
19171 # A BSD-compatible nm program.
19174 # A symbol stripping program
19177 # Used to examine libraries when file_magic_cmd begins "file"
19178 MAGIC_CMD=$MAGIC_CMD
19180 # Used on cygwin: DLL creation program.
19183 # Used on cygwin: object dumper.
19186 # Used on cygwin: assembler.
19189 # The name of the directory that contains temporary libtool files.
19192 # How to create reloadable object files.
19193 reload_flag=$lt_reload_flag
19194 reload_cmds=$lt_reload_cmds
19196 # How to pass a linker flag through the compiler.
19197 wl=$lt_lt_prog_compiler_wl_GCJ
19199 # Object file suffix (normally "o").
19200 objext="$ac_objext"
19202 # Old archive suffix (normally "a").
19205 # Shared library suffix (normally ".so").
19206 shrext_cmds='$shrext_cmds'
19208 # Executable file suffix (normally "").
19211 # Additional compiler flags for building library objects.
19212 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19215 # What is the maximum length of a command?
19216 max_cmd_len=$lt_cv_sys_max_cmd_len
19218 # Does compiler simultaneously support -c and -o options?
19219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19221 # Must we lock files when doing compilation?
19222 need_locks=$lt_need_locks
19224 # Do we need the lib prefix for modules?
19225 need_lib_prefix=$need_lib_prefix
19227 # Do we need a version for libraries?
19228 need_version=$need_version
19230 # Whether dlopen is supported.
19231 dlopen_support=$enable_dlopen
19233 # Whether dlopen of programs is supported.
19234 dlopen_self=$enable_dlopen_self
19236 # Whether dlopen of statically linked programs is supported.
19237 dlopen_self_static=$enable_dlopen_self_static
19239 # Compiler flag to prevent dynamic linking.
19240 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19242 # Compiler flag to turn off builtin functions.
19243 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19245 # Compiler flag to allow reflexive dlopens.
19246 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19248 # Compiler flag to generate shared objects directly from archives.
19249 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19251 # Compiler flag to generate thread-safe objects.
19252 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19254 # Library versioning type.
19255 version_type=$version_type
19257 # Format of library name prefix.
19258 libname_spec=$lt_libname_spec
19260 # List of archive names. First name is the real one, the rest are links.
19261 # The last name is the one that the linker finds with -lNAME.
19262 library_names_spec=$lt_library_names_spec
19264 # The coded name of the library, if different from the real name.
19265 soname_spec=$lt_soname_spec
19267 # Commands used to build and install an old-style archive.
19269 old_archive_cmds=$lt_old_archive_cmds_GCJ
19270 old_postinstall_cmds=$lt_old_postinstall_cmds
19271 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19273 # Create an old-style archive from a shared archive.
19274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19276 # Create a temporary old-style archive to link instead of a shared archive.
19277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19279 # Commands used to build and install a shared archive.
19280 archive_cmds=$lt_archive_cmds_GCJ
19281 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19282 postinstall_cmds=$lt_postinstall_cmds
19283 postuninstall_cmds=$lt_postuninstall_cmds
19285 # Commands used to build a loadable module (assumed same as above if empty)
19286 module_cmds=$lt_module_cmds_GCJ
19287 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19289 # Commands to strip libraries.
19290 old_striplib=$lt_old_striplib
19291 striplib=$lt_striplib
19293 # Dependencies to place before the objects being linked to create a
19295 predep_objects=$lt_predep_objects_GCJ
19297 # Dependencies to place after the objects being linked to create a
19299 postdep_objects=$lt_postdep_objects_GCJ
19301 # Dependencies to place before the objects being linked to create a
19303 predeps=$lt_predeps_GCJ
19305 # Dependencies to place after the objects being linked to create a
19307 postdeps=$lt_postdeps_GCJ
19309 # The directories searched by this compiler when creating a shared
19311 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19313 # The library search path used internally by the compiler when linking
19314 # a shared library.
19315 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19317 # Method to check whether dependent libraries are shared objects.
19318 deplibs_check_method=$lt_deplibs_check_method
19320 # Command to use when deplibs_check_method == file_magic.
19321 file_magic_cmd=$lt_file_magic_cmd
19323 # Flag that allows shared libraries with undefined symbols to be built.
19324 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19326 # Flag that forces no undefined symbols.
19327 no_undefined_flag=$lt_no_undefined_flag_GCJ
19329 # Commands used to finish a libtool library installation in a directory.
19330 finish_cmds=$lt_finish_cmds
19332 # Same as above, but a single script fragment to be evaled but not shown.
19333 finish_eval=$lt_finish_eval
19335 # Take the output of nm and produce a listing of raw symbols and C names.
19336 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19338 # Transform the output of nm in a proper C declaration
19339 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19341 # Transform the output of nm in a C name address pair
19342 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19344 # This is the shared library runtime path variable.
19345 runpath_var=$runpath_var
19347 # This is the shared library path variable.
19348 shlibpath_var=$shlibpath_var
19350 # Is shlibpath searched before the hard-coded library search path?
19351 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19353 # How to hardcode a shared library path into an executable.
19354 hardcode_action=$hardcode_action_GCJ
19356 # Whether we should hardcode library paths into libraries.
19357 hardcode_into_libs=$hardcode_into_libs
19359 # Flag to hardcode \$libdir into a binary during linking.
19360 # This must work even if \$libdir does not exist.
19361 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19363 # If ld is used when linking, flag to hardcode \$libdir into
19364 # a binary during linking. This must work even if \$libdir does
19366 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19368 # Whether we need a single -rpath flag with a separated argument.
19369 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19371 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19372 # resulting binary.
19373 hardcode_direct=$hardcode_direct_GCJ
19375 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19376 # resulting binary.
19377 hardcode_minus_L=$hardcode_minus_L_GCJ
19379 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19380 # the resulting binary.
19381 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19383 # Set to yes if building a shared library automatically hardcodes DIR into the library
19384 # and all subsequent libraries and executables linked against it.
19385 hardcode_automatic=$hardcode_automatic_GCJ
19387 # Variables whose values should be saved in libtool wrapper scripts and
19388 # restored at relink time.
19389 variables_saved_for_relink="$variables_saved_for_relink"
19391 # Whether libtool must link a program against all its dependency libraries.
19392 link_all_deplibs=$link_all_deplibs_GCJ
19394 # Compile-time system search path for libraries
19395 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19397 # Run-time system search path for libraries
19398 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19400 # Fix the shell variable \$srcfile for the compiler.
19401 fix_srcfile_path=$lt_fix_srcfile_path
19403 # Set to yes if exported symbols are required.
19404 always_export_symbols=$always_export_symbols_GCJ
19406 # The commands to list exported symbols.
19407 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19409 # The commands to extract the exported symbol list from a shared archive.
19410 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19412 # Symbols that should not be listed in the preloaded symbols.
19413 exclude_expsyms=$lt_exclude_expsyms_GCJ
19415 # Symbols that must always be exported.
19416 include_expsyms=$lt_include_expsyms_GCJ
19418 # ### END LIBTOOL TAG CONFIG: $tagname
19424 # If there is no Makefile yet, we rely on a make rule to execute
19425 # `config.status --recheck' to rerun these tests and create the
19426 # libtool script then.
19427 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19428 if test -f "$ltmain_in"; then
19429 test -f Makefile
&& make "$ltmain"
19435 ac_cpp
='$CPP $CPPFLAGS'
19436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19450 # Source file extension for RC test sources.
19453 # Object file extension for compiled RC test sources.
19457 # Code to be used in simple compile tests
19458 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19460 # Code to be used in simple link tests
19461 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19463 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19465 # If no C compiler was specified, use CC.
19468 # If no C compiler flags were specified, use CFLAGS.
19469 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19471 # Allow CC to be a program name with arguments.
19475 # save warnings/boilerplate of simple test code
19476 ac_outfile
=conftest.
$ac_objext
19477 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19478 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19479 _lt_compiler_boilerplate
=`cat conftest.err`
19482 ac_outfile
=conftest.
$ac_objext
19483 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19484 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19485 _lt_linker_boilerplate
=`cat conftest.err`
19489 # Allow CC to be a program name with arguments.
19494 for cc_temp
in $compiler""; do
19496 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19497 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19502 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19504 lt_cv_prog_compiler_c_o_RC
=yes
19506 # The else clause should only fire when bootstrapping the
19507 # libtool distribution, otherwise you forgot to ship ltmain.sh
19508 # with your package, and you will get complaints that there are
19509 # no rules to generate ltmain.sh.
19510 if test -f "$ltmain"; then
19511 # See if we are running on zsh, and set the options which allow our commands through
19512 # without removal of \ escapes.
19513 if test -n "${ZSH_VERSION+set}" ; then
19514 setopt NO_GLOB_SUBST
19516 # Now quote all the things that may contain metacharacters while being
19517 # careful not to overquote the AC_SUBSTed values. We take copies of the
19518 # variables and quote the copies for generation of the libtool script.
19519 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19521 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19522 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19523 deplibs_check_method reload_flag reload_cmds need_locks \
19524 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19525 lt_cv_sys_global_symbol_to_c_name_address \
19526 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19527 old_postinstall_cmds old_postuninstall_cmds \
19531 lt_prog_compiler_wl_RC \
19532 lt_prog_compiler_pic_RC \
19533 lt_prog_compiler_static_RC \
19534 lt_prog_compiler_no_builtin_flag_RC \
19535 export_dynamic_flag_spec_RC \
19536 thread_safe_flag_spec_RC \
19537 whole_archive_flag_spec_RC \
19538 enable_shared_with_static_runtimes_RC \
19539 old_archive_cmds_RC \
19540 old_archive_from_new_cmds_RC \
19541 predep_objects_RC \
19542 postdep_objects_RC \
19545 compiler_lib_search_path_RC \
19546 compiler_lib_search_dirs_RC \
19548 archive_expsym_cmds_RC \
19549 postinstall_cmds_RC \
19550 postuninstall_cmds_RC \
19551 old_archive_from_expsyms_cmds_RC \
19552 allow_undefined_flag_RC \
19553 no_undefined_flag_RC \
19554 export_symbols_cmds_RC \
19555 hardcode_libdir_flag_spec_RC \
19556 hardcode_libdir_flag_spec_ld_RC \
19557 hardcode_libdir_separator_RC \
19558 hardcode_automatic_RC \
19560 module_expsym_cmds_RC \
19561 lt_cv_prog_compiler_c_o_RC \
19562 fix_srcfile_path_RC \
19563 exclude_expsyms_RC \
19564 include_expsyms_RC
; do
19567 old_archive_cmds_RC | \
19568 old_archive_from_new_cmds_RC | \
19569 archive_cmds_RC | \
19570 archive_expsym_cmds_RC | \
19572 module_expsym_cmds_RC | \
19573 old_archive_from_expsyms_cmds_RC | \
19574 export_symbols_cmds_RC | \
19575 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19576 postinstall_cmds | postuninstall_cmds | \
19577 old_postinstall_cmds | old_postuninstall_cmds | \
19578 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19579 # Double-quote double-evaled strings.
19580 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19583 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19589 *'\$0 --fallback-echo"')
19590 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19596 cat <<__EOF__ >> "$cfgfile"
19597 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19599 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19601 # Shell to use when invoking shell scripts.
19604 # Whether or not to build shared libraries.
19605 build_libtool_libs=$enable_shared
19607 # Whether or not to build static libraries.
19608 build_old_libs=$enable_static
19610 # Whether or not to add -lc for building shared libraries.
19611 build_libtool_need_lc=$archive_cmds_need_lc_RC
19613 # Whether or not to disallow shared libs when runtime libs are static
19614 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19616 # Whether or not to optimize for fast installation.
19617 fast_install=$enable_fast_install
19620 host_alias=$host_alias
19624 # The build system.
19625 build_alias=$build_alias
19629 # An echo program that does not interpret backslashes.
19634 AR_FLAGS=$lt_AR_FLAGS
19639 # LTCC compiler flags.
19640 LTCFLAGS=$lt_LTCFLAGS
19642 # A language-specific compiler.
19645 # Is the compiler the GNU C compiler?
19651 # The linker used to build libraries.
19654 # Whether we need hard or soft links.
19657 # A BSD-compatible nm program.
19660 # A symbol stripping program
19663 # Used to examine libraries when file_magic_cmd begins "file"
19664 MAGIC_CMD=$MAGIC_CMD
19666 # Used on cygwin: DLL creation program.
19669 # Used on cygwin: object dumper.
19672 # Used on cygwin: assembler.
19675 # The name of the directory that contains temporary libtool files.
19678 # How to create reloadable object files.
19679 reload_flag=$lt_reload_flag
19680 reload_cmds=$lt_reload_cmds
19682 # How to pass a linker flag through the compiler.
19683 wl=$lt_lt_prog_compiler_wl_RC
19685 # Object file suffix (normally "o").
19686 objext="$ac_objext"
19688 # Old archive suffix (normally "a").
19691 # Shared library suffix (normally ".so").
19692 shrext_cmds='$shrext_cmds'
19694 # Executable file suffix (normally "").
19697 # Additional compiler flags for building library objects.
19698 pic_flag=$lt_lt_prog_compiler_pic_RC
19701 # What is the maximum length of a command?
19702 max_cmd_len=$lt_cv_sys_max_cmd_len
19704 # Does compiler simultaneously support -c and -o options?
19705 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19707 # Must we lock files when doing compilation?
19708 need_locks=$lt_need_locks
19710 # Do we need the lib prefix for modules?
19711 need_lib_prefix=$need_lib_prefix
19713 # Do we need a version for libraries?
19714 need_version=$need_version
19716 # Whether dlopen is supported.
19717 dlopen_support=$enable_dlopen
19719 # Whether dlopen of programs is supported.
19720 dlopen_self=$enable_dlopen_self
19722 # Whether dlopen of statically linked programs is supported.
19723 dlopen_self_static=$enable_dlopen_self_static
19725 # Compiler flag to prevent dynamic linking.
19726 link_static_flag=$lt_lt_prog_compiler_static_RC
19728 # Compiler flag to turn off builtin functions.
19729 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19731 # Compiler flag to allow reflexive dlopens.
19732 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19734 # Compiler flag to generate shared objects directly from archives.
19735 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19737 # Compiler flag to generate thread-safe objects.
19738 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19740 # Library versioning type.
19741 version_type=$version_type
19743 # Format of library name prefix.
19744 libname_spec=$lt_libname_spec
19746 # List of archive names. First name is the real one, the rest are links.
19747 # The last name is the one that the linker finds with -lNAME.
19748 library_names_spec=$lt_library_names_spec
19750 # The coded name of the library, if different from the real name.
19751 soname_spec=$lt_soname_spec
19753 # Commands used to build and install an old-style archive.
19755 old_archive_cmds=$lt_old_archive_cmds_RC
19756 old_postinstall_cmds=$lt_old_postinstall_cmds
19757 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19759 # Create an old-style archive from a shared archive.
19760 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19762 # Create a temporary old-style archive to link instead of a shared archive.
19763 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19765 # Commands used to build and install a shared archive.
19766 archive_cmds=$lt_archive_cmds_RC
19767 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19768 postinstall_cmds=$lt_postinstall_cmds
19769 postuninstall_cmds=$lt_postuninstall_cmds
19771 # Commands used to build a loadable module (assumed same as above if empty)
19772 module_cmds=$lt_module_cmds_RC
19773 module_expsym_cmds=$lt_module_expsym_cmds_RC
19775 # Commands to strip libraries.
19776 old_striplib=$lt_old_striplib
19777 striplib=$lt_striplib
19779 # Dependencies to place before the objects being linked to create a
19781 predep_objects=$lt_predep_objects_RC
19783 # Dependencies to place after the objects being linked to create a
19785 postdep_objects=$lt_postdep_objects_RC
19787 # Dependencies to place before the objects being linked to create a
19789 predeps=$lt_predeps_RC
19791 # Dependencies to place after the objects being linked to create a
19793 postdeps=$lt_postdeps_RC
19795 # The directories searched by this compiler when creating a shared
19797 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19799 # The library search path used internally by the compiler when linking
19800 # a shared library.
19801 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19803 # Method to check whether dependent libraries are shared objects.
19804 deplibs_check_method=$lt_deplibs_check_method
19806 # Command to use when deplibs_check_method == file_magic.
19807 file_magic_cmd=$lt_file_magic_cmd
19809 # Flag that allows shared libraries with undefined symbols to be built.
19810 allow_undefined_flag=$lt_allow_undefined_flag_RC
19812 # Flag that forces no undefined symbols.
19813 no_undefined_flag=$lt_no_undefined_flag_RC
19815 # Commands used to finish a libtool library installation in a directory.
19816 finish_cmds=$lt_finish_cmds
19818 # Same as above, but a single script fragment to be evaled but not shown.
19819 finish_eval=$lt_finish_eval
19821 # Take the output of nm and produce a listing of raw symbols and C names.
19822 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19824 # Transform the output of nm in a proper C declaration
19825 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19827 # Transform the output of nm in a C name address pair
19828 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19830 # This is the shared library runtime path variable.
19831 runpath_var=$runpath_var
19833 # This is the shared library path variable.
19834 shlibpath_var=$shlibpath_var
19836 # Is shlibpath searched before the hard-coded library search path?
19837 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19839 # How to hardcode a shared library path into an executable.
19840 hardcode_action=$hardcode_action_RC
19842 # Whether we should hardcode library paths into libraries.
19843 hardcode_into_libs=$hardcode_into_libs
19845 # Flag to hardcode \$libdir into a binary during linking.
19846 # This must work even if \$libdir does not exist.
19847 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19849 # If ld is used when linking, flag to hardcode \$libdir into
19850 # a binary during linking. This must work even if \$libdir does
19852 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19854 # Whether we need a single -rpath flag with a separated argument.
19855 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19857 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19858 # resulting binary.
19859 hardcode_direct=$hardcode_direct_RC
19861 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19862 # resulting binary.
19863 hardcode_minus_L=$hardcode_minus_L_RC
19865 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19866 # the resulting binary.
19867 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19869 # Set to yes if building a shared library automatically hardcodes DIR into the library
19870 # and all subsequent libraries and executables linked against it.
19871 hardcode_automatic=$hardcode_automatic_RC
19873 # Variables whose values should be saved in libtool wrapper scripts and
19874 # restored at relink time.
19875 variables_saved_for_relink="$variables_saved_for_relink"
19877 # Whether libtool must link a program against all its dependency libraries.
19878 link_all_deplibs=$link_all_deplibs_RC
19880 # Compile-time system search path for libraries
19881 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19883 # Run-time system search path for libraries
19884 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19886 # Fix the shell variable \$srcfile for the compiler.
19887 fix_srcfile_path=$lt_fix_srcfile_path
19889 # Set to yes if exported symbols are required.
19890 always_export_symbols=$always_export_symbols_RC
19892 # The commands to list exported symbols.
19893 export_symbols_cmds=$lt_export_symbols_cmds_RC
19895 # The commands to extract the exported symbol list from a shared archive.
19896 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19898 # Symbols that should not be listed in the preloaded symbols.
19899 exclude_expsyms=$lt_exclude_expsyms_RC
19901 # Symbols that must always be exported.
19902 include_expsyms=$lt_include_expsyms_RC
19904 # ### END LIBTOOL TAG CONFIG: $tagname
19910 # If there is no Makefile yet, we rely on a make rule to execute
19911 # `config.status --recheck' to rerun these tests and create the
19912 # libtool script then.
19913 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19914 if test -f "$ltmain_in"; then
19915 test -f Makefile
&& make "$ltmain"
19921 ac_cpp
='$CPP $CPPFLAGS'
19922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19931 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19932 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19933 { (exit 1); exit 1; }; }
19937 # Append the new tag name to the list of available tags.
19938 if test -n "$tagname" ; then
19939 available_tags
="$available_tags $tagname"
19945 # Now substitute the updated list of available tags.
19946 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19947 mv "${ofile}T" "$ofile"
19951 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19952 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19953 { (exit 1); exit 1; }; }
19959 # This can be used to rebuild libtool when needed
19960 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19962 # Always use our own libtool.
19963 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19965 # Prevent multiple expansion
19988 # Find a good install program. We prefer a C program (faster),
19989 # so one script is as good as another. But avoid the broken or
19990 # incompatible versions:
19991 # SysV /etc/install, /usr/sbin/install
19992 # SunOS /usr/etc/install
19993 # IRIX /sbin/install
19995 # AmigaOS /C/install, which installs bootblocks on floppy discs
19996 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19997 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19998 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19999 # OS/2's system install, which has a completely different semantic
20000 # ./install, which can be erroneously created by make from ./install.sh.
20001 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
20002 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
20003 if test -z "$INSTALL"; then
20004 if test "${ac_cv_path_install+set}" = set; then
20005 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20008 for as_dir
in $PATH
20011 test -z "$as_dir" && as_dir
=.
20012 # Account for people who put trailing slashes in PATH elements.
20014 .
/ | .
// |
/cC
/* | \
20015 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
20016 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
20019 # OSF1 and SCO ODT 3.0 have their own names for install.
20020 # Don't use installbsd from OSF since it installs stuff as root
20022 for ac_prog
in ginstall scoinst
install; do
20023 for ac_exec_ext
in '' $ac_executable_extensions; do
20024 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
20025 if test $ac_prog = install &&
20026 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
20027 # AIX install. It has an incompatible calling convention.
20029 elif test $ac_prog = install &&
20030 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
20031 # program-specific install script used by HP pwplus--don't use.
20034 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
20047 if test "${ac_cv_path_install+set}" = set; then
20048 INSTALL
=$ac_cv_path_install
20050 # As a last resort, use the slow shell script. Don't cache a
20051 # value for INSTALL within a source directory, because that will
20052 # break other packages using the cache if that directory is
20053 # removed, or if the value is a relative name.
20054 INSTALL
=$ac_install_sh
20057 { echo "$as_me:$LINENO: result: $INSTALL" >&5
20058 echo "${ECHO_T}$INSTALL" >&6; }
20060 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
20061 # It thinks the first close brace ends the variable substitution.
20062 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
20064 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
20066 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
20070 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20071 if test -n "$ac_tool_prefix"; then
20072 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20073 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20076 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20079 case $PKG_CONFIG in
20081 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20085 for as_dir
in $PATH
20088 test -z "$as_dir" && as_dir
=.
20089 for ac_exec_ext
in '' $ac_executable_extensions; do
20090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20091 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20102 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20103 if test -n "$PKG_CONFIG"; then
20104 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20105 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20107 { echo "$as_me:$LINENO: result: no" >&5
20108 echo "${ECHO_T}no" >&6; }
20113 if test -z "$ac_cv_path_PKG_CONFIG"; then
20114 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20115 # Extract the first word of "pkg-config", so it can be a program name with args.
20116 set dummy pkg-config
; ac_word
=$2
20117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20119 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20120 echo $ECHO_N "(cached) $ECHO_C" >&6
20122 case $ac_pt_PKG_CONFIG in
20124 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20128 for as_dir
in $PATH
20131 test -z "$as_dir" && as_dir
=.
20132 for ac_exec_ext
in '' $ac_executable_extensions; do
20133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20134 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20145 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20146 if test -n "$ac_pt_PKG_CONFIG"; then
20147 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20148 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20150 { echo "$as_me:$LINENO: result: no" >&5
20151 echo "${ECHO_T}no" >&6; }
20154 if test "x$ac_pt_PKG_CONFIG" = x
; then
20157 case $cross_compiling:$ac_tool_warned in
20159 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20160 whose name does not start with the host triplet. If you think this
20161 configuration is useful to you, please write to autoconf@gnu.org." >&5
20162 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20163 whose name does not start with the host triplet. If you think this
20164 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20165 ac_tool_warned
=yes ;;
20167 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20170 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20174 if test -n "$PKG_CONFIG"; then
20175 _pkg_min_version
=0.9.0
20176 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20177 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20178 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20179 { echo "$as_me:$LINENO: result: yes" >&5
20180 echo "${ECHO_T}yes" >&6; }
20182 { echo "$as_me:$LINENO: result: no" >&5
20183 echo "${ECHO_T}no" >&6; }
20189 # Extract the first word of "mv", so it can be a program name with args.
20190 set dummy
mv; ac_word
=$2
20191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20193 if test "${ac_cv_path_MV+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
20201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20202 for as_dir
in $PATH
20205 test -z "$as_dir" && as_dir
=.
20206 for ac_exec_ext
in '' $ac_executable_extensions; do
20207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20208 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
20209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20220 if test -n "$MV"; then
20221 { echo "$as_me:$LINENO: result: $MV" >&5
20222 echo "${ECHO_T}$MV" >&6; }
20224 { echo "$as_me:$LINENO: result: no" >&5
20225 echo "${ECHO_T}no" >&6; }
20229 # Extract the first word of "rm", so it can be a program name with args.
20230 set dummy
rm; ac_word
=$2
20231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20233 if test "${ac_cv_path_RM+set}" = set; then
20234 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
20241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20242 for as_dir
in $PATH
20245 test -z "$as_dir" && as_dir
=.
20246 for ac_exec_ext
in '' $ac_executable_extensions; do
20247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20248 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
20249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20260 if test -n "$RM"; then
20261 { echo "$as_me:$LINENO: result: $RM" >&5
20262 echo "${ECHO_T}$RM" >&6; }
20264 { echo "$as_me:$LINENO: result: no" >&5
20265 echo "${ECHO_T}no" >&6; }
20269 # Extract the first word of "sed", so it can be a program name with args.
20270 set dummy
sed; ac_word
=$2
20271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20273 if test "${ac_cv_path_SED+set}" = set; then
20274 echo $ECHO_N "(cached) $ECHO_C" >&6
20278 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
20281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20282 for as_dir
in $PATH
20285 test -z "$as_dir" && as_dir
=.
20286 for ac_exec_ext
in '' $ac_executable_extensions; do
20287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20288 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
20289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20299 SED
=$ac_cv_path_SED
20300 if test -n "$SED"; then
20301 { echo "$as_me:$LINENO: result: $SED" >&5
20302 echo "${ECHO_T}$SED" >&6; }
20304 { echo "$as_me:$LINENO: result: no" >&5
20305 echo "${ECHO_T}no" >&6; }
20310 # Extract the first word of "ldconfig", so it can be a program name with args.
20311 set dummy ldconfig
; ac_word
=$2
20312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20314 if test "${ac_cv_path_LDCONFIG+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20319 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
20322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20323 for as_dir
in /sbin
/usr
/sbin
$PATH
20326 test -z "$as_dir" && as_dir
=.
20327 for ac_exec_ext
in '' $ac_executable_extensions; do
20328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20329 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
20330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20337 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
20341 LDCONFIG
=$ac_cv_path_LDCONFIG
20342 if test -n "$LDCONFIG"; then
20343 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
20344 echo "${ECHO_T}$LDCONFIG" >&6; }
20346 { echo "$as_me:$LINENO: result: no" >&5
20347 echo "${ECHO_T}no" >&6; }
20353 { echo "$as_me:$LINENO: checking Windows OS" >&5
20354 echo $ECHO_N "checking Windows OS... $ECHO_C" >&6; }
20355 case "${target}" in
20356 *-mingw32*|
*-winnt*|
*-cygwin*)
20357 { echo "$as_me:$LINENO: result: yes" >&5
20358 echo "${ECHO_T}yes" >&6; }
20361 cat >>confdefs.h
<<\_ACEOF
20367 { echo "$as_me:$LINENO: result: no" >&5
20368 echo "${ECHO_T}no" >&6; }
20373 if test "x${enable_ntfs_3g}" = "xyes"; then
20374 { echo "$as_me:$LINENO: checking fuse compatibility" >&5
20375 echo $ECHO_N "checking fuse compatibility... $ECHO_C" >&6; }
20376 case "${target_os}" in
20379 # Check whether --with-fuse was given.
20380 if test "${with_fuse+set}" = set; then
20381 withval
=$with_fuse;
20383 with_fuse
="internal"
20388 darwin
*|netbsd
*|kfreebsd
*-gnu)
20389 with_fuse
="external"
20392 { { echo "$as_me:$LINENO: error: Please see FreeBSD support at http://www.freshports.org/sysutils/fusefs-ntfs" >&5
20393 echo "$as_me: error: Please see FreeBSD support at http://www.freshports.org/sysutils/fusefs-ntfs" >&2;}
20394 { (exit 1); exit 1; }; }
20397 { { echo "$as_me:$LINENO: error: ntfs-3g can be built for Linux, FreeBSD, Mac OS X, NetBSD, and Solaris only." >&5
20398 echo "$as_me: error: ntfs-3g can be built for Linux, FreeBSD, Mac OS X, NetBSD, and Solaris only." >&2;}
20399 { (exit 1); exit 1; }; }
20402 { echo "$as_me:$LINENO: result: ${with_fuse}" >&5
20403 echo "${ECHO_T}${with_fuse}" >&6; }
20408 case "${target_os}" in
20410 if test "x
$GCC" != "xyes
" ; then
20411 { { echo "$as_me:$LINENO: error
: ntfs-3g can be built only with gcc on Solaris. Install it by
'pkg install gcc-dev' and retry.
)" >&5
20412 echo "$as_me: error
: ntfs-3g can be built only with gcc on Solaris. Install it by
'pkg install gcc-dev' and retry.
)" >&2;}
20413 { (exit 1); exit 1; }; }
20418 if test "${enable_ldscript}" = "yes"; then
20419 { echo "$as_me:$LINENO: checking Output format
" >&5
20420 echo $ECHO_N "checking Output format...
$ECHO_C" >&6; }
20421 OUTPUT_FORMAT="$
(${CC} ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | ${SED} -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p')"
20422 if test -z "${OUTPUT_FORMAT}"; then
20423 { echo "$as_me:$LINENO: result
: None
" >&5
20424 echo "${ECHO_T}None
" >&6; }
20426 { echo "$as_me:$LINENO: result
: ${OUTPUT_FORMAT}" >&5
20427 echo "${ECHO_T}${OUTPUT_FORMAT}" >&6; }
20428 OUTPUT_FORMAT
="OUTPUT_FORMAT ( ${OUTPUT_FORMAT} )"
20433 if test "${with_fuse}" = "internal"; then
20434 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20435 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
20436 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20439 ac_check_lib_save_LIBS
=$LIBS
20440 LIBS
="-lpthread $LIBS"
20441 cat >conftest.
$ac_ext <<_ACEOF
20444 cat confdefs.h
>>conftest.
$ac_ext
20445 cat >>conftest.
$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20448 /* Override any GCC internal prototype to avoid an error.
20449 Use char because int might match the return type of a GCC
20450 builtin and then its argument prototype would still apply. */
20454 char pthread_create ();
20458 return pthread_create ();
20463 rm -f conftest.
$ac_objext conftest
$ac_exeext
20464 if { (ac_try
="$ac_link"
20465 case "(($ac_try" in
20466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20467 *) ac_try_echo=$ac_try;;
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_link") 2>conftest.er1
20472 grep -v '^ *+' conftest.er1 >conftest.err
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_c_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest$ac_exeext &&
20480 $as_test_x conftest$ac_exeext; then
20481 ac_cv_lib_pthread_pthread_create=yes
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20486 ac_cv_lib_pthread_pthread_create=no
20489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20490 conftest$ac_exeext conftest.$ac_ext
20491 LIBS=$ac_check_lib_save_LIBS
20493 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20494 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
20495 if test $ac_cv_lib_pthread_pthread_create = yes; then
20496 LIBFUSE_LITE_LIBS="${LIBFUSE_LITE_LIBS} -lpthread"
20498 { { echo "$as_me:$LINENO: error: Cannot find pthread library" >&5
20499 echo "$as_me: error: Cannot find pthread library" >&2;}
20500 { (exit 1); exit 1; }; }
20505 cat >>confdefs.h <<\_ACEOF
20506 #define _REENTRANT 1
20509 # required so that we re-compile anything
20511 cat >>confdefs.h <<\_ACEOF
20512 #define FUSE_INTERNAL 1
20516 { echo "$as_me:$LINENO: checking Solaris OS" >&5
20517 echo $ECHO_N "checking Solaris OS... $ECHO_C" >&6; }
20519 ac_cpp='$CPP $CPPFLAGS'
20520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20524 cat >conftest.$ac_ext <<_ACEOF
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531 #if !((defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__)))
20532 #error "Not a Solaris system."
20537 rm -f conftest.$ac_objext
20538 if { (ac_try="$ac_compile"
20539 case "(($ac_try" in
20540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20541 *) ac_try_echo
=$ac_try;;
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_compile") 2>conftest.er1
20546 grep -v '^ *+' conftest.er1
>conftest.err
20548 cat conftest.err
>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_c_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest.
$ac_objext; then
20555 { echo "$as_me:$LINENO: result: yes" >&5
20556 echo "${ECHO_T}yes" >&6; }
20557 LIBFUSE_LITE_CFLAGS
="${LIBFUSE_LITE_CFLAGS} -std=c99 -D__SOLARIS__ -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
20558 LIBFUSE_LITE_LIBS
="${LIBFUSE_LITE_LIBS} -lxnet"
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.
$ac_ext >&5
20565 { echo "$as_me:$LINENO: result: no" >&5
20566 echo "${ECHO_T}no" >&6; }
20571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20573 ac_cpp
='$CPP $CPPFLAGS'
20574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20578 elif test "${with_fuse}" = "external"; then
20579 if test -z "$PKG_CONFIG"; then
20580 # Extract the first word of "pkg-config", so it can be a program name with args.
20581 set dummy pkg-config
; ac_word
=$2
20582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20584 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 case $PKG_CONFIG in
20589 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20593 for as_dir
in $PATH
20596 test -z "$as_dir" && as_dir
=.
20597 for ac_exec_ext
in '' $ac_executable_extensions; do
20598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20599 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20607 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20611 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20612 if test -n "$PKG_CONFIG"; then
20613 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20614 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20616 { echo "$as_me:$LINENO: result: no" >&5
20617 echo "${ECHO_T}no" >&6; }
20622 test "x${PKG_CONFIG}" = "xno" && { { echo "$as_me:$LINENO: error: pkg-config wasn't found! Please install from your vendor, or see http://pkg-config.freedesktop.org/wiki/" >&5
20623 echo "$as_me: error: pkg-config wasn't found! Please install from your vendor, or see http://pkg-config.freedesktop.org/wiki/" >&2;}
20624 { (exit 1); exit 1; }; }
20625 # Libraries often install their metadata .pc files in directories
20626 # not searched by pkg-config. Let's workaround this.
20627 export PKG_CONFIG_PATH
=${PKG_CONFIG_PATH}:/lib
/pkgconfig
:/usr
/lib
/pkgconfig
:/opt
/gnome
/lib
/pkgconfig
:/usr
/share
/pkgconfig
:/usr
/local
/lib
/pkgconfig
:$prefix/lib
/pkgconfig
:/opt
/gnome
/share
/pkgconfig
:/usr
/local
/share
/pkgconfig
20630 { echo "$as_me:$LINENO: checking for FUSE_MODULE" >&5
20631 echo $ECHO_N "checking for FUSE_MODULE... $ECHO_C" >&6; }
20633 if test -n "$FUSE_MODULE_CFLAGS"; then
20634 pkg_cv_FUSE_MODULE_CFLAGS
="$FUSE_MODULE_CFLAGS"
20635 elif test -n "$PKG_CONFIG"; then
20636 if test -n "$PKG_CONFIG" && \
20637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6.0\"") >&5
20638 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6.0") 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; then
20642 pkg_cv_FUSE_MODULE_CFLAGS
=`$PKG_CONFIG --cflags "fuse >= 2.6.0" 2>/dev/null`
20649 if test -n "$FUSE_MODULE_LIBS"; then
20650 pkg_cv_FUSE_MODULE_LIBS
="$FUSE_MODULE_LIBS"
20651 elif test -n "$PKG_CONFIG"; then
20652 if test -n "$PKG_CONFIG" && \
20653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6.0\"") >&5
20654 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6.0") 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; then
20658 pkg_cv_FUSE_MODULE_LIBS
=`$PKG_CONFIG --libs "fuse >= 2.6.0" 2>/dev/null`
20668 if test $pkg_failed = yes; then
20670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20671 _pkg_short_errors_supported
=yes
20673 _pkg_short_errors_supported
=no
20675 if test $_pkg_short_errors_supported = yes; then
20676 FUSE_MODULE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "fuse >= 2.6.0" 2>&1`
20678 FUSE_MODULE_PKG_ERRORS
=`$PKG_CONFIG --print-errors "fuse >= 2.6.0" 2>&1`
20680 # Put the nasty error message in config.log where it belongs
20681 echo "$FUSE_MODULE_PKG_ERRORS" >&5
20683 { echo "$as_me:$LINENO: result: no" >&5
20684 echo "${ECHO_T}no" >&6; }
20686 { { echo "$as_me:$LINENO: error: FUSE >= 2.6.0 was not found. Either older FUSE is still present, or FUSE is not fully installed (e.g. fuse, libfuse, libfuse2, libfuse-dev, etc packages). Source code: http://fuse.sf.net" >&5
20687 echo "$as_me: error: FUSE >= 2.6.0 was not found. Either older FUSE is still present, or FUSE is not fully installed (e.g. fuse, libfuse, libfuse2, libfuse-dev, etc packages). Source code: http://fuse.sf.net" >&2;}
20688 { (exit 1); exit 1; }; }
20691 elif test $pkg_failed = untried
; then
20693 { { echo "$as_me:$LINENO: error: FUSE >= 2.6.0 was not found. Either older FUSE is still present, or FUSE is not fully installed (e.g. fuse, libfuse, libfuse2, libfuse-dev, etc packages). Source code: http://fuse.sf.net" >&5
20694 echo "$as_me: error: FUSE >= 2.6.0 was not found. Either older FUSE is still present, or FUSE is not fully installed (e.g. fuse, libfuse, libfuse2, libfuse-dev, etc packages). Source code: http://fuse.sf.net" >&2;}
20695 { (exit 1); exit 1; }; }
20699 FUSE_MODULE_CFLAGS
=$pkg_cv_FUSE_MODULE_CFLAGS
20700 FUSE_MODULE_LIBS
=$pkg_cv_FUSE_MODULE_LIBS
20701 { echo "$as_me:$LINENO: result: yes" >&5
20702 echo "${ECHO_T}yes" >&6; }
20705 FUSE_LIB_PATH
=`$PKG_CONFIG --libs-only-L fuse | sed -e 's,//*,/,g' -e 's, *$,,'`
20708 # Autodetect whether we can build crypto stuff or not.
20709 compile_crypto
=false
20710 if test "$enable_crypto" != "no"; then
20711 have_libgcrypt
=false
20713 # Check whether --with-libgcrypt-prefix was given.
20714 if test "${with_libgcrypt_prefix+set}" = set; then
20715 withval
=$with_libgcrypt_prefix; libgcrypt_config_prefix
="$withval"
20717 libgcrypt_config_prefix
=""
20720 if test x
$libgcrypt_config_prefix != x
; then
20721 if test x
${LIBGCRYPT_CONFIG+set} != xset
; then
20722 LIBGCRYPT_CONFIG
=$libgcrypt_config_prefix/bin
/libgcrypt-config
20726 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
20727 set dummy libgcrypt-config
; ac_word
=$2
20728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20730 if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
20731 echo $ECHO_N "(cached) $ECHO_C" >&6
20733 case $LIBGCRYPT_CONFIG in
20735 ac_cv_path_LIBGCRYPT_CONFIG
="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
20738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20739 for as_dir
in $PATH
20742 test -z "$as_dir" && as_dir
=.
20743 for ac_exec_ext
in '' $ac_executable_extensions; do
20744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20745 ac_cv_path_LIBGCRYPT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20753 test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG
="no"
20757 LIBGCRYPT_CONFIG
=$ac_cv_path_LIBGCRYPT_CONFIG
20758 if test -n "$LIBGCRYPT_CONFIG"; then
20759 { echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
20760 echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6; }
20762 { echo "$as_me:$LINENO: result: no" >&5
20763 echo "${ECHO_T}no" >&6; }
20768 if echo "$tmp" |
grep ':' >/dev
/null
2>/dev
/null
; then
20769 req_libgcrypt_api
=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
20770 min_libgcrypt_version
=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
20772 req_libgcrypt_api
=0
20773 min_libgcrypt_version
="$tmp"
20776 { echo "$as_me:$LINENO: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
20777 echo $ECHO_N "checking for LIBGCRYPT - version >= $min_libgcrypt_version... $ECHO_C" >&6; }
20779 if test "$LIBGCRYPT_CONFIG" != "no" ; then
20780 req_major
=`echo $min_libgcrypt_version | \
20781 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
20782 req_minor
=`echo $min_libgcrypt_version | \
20783 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
20784 req_micro
=`echo $min_libgcrypt_version | \
20785 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
20786 libgcrypt_config_version
=`$LIBGCRYPT_CONFIG --version`
20787 major
=`echo $libgcrypt_config_version | \
20788 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
20789 minor
=`echo $libgcrypt_config_version | \
20790 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
20791 micro
=`echo $libgcrypt_config_version | \
20792 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
20793 if test "$major" -gt "$req_major"; then
20796 if test "$major" -eq "$req_major"; then
20797 if test "$minor" -gt "$req_minor"; then
20800 if test "$minor" -eq "$req_minor"; then
20801 if test "$micro" -ge "$req_micro"; then
20809 if test $ok = yes; then
20810 { echo "$as_me:$LINENO: result: yes ($libgcrypt_config_version)" >&5
20811 echo "${ECHO_T}yes ($libgcrypt_config_version)" >&6; }
20813 { echo "$as_me:$LINENO: result: no" >&5
20814 echo "${ECHO_T}no" >&6; }
20816 if test $ok = yes; then
20817 # If we have a recent libgcrypt, we should also check that the
20818 # API is compatible
20819 if test "$req_libgcrypt_api" -gt 0 ; then
20820 tmp
=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
20821 if test "$tmp" -gt 0 ; then
20822 { echo "$as_me:$LINENO: checking LIBGCRYPT API version" >&5
20823 echo $ECHO_N "checking LIBGCRYPT API version... $ECHO_C" >&6; }
20824 if test "$req_libgcrypt_api" -eq "$tmp" ; then
20825 { echo "$as_me:$LINENO: result: okay" >&5
20826 echo "${ECHO_T}okay" >&6; }
20829 { echo "$as_me:$LINENO: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
20830 echo "${ECHO_T}does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
20835 if test $ok = yes; then
20836 LIBGCRYPT_CFLAGS
=`$LIBGCRYPT_CONFIG --cflags`
20837 LIBGCRYPT_LIBS
=`$LIBGCRYPT_CONFIG --libs`
20838 have_libgcrypt
=true
20840 LIBGCRYPT_CFLAGS
=""
20843 if test "$enable_crypto" = "yes"; then
20844 { { echo "$as_me:$LINENO: error: ntfsprogs crypto code requires the gcrypt library." >&5
20845 echo "$as_me: error: ntfsprogs crypto code requires the gcrypt library." >&2;}
20846 { (exit 1); exit 1; }; }
20848 { echo "$as_me:$LINENO: WARNING: ntfsprogs crypto code requires the gcrypt library." >&5
20849 echo "$as_me: WARNING: ntfsprogs crypto code requires the gcrypt library." >&2;}
20856 have_libgnutls
=false
20859 { echo "$as_me:$LINENO: checking for GNUTLS" >&5
20860 echo $ECHO_N "checking for GNUTLS... $ECHO_C" >&6; }
20862 if test -n "$GNUTLS_CFLAGS"; then
20863 pkg_cv_GNUTLS_CFLAGS
="$GNUTLS_CFLAGS"
20864 elif test -n "$PKG_CONFIG"; then
20865 if test -n "$PKG_CONFIG" && \
20866 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.4.4\"") >&5
20867 ($PKG_CONFIG --exists --print-errors "gnutls >= 1.4.4") 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; then
20871 pkg_cv_GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags "gnutls >= 1.4.4" 2>/dev/null`
20878 if test -n "$GNUTLS_LIBS"; then
20879 pkg_cv_GNUTLS_LIBS
="$GNUTLS_LIBS"
20880 elif test -n "$PKG_CONFIG"; then
20881 if test -n "$PKG_CONFIG" && \
20882 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.4.4\"") >&5
20883 ($PKG_CONFIG --exists --print-errors "gnutls >= 1.4.4") 2>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); }; then
20887 pkg_cv_GNUTLS_LIBS
=`$PKG_CONFIG --libs "gnutls >= 1.4.4" 2>/dev/null`
20897 if test $pkg_failed = yes; then
20899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20900 _pkg_short_errors_supported
=yes
20902 _pkg_short_errors_supported
=no
20904 if test $_pkg_short_errors_supported = yes; then
20905 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 1.4.4" 2>&1`
20907 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "gnutls >= 1.4.4" 2>&1`
20909 # Put the nasty error message in config.log where it belongs
20910 echo "$GNUTLS_PKG_ERRORS" >&5
20912 { echo "$as_me:$LINENO: result: no" >&5
20913 echo "${ECHO_T}no" >&6; }
20914 if test "$enable_crypto" = "yes"; then
20915 { { echo "$as_me:$LINENO: error: ntfsprogs crypto code requires the gnutls library." >&5
20916 echo "$as_me: error: ntfsprogs crypto code requires the gnutls library." >&2;}
20917 { (exit 1); exit 1; }; }
20919 { echo "$as_me:$LINENO: WARNING: ntfsprogs crypto code requires the gnutls library." >&5
20920 echo "$as_me: WARNING: ntfsprogs crypto code requires the gnutls library." >&2;}
20923 elif test $pkg_failed = untried
; then
20924 if test "$enable_crypto" = "yes"; then
20925 { { echo "$as_me:$LINENO: error: ntfsprogs crypto code requires the gnutls library." >&5
20926 echo "$as_me: error: ntfsprogs crypto code requires the gnutls library." >&2;}
20927 { (exit 1); exit 1; }; }
20929 { echo "$as_me:$LINENO: WARNING: ntfsprogs crypto code requires the gnutls library." >&5
20930 echo "$as_me: WARNING: ntfsprogs crypto code requires the gnutls library." >&2;}
20934 GNUTLS_CFLAGS
=$pkg_cv_GNUTLS_CFLAGS
20935 GNUTLS_LIBS
=$pkg_cv_GNUTLS_LIBS
20936 { echo "$as_me:$LINENO: result: yes" >&5
20937 echo "${ECHO_T}yes" >&6; }
20938 have_libgnutls
=true
20940 if test "$have_libgcrypt" = "true"; then
20941 if test "$have_libgnutls" = "true"; then
20942 compile_crypto
=true
20944 cat >>confdefs.h
<<\_ACEOF
20945 #define ENABLE_CRYPTO 1
20951 if $compile_crypto; then
20952 ENABLE_CRYPTO_TRUE
=
20953 ENABLE_CRYPTO_FALSE
='#'
20955 ENABLE_CRYPTO_TRUE
='#'
20956 ENABLE_CRYPTO_FALSE
=
20960 # add --with-extra-includes and --with-extra-libs switch to ./configure
20961 all_libraries
="$all_libraries $USER_LDFLAGS"
20962 all_includes
="$all_includes $USER_INCLUDES"
20966 # Specify support for generating DCE compliant UUIDs (aka GUIDs). We check if
20967 # uuid/uuid.h header is present and the uuid library is present that goes with
20968 # it and then check if uuid_generate() is present and usable.
20970 # DCE UUIDs are enabled by default and can be disabled with the --disable-uuid
20971 # option to the configure script.
20973 # Check whether --with-uuid was given.
20974 if test "${with_uuid+set}" = set; then
20975 withval
=$with_uuid; if test "$with_uuid" = "yes"; then
20977 elif test "$with_uuid" = "no"; then
20980 extrapath
=$with_uuid
20987 if test "x$extrapath" != "x"; then
20988 if test "x$extrapath" != "xdefault"; then
20989 MKNTFS_CPPFLAGS
="$MKNTFS_CPPFLAGS -I$extrapath/include"
20990 MKNTFS_LIBS
="$MKNTFS_LIBS -L$extrapath/lib"
20993 search_for_luuid
="yes"
20994 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then
20995 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5
20996 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; }
20997 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then
20998 echo $ECHO_N "(cached) $ECHO_C" >&6
21000 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5
21001 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; }
21003 # Is the header compilable?
21004 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5
21005 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; }
21006 cat >conftest.
$ac_ext <<_ACEOF
21009 cat confdefs.h
>>conftest.
$ac_ext
21010 cat >>conftest.
$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 $ac_includes_default
21013 #include <uuid/uuid.h>
21015 rm -f conftest.
$ac_objext
21016 if { (ac_try
="$ac_compile"
21017 case "(($ac_try" in
21018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21022 (eval "$ac_compile") 2>conftest.er1
21024 grep -v '^ *+' conftest.er1 >conftest.err
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } && {
21029 test -z "$ac_c_werror_flag" ||
21030 test ! -s conftest.err
21031 } && test -s conftest.$ac_objext; then
21032 ac_header_compiler=yes
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21037 ac_header_compiler=no
21040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21042 echo "${ECHO_T}$ac_header_compiler" >&6; }
21044 # Is the header present?
21045 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5
21046 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; }
21047 cat >conftest.$ac_ext <<_ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 #include <uuid/uuid.h>
21055 if { (ac_try="$ac_cpp conftest.$ac_ext"
21056 case "(($ac_try" in
21057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21058 *) ac_try_echo
=$ac_try;;
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21063 grep -v '^ *+' conftest.er1
>conftest.err
21065 cat conftest.err
>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } >/dev
/null
&& {
21068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21071 ac_header_preproc
=yes
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.
$ac_ext >&5
21076 ac_header_preproc
=no
21079 rm -f conftest.err conftest.
$ac_ext
21080 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21081 echo "${ECHO_T}$ac_header_preproc" >&6; }
21083 # So? What about this header?
21084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21086 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5
21087 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21088 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5
21089 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;}
21090 ac_header_preproc
=yes
21093 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5
21094 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;}
21095 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&5
21096 echo "$as_me: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&2;}
21097 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5
21098 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;}
21099 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&5
21100 echo "$as_me: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&2;}
21101 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5
21102 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;}
21103 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5
21104 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;}
21106 ## ----------------------------------------- ##
21107 ## Report this to ntfs-3g-devel@lists.sf.net ##
21108 ## ----------------------------------------- ##
21110 ) |
sed "s/^/$as_me: WARNING: /" >&2
21113 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5
21114 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; }
21115 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then
21116 echo $ECHO_N "(cached) $ECHO_C" >&6
21118 ac_cv_header_uuid_uuid_h
=$ac_header_preproc
21120 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5
21121 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; }
21124 if test $ac_cv_header_uuid_uuid_h = yes; then
21128 { echo "$as_me:$LINENO: WARNING: ntfsprogs DCE compliant UUID generation code requires the uuid library." >&5
21129 echo "$as_me: WARNING: ntfsprogs DCE compliant UUID generation code requires the uuid library." >&2;}
21130 search_for_luuid
="no"
21136 if test "x$search_for_luuid" != "xno"; then
21137 # Look for uuid_generate in the standard C library.
21138 { echo "$as_me:$LINENO: checking for uuid_generate" >&5
21139 echo $ECHO_N "checking for uuid_generate... $ECHO_C" >&6; }
21140 if test "${ac_cv_func_uuid_generate+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 cat >conftest.
$ac_ext <<_ACEOF
21146 cat confdefs.h
>>conftest.
$ac_ext
21147 cat >>conftest.
$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 /* Define uuid_generate to an innocuous variant, in case <limits.h> declares uuid_generate.
21150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21151 #define uuid_generate innocuous_uuid_generate
21153 /* System header to define __stub macros and hopefully few prototypes,
21154 which can conflict with char uuid_generate (); below.
21155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21156 <limits.h> exists even on freestanding compilers. */
21159 # include <limits.h>
21161 # include <assert.h>
21164 #undef uuid_generate
21166 /* Override any GCC internal prototype to avoid an error.
21167 Use char because int might match the return type of a GCC
21168 builtin and then its argument prototype would still apply. */
21172 char uuid_generate ();
21173 /* The GNU C library defines this for functions which it implements
21174 to always fail with ENOSYS. Some functions are actually named
21175 something starting with __ and the normal name is an alias. */
21176 #if defined __stub_uuid_generate || defined __stub___uuid_generate
21183 return uuid_generate ();
21188 rm -f conftest.
$ac_objext conftest
$ac_exeext
21189 if { (ac_try
="$ac_link"
21190 case "(($ac_try" in
21191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21192 *) ac_try_echo=$ac_try;;
21194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21195 (eval "$ac_link") 2>conftest.er1
21197 grep -v '^ *+' conftest.er1 >conftest.err
21199 cat conftest.err >&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } && {
21202 test -z "$ac_c_werror_flag" ||
21203 test ! -s conftest.err
21204 } && test -s conftest$ac_exeext &&
21205 $as_test_x conftest$ac_exeext; then
21206 ac_cv_func_uuid_generate=yes
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21211 ac_cv_func_uuid_generate=no
21214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21215 conftest$ac_exeext conftest.$ac_ext
21217 { echo "$as_me:$LINENO: result: $ac_cv_func_uuid_generate" >&5
21218 echo "${ECHO_T}$ac_cv_func_uuid_generate" >&6; }
21219 if test $ac_cv_func_uuid_generate = yes; then
21222 cat >>confdefs.h <<\_ACEOF
21223 #define ENABLE_UUID 1
21226 search_for_luuid="no"
21232 if test "x$search_for_luuid" != "xno"; then
21233 # Look for uuid_generate in the 'uuid' library.
21234 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5
21235 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }
21236 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then
21237 echo $ECHO_N "(cached) $ECHO_C" >&6
21239 ac_check_lib_save_LIBS=$LIBS
21240 LIBS="-luuid $LIBS"
21241 cat >conftest.$ac_ext <<_ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21248 /* Override any GCC internal prototype to avoid an error.
21249 Use char because int might match the return type of a GCC
21250 builtin and then its argument prototype would still apply. */
21254 char uuid_generate ();
21258 return uuid_generate ();
21263 rm -f conftest.$ac_objext conftest$ac_exeext
21264 if { (ac_try="$ac_link"
21265 case "(($ac_try" in
21266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21267 *) ac_try_echo
=$ac_try;;
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_link") 2>conftest.er1
21272 grep -v '^ *+' conftest.er1
>conftest.err
21274 cat conftest.err
>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && {
21277 test -z "$ac_c_werror_flag" ||
21278 test ! -s conftest.err
21279 } && test -s conftest
$ac_exeext &&
21280 $as_test_x conftest
$ac_exeext; then
21281 ac_cv_lib_uuid_uuid_generate
=yes
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.
$ac_ext >&5
21286 ac_cv_lib_uuid_uuid_generate
=no
21289 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21290 conftest
$ac_exeext conftest.
$ac_ext
21291 LIBS
=$ac_check_lib_save_LIBS
21293 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5
21294 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }
21295 if test $ac_cv_lib_uuid_uuid_generate = yes; then
21298 cat >>confdefs.h
<<\_ACEOF
21299 #define ENABLE_UUID 1
21302 MKNTFS_LIBS
="$MKNTFS_LIBS -luuid"
21303 search_for_luuid
="no"
21309 if test "x$search_for_luuid" != "xno"; then
21310 { echo "$as_me:$LINENO: WARNING: ntfsprogs DCE compliant UUID generation code requires the uuid library." >&5
21311 echo "$as_me: WARNING: ntfsprogs DCE compliant UUID generation code requires the uuid library." >&2;}
21315 # Checks for header files.
21316 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21317 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21318 if test "${ac_cv_header_stdc+set}" = set; then
21319 echo $ECHO_N "(cached) $ECHO_C" >&6
21321 cat >conftest.
$ac_ext <<_ACEOF
21324 cat confdefs.h
>>conftest.
$ac_ext
21325 cat >>conftest.
$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 #include <stdlib.h>
21328 #include <stdarg.h>
21329 #include <string.h>
21340 rm -f conftest.
$ac_objext
21341 if { (ac_try
="$ac_compile"
21342 case "(($ac_try" in
21343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_compile") 2>conftest.er1
21349 grep -v '^ *+' conftest.er1 >conftest.err
21351 cat conftest.err >&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && {
21354 test -z "$ac_c_werror_flag" ||
21355 test ! -s conftest.err
21356 } && test -s conftest.$ac_objext; then
21357 ac_cv_header_stdc=yes
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 ac_cv_header_stdc=no
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21367 if test $ac_cv_header_stdc = yes; then
21368 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21369 cat >conftest.$ac_ext <<_ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <string.h>
21378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21379 $EGREP "memchr" >/dev/null 2>&1; then
21382 ac_cv_header_stdc=no
21388 if test $ac_cv_header_stdc = yes; then
21389 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21390 cat >conftest.$ac_ext <<_ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 #include <stdlib.h>
21399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21400 $EGREP "free" >/dev/null 2>&1; then
21403 ac_cv_header_stdc=no
21409 if test $ac_cv_header_stdc = yes; then
21410 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21411 if test "$cross_compiling" = yes; then
21414 cat >conftest.$ac_ext <<_ACEOF
21417 cat confdefs.h >>conftest.$ac_ext
21418 cat >>conftest.$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21421 #include <stdlib.h>
21422 #if ((' ' & 0x0FF) == 0x020)
21423 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21424 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21426 # define ISLOWER(c) \
21427 (('a' <= (c) && (c) <= 'i') \
21428 || ('j' <= (c) && (c) <= 'r') \
21429 || ('s' <= (c) && (c) <= 'z'))
21430 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21433 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21438 for (i = 0; i < 256; i++)
21439 if (XOR (islower (i), ISLOWER (i))
21440 || toupper (i) != TOUPPER (i))
21445 rm -f conftest$ac_exeext
21446 if { (ac_try="$ac_link"
21447 case "(($ac_try" in
21448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21449 *) ac_try_echo
=$ac_try;;
21451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21452 (eval "$ac_link") 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21456 { (case "(($ac_try" in
21457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21458 *) ac_try_echo=$ac_try;;
21460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21461 (eval "$ac_try") 2>&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); }; }; then
21467 echo "$as_me: program exited with status $ac_status" >&5
21468 echo "$as_me: failed program was:" >&5
21469 sed 's/^/| /' conftest.$ac_ext >&5
21471 ( exit $ac_status )
21472 ac_cv_header_stdc=no
21474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21480 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21481 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21482 if test $ac_cv_header_stdc = yes; then
21484 cat >>confdefs.h <<\_ACEOF
21485 #define STDC_HEADERS 1
21533 for ac_header in ctype.h fcntl.h libgen.h libintl.h limits.h locale.h \
21534 mntent.h stddef.h stdint.h stdlib.h stdio.h stdarg.h string.h \
21535 strings.h errno.h time.h unistd.h utime.h wchar.h getopt.h features.h \
21536 endian.h byteswap.h sys/byteorder.h sys/disk.h sys/endian.h \
21537 sys/param.h sys/ioctl.h sys/mkdev.h sys/mount.h sys/stat.h sys/types.h \
21538 sys/vfs.h sys/statvfs.h sys/sysmacros.h linux/major.h linux/fd.h \
21539 linux/hdreg.h machine/endian.h windows.h syslog.h pwd.h malloc.h
21541 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
21542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 ac_res=`eval echo '${'$as_ac_Header'}'`
21549 { echo "$as_me:$LINENO: result: $ac_res" >&5
21550 echo "${ECHO_T}$ac_res" >&6; }
21552 # Is the header compilable?
21553 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21555 cat >conftest.$ac_ext <<_ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 #include <$ac_header>
21564 rm -f conftest.$ac_objext
21565 if { (ac_try="$ac_compile"
21566 case "(($ac_try" in
21567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21568 *) ac_try_echo
=$ac_try;;
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_compile") 2>conftest.er1
21573 grep -v '^ *+' conftest.er1
>conftest.err
21575 cat conftest.err
>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } && {
21578 test -z "$ac_c_werror_flag" ||
21579 test ! -s conftest.err
21580 } && test -s conftest.
$ac_objext; then
21581 ac_header_compiler
=yes
21583 echo "$as_me: failed program was:" >&5
21584 sed 's/^/| /' conftest.
$ac_ext >&5
21586 ac_header_compiler
=no
21589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21590 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21591 echo "${ECHO_T}$ac_header_compiler" >&6; }
21593 # Is the header present?
21594 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21596 cat >conftest.
$ac_ext <<_ACEOF
21599 cat confdefs.h
>>conftest.
$ac_ext
21600 cat >>conftest.
$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 #include <$ac_header>
21604 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21605 case "(($ac_try" in
21606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21607 *) ac_try_echo=$ac_try;;
21609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21610 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21612 grep -v '^ *+' conftest.er1 >conftest.err
21614 cat conftest.err >&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); } >/dev/null && {
21617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21618 test ! -s conftest.err
21620 ac_header_preproc=yes
21622 echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.$ac_ext >&5
21625 ac_header_preproc=no
21628 rm -f conftest.err conftest.$ac_ext
21629 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21630 echo "${ECHO_T}$ac_header_preproc" >&6; }
21632 # So? What about this header?
21633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21639 ac_header_preproc=yes
21642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21646 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21648 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21655 ## ----------------------------------------- ##
21656 ## Report this to ntfs-3g-devel@lists.sf.net ##
21657 ## ----------------------------------------- ##
21659 ) | sed "s/^/$as_me: WARNING: /" >&2
21662 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 eval "$as_ac_Header=\$ac_header_preproc"
21669 ac_res=`eval echo '${'$as_ac_Header'}'`
21670 { echo "$as_me:$LINENO: result: $ac_res" >&5
21671 echo "${ECHO_T}$ac_res" >&6; }
21674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21675 cat >>confdefs.h <<_ACEOF
21676 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
21684 # Checks for typedefs, structures, and compiler characteristics.
21685 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
21686 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
21687 if test "${ac_cv_header_stdbool_h+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 cat >conftest.$ac_ext <<_ACEOF
21693 cat confdefs.h >>conftest.$ac_ext
21694 cat >>conftest.$ac_ext <<_ACEOF
21695 /* end confdefs.h. */
21697 #include <stdbool.h>
21699 "error: bool is not defined"
21702 "error: false is not defined"
21705 "error: false is not 0"
21708 "error: true is not defined"
21711 "error: true is not 1"
21713 #ifndef __bool_true_false_are_defined
21714 "error: __bool_true_false_are_defined is not defined"
21717 struct s { _Bool s: 1; _Bool t; } s;
21719 char a[true == 1 ? 1 : -1];
21720 char b[false == 0 ? 1 : -1];
21721 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21722 char d[(bool) 0.5 == true ? 1 : -1];
21724 char f[(_Bool) 0.0 == false ? 1 : -1];
21726 char h[sizeof (_Bool)];
21727 char i[sizeof s.t];
21728 enum { j = false, k = true, l = false * true, m = true * 256 };
21730 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21731 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21732 # if defined __xlc__ || defined __GNUC__
21733 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
21734 reported by James Lemley on 2005-10-05; see
21735 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
21736 This test is not quite right, since xlc is allowed to
21737 reject this program, as the initializer for xlcbug is
21738 not one of the forms that C requires support for.
21739 However, doing the test right would require a runtime
21740 test, and that would make cross-compilation harder.
21741 Let us hope that IBM fixes the xlc bug, and also adds
21742 support for this kind of constant expression. In the
21743 meantime, this test will reject xlc, which is OK, since
21744 our stdbool.h substitute should suffice. We also test
21745 this with GCC, where it should work, to detect more
21746 quickly whether someone messes up the test in the
21748 char digs[] = "0123456789";
21749 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
21751 /* Catch a bug in an HP-UX C compiler. See
21752 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21753 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21764 /* Refer to every declared value, to avoid compiler optimizations. */
21765 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21766 + !m + !n + !o + !p + !q + !pq);
21772 rm -f conftest.$ac_objext
21773 if { (ac_try="$ac_compile"
21774 case "(($ac_try" in
21775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21776 *) ac_try_echo
=$ac_try;;
21778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21779 (eval "$ac_compile") 2>conftest.er1
21781 grep -v '^ *+' conftest.er1
>conftest.err
21783 cat conftest.err
>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } && {
21786 test -z "$ac_c_werror_flag" ||
21787 test ! -s conftest.err
21788 } && test -s conftest.
$ac_objext; then
21789 ac_cv_header_stdbool_h
=yes
21791 echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.
$ac_ext >&5
21794 ac_cv_header_stdbool_h
=no
21797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21799 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
21800 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
21801 { echo "$as_me:$LINENO: checking for _Bool" >&5
21802 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
21803 if test "${ac_cv_type__Bool+set}" = set; then
21804 echo $ECHO_N "(cached) $ECHO_C" >&6
21806 cat >conftest.
$ac_ext <<_ACEOF
21809 cat confdefs.h
>>conftest.
$ac_ext
21810 cat >>conftest.
$ac_ext <<_ACEOF
21811 /* end confdefs.h. */
21812 $ac_includes_default
21813 typedef _Bool ac__type_new_;
21817 if ((ac__type_new_ *) 0)
21819 if (sizeof (ac__type_new_))
21825 rm -f conftest.
$ac_objext
21826 if { (ac_try
="$ac_compile"
21827 case "(($ac_try" in
21828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21829 *) ac_try_echo=$ac_try;;
21831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21832 (eval "$ac_compile") 2>conftest.er1
21834 grep -v '^ *+' conftest.er1 >conftest.err
21836 cat conftest.err >&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } && {
21839 test -z "$ac_c_werror_flag" ||
21840 test ! -s conftest.err
21841 } && test -s conftest.$ac_objext; then
21842 ac_cv_type__Bool=yes
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.$ac_ext >&5
21847 ac_cv_type__Bool=no
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21852 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
21853 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
21854 if test $ac_cv_type__Bool = yes; then
21856 cat >>confdefs.h <<_ACEOF
21857 #define HAVE__BOOL 1
21863 if test $ac_cv_header_stdbool_h = yes; then
21865 cat >>confdefs.h <<\_ACEOF
21866 #define HAVE_STDBOOL_H 1
21871 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21872 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
21873 if test "${ac_cv_c_bigendian+set}" = set; then
21874 echo $ECHO_N "(cached) $ECHO_C" >&6
21876 # See if sys/param.h defines the BYTE_ORDER macro.
21877 cat >conftest.$ac_ext <<_ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 #include <sys/types.h>
21884 #include <sys/param.h>
21889 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
21890 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
21891 bogus endian macros
21898 rm -f conftest.$ac_objext
21899 if { (ac_try="$ac_compile"
21900 case "(($ac_try" in
21901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21902 *) ac_try_echo
=$ac_try;;
21904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21905 (eval "$ac_compile") 2>conftest.er1
21907 grep -v '^ *+' conftest.er1
>conftest.err
21909 cat conftest.err
>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); } && {
21912 test -z "$ac_c_werror_flag" ||
21913 test ! -s conftest.err
21914 } && test -s conftest.
$ac_objext; then
21915 # It does; now see whether it defined to BIG_ENDIAN or not.
21916 cat >conftest.
$ac_ext <<_ACEOF
21919 cat confdefs.h
>>conftest.
$ac_ext
21920 cat >>conftest.
$ac_ext <<_ACEOF
21921 /* end confdefs.h. */
21922 #include <sys/types.h>
21923 #include <sys/param.h>
21928 #if BYTE_ORDER != BIG_ENDIAN
21936 rm -f conftest.
$ac_objext
21937 if { (ac_try
="$ac_compile"
21938 case "(($ac_try" in
21939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_compile") 2>conftest.er1
21945 grep -v '^ *+' conftest.er1 >conftest.err
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest.$ac_objext; then
21953 ac_cv_c_bigendian=yes
21955 echo "$as_me: failed program was:" >&5
21956 sed 's/^/| /' conftest.$ac_ext >&5
21958 ac_cv_c_bigendian=no
21961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21966 # It does not; compile a test program.
21967 if test "$cross_compiling" = yes; then
21968 # try to guess the endianness by grepping values into an object file
21969 ac_cv_c_bigendian=unknown
21970 cat >conftest.$ac_ext <<_ACEOF
21973 cat confdefs.h >>conftest.$ac_ext
21974 cat >>conftest.$ac_ext <<_ACEOF
21975 /* end confdefs.h. */
21976 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21977 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21978 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
21979 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21980 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21981 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
21985 _ascii (); _ebcdic ();
21990 rm -f conftest.$ac_objext
21991 if { (ac_try="$ac_compile"
21992 case "(($ac_try" in
21993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21994 *) ac_try_echo
=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
21999 grep -v '^ *+' conftest.er1
>conftest.err
22001 cat conftest.err
>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } && {
22004 test -z "$ac_c_werror_flag" ||
22005 test ! -s conftest.err
22006 } && test -s conftest.
$ac_objext; then
22007 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
22008 ac_cv_c_bigendian
=yes
22010 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
22011 if test "$ac_cv_c_bigendian" = unknown
; then
22012 ac_cv_c_bigendian
=no
22014 # finding both strings is unlikely to happen, but who knows?
22015 ac_cv_c_bigendian
=unknown
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.
$ac_ext >&5
22025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22027 cat >conftest.
$ac_ext <<_ACEOF
22030 cat confdefs.h
>>conftest.
$ac_ext
22031 cat >>conftest.
$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22033 $ac_includes_default
22038 /* Are we little or big endian? From Harbison&Steele. */
22042 char c[sizeof (long int)];
22045 return u.c[sizeof (long int) - 1] == 1;
22051 rm -f conftest
$ac_exeext
22052 if { (ac_try
="$ac_link"
22053 case "(($ac_try" in
22054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;;
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_link") 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22062 { (case "(($ac_try" in
22063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22064 *) ac_try_echo
=$ac_try;;
22066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22067 (eval "$ac_try") 2>&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); }; }; then
22071 ac_cv_c_bigendian
=no
22073 echo "$as_me: program exited with status $ac_status" >&5
22074 echo "$as_me: failed program was:" >&5
22075 sed 's/^/| /' conftest.
$ac_ext >&5
22077 ( exit $ac_status )
22078 ac_cv_c_bigendian
=yes
22080 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22088 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22089 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22090 case $ac_cv_c_bigendian in
22093 cat >>confdefs.h
<<\_ACEOF
22094 #define WORDS_BIGENDIAN 1
22100 cat >>confdefs.h
<<\_ACEOF
22101 #define WORDS_LITTLEENDIAN 1
22107 { { echo "$as_me:$LINENO: error: unknown endianness
22108 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
22109 echo "$as_me: error: unknown endianness
22110 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
22111 { (exit 1); exit 1; }; } ;;
22114 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22115 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
22116 if test "${ac_cv_c_const+set}" = set; then
22117 echo $ECHO_N "(cached) $ECHO_C" >&6
22119 cat >conftest.
$ac_ext <<_ACEOF
22122 cat confdefs.h
>>conftest.
$ac_ext
22123 cat >>conftest.
$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22129 /* FIXME: Include the comments suggested by Paul. */
22130 #ifndef __cplusplus
22131 /* Ultrix mips cc rejects this. */
22132 typedef int charset[2];
22134 /* SunOS 4.1.1 cc rejects this. */
22135 char const *const *pcpcc;
22137 /* NEC SVR4.0.2 mips cc rejects this. */
22138 struct point {int x, y;};
22139 static struct point const zero = {0,0};
22140 /* AIX XL C 1.02.0.0 rejects this.
22141 It does not let you subtract one const X* pointer from another in
22142 an arm of an if-expression whose if-part is not a constant
22144 const char *g = "string";
22145 pcpcc = &g + (g ? g-g : 0);
22146 /* HPUX 7.0 cc rejects these. */
22148 ppc = (char**) pcpcc;
22149 pcpcc = (char const *const *) ppc;
22150 { /* SCO 3.2v4 cc rejects this. */
22152 char const *s = 0 ? (char *) 0 : (char const *) 0;
22157 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
22158 int x[] = {25, 17};
22159 const int *foo = &x[0];
22162 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
22163 typedef const int *iptr;
22167 { /* AIX XL C 1.02.0.0 rejects this saying
22168 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22169 struct s { int j; const int *ap[3]; };
22170 struct s *b; b->j = 5;
22172 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22173 const int foo = 10;
22174 if (!foo) return 0;
22176 return !cs[0] && !zero.x;
22183 rm -f conftest.
$ac_objext
22184 if { (ac_try
="$ac_compile"
22185 case "(($ac_try" in
22186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_compile") 2>conftest.er1
22192 grep -v '^ *+' conftest.er1 >conftest.err
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } && {
22197 test -z "$ac_c_werror_flag" ||
22198 test ! -s conftest.err
22199 } && test -s conftest.$ac_objext; then
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22210 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22211 echo "${ECHO_T}$ac_cv_c_const" >&6; }
22212 if test $ac_cv_c_const = no; then
22214 cat >>confdefs.h <<\_ACEOF
22220 { echo "$as_me:$LINENO: checking for inline" >&5
22221 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
22222 if test "${ac_cv_c_inline+set}" = set; then
22223 echo $ECHO_N "(cached) $ECHO_C" >&6
22226 for ac_kw in inline __inline__ __inline; do
22227 cat >conftest.$ac_ext <<_ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22233 #ifndef __cplusplus
22235 static $ac_kw foo_t static_foo () {return 0; }
22236 $ac_kw foo_t foo () {return 0; }
22240 rm -f conftest.$ac_objext
22241 if { (ac_try="$ac_compile"
22242 case "(($ac_try" in
22243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22244 *) ac_try_echo
=$ac_try;;
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_compile") 2>conftest.er1
22249 grep -v '^ *+' conftest.er1
>conftest.err
22251 cat conftest.err
>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } && {
22254 test -z "$ac_c_werror_flag" ||
22255 test ! -s conftest.err
22256 } && test -s conftest.
$ac_objext; then
22257 ac_cv_c_inline
=$ac_kw
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22266 test "$ac_cv_c_inline" != no
&& break
22270 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
22271 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
22274 case $ac_cv_c_inline in
22277 case $ac_cv_c_inline in
22279 *) ac_val
=$ac_cv_c_inline;;
22281 cat >>confdefs.h
<<_ACEOF
22282 #ifndef __cplusplus
22283 #define inline $ac_val
22289 { echo "$as_me:$LINENO: checking for off_t" >&5
22290 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
22291 if test "${ac_cv_type_off_t+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22294 cat >conftest.
$ac_ext <<_ACEOF
22297 cat confdefs.h
>>conftest.
$ac_ext
22298 cat >>conftest.
$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 $ac_includes_default
22301 typedef off_t ac__type_new_;
22305 if ((ac__type_new_ *) 0)
22307 if (sizeof (ac__type_new_))
22313 rm -f conftest.
$ac_objext
22314 if { (ac_try
="$ac_compile"
22315 case "(($ac_try" in
22316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22317 *) ac_try_echo=$ac_try;;
22319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22320 (eval "$ac_compile") 2>conftest.er1
22322 grep -v '^ *+' conftest.er1 >conftest.err
22324 cat conftest.err >&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } && {
22327 test -z "$ac_c_werror_flag" ||
22328 test ! -s conftest.err
22329 } && test -s conftest.$ac_objext; then
22330 ac_cv_type_off_t=yes
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.$ac_ext >&5
22335 ac_cv_type_off_t=no
22338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
22341 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
22342 if test $ac_cv_type_off_t = yes; then
22346 cat >>confdefs.h <<_ACEOF
22347 #define off_t long int
22352 { echo "$as_me:$LINENO: checking for size_t" >&5
22353 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22354 if test "${ac_cv_type_size_t+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 cat >conftest.$ac_ext <<_ACEOF
22360 cat confdefs.h >>conftest.$ac_ext
22361 cat >>conftest.$ac_ext <<_ACEOF
22362 /* end confdefs.h. */
22363 $ac_includes_default
22364 typedef size_t ac__type_new_;
22368 if ((ac__type_new_ *) 0)
22370 if (sizeof (ac__type_new_))
22376 rm -f conftest.$ac_objext
22377 if { (ac_try="$ac_compile"
22378 case "(($ac_try" in
22379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22380 *) ac_try_echo
=$ac_try;;
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_compile") 2>conftest.er1
22385 grep -v '^ *+' conftest.er1
>conftest.err
22387 cat conftest.err
>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && {
22390 test -z "$ac_c_werror_flag" ||
22391 test ! -s conftest.err
22392 } && test -s conftest.
$ac_objext; then
22393 ac_cv_type_size_t
=yes
22395 echo "$as_me: failed program was:" >&5
22396 sed 's/^/| /' conftest.
$ac_ext >&5
22398 ac_cv_type_size_t
=no
22401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22403 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22404 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22405 if test $ac_cv_type_size_t = yes; then
22409 cat >>confdefs.h
<<_ACEOF
22410 #define size_t unsigned int
22415 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22416 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22417 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22418 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 cat >conftest.
$ac_ext <<_ACEOF
22423 cat confdefs.h
>>conftest.
$ac_ext
22424 cat >>conftest.
$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 $ac_includes_default
22430 static struct stat ac_aggr;
22431 if (ac_aggr.st_blocks)
22437 rm -f conftest.
$ac_objext
22438 if { (ac_try
="$ac_compile"
22439 case "(($ac_try" in
22440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22441 *) ac_try_echo=$ac_try;;
22443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22444 (eval "$ac_compile") 2>conftest.er1
22446 grep -v '^ *+' conftest.er1 >conftest.err
22448 cat conftest.err >&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && {
22451 test -z "$ac_c_werror_flag" ||
22452 test ! -s conftest.err
22453 } && test -s conftest.$ac_objext; then
22454 ac_cv_member_struct_stat_st_blocks=yes
22456 echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.$ac_ext >&5
22459 cat >conftest.$ac_ext <<_ACEOF
22462 cat confdefs.h >>conftest.$ac_ext
22463 cat >>conftest.$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22465 $ac_includes_default
22469 static struct stat ac_aggr;
22470 if (sizeof ac_aggr.st_blocks)
22476 rm -f conftest.$ac_objext
22477 if { (ac_try="$ac_compile"
22478 case "(($ac_try" in
22479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22480 *) ac_try_echo
=$ac_try;;
22482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22483 (eval "$ac_compile") 2>conftest.er1
22485 grep -v '^ *+' conftest.er1
>conftest.err
22487 cat conftest.err
>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } && {
22490 test -z "$ac_c_werror_flag" ||
22491 test ! -s conftest.err
22492 } && test -s conftest.
$ac_objext; then
22493 ac_cv_member_struct_stat_st_blocks
=yes
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.
$ac_ext >&5
22498 ac_cv_member_struct_stat_st_blocks
=no
22501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22506 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
22507 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
22508 if test $ac_cv_member_struct_stat_st_blocks = yes; then
22510 cat >>confdefs.h
<<_ACEOF
22511 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
22515 cat >>confdefs.h
<<\_ACEOF
22516 #define HAVE_ST_BLOCKS 1
22520 case " $LIBOBJS " in
22521 *" fileblocks.$ac_objext "* ) ;;
22522 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
22529 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
22530 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
22531 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
22532 echo $ECHO_N "(cached) $ECHO_C" >&6
22534 cat >conftest.
$ac_ext <<_ACEOF
22537 cat confdefs.h
>>conftest.
$ac_ext
22538 cat >>conftest.
$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 $ac_includes_default
22544 static struct stat ac_aggr;
22545 if (ac_aggr.st_rdev)
22551 rm -f conftest.
$ac_objext
22552 if { (ac_try
="$ac_compile"
22553 case "(($ac_try" in
22554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22555 *) ac_try_echo=$ac_try;;
22557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22558 (eval "$ac_compile") 2>conftest.er1
22560 grep -v '^ *+' conftest.er1 >conftest.err
22562 cat conftest.err >&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); } && {
22565 test -z "$ac_c_werror_flag" ||
22566 test ! -s conftest.err
22567 } && test -s conftest.$ac_objext; then
22568 ac_cv_member_struct_stat_st_rdev=yes
22570 echo "$as_me: failed program was:" >&5
22571 sed 's/^/| /' conftest.$ac_ext >&5
22573 cat >conftest.$ac_ext <<_ACEOF
22576 cat confdefs.h >>conftest.$ac_ext
22577 cat >>conftest.$ac_ext <<_ACEOF
22578 /* end confdefs.h. */
22579 $ac_includes_default
22583 static struct stat ac_aggr;
22584 if (sizeof ac_aggr.st_rdev)
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22594 *) ac_try_echo
=$ac_try;;
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22599 grep -v '^ *+' conftest.er1
>conftest.err
22601 cat conftest.err
>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.
$ac_objext; then
22607 ac_cv_member_struct_stat_st_rdev
=yes
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.
$ac_ext >&5
22612 ac_cv_member_struct_stat_st_rdev
=no
22615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22620 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
22621 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
22622 if test $ac_cv_member_struct_stat_st_rdev = yes; then
22624 cat >>confdefs.h
<<_ACEOF
22625 #define HAVE_STRUCT_STAT_ST_RDEV 1
22631 { echo "$as_me:$LINENO: checking for struct stat.st_atim" >&5
22632 echo $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6; }
22633 if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 cat >conftest.
$ac_ext <<_ACEOF
22639 cat confdefs.h
>>conftest.
$ac_ext
22640 cat >>conftest.
$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22646 static struct stat ac_aggr;
22647 if (ac_aggr.st_atim)
22653 rm -f conftest.
$ac_objext
22654 if { (ac_try
="$ac_compile"
22655 case "(($ac_try" in
22656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22657 *) ac_try_echo=$ac_try;;
22659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22660 (eval "$ac_compile") 2>conftest.er1
22662 grep -v '^ *+' conftest.er1 >conftest.err
22664 cat conftest.err >&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } && {
22667 test -z "$ac_c_werror_flag" ||
22668 test ! -s conftest.err
22669 } && test -s conftest.$ac_objext; then
22670 ac_cv_member_struct_stat_st_atim=yes
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22675 cat >conftest.$ac_ext <<_ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22681 $ac_includes_default
22685 static struct stat ac_aggr;
22686 if (sizeof ac_aggr.st_atim)
22692 rm -f conftest.$ac_objext
22693 if { (ac_try="$ac_compile"
22694 case "(($ac_try" in
22695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22696 *) ac_try_echo
=$ac_try;;
22698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_compile") 2>conftest.er1
22701 grep -v '^ *+' conftest.er1
>conftest.err
22703 cat conftest.err
>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } && {
22706 test -z "$ac_c_werror_flag" ||
22707 test ! -s conftest.err
22708 } && test -s conftest.
$ac_objext; then
22709 ac_cv_member_struct_stat_st_atim
=yes
22711 echo "$as_me: failed program was:" >&5
22712 sed 's/^/| /' conftest.
$ac_ext >&5
22714 ac_cv_member_struct_stat_st_atim
=no
22717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22722 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5
22723 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6; }
22724 if test $ac_cv_member_struct_stat_st_atim = yes; then
22726 cat >>confdefs.h
<<_ACEOF
22727 #define HAVE_STRUCT_STAT_ST_ATIM 1
22733 { echo "$as_me:$LINENO: checking for struct stat.st_atimespec" >&5
22734 echo $ECHO_N "checking for struct stat.st_atimespec... $ECHO_C" >&6; }
22735 if test "${ac_cv_member_struct_stat_st_atimespec+set}" = set; then
22736 echo $ECHO_N "(cached) $ECHO_C" >&6
22738 cat >conftest.
$ac_ext <<_ACEOF
22741 cat confdefs.h
>>conftest.
$ac_ext
22742 cat >>conftest.
$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22748 static struct stat ac_aggr;
22749 if (ac_aggr.st_atimespec)
22755 rm -f conftest.
$ac_objext
22756 if { (ac_try
="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22764 grep -v '^ *+' conftest.er1 >conftest.err
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.$ac_objext; then
22772 ac_cv_member_struct_stat_st_atimespec=yes
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.$ac_ext >&5
22777 cat >conftest.$ac_ext <<_ACEOF
22780 cat confdefs.h >>conftest.$ac_ext
22781 cat >>conftest.$ac_ext <<_ACEOF
22782 /* end confdefs.h. */
22783 $ac_includes_default
22787 static struct stat ac_aggr;
22788 if (sizeof ac_aggr.st_atimespec)
22794 rm -f conftest.$ac_objext
22795 if { (ac_try="$ac_compile"
22796 case "(($ac_try" in
22797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22798 *) ac_try_echo
=$ac_try;;
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_compile") 2>conftest.er1
22803 grep -v '^ *+' conftest.er1
>conftest.err
22805 cat conftest.err
>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } && {
22808 test -z "$ac_c_werror_flag" ||
22809 test ! -s conftest.err
22810 } && test -s conftest.
$ac_objext; then
22811 ac_cv_member_struct_stat_st_atimespec
=yes
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.
$ac_ext >&5
22816 ac_cv_member_struct_stat_st_atimespec
=no
22819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22824 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atimespec" >&5
22825 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atimespec" >&6; }
22826 if test $ac_cv_member_struct_stat_st_atimespec = yes; then
22828 cat >>confdefs.h
<<_ACEOF
22829 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
22835 { echo "$as_me:$LINENO: checking for struct stat.st_atimensec" >&5
22836 echo $ECHO_N "checking for struct stat.st_atimensec... $ECHO_C" >&6; }
22837 if test "${ac_cv_member_struct_stat_st_atimensec+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22840 cat >conftest.
$ac_ext <<_ACEOF
22843 cat confdefs.h
>>conftest.
$ac_ext
22844 cat >>conftest.
$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846 $ac_includes_default
22850 static struct stat ac_aggr;
22851 if (ac_aggr.st_atimensec)
22857 rm -f conftest.
$ac_objext
22858 if { (ac_try
="$ac_compile"
22859 case "(($ac_try" in
22860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_compile") 2>conftest.er1
22866 grep -v '^ *+' conftest.er1 >conftest.err
22868 cat conftest.err >&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } && {
22871 test -z "$ac_c_werror_flag" ||
22872 test ! -s conftest.err
22873 } && test -s conftest.$ac_objext; then
22874 ac_cv_member_struct_stat_st_atimensec=yes
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22879 cat >conftest.$ac_ext <<_ACEOF
22882 cat confdefs.h >>conftest.$ac_ext
22883 cat >>conftest.$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22885 $ac_includes_default
22889 static struct stat ac_aggr;
22890 if (sizeof ac_aggr.st_atimensec)
22896 rm -f conftest.$ac_objext
22897 if { (ac_try="$ac_compile"
22898 case "(($ac_try" in
22899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22900 *) ac_try_echo
=$ac_try;;
22902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22903 (eval "$ac_compile") 2>conftest.er1
22905 grep -v '^ *+' conftest.er1
>conftest.err
22907 cat conftest.err
>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); } && {
22910 test -z "$ac_c_werror_flag" ||
22911 test ! -s conftest.err
22912 } && test -s conftest.
$ac_objext; then
22913 ac_cv_member_struct_stat_st_atimensec
=yes
22915 echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.
$ac_ext >&5
22918 ac_cv_member_struct_stat_st_atimensec
=no
22921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22926 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atimensec" >&5
22927 echo "${ECHO_T}$ac_cv_member_struct_stat_st_atimensec" >&6; }
22928 if test $ac_cv_member_struct_stat_st_atimensec = yes; then
22930 cat >>confdefs.h
<<_ACEOF
22931 #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
22938 # For the 'nfconv' patch (Mac OS X only):
22939 case "${target_os}" in
22941 if test "${enable_nfconv}" = "yes"; then
22942 if test "${ac_cv_header_CoreFoundation_CoreFoundation_h+set}" = set; then
22943 { echo "$as_me:$LINENO: checking for CoreFoundation/CoreFoundation.h" >&5
22944 echo $ECHO_N "checking for CoreFoundation/CoreFoundation.h... $ECHO_C" >&6; }
22945 if test "${ac_cv_header_CoreFoundation_CoreFoundation_h+set}" = set; then
22946 echo $ECHO_N "(cached) $ECHO_C" >&6
22948 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreFoundation_CoreFoundation_h" >&5
22949 echo "${ECHO_T}$ac_cv_header_CoreFoundation_CoreFoundation_h" >&6; }
22951 # Is the header compilable?
22952 { echo "$as_me:$LINENO: checking CoreFoundation/CoreFoundation.h usability" >&5
22953 echo $ECHO_N "checking CoreFoundation/CoreFoundation.h usability... $ECHO_C" >&6; }
22954 cat >conftest.
$ac_ext <<_ACEOF
22957 cat confdefs.h
>>conftest.
$ac_ext
22958 cat >>conftest.
$ac_ext <<_ACEOF
22959 /* end confdefs.h. */
22960 $ac_includes_default
22961 #include <CoreFoundation/CoreFoundation.h>
22963 rm -f conftest.
$ac_objext
22964 if { (ac_try
="$ac_compile"
22965 case "(($ac_try" in
22966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22967 *) ac_try_echo=$ac_try;;
22969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22970 (eval "$ac_compile") 2>conftest.er1
22972 grep -v '^ *+' conftest.er1 >conftest.err
22974 cat conftest.err >&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); } && {
22977 test -z "$ac_c_werror_flag" ||
22978 test ! -s conftest.err
22979 } && test -s conftest.$ac_objext; then
22980 ac_header_compiler=yes
22982 echo "$as_me: failed program was:" >&5
22983 sed 's/^/| /' conftest.$ac_ext >&5
22985 ac_header_compiler=no
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22990 echo "${ECHO_T}$ac_header_compiler" >&6; }
22992 # Is the header present?
22993 { echo "$as_me:$LINENO: checking CoreFoundation/CoreFoundation.h presence" >&5
22994 echo $ECHO_N "checking CoreFoundation/CoreFoundation.h presence... $ECHO_C" >&6; }
22995 cat >conftest.$ac_ext <<_ACEOF
22998 cat confdefs.h >>conftest.$ac_ext
22999 cat >>conftest.$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23001 #include <CoreFoundation/CoreFoundation.h>
23003 if { (ac_try="$ac_cpp conftest.$ac_ext"
23004 case "(($ac_try" in
23005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23006 *) ac_try_echo
=$ac_try;;
23008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23011 grep -v '^ *+' conftest.er1
>conftest.err
23013 cat conftest.err
>&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); } >/dev
/null
&& {
23016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23017 test ! -s conftest.err
23019 ac_header_preproc
=yes
23021 echo "$as_me: failed program was:" >&5
23022 sed 's/^/| /' conftest.
$ac_ext >&5
23024 ac_header_preproc
=no
23027 rm -f conftest.err conftest.
$ac_ext
23028 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23029 echo "${ECHO_T}$ac_header_preproc" >&6; }
23031 # So? What about this header?
23032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23034 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: accepted by the compiler, rejected by the preprocessor!" >&5
23035 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23036 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: proceeding with the compiler's result" >&5
23037 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: proceeding with the compiler's result" >&2;}
23038 ac_header_preproc
=yes
23041 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: present but cannot be compiled" >&5
23042 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: present but cannot be compiled" >&2;}
23043 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: check for missing prerequisite headers?" >&5
23044 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: check for missing prerequisite headers?" >&2;}
23045 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: see the Autoconf documentation" >&5
23046 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: see the Autoconf documentation" >&2;}
23047 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: section \"Present But Cannot Be Compiled\"" >&5
23048 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: section \"Present But Cannot Be Compiled\"" >&2;}
23049 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: proceeding with the preprocessor's result" >&5
23050 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: proceeding with the preprocessor's result" >&2;}
23051 { echo "$as_me:$LINENO: WARNING: CoreFoundation/CoreFoundation.h: in the future, the compiler will take precedence" >&5
23052 echo "$as_me: WARNING: CoreFoundation/CoreFoundation.h: in the future, the compiler will take precedence" >&2;}
23054 ## ----------------------------------------- ##
23055 ## Report this to ntfs-3g-devel@lists.sf.net ##
23056 ## ----------------------------------------- ##
23058 ) |
sed "s/^/$as_me: WARNING: /" >&2
23061 { echo "$as_me:$LINENO: checking for CoreFoundation/CoreFoundation.h" >&5
23062 echo $ECHO_N "checking for CoreFoundation/CoreFoundation.h... $ECHO_C" >&6; }
23063 if test "${ac_cv_header_CoreFoundation_CoreFoundation_h+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23066 ac_cv_header_CoreFoundation_CoreFoundation_h
=$ac_header_preproc
23068 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreFoundation_CoreFoundation_h" >&5
23069 echo "${ECHO_T}$ac_cv_header_CoreFoundation_CoreFoundation_h" >&6; }
23072 if test $ac_cv_header_CoreFoundation_CoreFoundation_h = yes; then
23074 LDFLAGS
="${LDFLAGS} -framework CoreFoundation"
23076 cat >>confdefs.h
<<\_ACEOF
23077 #define ENABLE_NFCONV 1
23082 { { echo "$as_me:$LINENO: error: Cannot find CoreFoundation required for 'nfconv' functionality Mac OS X. You may use the --disable-nfconv 'configure' option to avoid this error." >&5
23083 echo "$as_me: error: Cannot find CoreFoundation required for 'nfconv' functionality Mac OS X. You may use the --disable-nfconv 'configure' option to avoid this error." >&2;}
23084 { (exit 1); exit 1; }; }
23093 # Checks for library functions.
23094 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
23095 # -lseq on Dynix/PTX, -lgen on Unixware.
23096 { echo "$as_me:$LINENO: checking for library containing getmntent" >&5
23097 echo $ECHO_N "checking for library containing getmntent... $ECHO_C" >&6; }
23098 if test "${ac_cv_search_getmntent+set}" = set; then
23099 echo $ECHO_N "(cached) $ECHO_C" >&6
23101 ac_func_search_save_LIBS
=$LIBS
23102 cat >conftest.
$ac_ext <<_ACEOF
23105 cat confdefs.h
>>conftest.
$ac_ext
23106 cat >>conftest.
$ac_ext <<_ACEOF
23107 /* end confdefs.h. */
23109 /* Override any GCC internal prototype to avoid an error.
23110 Use char because int might match the return type of a GCC
23111 builtin and then its argument prototype would still apply. */
23119 return getmntent ();
23124 for ac_lib
in '' sun
seq gen
; do
23125 if test -z "$ac_lib"; then
23126 ac_res
="none required"
23129 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23131 rm -f conftest.
$ac_objext conftest
$ac_exeext
23132 if { (ac_try
="$ac_link"
23133 case "(($ac_try" in
23134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23135 *) ac_try_echo=$ac_try;;
23137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23138 (eval "$ac_link") 2>conftest.er1
23140 grep -v '^ *+' conftest.er1 >conftest.err
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } && {
23145 test -z "$ac_c_werror_flag" ||
23146 test ! -s conftest.err
23147 } && test -s conftest$ac_exeext &&
23148 $as_test_x conftest$ac_exeext; then
23149 ac_cv_search_getmntent=$ac_res
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23159 if test "${ac_cv_search_getmntent+set}" = set; then
23163 if test "${ac_cv_search_getmntent+set}" = set; then
23166 ac_cv_search_getmntent=no
23168 rm conftest.$ac_ext
23169 LIBS=$ac_func_search_save_LIBS
23171 { echo "$as_me:$LINENO: result: $ac_cv_search_getmntent" >&5
23172 echo "${ECHO_T}$ac_cv_search_getmntent" >&6; }
23173 ac_res=$ac_cv_search_getmntent
23174 if test "$ac_res" != no; then
23175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23176 ac_cv_func_getmntent=yes
23178 cat >>confdefs.h <<\_ACEOF
23179 #define HAVE_GETMNTENT
23183 ac_cv_func_getmntent=no
23188 { echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
23189 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6; }
23190 if test "${ac_cv_func_mbrtowc+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 cat >conftest.$ac_ext <<_ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23204 char const s[] = "";
23207 return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
23212 rm -f conftest.$ac_objext conftest$ac_exeext
23213 if { (ac_try="$ac_link"
23214 case "(($ac_try" in
23215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23216 *) ac_try_echo
=$ac_try;;
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_link") 2>conftest.er1
23221 grep -v '^ *+' conftest.er1
>conftest.err
23223 cat conftest.err
>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } && {
23226 test -z "$ac_c_werror_flag" ||
23227 test ! -s conftest.err
23228 } && test -s conftest
$ac_exeext &&
23229 $as_test_x conftest
$ac_exeext; then
23230 ac_cv_func_mbrtowc
=yes
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.
$ac_ext >&5
23235 ac_cv_func_mbrtowc
=no
23238 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23239 conftest
$ac_exeext conftest.
$ac_ext
23241 { echo "$as_me:$LINENO: result: $ac_cv_func_mbrtowc" >&5
23242 echo "${ECHO_T}$ac_cv_func_mbrtowc" >&6; }
23243 if test $ac_cv_func_mbrtowc = yes; then
23245 cat >>confdefs.h
<<\_ACEOF
23246 #define HAVE_MBRTOWC 1
23251 { echo "$as_me:$LINENO: checking for working memcmp" >&5
23252 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
23253 if test "${ac_cv_func_memcmp_working+set}" = set; then
23254 echo $ECHO_N "(cached) $ECHO_C" >&6
23256 if test "$cross_compiling" = yes; then
23257 ac_cv_func_memcmp_working
=no
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23270 /* Some versions of memcmp are not 8-bit clean. */
23271 char c0 = '\100', c1 = '\200', c2 = '\201';
23272 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
23275 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
23276 or more and with at least one buffer not starting on a 4-byte boundary.
23277 William Lewis provided this test program. */
23282 for (i = 0; i < 4; i++)
23286 strcpy (a, "--------01111111");
23287 strcpy (b, "--------10000000");
23288 if (memcmp (a, b, 16) >= 0)
23298 rm -f conftest
$ac_exeext
23299 if { (ac_try
="$ac_link"
23300 case "(($ac_try" in
23301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23302 *) ac_try_echo=$ac_try;;
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_link") 2>&5
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23309 { (case "(($ac_try" in
23310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23311 *) ac_try_echo
=$ac_try;;
23313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23314 (eval "$ac_try") 2>&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_func_memcmp_working
=yes
23320 echo "$as_me: program exited with status $ac_status" >&5
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.
$ac_ext >&5
23324 ( exit $ac_status )
23325 ac_cv_func_memcmp_working
=no
23327 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23332 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
23333 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
23334 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
23335 *" memcmp.$ac_objext "* ) ;;
23336 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
23341 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
23342 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
23343 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
23344 echo $ECHO_N "(cached) $ECHO_C" >&6
23346 rm -f conftest.sym conftest.
file
23347 echo >conftest.
file
23348 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
23349 if test "$cross_compiling" = yes; then
23350 ac_cv_func_lstat_dereferences_slashed_symlink
=no
23352 cat >conftest.
$ac_ext <<_ACEOF
23355 cat confdefs.h
>>conftest.
$ac_ext
23356 cat >>conftest.
$ac_ext <<_ACEOF
23357 /* end confdefs.h. */
23358 $ac_includes_default
23363 /* Linux will dereference the symlink and fail.
23364 That is better in the sense that it means we will not
23365 have to compile and use the lstat wrapper. */
23366 return lstat ("conftest.sym/", &sbuf) == 0;
23371 rm -f conftest
$ac_exeext
23372 if { (ac_try
="$ac_link"
23373 case "(($ac_try" in
23374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;;
23377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23378 (eval "$ac_link") 2>&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23382 { (case "(($ac_try" in
23383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23384 *) ac_try_echo
=$ac_try;;
23386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23387 (eval "$ac_try") 2>&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; }; then
23391 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
23393 echo "$as_me: program exited with status $ac_status" >&5
23394 echo "$as_me: failed program was:" >&5
23395 sed 's/^/| /' conftest.
$ac_ext >&5
23397 ( exit $ac_status )
23398 ac_cv_func_lstat_dereferences_slashed_symlink
=no
23400 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23405 # If the `ln -s' command failed, then we probably don't even
23406 # have an lstat function.
23407 ac_cv_func_lstat_dereferences_slashed_symlink
=no
23409 rm -f conftest.sym conftest.
file
23412 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
23413 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
23415 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
23417 cat >>confdefs.h
<<_ACEOF
23418 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
23422 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
23423 case " $LIBOBJS " in
23424 *" lstat.$ac_objext "* ) ;;
23425 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
23431 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
23432 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
23433 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
23434 echo $ECHO_N "(cached) $ECHO_C" >&6
23436 if test "$cross_compiling" = yes; then
23437 ac_cv_func_stat_empty_string_bug
=yes
23439 cat >conftest.
$ac_ext <<_ACEOF
23442 cat confdefs.h
>>conftest.
$ac_ext
23443 cat >>conftest.
$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 $ac_includes_default
23450 return stat ("", &sbuf) == 0;
23455 rm -f conftest
$ac_exeext
23456 if { (ac_try
="$ac_link"
23457 case "(($ac_try" in
23458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23459 *) ac_try_echo=$ac_try;;
23461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23462 (eval "$ac_link") 2>&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23466 { (case "(($ac_try" in
23467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23468 *) ac_try_echo
=$ac_try;;
23470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23471 (eval "$ac_try") 2>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; }; then
23475 ac_cv_func_stat_empty_string_bug
=no
23477 echo "$as_me: program exited with status $ac_status" >&5
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.
$ac_ext >&5
23481 ( exit $ac_status )
23482 ac_cv_func_stat_empty_string_bug
=yes
23484 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23489 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
23490 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
23491 if test $ac_cv_func_stat_empty_string_bug = yes; then
23492 case " $LIBOBJS " in
23493 *" stat.$ac_objext "* ) ;;
23494 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
23499 cat >>confdefs.h
<<_ACEOF
23500 #define HAVE_STAT_EMPTY_STRING_BUG 1
23506 for ac_func
in strftime
23508 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23509 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23511 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23512 echo $ECHO_N "(cached) $ECHO_C" >&6
23514 cat >conftest.
$ac_ext <<_ACEOF
23517 cat confdefs.h
>>conftest.
$ac_ext
23518 cat >>conftest.
$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23522 #define $ac_func innocuous_$ac_func
23524 /* System header to define __stub macros and hopefully few prototypes,
23525 which can conflict with char $ac_func (); below.
23526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23527 <limits.h> exists even on freestanding compilers. */
23530 # include <limits.h>
23532 # include <assert.h>
23537 /* Override any GCC internal prototype to avoid an error.
23538 Use char because int might match the return type of a GCC
23539 builtin and then its argument prototype would still apply. */
23544 /* The GNU C library defines this for functions which it implements
23545 to always fail with ENOSYS. Some functions are actually named
23546 something starting with __ and the normal name is an alias. */
23547 #if defined __stub_$ac_func || defined __stub___$ac_func
23554 return $ac_func ();
23559 rm -f conftest.
$ac_objext conftest
$ac_exeext
23560 if { (ac_try
="$ac_link"
23561 case "(($ac_try" in
23562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23563 *) ac_try_echo=$ac_try;;
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_link") 2>conftest.er1
23568 grep -v '^ *+' conftest.er1 >conftest.err
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } && {
23573 test -z "$ac_c_werror_flag" ||
23574 test ! -s conftest.err
23575 } && test -s conftest$ac_exeext &&
23576 $as_test_x conftest$ac_exeext; then
23577 eval "$as_ac_var=yes"
23579 echo "$as_me: failed program was:" >&5
23580 sed 's/^/| /' conftest.$ac_ext >&5
23582 eval "$as_ac_var=no"
23585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23586 conftest$ac_exeext conftest.$ac_ext
23588 ac_res=`eval echo '${'$as_ac_var'}'`
23589 { echo "$as_me:$LINENO: result: $ac_res" >&5
23590 echo "${ECHO_T}$ac_res" >&6; }
23591 if test `eval echo '${'$as_ac_var'}'` = yes; then
23592 cat >>confdefs.h <<_ACEOF
23593 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
23597 # strftime is in -lintl on SCO UNIX.
23598 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
23599 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
23600 if test "${ac_cv_lib_intl_strftime+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23603 ac_check_lib_save_LIBS=$LIBS
23604 LIBS="-lintl $LIBS"
23605 cat >conftest.$ac_ext <<_ACEOF
23608 cat confdefs.h >>conftest.$ac_ext
23609 cat >>conftest.$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23612 /* Override any GCC internal prototype to avoid an error.
23613 Use char because int might match the return type of a GCC
23614 builtin and then its argument prototype would still apply. */
23622 return strftime ();
23627 rm -f conftest.$ac_objext conftest$ac_exeext
23628 if { (ac_try="$ac_link"
23629 case "(($ac_try" in
23630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23631 *) ac_try_echo
=$ac_try;;
23633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23634 (eval "$ac_link") 2>conftest.er1
23636 grep -v '^ *+' conftest.er1
>conftest.err
23638 cat conftest.err
>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } && {
23641 test -z "$ac_c_werror_flag" ||
23642 test ! -s conftest.err
23643 } && test -s conftest
$ac_exeext &&
23644 $as_test_x conftest
$ac_exeext; then
23645 ac_cv_lib_intl_strftime
=yes
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.
$ac_ext >&5
23650 ac_cv_lib_intl_strftime
=no
23653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23654 conftest
$ac_exeext conftest.
$ac_ext
23655 LIBS
=$ac_check_lib_save_LIBS
23657 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
23658 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
23659 if test $ac_cv_lib_intl_strftime = yes; then
23660 cat >>confdefs.h
<<\_ACEOF
23661 #define HAVE_STRFTIME 1
23664 LIBS
="-lintl $LIBS"
23674 for ac_header
in $ac_header_list
23676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23677 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23680 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 ac_res
=`eval echo '${'$as_ac_Header'}'`
23684 { echo "$as_me:$LINENO: result: $ac_res" >&5
23685 echo "${ECHO_T}$ac_res" >&6; }
23687 # Is the header compilable?
23688 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23690 cat >conftest.
$ac_ext <<_ACEOF
23693 cat confdefs.h
>>conftest.
$ac_ext
23694 cat >>conftest.
$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 $ac_includes_default
23697 #include <$ac_header>
23699 rm -f conftest.
$ac_objext
23700 if { (ac_try
="$ac_compile"
23701 case "(($ac_try" in
23702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23703 *) ac_try_echo=$ac_try;;
23705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23706 (eval "$ac_compile") 2>conftest.er1
23708 grep -v '^ *+' conftest.er1 >conftest.err
23710 cat conftest.err >&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } && {
23713 test -z "$ac_c_werror_flag" ||
23714 test ! -s conftest.err
23715 } && test -s conftest.$ac_objext; then
23716 ac_header_compiler=yes
23718 echo "$as_me: failed program was:" >&5
23719 sed 's/^/| /' conftest.$ac_ext >&5
23721 ac_header_compiler=no
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23726 echo "${ECHO_T}$ac_header_compiler" >&6; }
23728 # Is the header present?
23729 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23731 cat >conftest.$ac_ext <<_ACEOF
23734 cat confdefs.h >>conftest.$ac_ext
23735 cat >>conftest.$ac_ext <<_ACEOF
23736 /* end confdefs.h. */
23737 #include <$ac_header>
23739 if { (ac_try="$ac_cpp conftest.$ac_ext"
23740 case "(($ac_try" in
23741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23742 *) ac_try_echo
=$ac_try;;
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23747 grep -v '^ *+' conftest.er1
>conftest.err
23749 cat conftest.err
>&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } >/dev
/null
&& {
23752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23753 test ! -s conftest.err
23755 ac_header_preproc
=yes
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.
$ac_ext >&5
23760 ac_header_preproc
=no
23763 rm -f conftest.err conftest.
$ac_ext
23764 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23765 echo "${ECHO_T}$ac_header_preproc" >&6; }
23767 # So? What about this header?
23768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23774 ac_header_preproc
=yes
23777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23790 ## ----------------------------------------- ##
23791 ## Report this to ntfs-3g-devel@lists.sf.net ##
23792 ## ----------------------------------------- ##
23794 ) |
sed "s/^/$as_me: WARNING: /" >&2
23797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23799 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 eval "$as_ac_Header=\$ac_header_preproc"
23804 ac_res
=`eval echo '${'$as_ac_Header'}'`
23805 { echo "$as_me:$LINENO: result: $ac_res" >&5
23806 echo "${ECHO_T}$ac_res" >&6; }
23809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23810 cat >>confdefs.h
<<_ACEOF
23811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23826 { echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
23827 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; }
23828 if test "${ac_cv_func_utime_null+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23831 rm -f conftest.data
; >conftest.data
23832 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
23833 if test "$cross_compiling" = yes; then
23834 ac_cv_func_utime_null
=no
23836 cat >conftest.
$ac_ext <<_ACEOF
23839 cat confdefs.h
>>conftest.
$ac_ext
23840 cat >>conftest.
$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 #ifdef HAVE_UTIME_H
23844 # include <utime.h>
23850 return ! (stat ("conftest.data", &s) == 0
23851 && utime ("conftest.data", 0) == 0
23852 && stat ("conftest.data", &t) == 0
23853 && t.st_mtime >= s.st_mtime
23854 && t.st_mtime - s.st_mtime < 120);
23859 rm -f conftest
$ac_exeext
23860 if { (ac_try
="$ac_link"
23861 case "(($ac_try" in
23862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23863 *) ac_try_echo=$ac_try;;
23865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23866 (eval "$ac_link") 2>&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23870 { (case "(($ac_try" in
23871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23872 *) ac_try_echo
=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_try") 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; }; then
23879 ac_cv_func_utime_null
=yes
23881 echo "$as_me: program exited with status $ac_status" >&5
23882 echo "$as_me: failed program was:" >&5
23883 sed 's/^/| /' conftest.
$ac_ext >&5
23885 ( exit $ac_status )
23886 ac_cv_func_utime_null
=no
23888 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23893 { echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
23894 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
23895 if test $ac_cv_func_utime_null = yes; then
23897 cat >>confdefs.h
<<\_ACEOF
23898 #define HAVE_UTIME_NULL 1
23902 rm -f conftest.data
23905 for ac_func
in vprintf
23907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23908 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23910 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23911 echo $ECHO_N "(cached) $ECHO_C" >&6
23913 cat >conftest.
$ac_ext <<_ACEOF
23916 cat confdefs.h
>>conftest.
$ac_ext
23917 cat >>conftest.
$ac_ext <<_ACEOF
23918 /* end confdefs.h. */
23919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23921 #define $ac_func innocuous_$ac_func
23923 /* System header to define __stub macros and hopefully few prototypes,
23924 which can conflict with char $ac_func (); below.
23925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23926 <limits.h> exists even on freestanding compilers. */
23929 # include <limits.h>
23931 # include <assert.h>
23936 /* Override any GCC internal prototype to avoid an error.
23937 Use char because int might match the return type of a GCC
23938 builtin and then its argument prototype would still apply. */
23943 /* The GNU C library defines this for functions which it implements
23944 to always fail with ENOSYS. Some functions are actually named
23945 something starting with __ and the normal name is an alias. */
23946 #if defined __stub_$ac_func || defined __stub___$ac_func
23953 return $ac_func ();
23958 rm -f conftest.
$ac_objext conftest
$ac_exeext
23959 if { (ac_try
="$ac_link"
23960 case "(($ac_try" in
23961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23962 *) ac_try_echo=$ac_try;;
23964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23965 (eval "$ac_link") 2>conftest.er1
23967 grep -v '^ *+' conftest.er1 >conftest.err
23969 cat conftest.err >&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } && {
23972 test -z "$ac_c_werror_flag" ||
23973 test ! -s conftest.err
23974 } && test -s conftest$ac_exeext &&
23975 $as_test_x conftest$ac_exeext; then
23976 eval "$as_ac_var=yes"
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23981 eval "$as_ac_var=no"
23984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23985 conftest$ac_exeext conftest.$ac_ext
23987 ac_res=`eval echo '${'$as_ac_var'}'`
23988 { echo "$as_me:$LINENO: result: $ac_res" >&5
23989 echo "${ECHO_T}$ac_res" >&6; }
23990 if test `eval echo '${'$as_ac_var'}'` = yes; then
23991 cat >>confdefs.h <<_ACEOF
23992 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
23995 { echo "$as_me:$LINENO: checking for _doprnt" >&5
23996 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
23997 if test "${ac_cv_func__doprnt+set}" = set; then
23998 echo $ECHO_N "(cached) $ECHO_C" >&6
24000 cat >conftest.$ac_ext <<_ACEOF
24003 cat confdefs.h >>conftest.$ac_ext
24004 cat >>conftest.$ac_ext <<_ACEOF
24005 /* end confdefs.h. */
24006 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
24007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24008 #define _doprnt innocuous__doprnt
24010 /* System header to define __stub macros and hopefully few prototypes,
24011 which can conflict with char _doprnt (); below.
24012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24013 <limits.h> exists even on freestanding compilers. */
24016 # include <limits.h>
24018 # include <assert.h>
24023 /* Override any GCC internal prototype to avoid an error.
24024 Use char because int might match the return type of a GCC
24025 builtin and then its argument prototype would still apply. */
24030 /* The GNU C library defines this for functions which it implements
24031 to always fail with ENOSYS. Some functions are actually named
24032 something starting with __ and the normal name is an alias. */
24033 #if defined __stub__doprnt || defined __stub____doprnt
24045 rm -f conftest.$ac_objext conftest$ac_exeext
24046 if { (ac_try="$ac_link"
24047 case "(($ac_try" in
24048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24049 *) ac_try_echo
=$ac_try;;
24051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24052 (eval "$ac_link") 2>conftest.er1
24054 grep -v '^ *+' conftest.er1
>conftest.err
24056 cat conftest.err
>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); } && {
24059 test -z "$ac_c_werror_flag" ||
24060 test ! -s conftest.err
24061 } && test -s conftest
$ac_exeext &&
24062 $as_test_x conftest
$ac_exeext; then
24063 ac_cv_func__doprnt
=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.
$ac_ext >&5
24068 ac_cv_func__doprnt
=no
24071 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24072 conftest
$ac_exeext conftest.
$ac_ext
24074 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
24075 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
24076 if test $ac_cv_func__doprnt = yes; then
24078 cat >>confdefs.h
<<\_ACEOF
24079 #define HAVE_DOPRNT 1
24121 atexit
basename daemon dup2 fdatasync ffs getopt_long hasmntopt \
24122 mbsinit memmove memset realpath regcomp setlocale setxattr \
24123 strcasecmp strchr strdup strerror strnlen strsep strtol strtoul \
24124 sysconf utime utimensat gettimeofday clock_gettime fork memcpy random snprintf \
24127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24130 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24133 cat >conftest.
$ac_ext <<_ACEOF
24136 cat confdefs.h
>>conftest.
$ac_ext
24137 cat >>conftest.
$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24141 #define $ac_func innocuous_$ac_func
24143 /* System header to define __stub macros and hopefully few prototypes,
24144 which can conflict with char $ac_func (); below.
24145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24146 <limits.h> exists even on freestanding compilers. */
24149 # include <limits.h>
24151 # include <assert.h>
24156 /* Override any GCC internal prototype to avoid an error.
24157 Use char because int might match the return type of a GCC
24158 builtin and then its argument prototype would still apply. */
24163 /* The GNU C library defines this for functions which it implements
24164 to always fail with ENOSYS. Some functions are actually named
24165 something starting with __ and the normal name is an alias. */
24166 #if defined __stub_$ac_func || defined __stub___$ac_func
24173 return $ac_func ();
24178 rm -f conftest.
$ac_objext conftest
$ac_exeext
24179 if { (ac_try
="$ac_link"
24180 case "(($ac_try" in
24181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24182 *) ac_try_echo=$ac_try;;
24184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24185 (eval "$ac_link") 2>conftest.er1
24187 grep -v '^ *+' conftest.er1 >conftest.err
24189 cat conftest.err >&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); } && {
24192 test -z "$ac_c_werror_flag" ||
24193 test ! -s conftest.err
24194 } && test -s conftest$ac_exeext &&
24195 $as_test_x conftest$ac_exeext; then
24196 eval "$as_ac_var=yes"
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.$ac_ext >&5
24201 eval "$as_ac_var=no"
24204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24205 conftest$ac_exeext conftest.$ac_ext
24207 ac_res=`eval echo '${'$as_ac_var'}'`
24208 { echo "$as_me:$LINENO: result: $ac_res" >&5
24209 echo "${ECHO_T}$ac_res" >&6; }
24210 if test `eval echo '${'$as_ac_var'}'` = yes; then
24211 cat >>confdefs.h <<_ACEOF
24212 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
24218 # Check whether --enable-largefile was given.
24219 if test "${enable_largefile+set}" = set; then
24220 enableval=$enable_largefile;
24223 if test "$enable_largefile" != no; then
24225 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
24226 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
24227 if test "${ac_cv_sys_largefile_CC+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 ac_cv_sys_largefile_CC=no
24231 if test "$GCC" != yes; then
24234 # IRIX 6.2 and later do not support large files by default,
24235 # so use the C compiler's -n32 option if that helps.
24236 cat >conftest.$ac_ext <<_ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 #include <sys/types.h>
24243 /* Check that off_t can represent 2**63 - 1 correctly.
24244 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24245 since some C++ compilers masquerading as C compilers
24246 incorrectly reject 9223372036854775807. */
24247 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24248 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24249 && LARGE_OFF_T % 2147483647 == 1)
24259 rm -f conftest.$ac_objext
24260 if { (ac_try="$ac_compile"
24261 case "(($ac_try" in
24262 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24263 *) ac_try_echo
=$ac_try;;
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_compile") 2>conftest.er1
24268 grep -v '^ *+' conftest.er1
>conftest.err
24270 cat conftest.err
>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_c_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest.
$ac_objext; then
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.
$ac_ext >&5
24284 rm -f core conftest.err conftest.
$ac_objext
24286 rm -f conftest.
$ac_objext
24287 if { (ac_try
="$ac_compile"
24288 case "(($ac_try" in
24289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24290 *) ac_try_echo=$ac_try;;
24292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24293 (eval "$ac_compile") 2>conftest.er1
24295 grep -v '^ *+' conftest.er1 >conftest.err
24297 cat conftest.err >&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); } && {
24300 test -z "$ac_c_werror_flag" ||
24301 test ! -s conftest.err
24302 } && test -s conftest.$ac_objext; then
24303 ac_cv_sys_largefile_CC=' -n32'; break
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.$ac_ext >&5
24311 rm -f core conftest.err conftest.$ac_objext
24315 rm -f conftest.$ac_ext
24318 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
24319 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
24320 if test "$ac_cv_sys_largefile_CC" != no; then
24321 CC=$CC$ac_cv_sys_largefile_CC
24324 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24325 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24326 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24327 echo $ECHO_N "(cached) $ECHO_C" >&6
24330 cat >conftest.$ac_ext <<_ACEOF
24333 cat confdefs.h >>conftest.$ac_ext
24334 cat >>conftest.$ac_ext <<_ACEOF
24335 /* end confdefs.h. */
24336 #include <sys/types.h>
24337 /* Check that off_t can represent 2**63 - 1 correctly.
24338 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24339 since some C++ compilers masquerading as C compilers
24340 incorrectly reject 9223372036854775807. */
24341 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24342 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24343 && LARGE_OFF_T % 2147483647 == 1)
24353 rm -f conftest.$ac_objext
24354 if { (ac_try="$ac_compile"
24355 case "(($ac_try" in
24356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24357 *) ac_try_echo
=$ac_try;;
24359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24360 (eval "$ac_compile") 2>conftest.er1
24362 grep -v '^ *+' conftest.er1
>conftest.err
24364 cat conftest.err
>&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } && {
24367 test -z "$ac_c_werror_flag" ||
24368 test ! -s conftest.err
24369 } && test -s conftest.
$ac_objext; then
24370 ac_cv_sys_file_offset_bits
=no
; break
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.
$ac_ext >&5
24378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24379 cat >conftest.
$ac_ext <<_ACEOF
24382 cat confdefs.h
>>conftest.
$ac_ext
24383 cat >>conftest.
$ac_ext <<_ACEOF
24384 /* end confdefs.h. */
24385 #define _FILE_OFFSET_BITS 64
24386 #include <sys/types.h>
24387 /* Check that off_t can represent 2**63 - 1 correctly.
24388 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24389 since some C++ compilers masquerading as C compilers
24390 incorrectly reject 9223372036854775807. */
24391 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24392 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24393 && LARGE_OFF_T % 2147483647 == 1)
24403 rm -f conftest.
$ac_objext
24404 if { (ac_try
="$ac_compile"
24405 case "(($ac_try" in
24406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24407 *) ac_try_echo=$ac_try;;
24409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24410 (eval "$ac_compile") 2>conftest.er1
24412 grep -v '^ *+' conftest.er1 >conftest.err
24414 cat conftest.err >&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && {
24417 test -z "$ac_c_werror_flag" ||
24418 test ! -s conftest.err
24419 } && test -s conftest.$ac_objext; then
24420 ac_cv_sys_file_offset_bits=64; break
24422 echo "$as_me: failed program was:" >&5
24423 sed 's/^/| /' conftest.$ac_ext >&5
24428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24429 ac_cv_sys_file_offset_bits=unknown
24433 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24434 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24435 case $ac_cv_sys_file_offset_bits in #(
24438 cat >>confdefs.h <<_ACEOF
24439 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24444 if test $ac_cv_sys_file_offset_bits = unknown; then
24445 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24446 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24447 if test "${ac_cv_sys_large_files+set}" = set; then
24448 echo $ECHO_N "(cached) $ECHO_C" >&6
24451 cat >conftest.$ac_ext <<_ACEOF
24454 cat confdefs.h >>conftest.$ac_ext
24455 cat >>conftest.$ac_ext <<_ACEOF
24456 /* end confdefs.h. */
24457 #include <sys/types.h>
24458 /* Check that off_t can represent 2**63 - 1 correctly.
24459 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24460 since some C++ compilers masquerading as C compilers
24461 incorrectly reject 9223372036854775807. */
24462 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24463 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24464 && LARGE_OFF_T % 2147483647 == 1)
24474 rm -f conftest.$ac_objext
24475 if { (ac_try="$ac_compile"
24476 case "(($ac_try" in
24477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24478 *) ac_try_echo
=$ac_try;;
24480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24481 (eval "$ac_compile") 2>conftest.er1
24483 grep -v '^ *+' conftest.er1
>conftest.err
24485 cat conftest.err
>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); } && {
24488 test -z "$ac_c_werror_flag" ||
24489 test ! -s conftest.err
24490 } && test -s conftest.
$ac_objext; then
24491 ac_cv_sys_large_files
=no
; break
24493 echo "$as_me: failed program was:" >&5
24494 sed 's/^/| /' conftest.
$ac_ext >&5
24499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24500 cat >conftest.
$ac_ext <<_ACEOF
24503 cat confdefs.h
>>conftest.
$ac_ext
24504 cat >>conftest.
$ac_ext <<_ACEOF
24505 /* end confdefs.h. */
24506 #define _LARGE_FILES 1
24507 #include <sys/types.h>
24508 /* Check that off_t can represent 2**63 - 1 correctly.
24509 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24510 since some C++ compilers masquerading as C compilers
24511 incorrectly reject 9223372036854775807. */
24512 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24513 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24514 && LARGE_OFF_T % 2147483647 == 1)
24524 rm -f conftest.
$ac_objext
24525 if { (ac_try
="$ac_compile"
24526 case "(($ac_try" in
24527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24528 *) ac_try_echo=$ac_try;;
24530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24531 (eval "$ac_compile") 2>conftest.er1
24533 grep -v '^ *+' conftest.er1 >conftest.err
24535 cat conftest.err >&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } && {
24538 test -z "$ac_c_werror_flag" ||
24539 test ! -s conftest.err
24540 } && test -s conftest.$ac_objext; then
24541 ac_cv_sys_large_files=1; break
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_cv_sys_large_files=unknown
24554 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24555 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24556 case $ac_cv_sys_large_files in #(
24559 cat >>confdefs.h <<_ACEOF
24560 #define _LARGE_FILES $ac_cv_sys_large_files
24569 if test "$GCC" = "yes" ; then
24570 # We add -Wall to enable some compiler warnings.
24571 CFLAGS="${CFLAGS} -Wall"
24574 if test "${enable_pedantic}" = "yes"; then
24575 enable_warnings="yes"
24576 CFLAGS="${CFLAGS} -pedantic"
24579 if test "${enable_warnings}" = "yes"; then
24580 CFLAGS="${CFLAGS} -W -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wcast-qual -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wmultichar -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wformat -Wformat-security -Wuninitialized"
24583 if test "${enable_debug}" = "yes"; then
24584 CFLAGS="${CFLAGS} -ggdb3 -DDEBUG"
24586 cat >>confdefs.h <<\_ACEOF
24587 #define ENABLE_DEBUG 1
24592 test "${enable_device_default_io_ops}" = "no" &&
24593 cat >>confdefs.h <<\_ACEOF
24594 #define NO_NTFS_DEVICE_DEFAULT_IO_OPS 1
24598 test "${enable_mtab}" = "no" &&
24599 cat >>confdefs.h <<\_ACEOF
24600 #define IGNORE_MTAB 1
24603 test "${enable_posix_acls}" != "no" &&
24604 cat >>confdefs.h <<\_ACEOF
24605 #define POSIXACLS 1
24608 test "${enable_xattr_mappings}" != "no" &&
24609 cat >>confdefs.h <<\_ACEOF
24610 #define XATTR_MAPPINGS 1
24614 test "${enable_really_static}" = "yes" && enable_library="no"
24615 test "${enable_library}" = "no" && enable_ldconfig="no"
24617 if test "x${DISTCHECK_HACK}" != "x"; then
24618 enable_mount_helper="no"
24619 enable_ldconfig="no"
24623 pkgconfigdir="\$(libdir)/pkgconfig"
24624 ntfs3gincludedir="\$(includedir)/ntfs-3g"
24625 # Executables should be installed to the root filesystem, otherwise
24626 # automounting NTFS volumes can fail during boot if the driver binaries
24627 # and their dependencies are on an unmounted partition. Use --exec-prefix
24628 # to override this.
24629 if test "x${exec_prefix}" = "xNONE"; then
24631 rootsbindir="/sbin"
24632 rootlibdir="/lib${libdir##*/lib}"
24634 rootbindir="\$(bindir)"
24635 rootsbindir="\$(sbindir)"
24636 rootlibdir="\$(libdir)"
24649 if test "${with_fuse}" = "internal"; then
24650 FUSE_INTERNAL_TRUE=
24651 FUSE_INTERNAL_FALSE='#'
24653 FUSE_INTERNAL_TRUE='#'
24654 FUSE_INTERNAL_FALSE=
24657 if test "${enable_ldscript}" = "yes"; then
24658 GENERATE_LDSCRIPT_TRUE=
24659 GENERATE_LDSCRIPT_FALSE='#'
24661 GENERATE_LDSCRIPT_TRUE='#'
24662 GENERATE_LDSCRIPT_FALSE=
24665 if test "${WINDOWS}" = "yes"; then
24673 if test "${enable_device_default_io_ops}" = "yes"; then
24674 NTFS_DEVICE_DEFAULT_IO_OPS_TRUE=
24675 NTFS_DEVICE_DEFAULT_IO_OPS_FALSE='#'
24677 NTFS_DEVICE_DEFAULT_IO_OPS_TRUE='#'
24678 NTFS_DEVICE_DEFAULT_IO_OPS_FALSE=
24681 if test "${enable_ldconfig}" = "yes"; then
24683 RUN_LDCONFIG_FALSE='#'
24685 RUN_LDCONFIG_TRUE='#'
24686 RUN_LDCONFIG_FALSE=
24689 if test "${enable_really_static}" = "yes"; then
24691 REALLYSTATIC_FALSE='#'
24693 REALLYSTATIC_TRUE='#'
24694 REALLYSTATIC_FALSE=
24697 if test "${enable_library}" = "yes"; then
24698 INSTALL_LIBRARY_TRUE=
24699 INSTALL_LIBRARY_FALSE='#'
24701 INSTALL_LIBRARY_TRUE='#'
24702 INSTALL_LIBRARY_FALSE=
24705 if test "${enable_mount_helper}" = "yes"; then
24706 ENABLE_MOUNT_HELPER_TRUE=
24707 ENABLE_MOUNT_HELPER_FALSE='#'
24709 ENABLE_MOUNT_HELPER_TRUE='#'
24710 ENABLE_MOUNT_HELPER_FALSE=
24713 if test "${enable_ntfs_3g}" = "yes"; then
24714 ENABLE_NTFS_3G_TRUE=
24715 ENABLE_NTFS_3G_FALSE='#'
24717 ENABLE_NTFS_3G_TRUE='#'
24718 ENABLE_NTFS_3G_FALSE=
24721 if test "${enable_ntfsprogs}" = "yes"; then
24722 ENABLE_NTFSPROGS_TRUE=
24723 ENABLE_NTFSPROGS_FALSE='#'
24725 ENABLE_NTFSPROGS_TRUE='#'
24726 ENABLE_NTFSPROGS_FALSE=
24729 if test "${enable_extras}" = "yes"; then
24730 ENABLE_EXTRAS_TRUE=
24731 ENABLE_EXTRAS_FALSE='#'
24733 ENABLE_EXTRAS_TRUE='#'
24734 ENABLE_EXTRAS_FALSE=
24738 # workaround for <autoconf-2.60
24739 if test -z "${docdir}"; then
24740 docdir="\$(datarootdir)/doc/\$(PACKAGE_NAME)"
24743 # workaround for <automake-1.10
24744 if test -z "${MKDIR_P}"; then
24745 MKDIR_P="\$(mkdir_p)"
24750 ac_config_files="$ac_config_files Makefile include/Makefile include/fuse-lite/Makefile include/ntfs-3g/Makefile libfuse-lite/Makefile libntfs-3g/Makefile libntfs-3g/libntfs-3g.pc libntfs-3g/libntfs-3g.script.so ntfsprogs/Makefile ntfsprogs/mkntfs.8 ntfsprogs/ntfscat.8 ntfsprogs/ntfsclone.8 ntfsprogs/ntfscluster.8 ntfsprogs/ntfscmp.8 ntfsprogs/ntfscp.8 ntfsprogs/ntfsfix.8 ntfsprogs/ntfsinfo.8 ntfsprogs/ntfslabel.8 ntfsprogs/ntfsls.8 ntfsprogs/ntfsprogs.8 ntfsprogs/ntfsresize.8 ntfsprogs/ntfsundelete.8 src/Makefile src/ntfs-3g.8 src/ntfs-3g.probe.8 src/ntfs-3g.usermap.8 src/ntfs-3g.secaudit.8"
24752 cat >confcache <<\_ACEOF
24753 # This file is a shell script that caches the results of configure
24754 # tests run on this system so they can be shared between configure
24755 # scripts and configure runs, see configure's option --config-cache.
24756 # It is not useful on other systems. If it contains results you don't
24757 # want to keep, you may remove or edit it.
24759 # config.status only pays attention to the cache file if you give it
24760 # the --recheck option to rerun configure.
24762 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
24763 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24764 # following values.
24768 # The following way of writing the cache mishandles newlines in values,
24769 # but we know of no workaround that is simple, portable, and efficient.
24770 # So, we kill variables containing newlines.
24771 # Ultrix sh set writes to stderr and can't be redirected directly,
24772 # and sets the high bit in the cache file unless we assign to the vars.
24774 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24775 eval ac_val
=\$
$ac_var
24779 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24780 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24783 _ | IFS | as_nl
) ;; #(
24784 *) $as_unset $ac_var ;;
24790 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24791 *${as_nl}ac_space
=\
*)
24792 # `set' does not quote correctly, so add quotes (double-quote
24793 # substitution turns \\\\ into \\, and sed turns \\ into \).
24796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24799 # `set' quotes correctly as required by POSIX, so do not add quotes.
24800 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24809 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24811 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24813 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24814 if test -w "$cache_file"; then
24815 test "x$cache_file" != "x/dev/null" &&
24816 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24817 echo "$as_me: updating cache $cache_file" >&6;}
24818 cat confcache
>$cache_file
24820 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24821 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24826 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24827 # Let make expand exec_prefix.
24828 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24830 DEFS
=-DHAVE_CONFIG_H
24834 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24835 # 1. Remove the extension, and $U if already installed.
24836 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24837 ac_i
=`echo "$ac_i" | sed "$ac_script"`
24838 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24839 # will be set to the directory where LIBOBJS objects are built.
24840 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24841 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24843 LIBOBJS
=$ac_libobjs
24845 LTLIBOBJS
=$ac_ltlibobjs
24848 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24849 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24850 Usually this means the macro was only invoked conditionally." >&5
24851 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24852 Usually this means the macro was only invoked conditionally." >&2;}
24853 { (exit 1); exit 1; }; }
24855 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24856 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24857 Usually this means the macro was only invoked conditionally." >&5
24858 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24859 Usually this means the macro was only invoked conditionally." >&2;}
24860 { (exit 1); exit 1; }; }
24862 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24863 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24864 Usually this means the macro was only invoked conditionally." >&5
24865 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24866 Usually this means the macro was only invoked conditionally." >&2;}
24867 { (exit 1); exit 1; }; }
24869 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24870 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24871 Usually this means the macro was only invoked conditionally." >&5
24872 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24873 Usually this means the macro was only invoked conditionally." >&2;}
24874 { (exit 1); exit 1; }; }
24876 if test -z "${ENABLE_CRYPTO_TRUE}" && test -z "${ENABLE_CRYPTO_FALSE}"; then
24877 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_CRYPTO\" was never defined.
24878 Usually this means the macro was only invoked conditionally." >&5
24879 echo "$as_me: error: conditional \"ENABLE_CRYPTO\" was never defined.
24880 Usually this means the macro was only invoked conditionally." >&2;}
24881 { (exit 1); exit 1; }; }
24883 if test -z "${FUSE_INTERNAL_TRUE}" && test -z "${FUSE_INTERNAL_FALSE}"; then
24884 { { echo "$as_me:$LINENO: error: conditional \"FUSE_INTERNAL\" was never defined.
24885 Usually this means the macro was only invoked conditionally." >&5
24886 echo "$as_me: error: conditional \"FUSE_INTERNAL\" was never defined.
24887 Usually this means the macro was only invoked conditionally." >&2;}
24888 { (exit 1); exit 1; }; }
24890 if test -z "${GENERATE_LDSCRIPT_TRUE}" && test -z "${GENERATE_LDSCRIPT_FALSE}"; then
24891 { { echo "$as_me:$LINENO: error: conditional \"GENERATE_LDSCRIPT\" was never defined.
24892 Usually this means the macro was only invoked conditionally." >&5
24893 echo "$as_me: error: conditional \"GENERATE_LDSCRIPT\" was never defined.
24894 Usually this means the macro was only invoked conditionally." >&2;}
24895 { (exit 1); exit 1; }; }
24897 if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then
24898 { { echo "$as_me:$LINENO: error: conditional \"WINDOWS\" was never defined.
24899 Usually this means the macro was only invoked conditionally." >&5
24900 echo "$as_me: error: conditional \"WINDOWS\" was never defined.
24901 Usually this means the macro was only invoked conditionally." >&2;}
24902 { (exit 1); exit 1; }; }
24904 if test -z "${NTFS_DEVICE_DEFAULT_IO_OPS_TRUE}" && test -z "${NTFS_DEVICE_DEFAULT_IO_OPS_FALSE}"; then
24905 { { echo "$as_me:$LINENO: error: conditional \"NTFS_DEVICE_DEFAULT_IO_OPS\" was never defined.
24906 Usually this means the macro was only invoked conditionally." >&5
24907 echo "$as_me: error: conditional \"NTFS_DEVICE_DEFAULT_IO_OPS\" was never defined.
24908 Usually this means the macro was only invoked conditionally." >&2;}
24909 { (exit 1); exit 1; }; }
24911 if test -z "${RUN_LDCONFIG_TRUE}" && test -z "${RUN_LDCONFIG_FALSE}"; then
24912 { { echo "$as_me:$LINENO: error: conditional \"RUN_LDCONFIG\" was never defined.
24913 Usually this means the macro was only invoked conditionally." >&5
24914 echo "$as_me: error: conditional \"RUN_LDCONFIG\" was never defined.
24915 Usually this means the macro was only invoked conditionally." >&2;}
24916 { (exit 1); exit 1; }; }
24918 if test -z "${REALLYSTATIC_TRUE}" && test -z "${REALLYSTATIC_FALSE}"; then
24919 { { echo "$as_me:$LINENO: error: conditional \"REALLYSTATIC\" was never defined.
24920 Usually this means the macro was only invoked conditionally." >&5
24921 echo "$as_me: error: conditional \"REALLYSTATIC\" was never defined.
24922 Usually this means the macro was only invoked conditionally." >&2;}
24923 { (exit 1); exit 1; }; }
24925 if test -z "${INSTALL_LIBRARY_TRUE}" && test -z "${INSTALL_LIBRARY_FALSE}"; then
24926 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBRARY\" was never defined.
24927 Usually this means the macro was only invoked conditionally." >&5
24928 echo "$as_me: error: conditional \"INSTALL_LIBRARY\" was never defined.
24929 Usually this means the macro was only invoked conditionally." >&2;}
24930 { (exit 1); exit 1; }; }
24932 if test -z "${ENABLE_MOUNT_HELPER_TRUE}" && test -z "${ENABLE_MOUNT_HELPER_FALSE}"; then
24933 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_MOUNT_HELPER\" was never defined.
24934 Usually this means the macro was only invoked conditionally." >&5
24935 echo "$as_me: error: conditional \"ENABLE_MOUNT_HELPER\" was never defined.
24936 Usually this means the macro was only invoked conditionally." >&2;}
24937 { (exit 1); exit 1; }; }
24939 if test -z "${ENABLE_NTFS_3G_TRUE}" && test -z "${ENABLE_NTFS_3G_FALSE}"; then
24940 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NTFS_3G\" was never defined.
24941 Usually this means the macro was only invoked conditionally." >&5
24942 echo "$as_me: error: conditional \"ENABLE_NTFS_3G\" was never defined.
24943 Usually this means the macro was only invoked conditionally." >&2;}
24944 { (exit 1); exit 1; }; }
24946 if test -z "${ENABLE_NTFSPROGS_TRUE}" && test -z "${ENABLE_NTFSPROGS_FALSE}"; then
24947 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NTFSPROGS\" was never defined.
24948 Usually this means the macro was only invoked conditionally." >&5
24949 echo "$as_me: error: conditional \"ENABLE_NTFSPROGS\" was never defined.
24950 Usually this means the macro was only invoked conditionally." >&2;}
24951 { (exit 1); exit 1; }; }
24953 if test -z "${ENABLE_EXTRAS_TRUE}" && test -z "${ENABLE_EXTRAS_FALSE}"; then
24954 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_EXTRAS\" was never defined.
24955 Usually this means the macro was only invoked conditionally." >&5
24956 echo "$as_me: error: conditional \"ENABLE_EXTRAS\" was never defined.
24957 Usually this means the macro was only invoked conditionally." >&2;}
24958 { (exit 1); exit 1; }; }
24961 : ${CONFIG_STATUS=./config.status}
24962 ac_clean_files_save
=$ac_clean_files
24963 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24964 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24965 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24966 cat >$CONFIG_STATUS <<_ACEOF
24968 # Generated by $as_me.
24969 # Run this file to recreate the current configuration.
24970 # Compiler output produced by configure, useful for debugging
24971 # configure, is in config.log if it exists.
24974 ac_cs_recheck=false
24976 SHELL=\${CONFIG_SHELL-$SHELL}
24979 cat >>$CONFIG_STATUS <<\_ACEOF
24980 ## --------------------- ##
24981 ## M4sh Initialization. ##
24982 ## --------------------- ##
24984 # Be more Bourne compatible
24985 DUALCASE
=1; export DUALCASE
# for MKS sh
24986 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24989 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24990 # is contrary to our usage. Disable this feature.
24991 alias -g '${1+"$@"}'='"$@"'
24992 setopt NO_GLOB_SUBST
24994 case `(set -o) 2>/dev/null` in
24995 *posix
*) set -o posix
;;
25004 # Avoid depending upon Character Ranges.
25005 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25006 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25007 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25008 as_cr_digits
='0123456789'
25009 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25011 # The user is always right.
25012 if test "${PATH_SEPARATOR+set}" != set; then
25013 echo "#! /bin/sh" >conf$$.sh
25014 echo "exit 0" >>conf$$.sh
25016 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
25024 # Support unset when possible.
25025 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
25033 # We need space, tab and new line, in precisely that order. Quoting is
25034 # there to prevent editors from complaining about space-tab.
25035 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25036 # splitting by setting IFS to empty value.)
25041 # Find who we are. Look in the path if we contain no directory separator.
25043 *[\\/]* ) as_myself
=$0 ;;
25044 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25045 for as_dir
in $PATH
25048 test -z "$as_dir" && as_dir
=.
25049 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25055 # We did not find ourselves, most probably we were run as `sh COMMAND'
25056 # in which case we are not to be found in the path.
25057 if test "x$as_myself" = x
; then
25060 if test ! -f "$as_myself"; then
25061 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25062 { (exit 1); exit 1; }
25065 # Work around bugs in pre-3.0 UWIN ksh.
25066 for as_var
in ENV MAIL MAILPATH
25067 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25075 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25076 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25077 LC_TELEPHONE LC_TIME
25079 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25080 eval $as_var=C
; export $as_var
25082 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25086 # Required to use basename.
25087 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25088 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25094 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25095 as_basename
=basename
25101 # Name of the executable.
25102 as_me
=`$as_basename -- "$0" ||
25103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25104 X"$0" : 'X\(//\)$' \| \
25105 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25107 sed '/^.*\/\([^/][^/]*\)\/*$/{
25126 as_lineno_1
=$LINENO
25127 as_lineno_2
=$LINENO
25128 test "x$as_lineno_1" != "x$as_lineno_2" &&
25129 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
25131 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25132 # uniformly replaced by the line number. The first 'sed' inserts a
25133 # line-number line after each line using $LINENO; the second 'sed'
25134 # does the real work. The second script uses 'N' to pair each
25135 # line-number line with the line containing $LINENO, and appends
25136 # trailing '-' during substitution so that $LINENO is not a special
25137 # case at line end.
25138 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25139 # scripts with optimization help from Paolo Bonzini. Blame Lee
25140 # E. McMahon (1931-1989) for sed's syntax. :-)
25152 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25155 ' >$as_me.lineno
&&
25156 chmod +x
"$as_me.lineno" ||
25157 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25158 { (exit 1); exit 1; }; }
25160 # Don't try to exec as it changes $[0], causing all sort of problems
25161 # (the dirname of $[0] is not the place where we might find the
25162 # original and so on. Autoconf is especially sensitive to this).
25163 .
"./$as_me.lineno"
25164 # Exit status is that of the last command.
25169 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25175 ECHO_C
= ECHO_N
= ECHO_T
=
25176 case `echo -n x` in
25178 case `echo 'x\c'` in
25179 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25186 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25187 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25193 rm -f conf$$ conf$$.exe conf$$.
file
25194 if test -d conf$$.dir
; then
25195 rm -f conf$$.dir
/conf$$.
file
25201 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25203 # ... but there are two gotchas:
25204 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25205 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25206 # In both cases, we have to default to `cp -p'.
25207 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25209 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25214 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25215 rmdir conf$$.dir
2>/dev
/null
25217 if mkdir
-p .
2>/dev
/null
; then
25220 test -d .
/-p && rmdir .
/-p
25224 if test -x / >/dev
/null
2>&1; then
25225 as_test_x
='test -x'
25227 if ls -dL / >/dev
/null
2>&1; then
25234 if test -d "$1"; then
25240 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25241 ???[sx]*):;;*)false;;esac;fi
25245 as_executable_p
=$as_test_x
25247 # Sed expression to map a string onto a valid CPP name.
25248 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25250 # Sed expression to map a string onto a valid variable name.
25251 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25256 # Save the log message, to keep $[0] and so on meaningful, and to
25257 # report actual input values of CONFIG_FILES etc. instead of their
25258 # values after options handling.
25260 This file was extended by ntfs-3g $as_me 2013.1.13, which was
25261 generated by GNU Autoconf 2.61. Invocation command line was
25263 CONFIG_FILES = $CONFIG_FILES
25264 CONFIG_HEADERS = $CONFIG_HEADERS
25265 CONFIG_LINKS = $CONFIG_LINKS
25266 CONFIG_COMMANDS = $CONFIG_COMMANDS
25269 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25274 cat >>$CONFIG_STATUS <<_ACEOF
25275 # Files that config.status was made for.
25276 config_files="$ac_config_files"
25277 config_headers="$ac_config_headers"
25278 config_commands="$ac_config_commands"
25282 cat >>$CONFIG_STATUS <<\_ACEOF
25284 \`$as_me' instantiates files from templates according to the
25285 current configuration.
25287 Usage: $0 [OPTIONS] [FILE]...
25289 -h, --help print this help, then exit
25290 -V, --version print version number and configuration settings, then exit
25291 -q, --quiet do not print progress messages
25292 -d, --debug don't remove temporary files
25293 --recheck update $as_me by reconfiguring in the same conditions
25294 --file=FILE[:TEMPLATE]
25295 instantiate the configuration file FILE
25296 --header=FILE[:TEMPLATE]
25297 instantiate the configuration header FILE
25299 Configuration files:
25302 Configuration headers:
25305 Configuration commands:
25308 Report bugs to <bug-autoconf@gnu.org>."
25311 cat >>$CONFIG_STATUS <<_ACEOF
25313 ntfs-3g config.status 2013.1.13
25314 configured by $0, generated by GNU Autoconf 2.61,
25315 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25317 Copyright (C) 2006 Free Software Foundation, Inc.
25318 This config.status script is free software; the Free Software Foundation
25319 gives unlimited permission to copy, distribute and modify it."
25327 cat >>$CONFIG_STATUS <<\_ACEOF
25328 # If no file are specified by the user, then we need to provide default
25329 # value. By we need to know if files were specified by the user.
25335 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25336 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25347 # Handling of the options.
25348 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25350 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25351 echo "$ac_cs_version"; exit ;;
25352 --debug |
--debu |
--deb |
--de |
--d |
-d )
25354 --file |
--fil |
--fi |
--f )
25356 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
25357 ac_need_defaults
=false
;;
25358 --header |
--heade |
--head |
--hea )
25360 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
25361 ac_need_defaults
=false
;;
25363 # Conflict between --help and --header
25364 { echo "$as_me: error: ambiguous option: $1
25365 Try \`$0 --help' for more information." >&2
25366 { (exit 1); exit 1; }; };;
25367 --help |
--hel |
-h )
25368 echo "$ac_cs_usage"; exit ;;
25369 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25370 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25373 # This is an error.
25374 -*) { echo "$as_me: error: unrecognized option: $1
25375 Try \`$0 --help' for more information." >&2
25376 { (exit 1); exit 1; }; } ;;
25378 *) ac_config_targets
="$ac_config_targets $1"
25379 ac_need_defaults
=false
;;
25385 ac_configure_extra_args
=
25387 if $ac_cs_silent; then
25389 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25393 cat >>$CONFIG_STATUS <<_ACEOF
25394 if \$ac_cs_recheck; then
25395 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25396 CONFIG_SHELL=$SHELL
25397 export CONFIG_SHELL
25398 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25402 cat >>$CONFIG_STATUS <<\_ACEOF
25406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25407 ## Running $as_me. ##
25413 cat >>$CONFIG_STATUS <<_ACEOF
25417 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25421 cat >>$CONFIG_STATUS <<\_ACEOF
25423 # Handling of arguments.
25424 for ac_config_target
in $ac_config_targets
25426 case $ac_config_target in
25427 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
25428 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25429 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25430 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25431 "include/fuse-lite/Makefile") CONFIG_FILES
="$CONFIG_FILES include/fuse-lite/Makefile" ;;
25432 "include/ntfs-3g/Makefile") CONFIG_FILES
="$CONFIG_FILES include/ntfs-3g/Makefile" ;;
25433 "libfuse-lite/Makefile") CONFIG_FILES
="$CONFIG_FILES libfuse-lite/Makefile" ;;
25434 "libntfs-3g/Makefile") CONFIG_FILES
="$CONFIG_FILES libntfs-3g/Makefile" ;;
25435 "libntfs-3g/libntfs-3g.pc") CONFIG_FILES
="$CONFIG_FILES libntfs-3g/libntfs-3g.pc" ;;
25436 "libntfs-3g/libntfs-3g.script.so") CONFIG_FILES
="$CONFIG_FILES libntfs-3g/libntfs-3g.script.so" ;;
25437 "ntfsprogs/Makefile") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/Makefile" ;;
25438 "ntfsprogs/mkntfs.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/mkntfs.8" ;;
25439 "ntfsprogs/ntfscat.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfscat.8" ;;
25440 "ntfsprogs/ntfsclone.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfsclone.8" ;;
25441 "ntfsprogs/ntfscluster.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfscluster.8" ;;
25442 "ntfsprogs/ntfscmp.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfscmp.8" ;;
25443 "ntfsprogs/ntfscp.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfscp.8" ;;
25444 "ntfsprogs/ntfsfix.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfsfix.8" ;;
25445 "ntfsprogs/ntfsinfo.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfsinfo.8" ;;
25446 "ntfsprogs/ntfslabel.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfslabel.8" ;;
25447 "ntfsprogs/ntfsls.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfsls.8" ;;
25448 "ntfsprogs/ntfsprogs.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfsprogs.8" ;;
25449 "ntfsprogs/ntfsresize.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfsresize.8" ;;
25450 "ntfsprogs/ntfsundelete.8") CONFIG_FILES
="$CONFIG_FILES ntfsprogs/ntfsundelete.8" ;;
25451 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
25452 "src/ntfs-3g.8") CONFIG_FILES
="$CONFIG_FILES src/ntfs-3g.8" ;;
25453 "src/ntfs-3g.probe.8") CONFIG_FILES
="$CONFIG_FILES src/ntfs-3g.probe.8" ;;
25454 "src/ntfs-3g.usermap.8") CONFIG_FILES
="$CONFIG_FILES src/ntfs-3g.usermap.8" ;;
25455 "src/ntfs-3g.secaudit.8") CONFIG_FILES
="$CONFIG_FILES src/ntfs-3g.secaudit.8" ;;
25457 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25458 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25459 { (exit 1); exit 1; }; };;
25464 # If the user did not use the arguments to specify the items to instantiate,
25465 # then the envvar interface is used. Set only those that are not.
25466 # We use the long form for the default assignment because of an extremely
25467 # bizarre bug on SunOS 4.1.3.
25468 if $ac_need_defaults; then
25469 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25470 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25471 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25474 # Have a temporary directory for convenience. Make it in the build tree
25475 # simply because there is no reason against having it here, and in addition,
25476 # creating and moving files from /tmp can sometimes cause problems.
25477 # Hook for its removal unless debugging.
25478 # Note that there is a small window in which the directory will not be cleaned:
25479 # after its creation but before its name has been assigned to `$tmp'.
25483 trap 'exit_status=$?
25484 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25486 trap '{ (exit 1); exit 1; }' 1 2 13 15
25488 # Create a (secure) tmp directory for tmp files.
25491 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25492 test -n "$tmp" && test -d "$tmp"
25495 tmp
=.
/conf$$
-$RANDOM
25496 (umask 077 && mkdir
"$tmp")
25499 echo "$me: cannot create a temporary directory in ." >&2
25500 { (exit 1); exit 1; }
25504 # Set up the sed scripts for CONFIG_FILES section.
25507 # No need to generate the scripts if there are no CONFIG_FILES.
25508 # This happens for instance when ./config.status config.h
25509 if test -n "$CONFIG_FILES"; then
25516 for ac_last_try
in false false false false false
:; do
25517 cat >conf$
$subs.
sed <<_ACEOF
25518 SHELL!$SHELL$ac_delim
25519 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25520 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25521 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25522 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25523 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25524 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25525 exec_prefix!$exec_prefix$ac_delim
25526 prefix!$prefix$ac_delim
25527 program_transform_name!$program_transform_name$ac_delim
25528 bindir!$bindir$ac_delim
25529 sbindir!$sbindir$ac_delim
25530 libexecdir!$libexecdir$ac_delim
25531 datarootdir!$datarootdir$ac_delim
25532 datadir!$datadir$ac_delim
25533 sysconfdir!$sysconfdir$ac_delim
25534 sharedstatedir!$sharedstatedir$ac_delim
25535 localstatedir!$localstatedir$ac_delim
25536 includedir!$includedir$ac_delim
25537 oldincludedir!$oldincludedir$ac_delim
25538 docdir!$docdir$ac_delim
25539 infodir!$infodir$ac_delim
25540 htmldir!$htmldir$ac_delim
25541 dvidir!$dvidir$ac_delim
25542 pdfdir!$pdfdir$ac_delim
25543 psdir!$psdir$ac_delim
25544 libdir!$libdir$ac_delim
25545 localedir!$localedir$ac_delim
25546 mandir!$mandir$ac_delim
25547 DEFS!$DEFS$ac_delim
25548 ECHO_C!$ECHO_C$ac_delim
25549 ECHO_N!$ECHO_N$ac_delim
25550 ECHO_T!$ECHO_T$ac_delim
25551 LIBS!$LIBS$ac_delim
25552 build_alias!$build_alias$ac_delim
25553 host_alias!$host_alias$ac_delim
25554 target_alias!$target_alias$ac_delim
25555 build!$build$ac_delim
25556 build_cpu!$build_cpu$ac_delim
25557 build_vendor!$build_vendor$ac_delim
25558 build_os!$build_os$ac_delim
25559 host!$host$ac_delim
25560 host_cpu!$host_cpu$ac_delim
25561 host_vendor!$host_vendor$ac_delim
25562 host_os!$host_os$ac_delim
25563 target!$target$ac_delim
25564 target_cpu!$target_cpu$ac_delim
25565 target_vendor!$target_vendor$ac_delim
25566 target_os!$target_os$ac_delim
25567 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25568 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25569 INSTALL_DATA!$INSTALL_DATA$ac_delim
25570 am__isrc!$am__isrc$ac_delim
25571 CYGPATH_W!$CYGPATH_W$ac_delim
25572 PACKAGE!$PACKAGE$ac_delim
25573 VERSION!$VERSION$ac_delim
25574 ACLOCAL!$ACLOCAL$ac_delim
25575 AUTOCONF!$AUTOCONF$ac_delim
25576 AUTOMAKE!$AUTOMAKE$ac_delim
25577 AUTOHEADER!$AUTOHEADER$ac_delim
25578 MAKEINFO!$MAKEINFO$ac_delim
25579 install_sh!$install_sh$ac_delim
25580 STRIP!$STRIP$ac_delim
25581 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
25582 mkdir_p!$mkdir_p$ac_delim
25584 SET_MAKE!$SET_MAKE$ac_delim
25585 am__leading_dot!$am__leading_dot$ac_delim
25586 AMTAR!$AMTAR$ac_delim
25587 am__tar!$am__tar$ac_delim
25588 am__untar!$am__untar$ac_delim
25589 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
25590 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
25591 MAINT!$MAINT$ac_delim
25593 CFLAGS!$CFLAGS$ac_delim
25594 LDFLAGS!$LDFLAGS$ac_delim
25595 CPPFLAGS!$CPPFLAGS$ac_delim
25596 ac_ct_CC!$ac_ct_CC$ac_delim
25597 EXEEXT!$EXEEXT$ac_delim
25598 OBJEXT!$OBJEXT$ac_delim
25599 DEPDIR!$DEPDIR$ac_delim
25600 am__include!$am__include$ac_delim
25601 am__quote!$am__quote$ac_delim
25602 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
25603 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
25604 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
25605 CCDEPMODE!$CCDEPMODE$ac_delim
25606 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
25607 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
25608 LN_S!$LN_S$ac_delim
25610 GREP!$GREP$ac_delim
25611 EGREP!$EGREP$ac_delim
25612 ECHO!$ECHO$ac_delim
25614 RANLIB!$RANLIB$ac_delim
25617 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
25619 elif $ac_last_try; then
25620 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25621 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25622 { (exit 1); exit 1; }; }
25624 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25628 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25629 if test -n "$ac_eof"; then
25630 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25631 ac_eof
=`expr $ac_eof + 1`
25634 cat >>$CONFIG_STATUS <<_ACEOF
25635 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25636 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25639 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25640 s/^/s,@/; s/!/@,|#_!!_#|/
25643 s/'"$ac_delim"'$/,g/; t
25645 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25646 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25647 rm -f conf$
$subs.
sed
25648 cat >>$CONFIG_STATUS <<_ACEOF
25654 for ac_last_try
in false false false false false
:; do
25655 cat >conf$
$subs.
sed <<_ACEOF
25656 DSYMUTIL!$DSYMUTIL$ac_delim
25657 NMEDIT!$NMEDIT$ac_delim
25660 CXXFLAGS!$CXXFLAGS$ac_delim
25661 ac_ct_CXX!$ac_ct_CXX$ac_delim
25662 CXXDEPMODE!$CXXDEPMODE$ac_delim
25663 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
25664 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
25665 CXXCPP!$CXXCPP$ac_delim
25667 FFLAGS!$FFLAGS$ac_delim
25668 ac_ct_F77!$ac_ct_F77$ac_delim
25669 LIBTOOL!$LIBTOOL$ac_delim
25670 PKG_CONFIG!$PKG_CONFIG$ac_delim
25673 LDCONFIG!$LDCONFIG$ac_delim
25674 FUSE_MODULE_CFLAGS!$FUSE_MODULE_CFLAGS$ac_delim
25675 FUSE_MODULE_LIBS!$FUSE_MODULE_LIBS$ac_delim
25676 LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
25677 LIBGCRYPT_CFLAGS!$LIBGCRYPT_CFLAGS$ac_delim
25678 LIBGCRYPT_LIBS!$LIBGCRYPT_LIBS$ac_delim
25679 GNUTLS_CFLAGS!$GNUTLS_CFLAGS$ac_delim
25680 GNUTLS_LIBS!$GNUTLS_LIBS$ac_delim
25681 ENABLE_CRYPTO_TRUE!$ENABLE_CRYPTO_TRUE$ac_delim
25682 ENABLE_CRYPTO_FALSE!$ENABLE_CRYPTO_FALSE$ac_delim
25683 all_includes!$all_includes$ac_delim
25684 all_libraries!$all_libraries$ac_delim
25685 LIBOBJS!$LIBOBJS$ac_delim
25686 pkgconfigdir!$pkgconfigdir$ac_delim
25687 ntfs3gincludedir!$ntfs3gincludedir$ac_delim
25688 rootbindir!$rootbindir$ac_delim
25689 rootsbindir!$rootsbindir$ac_delim
25690 rootlibdir!$rootlibdir$ac_delim
25691 LIBNTFS_3G_VERSION!$LIBNTFS_3G_VERSION$ac_delim
25692 LIBFUSE_LITE_CFLAGS!$LIBFUSE_LITE_CFLAGS$ac_delim
25693 LIBFUSE_LITE_LIBS!$LIBFUSE_LITE_LIBS$ac_delim
25694 MKNTFS_CPPFLAGS!$MKNTFS_CPPFLAGS$ac_delim
25695 MKNTFS_LIBS!$MKNTFS_LIBS$ac_delim
25696 OUTPUT_FORMAT!$OUTPUT_FORMAT$ac_delim
25697 FUSE_INTERNAL_TRUE!$FUSE_INTERNAL_TRUE$ac_delim
25698 FUSE_INTERNAL_FALSE!$FUSE_INTERNAL_FALSE$ac_delim
25699 GENERATE_LDSCRIPT_TRUE!$GENERATE_LDSCRIPT_TRUE$ac_delim
25700 GENERATE_LDSCRIPT_FALSE!$GENERATE_LDSCRIPT_FALSE$ac_delim
25701 WINDOWS_TRUE!$WINDOWS_TRUE$ac_delim
25702 WINDOWS_FALSE!$WINDOWS_FALSE$ac_delim
25703 NTFS_DEVICE_DEFAULT_IO_OPS_TRUE!$NTFS_DEVICE_DEFAULT_IO_OPS_TRUE$ac_delim
25704 NTFS_DEVICE_DEFAULT_IO_OPS_FALSE!$NTFS_DEVICE_DEFAULT_IO_OPS_FALSE$ac_delim
25705 RUN_LDCONFIG_TRUE!$RUN_LDCONFIG_TRUE$ac_delim
25706 RUN_LDCONFIG_FALSE!$RUN_LDCONFIG_FALSE$ac_delim
25707 REALLYSTATIC_TRUE!$REALLYSTATIC_TRUE$ac_delim
25708 REALLYSTATIC_FALSE!$REALLYSTATIC_FALSE$ac_delim
25709 INSTALL_LIBRARY_TRUE!$INSTALL_LIBRARY_TRUE$ac_delim
25710 INSTALL_LIBRARY_FALSE!$INSTALL_LIBRARY_FALSE$ac_delim
25711 ENABLE_MOUNT_HELPER_TRUE!$ENABLE_MOUNT_HELPER_TRUE$ac_delim
25712 ENABLE_MOUNT_HELPER_FALSE!$ENABLE_MOUNT_HELPER_FALSE$ac_delim
25713 ENABLE_NTFS_3G_TRUE!$ENABLE_NTFS_3G_TRUE$ac_delim
25714 ENABLE_NTFS_3G_FALSE!$ENABLE_NTFS_3G_FALSE$ac_delim
25715 ENABLE_NTFSPROGS_TRUE!$ENABLE_NTFSPROGS_TRUE$ac_delim
25716 ENABLE_NTFSPROGS_FALSE!$ENABLE_NTFSPROGS_FALSE$ac_delim
25717 ENABLE_EXTRAS_TRUE!$ENABLE_EXTRAS_TRUE$ac_delim
25718 ENABLE_EXTRAS_FALSE!$ENABLE_EXTRAS_FALSE$ac_delim
25719 MKDIR_P!$MKDIR_P$ac_delim
25720 LTLIBOBJS!$LTLIBOBJS$ac_delim
25723 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
25725 elif $ac_last_try; then
25726 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25727 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25728 { (exit 1); exit 1; }; }
25730 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25734 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25735 if test -n "$ac_eof"; then
25736 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25737 ac_eof
=`expr $ac_eof + 1`
25740 cat >>$CONFIG_STATUS <<_ACEOF
25741 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25742 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25745 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25746 s/^/s,@/; s/!/@,|#_!!_#|/
25749 s/'"$ac_delim"'$/,g/; t
25751 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25752 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25753 rm -f conf$
$subs.
sed
25754 cat >>$CONFIG_STATUS <<_ACEOF
25761 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25762 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25763 # trailing colons and then remove the whole line if VPATH becomes empty
25764 # (actually we leave an empty line to preserve line numbers).
25765 if test "x$srcdir" = x.
; then
25766 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25767 s/:*\$(srcdir):*/:/
25768 s/:*\${srcdir}:*/:/
25770 s/^\([^=]*=[ ]*\):*/\1/
25776 cat >>$CONFIG_STATUS <<\_ACEOF
25777 fi # test -n "$CONFIG_FILES"
25780 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25783 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25785 case $ac_mode$ac_tag in
25787 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25788 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25789 { (exit 1); exit 1; }; };;
25790 :[FH
]-) ac_tag
=-:-;;
25791 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25808 -) ac_f
="$tmp/stdin";;
25809 *) # Look for the file first in the build tree, then in the source tree
25810 # (if the path is not absolute). The absolute path cannot be DOS-style,
25811 # because $ac_f cannot contain `:'.
25815 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25817 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25818 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25819 { (exit 1); exit 1; }; };;
25821 ac_file_inputs
="$ac_file_inputs $ac_f"
25824 # Let's still pretend it is `configure' which instantiates (i.e., don't
25825 # use $as_me), people would be surprised to read:
25826 # /* config.h. Generated by config.status. */
25827 configure_input
="Generated from "`IFS=:
25828 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25829 if test x
"$ac_file" != x-
; then
25830 configure_input
="$ac_file. $configure_input"
25831 { echo "$as_me:$LINENO: creating $ac_file" >&5
25832 echo "$as_me: creating $ac_file" >&6;}
25836 *:-:* |
*:-) cat >"$tmp/stdin";;
25841 ac_dir
=`$as_dirname -- "$ac_file" ||
25842 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25843 X"$ac_file" : 'X\(//\)[^/]' \| \
25844 X"$ac_file" : 'X\(//\)$' \| \
25845 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25851 /^X\(\/\/\)[^/].*/{
25866 -*) as_dir
=.
/$as_dir;;
25868 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25872 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25873 *) as_qdir
=$as_dir;;
25875 as_dirs
="'$as_qdir' $as_dirs"
25876 as_dir
=`$as_dirname -- "$as_dir" ||
25877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25878 X"$as_dir" : 'X\(//\)[^/]' \| \
25879 X"$as_dir" : 'X\(//\)$' \| \
25880 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25886 /^X\(\/\/\)[^/].*/{
25899 test -d "$as_dir" && break
25901 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25902 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25903 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25904 { (exit 1); exit 1; }; }; }
25908 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25910 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25911 # A ".." for each directory in $ac_dir_suffix.
25912 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25913 case $ac_top_builddir_sub in
25914 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25915 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25918 ac_abs_top_builddir
=$ac_pwd
25919 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25920 # for backward compatibility:
25921 ac_top_builddir
=$ac_top_build_prefix
25924 .
) # We are building in place.
25926 ac_top_srcdir
=$ac_top_builddir_sub
25927 ac_abs_top_srcdir
=$ac_pwd ;;
25928 [\\/]* | ?
:[\\/]* ) # Absolute name.
25929 ac_srcdir
=$srcdir$ac_dir_suffix;
25930 ac_top_srcdir
=$srcdir
25931 ac_abs_top_srcdir
=$srcdir ;;
25932 *) # Relative name.
25933 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25934 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25935 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25937 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25947 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25948 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25950 ac_MKDIR_P
=$MKDIR_P
25952 [\\/$
]* | ?
:[\\/]* ) ;;
25953 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25957 cat >>$CONFIG_STATUS <<\_ACEOF
25958 # If the template does not know about datarootdir, expand it.
25959 # FIXME: This hack should be removed a few years after 2.60.
25960 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25962 case `sed -n '/datarootdir/ {
25971 ' $ac_file_inputs` in
25972 *datarootdir
*) ac_datarootdir_seen
=yes;;
25973 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25974 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25975 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25977 cat >>$CONFIG_STATUS <<_ACEOF
25978 ac_datarootdir_hack='
25979 s&@datadir@&$datadir&g
25980 s&@docdir@&$docdir&g
25981 s&@infodir@&$infodir&g
25982 s&@localedir@&$localedir&g
25983 s&@mandir@&$mandir&g
25984 s&\\\${datarootdir}&$datarootdir&g' ;;
25988 # Neutralize VPATH when `$srcdir' = `.'.
25989 # Shell code in configure.ac might set extrasub.
25990 # FIXME: do we really want to maintain this feature?
25991 cat >>$CONFIG_STATUS <<_ACEOF
25995 cat >>$CONFIG_STATUS <<\_ACEOF
25997 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25998 s
&@configure_input@
&$configure_input&;t t
25999 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26000 s
&@srcdir@
&$ac_srcdir&;t t
26001 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26002 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26003 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26004 s
&@builddir@
&$ac_builddir&;t t
26005 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26006 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26007 s
&@INSTALL@
&$ac_INSTALL&;t t
26008 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26009 $ac_datarootdir_hack
26010 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
26012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26013 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26015 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26016 which seems to be undefined. Please make sure it is defined." >&5
26017 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26018 which seems to be undefined. Please make sure it is defined." >&2;}
26022 -) cat "$tmp/out"; rm -f "$tmp/out";;
26023 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
26032 # Transform confdefs.h into a sed script `conftest.defines', that
26033 # substitutes the proper values into config.h.in to produce config.h.
26034 rm -f conftest.defines conftest.
tail
26035 # First, append a space to every undef/define line, to ease matching.
26036 echo 's/$/ /' >conftest.defines
26037 # Then, protect against being on the right side of a sed subst, or in
26038 # an unquoted here document, in config.status. If some macros were
26039 # called several times there might be several #defines for the same
26040 # symbol, which is useless. But do not sort them, since the last
26041 # AC_DEFINE must be honored.
26042 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
26043 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
26044 # NAME is the cpp macro being defined, VALUE is the value it is being given.
26045 # PARAMS is the parameter list in the macro definition--in most cases, it's
26046 # just an empty string.
26047 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
26048 ac_dB
='\\)[ (].*,\\1define\\2'
26056 s/^[ ]*#[ ]*define[ ][ ]*//
26061 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
26062 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
26063 ' >>conftest.defines
26065 # Remove the space that was appended to ease matching.
26066 # Then replace #undef with comments. This is necessary, for
26067 # example, in the case of _POSIX_SOURCE, which is predefined and required
26068 # on some systems where configure will not decide to define it.
26069 # (The regexp can be short, since the line contains either #define or #undef.)
26071 s,^[ #]*u.*,/* & */,' >>conftest.defines
26073 # Break up conftest.defines:
26074 ac_max_sed_lines
=50
26076 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
26077 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
26078 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
26080 ac_in
='$ac_file_inputs'
26081 ac_out
='"$tmp/out1"'
26082 ac_nxt
='"$tmp/out2"'
26086 # Write a here document:
26087 cat >>$CONFIG_STATUS <<_ACEOF
26088 # First, check the format of the line:
26089 cat >"\$tmp/defines.sed" <<\\CEOF
26090 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
26091 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
26095 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
26097 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
26098 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
26099 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
26100 grep . conftest.
tail >/dev
/null ||
break
26101 rm -f conftest.defines
26102 mv conftest.
tail conftest.defines
26104 rm -f conftest.defines conftest.
tail
26106 echo "ac_result=$ac_in" >>$CONFIG_STATUS
26107 cat >>$CONFIG_STATUS <<\_ACEOF
26108 if test x
"$ac_file" != x-
; then
26109 echo "/* $configure_input */" >"$tmp/config.h"
26110 cat "$ac_result" >>"$tmp/config.h"
26111 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
26112 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26113 echo "$as_me: $ac_file is unchanged" >&6;}
26116 mv "$tmp/config.h" $ac_file
26119 echo "/* $configure_input */"
26123 # Compute $ac_file's index in $config_headers.
26126 for _am_header
in $config_headers :; do
26127 case $_am_header in
26128 $_am_arg |
$_am_arg:* )
26131 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26134 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26135 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26136 X"$_am_arg" : 'X\(//\)[^/]' \| \
26137 X"$_am_arg" : 'X\(//\)$' \| \
26138 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26144 /^X\(\/\/\)[^/].*/{
26156 s/.*/./; q'`/stamp-h
$_am_stamp_count
26159 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26160 echo "$as_me: executing $ac_file commands" >&6;}
26165 case $ac_file$ac_mode in
26166 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
26167 # Strip MF so we end up with the name of the file.
26168 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26169 # Check whether this is an Automake generated Makefile or not.
26170 # We used to match only the files named `Makefile.in', but
26171 # some people rename them; so instead we look at the file content.
26172 # Grep'ing the first line is not enough: some people post-process
26173 # each Makefile.in and add a new line on top of each file to say so.
26174 # Grep'ing the whole file is not good either: AIX grep has a line
26175 # limit of 2048, but all sed's we know have understand at least 4000.
26176 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26177 dirpart
=`$as_dirname -- "$mf" ||
26178 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26179 X"$mf" : 'X\(//\)[^/]' \| \
26180 X"$mf" : 'X\(//\)$' \| \
26181 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26187 /^X\(\/\/\)[^/].*/{
26203 # Extract the definition of DEPDIR, am__include, and am__quote
26204 # from the Makefile without running `make'.
26205 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26206 test -z "$DEPDIR" && continue
26207 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26208 test -z "am__include" && continue
26209 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26210 # When using ansi2knr, U may be empty or an underscore; expand it
26211 U
=`sed -n 's/^U = //p' < "$mf"`
26212 # Find all dependency output files, they are included files with
26213 # $(DEPDIR) in their names. We invoke sed twice because it is the
26214 # simplest approach to changing $(DEPDIR) to its actual value in the
26216 for file in `sed -n "
26217 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26218 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26219 # Make sure the directory exists.
26220 test -f "$dirpart/$file" && continue
26221 fdir
=`$as_dirname -- "$file" ||
26222 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26223 X"$file" : 'X\(//\)[^/]' \| \
26224 X"$file" : 'X\(//\)$' \| \
26225 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26231 /^X\(\/\/\)[^/].*/{
26244 { as_dir
=$dirpart/$fdir
26246 -*) as_dir
=.
/$as_dir;;
26248 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
26252 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26253 *) as_qdir
=$as_dir;;
26255 as_dirs
="'$as_qdir' $as_dirs"
26256 as_dir
=`$as_dirname -- "$as_dir" ||
26257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26258 X"$as_dir" : 'X\(//\)[^/]' \| \
26259 X"$as_dir" : 'X\(//\)$' \| \
26260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26266 /^X\(\/\/\)[^/].*/{
26279 test -d "$as_dir" && break
26281 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26282 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26283 echo "$as_me: error: cannot create directory $as_dir" >&2;}
26284 { (exit 1); exit 1; }; }; }
26285 # echo "creating $dirpart/$file"
26286 echo '# dummy' > "$dirpart/$file"
26295 { (exit 0); exit 0; }
26297 chmod +x
$CONFIG_STATUS
26298 ac_clean_files
=$ac_clean_files_save
26301 # configure is writing to config.log, and then calls config.status.
26302 # config.status does its own redirection, appending to config.log.
26303 # Unfortunately, on DOS this fails, as config.log is still kept open
26304 # by configure, so config.status won't be able to write to it; its
26305 # output is simply discarded. So we exec the FD to /dev/null,
26306 # effectively closing config.log, so it can be properly (re)opened and
26307 # appended to by config.status. When coming back to configure, we
26308 # need to make the FD available again.
26309 if test "$no_create" != yes; then
26311 ac_config_status_args
=
26312 test "$silent" = yes &&
26313 ac_config_status_args
="$ac_config_status_args --quiet"
26315 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26317 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26318 # would make configure fail if this is the last instruction.
26319 $ac_cs_success ||
{ (exit 1); exit 1; }
26323 if test "${with_fuse}" = "external"; then
26324 if ! echo "x$FUSE_LIB_PATH" |
grep -- "x-L/lib" > /dev
/null
; then
26326 ****************************************************************************
26327 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *
26328 * The FUSE user space binaries were NOT installed with root directory *
26329 * executable prefix. This means that automounting NTFS volumes during boot *
26330 * could fail. This can be fixed the below way by reinstalling FUSE using *
26331 * the right 'configure' option during FUSE compilation: *
26332 * ./configure --exec-prefix=/ *
26333 * make && sudo make install *
26334 * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *
26335 ****************************************************************************
26340 echo "You can type now 'make' to build ntfs-3g."