2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for random128 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
640 for dir
in $PATH /usr
/ucb
; do
642 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho
; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL
=/bin
/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
681 SHELL
="$CONFIG_SHELL"
683 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string
=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev
/null
6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix
=/usr
/local
737 ac_config_libobj_dir
=.
743 SHELL
=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME
='random128'
747 PACKAGE_TARNAME
='random128'
748 PACKAGE_VERSION
='0.10'
749 PACKAGE_STRING
='random128 0.10'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="random128.c"
753 # Factoring default headers for most tests.
754 ac_includes_default
="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars
='am__EXEEXT_FALSE
847 INSTALL_STRIP_PROGRAM
889 program_transform_name
901 enable_option_checking
902 enable_dependency_tracking
911 ac_precious_vars
='build_alias
922 # Initialize some variables set by options.
924 ac_init_version
=false
925 ac_unrecognized_opts
=
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name
=s
,x
,x
,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir
='${exec_prefix}/bin'
951 sbindir
='${exec_prefix}/sbin'
952 libexecdir
='${exec_prefix}/libexec'
953 datarootdir
='${prefix}/share'
954 datadir
='${datarootdir}'
955 sysconfdir
='${prefix}/etc'
956 sharedstatedir
='${prefix}/com'
957 localstatedir
='${prefix}/var'
958 includedir
='${prefix}/include'
959 oldincludedir
='/usr/include'
960 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
961 infodir
='${datarootdir}/info'
966 libdir
='${exec_prefix}/lib'
967 localedir
='${datarootdir}/locale'
968 mandir
='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\
$ac_option
982 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
994 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
997 -build |
--build |
--buil |
--bui |
--bu)
998 ac_prev
=build_alias
;;
999 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1000 build_alias
=$ac_optarg ;;
1002 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1003 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1004 ac_prev
=cache_file
;;
1005 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1006 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1007 cache_file
=$ac_optarg ;;
1009 --config-cache |
-C)
1010 cache_file
=config.cache
;;
1012 -datadir |
--datadir |
--datadi |
--datad)
1014 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1015 datadir
=$ac_optarg ;;
1017 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1018 |
--dataroo |
--dataro |
--datar)
1019 ac_prev
=datarootdir
;;
1020 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1021 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1022 datarootdir
=$ac_optarg ;;
1024 -disable-* |
--disable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_useropt_orig
=$ac_useropt
1031 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_
$ac_useropt"
1036 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep
=', ';;
1039 eval enable_
$ac_useropt=no
;;
1041 -docdir |
--docdir |
--docdi |
--doc |
--do)
1043 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1044 docdir
=$ac_optarg ;;
1046 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1048 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1049 dvidir
=$ac_optarg ;;
1051 -enable-* |
--enable-*)
1052 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=\
$ac_optarg ;;
1068 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1069 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1070 |
--exec |
--exe |
--ex)
1071 ac_prev
=exec_prefix
;;
1072 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1073 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1074 |
--exec=* |
--exe=* |
--ex=*)
1075 exec_prefix
=$ac_optarg ;;
1077 -gas |
--gas |
--ga |
--g)
1078 # Obsolete; use --with-gas.
1081 -help |
--help |
--hel |
--he |
-h)
1082 ac_init_help
=long
;;
1083 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1084 ac_init_help
=recursive
;;
1085 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1086 ac_init_help
=short
;;
1088 -host |
--host |
--hos |
--ho)
1089 ac_prev
=host_alias
;;
1090 -host=* |
--host=* |
--hos=* |
--ho=*)
1091 host_alias
=$ac_optarg ;;
1093 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1095 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1097 htmldir
=$ac_optarg ;;
1099 -includedir |
--includedir |
--includedi |
--included |
--include \
1100 |
--includ |
--inclu |
--incl |
--inc)
1101 ac_prev
=includedir
;;
1102 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1103 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1104 includedir
=$ac_optarg ;;
1106 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1108 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1109 infodir
=$ac_optarg ;;
1111 -libdir |
--libdir |
--libdi |
--libd)
1113 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1114 libdir
=$ac_optarg ;;
1116 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1117 |
--libexe |
--libex |
--libe)
1118 ac_prev
=libexecdir
;;
1119 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1120 |
--libexe=* |
--libex=* |
--libe=*)
1121 libexecdir
=$ac_optarg ;;
1123 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1124 ac_prev
=localedir
;;
1125 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1126 localedir
=$ac_optarg ;;
1128 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1129 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1130 ac_prev
=localstatedir
;;
1131 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1132 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1133 localstatedir
=$ac_optarg ;;
1135 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1137 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1138 mandir
=$ac_optarg ;;
1140 -nfp |
--nfp |
--nf)
1141 # Obsolete; use --without-fp.
1144 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1145 |
--no-cr |
--no-c |
-n)
1148 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1149 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1152 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1153 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1154 |
--oldin |
--oldi |
--old |
--ol |
--o)
1155 ac_prev
=oldincludedir
;;
1156 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1157 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1158 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1159 oldincludedir
=$ac_optarg ;;
1161 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1163 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1164 prefix
=$ac_optarg ;;
1166 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1167 |
--program-pre |
--program-pr |
--program-p)
1168 ac_prev
=program_prefix
;;
1169 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1170 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1171 program_prefix
=$ac_optarg ;;
1173 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1174 |
--program-suf |
--program-su |
--program-s)
1175 ac_prev
=program_suffix
;;
1176 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1177 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1178 program_suffix
=$ac_optarg ;;
1180 -program-transform-name |
--program-transform-name \
1181 |
--program-transform-nam |
--program-transform-na \
1182 |
--program-transform-n |
--program-transform- \
1183 |
--program-transform |
--program-transfor \
1184 |
--program-transfo |
--program-transf \
1185 |
--program-trans |
--program-tran \
1186 |
--progr-tra |
--program-tr |
--program-t)
1187 ac_prev
=program_transform_name
;;
1188 -program-transform-name=* |
--program-transform-name=* \
1189 |
--program-transform-nam=* |
--program-transform-na=* \
1190 |
--program-transform-n=* |
--program-transform-=* \
1191 |
--program-transform=* |
--program-transfor=* \
1192 |
--program-transfo=* |
--program-transf=* \
1193 |
--program-trans=* |
--program-tran=* \
1194 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1195 program_transform_name
=$ac_optarg ;;
1197 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1199 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1200 pdfdir
=$ac_optarg ;;
1202 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1204 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1207 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1208 |
-silent |
--silent |
--silen |
--sile |
--sil)
1211 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1213 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1215 sbindir
=$ac_optarg ;;
1217 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1218 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1219 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1221 ac_prev
=sharedstatedir
;;
1222 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1223 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1224 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1226 sharedstatedir
=$ac_optarg ;;
1228 -site |
--site |
--sit)
1230 -site=* |
--site=* |
--sit=*)
1233 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1235 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1236 srcdir
=$ac_optarg ;;
1238 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1239 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1240 ac_prev
=sysconfdir
;;
1241 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1242 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1243 sysconfdir
=$ac_optarg ;;
1245 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1246 ac_prev
=target_alias
;;
1247 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1248 target_alias
=$ac_optarg ;;
1250 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1253 -version |
--version |
--versio |
--versi |
--vers |
-V)
1254 ac_init_version
=: ;;
1257 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1260 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1261 { (exit 1); exit 1; }; }
1262 ac_useropt_orig
=$ac_useropt
1263 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep
=', ';;
1271 eval with_
$ac_useropt=\
$ac_optarg ;;
1273 -without-* |
--without-*)
1274 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1277 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1278 { (exit 1); exit 1; }; }
1279 ac_useropt_orig
=$ac_useropt
1280 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1286 ac_unrecognized_sep
=', ';;
1288 eval with_
$ac_useropt=no
;;
1291 # Obsolete; use --with-x.
1294 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1295 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1296 ac_prev
=x_includes
;;
1297 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1298 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1299 x_includes
=$ac_optarg ;;
1301 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1302 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1303 ac_prev
=x_libraries
;;
1304 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1305 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1306 x_libraries
=$ac_optarg ;;
1308 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1309 Try \`$0 --help' for more information." >&2
1310 { (exit 1); exit 1; }; }
1314 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1317 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1318 { (exit 1); exit 1; }; }
1319 eval $ac_envvar=\
$ac_optarg
1320 export $ac_envvar ;;
1323 # FIXME: should be removed in autoconf 3.0.
1324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1333 if test -n "$ac_prev"; then
1334 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1335 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1336 { (exit 1); exit 1; }; }
1339 if test -n "$ac_unrecognized_opts"; then
1340 case $enable_option_checking in
1342 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1343 { (exit 1); exit 1; }; } ;;
1344 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1348 # Check all directory arguments for consistency.
1349 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1350 datadir sysconfdir sharedstatedir localstatedir includedir \
1351 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1352 libdir localedir mandir
1354 eval ac_val
=\$
$ac_var
1355 # Remove trailing slashes.
1358 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1359 eval $ac_var=\
$ac_val;;
1361 # Be sure to have absolute directory names.
1363 [\\/$
]* | ?
:[\\/]* ) continue;;
1364 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1366 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1367 { (exit 1); exit 1; }; }
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used." >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1398 { (exit 1); exit 1; }; }
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1401 { (exit 1); exit 1; }; }
1404 # Find the source files, if location was not specified.
1405 if test -z "$srcdir"; then
1406 ac_srcdir_defaulted
=yes
1407 # Try the directory containing this script, then the parent directory.
1408 ac_confdir
=`$as_dirname -- "$as_myself" ||
1409 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1410 X"$as_myself" : 'X\(//\)[^/]' \| \
1411 X"$as_myself" : 'X\(//\)$' \| \
1412 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1413 $as_echo X"$as_myself" |
1414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1436 ac_srcdir_defaulted
=no
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1439 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1440 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1441 { (exit 1); exit 1; }; }
1443 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1445 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1446 { (exit 1); exit 1; }; }
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1456 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458 for ac_var
in $ac_precious_vars; do
1459 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1461 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1466 # Report the --help message.
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1472 \`configure' configures random128 0.10 to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/random128]
1521 --htmldir=DIR html documentation [DOCDIR]
1522 --dvidir=DIR dvi documentation [DOCDIR]
1523 --pdfdir=DIR pdf documentation [DOCDIR]
1524 --psdir=DIR ps documentation [DOCDIR]
1530 --program-prefix=PREFIX prepend PREFIX to installed program names
1531 --program-suffix=SUFFIX append SUFFIX to installed program names
1532 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1535 --build=BUILD configure
for building on BUILD
[guessed
]
1536 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1540 if test -n "$ac_init_help"; then
1541 case $ac_init_help in
1542 short | recursive
) echo "Configuration of random128 0.10:";;
1547 --disable-option-checking ignore unrecognized
--enable/--with options
1548 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1549 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1550 --disable-dependency-tracking speeds up one-time build
1551 --enable-dependency-tracking do not reject slow dependency extractors
1552 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1553 --enable-static[=PKGS
] build static libraries
[default
=yes]
1554 --enable-fast-install[=PKGS
]
1555 optimize
for fast installation
[default
=yes]
1556 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1559 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1560 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1561 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1563 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1564 --with-random=/dev
/urandom
- location of the system random
file generator
1565 --without-random - there is no system random
file generator
1567 Some influential environment variables
:
1568 CC C compiler
command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1571 nonstandard directory
<lib dir
>
1572 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1573 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1574 you have headers
in a nonstandard directory
<include dir
>
1577 Use these variables to override the choices made by
`configure' or to help
1578 it to find libraries and programs with nonstandard names/locations.
1580 Report bugs to <courier-users@lists.sourceforge.net>.
1585 if test "$ac_init_help" = "recursive"; then
1586 # If there are subdirs, report their specific --help.
1587 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588 test -d "$ac_dir" ||
1589 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1597 # A ".." for each directory in $ac_dir_suffix.
1598 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1599 case $ac_top_builddir_sub in
1600 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604 ac_abs_top_builddir=$ac_pwd
1605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606 # for backward compatibility:
1607 ac_top_builddir=$ac_top_build_prefix
1610 .) # We are building in place.
1612 ac_top_srcdir=$ac_top_builddir_sub
1613 ac_abs_top_srcdir=$ac_pwd ;;
1614 [\\/]* | ?:[\\/]* ) # Absolute name.
1615 ac_srcdir=$srcdir$ac_dir_suffix;
1616 ac_top_srcdir=$srcdir
1617 ac_abs_top_srcdir=$srcdir ;;
1619 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620 ac_top_srcdir=$ac_top_build_prefix$srcdir
1621 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1625 cd "$ac_dir" || { ac_status=$?; continue; }
1626 # Check for guested configure.
1627 if test -f "$ac_srcdir/configure.gnu"; then
1629 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630 elif test -f "$ac_srcdir/configure"; then
1632 $SHELL "$ac_srcdir/configure" --help=recursive
1634 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1636 cd "$ac_pwd" || { ac_status=$?; break; }
1640 test -n "$ac_init_help" && exit $ac_status
1641 if $ac_init_version; then
1643 random128 configure 0.10
1644 generated by GNU Autoconf 2.63
1646 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1647 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1648 This configure script is free software; the Free Software Foundation
1649 gives unlimited permission to copy, distribute and modify it.
1653 cat >config.log <<_ACEOF
1654 This file contains any messages produced by compilers while
1655 running configure, to aid debugging if configure makes a mistake.
1657 It was created by random128 $as_me 0.10, which was
1658 generated by GNU Autoconf 2.63. Invocation command line was
1670 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1671 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1672 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1673 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1674 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1676 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1677 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1679 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1680 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1681 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1682 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1683 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1684 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1685 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 $as_echo "PATH: $as_dir"
1710 # Keep a trace of the command line.
1711 # Strip out --no-create and --no-recursion so they do not pile up.
1712 # Strip out --silent because we don't want to record it for future runs.
1713 # Also quote any args containing shell meta-characters.
1714 # Make two passes to allow for proper duplicate-argument suppression.
1718 ac_must_keep_next=false
1724 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1726 | -silent | --silent | --silen | --sile | --sil)
1729 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1732 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1734 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1735 if test $ac_must_keep_next = true; then
1736 ac_must_keep_next=false # Got value, back to normal.
1739 *=* | --config-cache | -C | -disable-* | --disable-* \
1740 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1741 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1742 | -with-* | --with-* | -without-* | --without-* | --x)
1743 case "$ac_configure_args0 " in
1744 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1747 -* ) ac_must_keep_next=true ;;
1750 ac_configure_args="$ac_configure_args '$ac_arg'"
1755 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1756 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1758 # When interrupted or exit'd, cleanup temporary files, and complete
1759 # config.log. We remove comments because anyway the quotes in there
1760 # would cause problems or look ugly.
1761 # WARNING: Use '\'' to represent an apostrophe within the trap.
1762 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1763 trap 'exit_status=$?
1764 # Save into config.log some information that might help in debugging.
1769 ## ---------------- ##
1770 ## Cache variables. ##
1771 ## ---------------- ##
1774 # The following way of writing the cache mishandles newlines in values,
1776 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1777 eval ac_val=\$$ac_var
1781 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1782 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1785 _ | IFS | as_nl) ;; #(
1786 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1787 *) $as_unset $ac_var ;;
1792 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1793 *${as_nl}ac_space=\ *)
1795 "s/'\''/'\''\\\\'\'''\''/g;
1796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1799 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1807 ## ----------------- ##
1808 ## Output variables. ##
1809 ## ----------------- ##
1812 for ac_var in $ac_subst_vars
1814 eval ac_val=\$$ac_var
1816 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1818 $as_echo "$ac_var='\''$ac_val'\''"
1822 if test -n "$ac_subst_files"; then
1824 ## ------------------- ##
1825 ## File substitutions. ##
1826 ## ------------------- ##
1829 for ac_var in $ac_subst_files
1831 eval ac_val=\$$ac_var
1833 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 $as_echo "$ac_var='\''$ac_val'\''"
1840 if test -s confdefs.h; then
1850 test "$ac_signal" != 0 &&
1851 $as_echo "$as_me: caught signal $ac_signal"
1852 $as_echo "$as_me: exit $exit_status"
1854 rm -f core *.core core.conftest.* &&
1855 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1858 for ac_signal in 1 2 13 15; do
1859 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1863 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1864 rm -f -r conftest* confdefs.h
1866 # Predefined preprocessor variables.
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_NAME "$PACKAGE_NAME"
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1878 cat >>confdefs.h <<_ACEOF
1879 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_STRING "$PACKAGE_STRING"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1893 # Let the site file select an alternate cache file if it wants to.
1894 # Prefer an explicitly selected file to automatically selected ones.
1897 if test -n "$CONFIG_SITE"; then
1898 ac_site_file1=$CONFIG_SITE
1899 elif test "x$prefix" != xNONE; then
1900 ac_site_file1=$prefix/share/config.site
1901 ac_site_file2=$prefix/etc/config.site
1903 ac_site_file1=$ac_default_prefix/share/config.site
1904 ac_site_file2=$ac_default_prefix/etc/config.site
1906 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1908 test "x$ac_site_file" = xNONE && continue
1909 if test -r "$ac_site_file"; then
1910 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1911 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1912 sed 's/^/| /' "$ac_site_file" >&5
1917 if test -r "$cache_file"; then
1918 # Some versions of bash will fail to source /dev/null (special
1919 # files actually), so we avoid doing that.
1920 if test -f "$cache_file"; then
1921 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1922 $as_echo "$as_me: loading cache $cache_file" >&6;}
1924 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1925 *) . "./$cache_file";;
1929 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1930 $as_echo "$as_me: creating cache $cache_file" >&6;}
1934 # Check that the precious variables saved in the cache have kept the same
1936 ac_cache_corrupted=false
1937 for ac_var in $ac_precious_vars; do
1938 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1939 eval ac_new_set=\$ac_env_${ac_var}_set
1940 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1941 eval ac_new_val=\$ac_env_${ac_var}_value
1942 case $ac_old_set,$ac_new_set in
1944 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1945 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1946 ac_cache_corrupted=: ;;
1948 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1949 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1950 ac_cache_corrupted=: ;;
1953 if test "x$ac_old_val" != "x$ac_new_val"; then
1954 # differences in whitespace do not lead to failure.
1955 ac_old_val_w=`echo x
$ac_old_val`
1956 ac_new_val_w=`echo x
$ac_new_val`
1957 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1958 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1959 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1960 ac_cache_corrupted=:
1962 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1963 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1964 eval $ac_var=\$ac_old_val
1966 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1967 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1968 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1969 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1972 # Pass precious variables to config.status.
1973 if test "$ac_new_set" = set; then
1975 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1976 *) ac_arg=$ac_var=$ac_new_val ;;
1978 case " $ac_configure_args " in
1979 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1980 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1984 if $ac_cache_corrupted; then
1985 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1987 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1988 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1989 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1990 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1991 { (exit 1); exit 1; }; }
2019 ac_cpp='$CPP $CPPFLAGS'
2020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2026 >confdefs.h # Kill PACKAGE_ macros
2029 am__api_version='1.11'
2032 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2033 if test -f "$ac_dir/install-sh
"; then
2035 ac_install_sh="$ac_aux_dir/install-sh
-c"
2037 elif test -f "$ac_dir/install.sh
"; then
2039 ac_install_sh="$ac_aux_dir/install.sh
-c"
2041 elif test -f "$ac_dir/shtool
"; then
2043 ac_install_sh="$ac_aux_dir/shtool
install -c"
2047 if test -z "$ac_aux_dir"; then
2048 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2049 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2050 { (exit 1); exit 1; }; }
2053 # These three variables are undocumented and unsupported,
2054 # and are intended to be withdrawn in a future Autoconf release.
2055 # They can cause serious problems if a builder's source tree is in a directory
2056 # whose full name contains unusual characters.
2057 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2058 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2059 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2062 # Find a good install program. We prefer a C program (faster),
2063 # so one script is as good as another. But avoid the broken or
2064 # incompatible versions:
2065 # SysV /etc/install, /usr/sbin/install
2066 # SunOS /usr/etc/install
2067 # IRIX /sbin/install
2069 # AmigaOS /C/install, which installs bootblocks on floppy discs
2070 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2073 # OS/2's system install, which has a completely different semantic
2074 # ./install, which can be erroneously created by make from ./install.sh.
2075 # Reject install programs that cannot install multiple files.
2076 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2077 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2078 if test -z "$INSTALL"; then
2079 if test "${ac_cv_path_install+set}" = set; then
2080 $as_echo_n "(cached
) " >&6
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 # Account for people who put trailing slashes in PATH elements.
2089 ./ | .// | /cC/* | \
2090 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2091 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2094 # OSF1 and SCO ODT 3.0 have their own names for install.
2095 # Don't use installbsd from OSF since it installs stuff as root
2097 for ac_prog in ginstall scoinst install; do
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2100 if test $ac_prog = install &&
2101 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2102 # AIX install. It has an incompatible calling convention.
2104 elif test $ac_prog = install &&
2105 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2106 # program-specific install script used by HP pwplus--don't use.
2109 rm -rf conftest.one conftest.two conftest.dir
2110 echo one > conftest.one
2111 echo two > conftest.two
2113 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2114 test -s conftest.one && test -s conftest.two &&
2115 test -s conftest.dir/conftest.one &&
2116 test -s conftest.dir/conftest.two
2118 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2131 rm -rf conftest.one conftest.two conftest.dir
2134 if test "${ac_cv_path_install+set}" = set; then
2135 INSTALL=$ac_cv_path_install
2137 # As a last resort, use the slow shell script. Don't cache a
2138 # value for INSTALL within a source directory, because that will
2139 # break other packages using the cache if that directory is
2140 # removed, or if the value is a relative name.
2141 INSTALL=$ac_install_sh
2144 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2145 $as_echo "$INSTALL" >&6; }
2147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2148 # It thinks the first close brace ends the variable substitution.
2149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2153 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2155 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2156 $as_echo_n "checking whether build environment is sane...
" >&6; }
2159 echo timestamp > conftest.file
2160 # Reject unsafe characters in $srcdir or the absolute working directory
2161 # name. Accept space and tab only in the latter.
2165 *[\\\"\#\$\&\'\`$am_lf]*)
2166 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2167 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2168 { (exit 1); exit 1; }; };;
2171 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2172 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2173 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2174 { (exit 1); exit 1; }; };;
2177 # Do `set' in a subshell so we don
't clobber the current shell's
2178 # arguments. Must try -L first in case configure is actually a
2179 # symlink; some systems play weird games with the mod time of symlinks
2180 # (eg FreeBSD returns the mod time of the symlink's containing
2183 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2184 if test "$*" = "X"; then
2186 set X
`ls -t "$srcdir/configure" conftest.file`
2189 if test "$*" != "X $srcdir/configure conftest.file" \
2190 && test "$*" != "X conftest.file $srcdir/configure"; then
2192 # If neither matched, then we have a broken ls. This can happen
2193 # if, for instance, CONFIG_SHELL is bash and it inherits a
2194 # broken ls alias from the environment. This has actually
2195 # happened. Such a system could not be considered "sane".
2196 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2197 alias in your environment" >&5
2198 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2199 alias in your environment" >&2;}
2200 { (exit 1); exit 1; }; }
2203 test "$2" = conftest.
file
2209 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2210 Check your system clock" >&5
2211 $as_echo "$as_me: error: newly created file is older than distributed files!
2212 Check your system clock" >&2;}
2213 { (exit 1); exit 1; }; }
2215 { $as_echo "$as_me:$LINENO: result: yes" >&5
2216 $as_echo "yes" >&6; }
2217 test "$program_prefix" != NONE
&&
2218 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2219 # Use a double $ so make ignores it.
2220 test "$program_suffix" != NONE
&&
2221 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2222 # Double any \ or $.
2223 # By default was `s,x,x', remove it if useless.
2224 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2225 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2227 # expand $ac_aux_dir to an absolute path
2228 am_aux_dir
=`cd $ac_aux_dir && pwd`
2230 if test x
"${MISSING+set}" != xset
; then
2233 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2235 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2238 # Use eval to expand $SHELL
2239 if eval "$MISSING --run true"; then
2240 am_missing_run
="$MISSING --run "
2243 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2244 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2247 if test x
"${install_sh}" != xset
; then
2250 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2252 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2256 # Installed binaries are usually stripped using `strip' when the user
2257 # run `make install-strip'. However `strip' might not be the right
2258 # tool to use in cross-compilation environments, therefore Automake
2259 # will honor the `STRIP' environment variable to overrule this program.
2260 if test "$cross_compiling" != no
; then
2261 if test -n "$ac_tool_prefix"; then
2262 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2263 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 $as_echo_n "checking for $ac_word... " >&6; }
2266 if test "${ac_cv_prog_STRIP+set}" = set; then
2267 $as_echo_n "(cached) " >&6
2269 if test -n "$STRIP"; then
2270 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 STRIP
=$ac_cv_prog_STRIP
2290 if test -n "$STRIP"; then
2291 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2292 $as_echo "$STRIP" >&6; }
2294 { $as_echo "$as_me:$LINENO: result: no" >&5
2295 $as_echo "no" >&6; }
2300 if test -z "$ac_cv_prog_STRIP"; then
2302 # Extract the first word of "strip", so it can be a program name with args.
2303 set dummy strip
; ac_word
=$2
2304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 $as_echo_n "checking for $ac_word... " >&6; }
2306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2307 $as_echo_n "(cached) " >&6
2309 if test -n "$ac_ct_STRIP"; then
2310 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir
=.
2317 for ac_exec_ext
in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319 ac_cv_prog_ac_ct_STRIP
="strip"
2320 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2330 if test -n "$ac_ct_STRIP"; then
2331 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2332 $as_echo "$ac_ct_STRIP" >&6; }
2334 { $as_echo "$as_me:$LINENO: result: no" >&5
2335 $as_echo "no" >&6; }
2338 if test "x$ac_ct_STRIP" = x
; then
2341 case $cross_compiling:$ac_tool_warned in
2343 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2345 ac_tool_warned
=yes ;;
2350 STRIP
="$ac_cv_prog_STRIP"
2354 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2356 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2357 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2358 if test -z "$MKDIR_P"; then
2359 if test "${ac_cv_path_mkdir+set}" = set; then
2360 $as_echo_n "(cached) " >&6
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_prog
in mkdir gmkdir
; do
2368 for ac_exec_ext
in '' $ac_executable_extensions; do
2369 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2370 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2371 'mkdir (GNU coreutils) '* | \
2372 'mkdir (coreutils) '* | \
2373 'mkdir (fileutils) '4.1*)
2374 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2384 if test "${ac_cv_path_mkdir+set}" = set; then
2385 MKDIR_P
="$ac_cv_path_mkdir -p"
2387 # As a last resort, use the slow shell script. Don't cache a
2388 # value for MKDIR_P within a source directory, because that will
2389 # break other packages using the cache if that directory is
2390 # removed, or if the value is a relative name.
2391 test -d .
/--version && rmdir .
/--version
2392 MKDIR_P
="$ac_install_sh -d"
2395 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2396 $as_echo "$MKDIR_P" >&6; }
2400 [\\/$
]* | ?
:[\\/]*) ;;
2401 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2404 for ac_prog
in gawk mawk nawk
awk
2406 # Extract the first word of "$ac_prog", so it can be a program name with args.
2407 set dummy
$ac_prog; ac_word
=$2
2408 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2409 $as_echo_n "checking for $ac_word... " >&6; }
2410 if test "${ac_cv_prog_AWK+set}" = set; then
2411 $as_echo_n "(cached) " >&6
2413 if test -n "$AWK"; then
2414 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2420 test -z "$as_dir" && as_dir
=.
2421 for ac_exec_ext
in '' $ac_executable_extensions; do
2422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2423 ac_cv_prog_AWK
="$ac_prog"
2424 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 if test -n "$AWK"; then
2435 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2436 $as_echo "$AWK" >&6; }
2438 { $as_echo "$as_me:$LINENO: result: no" >&5
2439 $as_echo "no" >&6; }
2443 test -n "$AWK" && break
2446 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2447 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2449 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2450 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2451 $as_echo_n "(cached) " >&6
2453 cat >conftest.
make <<\_ACEOF
2456 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2458 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2459 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2461 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2463 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2467 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2468 { $as_echo "$as_me:$LINENO: result: yes" >&5
2469 $as_echo "yes" >&6; }
2472 { $as_echo "$as_me:$LINENO: result: no" >&5
2473 $as_echo "no" >&6; }
2474 SET_MAKE
="MAKE=${MAKE-make}"
2477 rm -rf .tst
2>/dev
/null
2478 mkdir .tst
2>/dev
/null
2479 if test -d .tst
; then
2484 rmdir .tst
2>/dev
/null
2486 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2487 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2488 # is not polluted with repeated "-I."
2489 am__isrc
=' -I$(srcdir)'
2490 # test to see if srcdir already configured
2491 if test -f $srcdir/config.status
; then
2492 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2493 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2494 { (exit 1); exit 1; }; }
2498 # test whether we have cygpath
2499 if test -z "$CYGPATH_W"; then
2500 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2501 CYGPATH_W
='cygpath -w'
2508 # Define the identity of the package.
2513 # Some tools Automake needs.
2515 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2518 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2521 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2524 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2527 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2529 # We need awk for the "check" target. The system "awk" is bad on
2531 # Always define AMTAR for backward compatibility.
2533 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2535 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2541 LPATH
="$PATH:/usr/local/bin"
2544 ac_config_headers
="$ac_config_headers config.h"
2546 DEPDIR
="${am__leading_dot}deps"
2548 ac_config_commands
="$ac_config_commands depfiles"
2551 am_make
=${MAKE-make}
2552 cat > confinc
<< 'END'
2554 @
echo this is the am__doit target
2557 # If we don't find an include directive, just comment out the code.
2558 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2559 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2563 # First try GNU make style include.
2564 echo "include confinc" > confmf
2565 # Ignore all kinds of additional output from `make'.
2566 case `$am_make -s -f confmf 2> /dev/null` in #(
2567 *the\ am__doit\ target
*)
2573 # Now try BSD make style include.
2574 if test "$am__include" = "#"; then
2575 echo '.include "confinc"' > confmf
2576 case `$am_make -s -f confmf 2> /dev/null` in #(
2577 *the\ am__doit\ target
*)
2578 am__include
=.include
2586 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2587 $as_echo "$_am_result" >&6; }
2588 rm -f confinc confmf
2590 # Check whether --enable-dependency-tracking was given.
2591 if test "${enable_dependency_tracking+set}" = set; then
2592 enableval
=$enable_dependency_tracking;
2595 if test "x$enable_dependency_tracking" != xno
; then
2596 am_depcomp
="$ac_aux_dir/depcomp"
2599 if test "x$enable_dependency_tracking" != xno; then
2609 ac_cpp
='$CPP $CPPFLAGS'
2610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2613 if test -n "$ac_tool_prefix"; then
2614 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2615 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2616 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if test "${ac_cv_prog_CC+set}" = set; then
2619 $as_echo_n "(cached) " >&6
2621 if test -n "$CC"; then
2622 ac_cv_prog_CC
="$CC" # Let the user override the test.
2624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir
=.
2629 for ac_exec_ext
in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2632 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 if test -n "$CC"; then
2643 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2644 $as_echo "$CC" >&6; }
2646 { $as_echo "$as_me:$LINENO: result: no" >&5
2647 $as_echo "no" >&6; }
2652 if test -z "$ac_cv_prog_CC"; then
2654 # Extract the first word of "gcc", so it can be a program name with args.
2655 set dummy gcc
; ac_word
=$2
2656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$ac_ct_CC"; then
2662 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_ac_ct_CC
="gcc"
2672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2682 if test -n "$ac_ct_CC"; then
2683 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2684 $as_echo "$ac_ct_CC" >&6; }
2686 { $as_echo "$as_me:$LINENO: result: no" >&5
2687 $as_echo "no" >&6; }
2690 if test "x$ac_ct_CC" = x
; then
2693 case $cross_compiling:$ac_tool_warned in
2695 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697 ac_tool_warned
=yes ;;
2705 if test -z "$CC"; then
2706 if test -n "$ac_tool_prefix"; then
2707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2708 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_CC+set}" = set; then
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$CC"; then
2715 ac_cv_prog_CC
="$CC" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 if test -n "$CC"; then
2736 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2739 { $as_echo "$as_me:$LINENO: result: no" >&5
2740 $as_echo "no" >&6; }
2746 if test -z "$CC"; then
2747 # Extract the first word of "cc", so it can be a program name with args.
2748 set dummy cc
; ac_word
=$2
2749 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if test "${ac_cv_prog_CC+set}" = set; then
2752 $as_echo_n "(cached) " >&6
2754 if test -n "$CC"; then
2755 ac_cv_prog_CC
="$CC" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2766 ac_prog_rejected
=yes
2770 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test $ac_prog_rejected = yes; then
2778 # We found a bogon in the path, so make sure we never use it.
2779 set dummy
$ac_cv_prog_CC
2781 if test $# != 0; then
2782 # We chose a different compiler from the bogus one.
2783 # However, it has the same basename, so the bogon will be chosen
2784 # first if we set CC to just the basename; use the full file name.
2786 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:$LINENO: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$CC"; then
2803 if test -n "$ac_tool_prefix"; then
2804 for ac_prog
in cl.exe
2806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2807 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_CC+set}" = set; then
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$CC"; then
2814 ac_cv_prog_CC
="$CC" # Let the user override the test.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2824 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$CC"; then
2835 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2838 { $as_echo "$as_me:$LINENO: result: no" >&5
2839 $as_echo "no" >&6; }
2843 test -n "$CC" && break
2846 if test -z "$CC"; then
2848 for ac_prog
in cl.exe
2850 # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy
$ac_prog; ac_word
=$2
2852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$ac_ct_CC"; then
2858 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_ac_ct_CC
="$ac_prog"
2868 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2878 if test -n "$ac_ct_CC"; then
2879 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2880 $as_echo "$ac_ct_CC" >&6; }
2882 { $as_echo "$as_me:$LINENO: result: no" >&5
2883 $as_echo "no" >&6; }
2887 test -n "$ac_ct_CC" && break
2890 if test "x$ac_ct_CC" = x
; then
2893 case $cross_compiling:$ac_tool_warned in
2895 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2897 ac_tool_warned
=yes ;;
2906 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2909 See \`config.log' for more details." >&5
2910 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2911 See \`config.log' for more details." >&2;}
2912 { (exit 1); exit 1; }; }; }
2914 # Provide some information about the compiler.
2915 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2918 { (ac_try
="$ac_compiler --version >&5"
2920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2924 $as_echo "$ac_try_echo") >&5
2925 (eval "$ac_compiler --version >&5") 2>&5
2927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }
2929 { (ac_try="$ac_compiler -v >&5"
2931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2932 *) ac_try_echo
=$ac_try;;
2934 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2935 $as_echo "$ac_try_echo") >&5
2936 (eval "$ac_compiler -v >&5") 2>&5
2938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }
2940 { (ac_try
="$ac_compiler -V >&5"
2942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2946 $as_echo "$ac_try_echo") >&5
2947 (eval "$ac_compiler -V >&5") 2>&5
2949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }
2952 cat >conftest.$ac_ext <<_ACEOF
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2967 ac_clean_files_save=$ac_clean_files
2968 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2969 # Try to create an executable without -o first, disregard a.out.
2970 # It will help us diagnose broken compilers, and finding out an intuition
2972 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2973 $as_echo_n "checking for C compiler default output file name... " >&6; }
2974 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2976 # The possible output files:
2977 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2980 for ac_file in $ac_files
2983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2984 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2989 if { (ac_try="$ac_link_default"
2991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2992 *) ac_try_echo
=$ac_try;;
2994 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2995 $as_echo "$ac_try_echo") >&5
2996 (eval "$ac_link_default") 2>&5
2998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; then
3000 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3001 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3002 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3003 # so that the user can short-circuit this test for compilers unknown to
3005 for ac_file
in $ac_files ''
3007 test -f "$ac_file" ||
continue
3009 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3012 # We found the default executable, but exeext='' is most
3016 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3018 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3020 # We set ac_cv_exeext here because the later test for it is not
3021 # safe: cross compilers may not add the suffix if given an `-o'
3022 # argument, so we may need to know it at that point already.
3023 # Even if this section looks crufty: it has the advantage of
3030 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3036 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3037 $as_echo "$ac_file" >&6; }
3038 if test -z "$ac_file"; then
3039 $as_echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.
$ac_ext >&5
3042 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3045 See \`config.log' for more details." >&5
3046 $as_echo "$as_me: error: C compiler cannot create executables
3047 See \`config.log' for more details." >&2;}
3048 { (exit 77); exit 77; }; }; }
3051 ac_exeext
=$ac_cv_exeext
3053 # Check that the compiler produces executables we can run. If not, either
3054 # the compiler is broken, or we cross compile.
3055 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3056 $as_echo_n "checking whether the C compiler works... " >&6; }
3057 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3058 # If not cross compiling, check that we can run a simple program.
3059 if test "$cross_compiling" != yes; then
3060 if { ac_try
='./$ac_file'
3061 { (case "(($ac_try" in
3062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3066 $as_echo "$ac_try_echo") >&5
3067 (eval "$ac_try") 2>&5
3069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3073 if test "$cross_compiling" = maybe; then
3076 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3079 If you meant to cross compile
, use \
`--host'.
3080 See \`config.log
' for more details." >&5
3081 $as_echo "$as_me: error: cannot run C compiled programs.
3082 If you meant to cross compile, use \`--host'.
3083 See \
`config.log' for more details." >&2;}
3084 { (exit 1); exit 1; }; }; }
3088 { $as_echo "$as_me:$LINENO: result: yes" >&5
3089 $as_echo "yes" >&6; }
3091 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3092 ac_clean_files=$ac_clean_files_save
3093 # Check that the compiler produces executables we can run. If not, either
3094 # the compiler is broken, or we cross compile.
3095 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3096 $as_echo_n "checking whether we are cross compiling... " >&6; }
3097 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3098 $as_echo "$cross_compiling" >&6; }
3100 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3101 $as_echo_n "checking for suffix of executables... " >&6; }
3102 if { (ac_try="$ac_link"
3104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3105 *) ac_try_echo
=$ac_try;;
3107 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3108 $as_echo "$ac_try_echo") >&5
3109 (eval "$ac_link") 2>&5
3111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; then
3113 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3114 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3115 # work properly (i.e., refer to `conftest.exe'), while it won't with
3117 for ac_file
in conftest.exe conftest conftest.
*; do
3118 test -f "$ac_file" ||
continue
3120 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3121 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3130 See \`config.log' for more details." >&5
3131 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3132 See \`config.log' for more details." >&2;}
3133 { (exit 1); exit 1; }; }; }
3136 rm -f conftest
$ac_cv_exeext
3137 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3138 $as_echo "$ac_cv_exeext" >&6; }
3140 rm -f conftest.
$ac_ext
3141 EXEEXT
=$ac_cv_exeext
3143 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3144 $as_echo_n "checking for suffix of object files... " >&6; }
3145 if test "${ac_cv_objext+set}" = set; then
3146 $as_echo_n "(cached) " >&6
3148 cat >conftest.
$ac_ext <<_ACEOF
3151 cat confdefs.h
>>conftest.
$ac_ext
3152 cat >>conftest.
$ac_ext <<_ACEOF
3153 /* end confdefs.h. */
3163 rm -f conftest.o conftest.obj
3164 if { (ac_try
="$ac_compile"
3166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3170 $as_echo "$ac_try_echo") >&5
3171 (eval "$ac_compile") 2>&5
3173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; then
3175 for ac_file in conftest.o conftest.obj conftest.*; do
3176 test -f "$ac_file" || continue;
3178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3179 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3190 See \
`config.log' for more details." >&5
3191 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3192 See \`config.log
' for more details." >&2;}
3193 { (exit 1); exit 1; }; }; }
3196 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3198 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3199 $as_echo "$ac_cv_objext" >&6; }
3200 OBJEXT=$ac_cv_objext
3202 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3203 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3204 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3205 $as_echo_n "(cached) " >&6
3207 cat >conftest.$ac_ext <<_ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3232 $as_echo "$ac_try_echo") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3235 grep -v '^
*+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_c_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3245 $as_echo "$as_me: failed program was:" >&5
3246 sed 's
/^
/|
/' conftest.$ac_ext >&5
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3255 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3256 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3257 if test $ac_compiler_gnu = yes; then
3262 ac_test_CFLAGS=${CFLAGS+set}
3263 ac_save_CFLAGS=$CFLAGS
3264 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3265 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3266 if test "${ac_cv_prog_cc_g+set}" = set; then
3267 $as_echo_n "(cached) " >&6
3269 ac_save_c_werror_flag=$ac_c_werror_flag
3270 ac_c_werror_flag=yes
3273 cat >conftest.$ac_ext <<_ACEOF
3276 cat confdefs.h >>conftest.$ac_ext
3277 cat >>conftest.$ac_ext <<_ACEOF
3278 /* end confdefs.h. */
3288 rm -f conftest.$ac_objext
3289 if { (ac_try="$ac_compile"
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3295 $as_echo "$ac_try_echo") >&5
3296 (eval "$ac_compile") 2>conftest.er1
3298 grep -v '^
*+' conftest.er1 >conftest.err
3300 cat conftest.err >&5
3301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } && {
3303 test -z "$ac_c_werror_flag" ||
3304 test ! -s conftest.err
3305 } && test -s conftest.$ac_objext; then
3308 $as_echo "$as_me: failed program was:" >&5
3309 sed 's
/^
/|
/' conftest.$ac_ext >&5
3312 cat >conftest.$ac_ext <<_ACEOF
3315 cat confdefs.h >>conftest.$ac_ext
3316 cat >>conftest.$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3327 rm -f conftest.$ac_objext
3328 if { (ac_try="$ac_compile"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3334 $as_echo "$ac_try_echo") >&5
3335 (eval "$ac_compile") 2>conftest.er1
3337 grep -v '^
*+' conftest.er1 >conftest.err
3339 cat conftest.err >&5
3340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } && {
3342 test -z "$ac_c_werror_flag" ||
3343 test ! -s conftest.err
3344 } && test -s conftest.$ac_objext; then
3347 $as_echo "$as_me: failed program was:" >&5
3348 sed 's
/^
/|
/' conftest.$ac_ext >&5
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3352 cat >conftest.$ac_ext <<_ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3367 rm -f conftest.$ac_objext
3368 if { (ac_try="$ac_compile"
3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371 *) ac_try_echo=$ac_try;;
3373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3374 $as_echo "$ac_try_echo") >&5
3375 (eval "$ac_compile") 2>conftest.er1
3377 grep -v '^
*+' conftest.er1 >conftest.err
3379 cat conftest.err >&5
3380 $as_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 $as_echo "$as_me: failed program was:" >&5
3388 sed 's
/^
/|
/' conftest.$ac_ext >&5
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 ac_c_werror_flag=$ac_save_c_werror_flag
3402 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3403 $as_echo "$ac_cv_prog_cc_g" >&6; }
3404 if test "$ac_test_CFLAGS" = set; then
3405 CFLAGS=$ac_save_CFLAGS
3406 elif test $ac_cv_prog_cc_g = yes; then
3407 if test "$GCC" = yes; then
3413 if test "$GCC" = yes; then
3419 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3420 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3421 if test "${ac_cv_prog_cc_c89+set}" = set; then
3422 $as_echo_n "(cached) " >&6
3424 ac_cv_prog_cc_c89=no
3426 cat >conftest.$ac_ext <<_ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3434 #include <sys/types.h>
3435 #include <sys/stat.h>
3436 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3437 struct buf
{ int x
; };
3438 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3439 static char
*e
(p
, i
)
3445 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3450 s
= g
(p
, va_arg
(v
,int
));
3455 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3456 function prototypes and stuff
, but not
'\xHH' hex character constants.
3457 These don
't provoke an error unfortunately, instead are silently treated
3458 as 'x
'. The following induces an error, until -std is added to get
3459 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3460 array size at least. It's necessary to
write '\x00'==0 to get something
3461 that
's true only with -std. */
3462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3465 inside strings and character constants. */
3467 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3469 int test (int i, double x);
3470 struct s1 {int (*f) (int a);};
3471 struct s2 {int (*f) (double a);};
3472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3486 CC="$ac_save_CC $ac_arg"
3487 rm -f conftest.$ac_objext
3488 if { (ac_try="$ac_compile"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3494 $as_echo "$ac_try_echo") >&5
3495 (eval "$ac_compile") 2>conftest.er1
3497 grep -v '^
*+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } && {
3502 test -z "$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 } && test -s conftest.$ac_objext; then
3505 ac_cv_prog_cc_c89=$ac_arg
3507 $as_echo "$as_me: failed program was:" >&5
3508 sed 's
/^
/|
/' conftest.$ac_ext >&5
3513 rm -f core conftest.err conftest.$ac_objext
3514 test "x$ac_cv_prog_cc_c89" != "xno" && break
3516 rm -f conftest.$ac_ext
3521 case "x$ac_cv_prog_cc_c89" in
3523 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3524 $as_echo "none needed" >&6; } ;;
3526 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3527 $as_echo "unsupported" >&6; } ;;
3529 CC="$CC $ac_cv_prog_cc_c89"
3530 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3531 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3538 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3541 depcc="$CC" am_compiler_list=
3543 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3544 $as_echo_n "checking dependency style of $depcc... " >&6; }
3545 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3546 $as_echo_n "(cached) " >&6
3548 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3549 # We make a subdir and do the tests there. Otherwise we can end up
3550 # making bogus files that we don't know about and never remove. For
3551 # instance it was reported that on HP-UX the gcc test will end up
3552 # making a dummy file named `D' -- because `-MD' means `put the output
3555 # Copy depcomp to subdir because otherwise we won't find it if we're
3556 # using a relative directory.
3557 cp "$am_depcomp" conftest.dir
3559 # We will build objects and dependencies in a subdirectory because
3560 # it helps to detect inapplicable dependency modes. For instance
3561 # both Tru64's cc and ICC support -MD to output dependencies as a
3562 # side effect of compilation, but ICC will put the dependencies in
3563 # the current directory while Tru64 will put them in the object
3567 am_cv_CC_dependencies_compiler_type
=none
3568 if test "$am_compiler_list" = ""; then
3569 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3572 case " $depcc " in #(
3573 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3576 for depmode
in $am_compiler_list; do
3577 # Setup a source with many dependencies, because some compilers
3578 # like to wrap large dependency lists on column 80 (with \), and
3579 # we should not choose a depcomp mode which is confused by this.
3581 # We need to recreate these files for each test, as the compiler may
3582 # overwrite some of them when testing with obscure command lines.
3583 # This happens at least with the AIX C compiler.
3585 for i
in 1 2 3 4 5 6; do
3586 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3587 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3588 # Solaris 8's {/usr,}/bin/sh.
3589 touch sub
/conftst
$i.h
3591 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3593 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3594 # mode. It turns out that the SunPro C++ compiler does not properly
3595 # handle `-M -o', and we need to detect this. Also, some Intel
3596 # versions had trouble with output in subdirs
3597 am__obj
=sub
/conftest.
${OBJEXT-o}
3598 am__minus_obj
="-o $am__obj"
3601 # This depmode causes a compiler race in universal mode.
3602 test "$am__universal" = false ||
continue
3605 # after this tag, mechanisms are not by side-effect, so they'll
3606 # only be used when explicitly requested
3607 if test "x$enable_dependency_tracking" = xyes
; then
3613 msvisualcpp | msvcmsys
)
3614 # This compiler won't grok `-c -o', but also, the minuso test has
3615 # not run yet. These depmodes are late enough in the game, and
3616 # so weak that their functioning should not be impacted.
3617 am__obj
=conftest.
${OBJEXT-o}
3622 if depmode
=$depmode \
3623 source=sub
/conftest.c object
=$am__obj \
3624 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3625 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3626 >/dev
/null
2>conftest.err
&&
3627 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3628 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3629 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3630 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3631 # icc doesn't choke on unknown options, it will just issue warnings
3632 # or remarks (even with -Werror). So we grep stderr for any message
3633 # that says an option was ignored or not supported.
3634 # When given -MP, icc 7.0 and 7.1 complain thusly:
3635 # icc: Command line warning: ignoring option '-M'; no argument required
3636 # The diagnosis changed in icc 8.0:
3637 # icc: Command line remark: option '-MP' not supported
3638 if (grep 'ignoring option' conftest.err ||
3639 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3640 am_cv_CC_dependencies_compiler_type
=$depmode
3649 am_cv_CC_dependencies_compiler_type
=none
3653 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3654 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3655 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3658 test "x$enable_dependency_tracking" != xno \
3659 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3661 am__fastdepCC_FALSE
='#'
3663 am__fastdepCC_TRUE
='#'
3664 am__fastdepCC_FALSE
=
3670 ac_cpp
='$CPP $CPPFLAGS'
3671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3674 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3675 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3676 # On Suns, sometimes $CPP names a directory.
3677 if test -n "$CPP" && test -d "$CPP"; then
3680 if test -z "$CPP"; then
3681 if test "${ac_cv_prog_CPP+set}" = set; then
3682 $as_echo_n "(cached) " >&6
3684 # Double quotes because CPP needs to be expanded
3685 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3688 for ac_c_preproc_warn_flag
in '' yes
3690 # Use a header file that comes with gcc, so configuring glibc
3691 # with a fresh cross-compiler works.
3692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3693 # <limits.h> exists even on freestanding compilers.
3694 # On the NeXT, cc -E runs the code through the compiler's parser,
3695 # not just through cpp. "Syntax error" is here to catch this case.
3696 cat >conftest.
$ac_ext <<_ACEOF
3699 cat confdefs.h
>>conftest.
$ac_ext
3700 cat >>conftest.
$ac_ext <<_ACEOF
3701 /* end confdefs.h. */
3703 # include <limits.h>
3705 # include <assert.h>
3709 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3715 $as_echo "$ac_try_echo") >&5
3716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3718 grep -v '^ *+' conftest.er1 >conftest.err
3720 cat conftest.err >&5
3721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } >/dev/null && {
3723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3724 test ! -s conftest.err
3728 $as_echo "$as_me: failed program was:" >&5
3729 sed 's/^/| /' conftest.$ac_ext >&5
3731 # Broken: fails on valid input.
3735 rm -f conftest.err conftest.$ac_ext
3737 # OK, works on sane cases. Now check whether nonexistent headers
3738 # can be detected and how.
3739 cat >conftest.$ac_ext <<_ACEOF
3742 cat confdefs.h >>conftest.$ac_ext
3743 cat >>conftest.$ac_ext <<_ACEOF
3744 /* end confdefs.h. */
3745 #include <ac_nonexistent.h>
3747 if { (ac_try="$ac_cpp conftest.$ac_ext"
3749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3750 *) ac_try_echo
=$ac_try;;
3752 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3753 $as_echo "$ac_try_echo") >&5
3754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3756 grep -v '^ *+' conftest.er1
>conftest.err
3758 cat conftest.err
>&5
3759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } >/dev
/null
&& {
3761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3762 test ! -s conftest.err
3764 # Broken: success on invalid input.
3767 $as_echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.
$ac_ext >&5
3770 # Passes both tests.
3775 rm -f conftest.err conftest.
$ac_ext
3778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3779 rm -f conftest.err conftest.
$ac_ext
3780 if $ac_preproc_ok; then
3792 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3793 $as_echo "$CPP" >&6; }
3795 for ac_c_preproc_warn_flag
in '' yes
3797 # Use a header file that comes with gcc, so configuring glibc
3798 # with a fresh cross-compiler works.
3799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3800 # <limits.h> exists even on freestanding compilers.
3801 # On the NeXT, cc -E runs the code through the compiler's parser,
3802 # not just through cpp. "Syntax error" is here to catch this case.
3803 cat >conftest.
$ac_ext <<_ACEOF
3806 cat confdefs.h
>>conftest.
$ac_ext
3807 cat >>conftest.
$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3810 # include <limits.h>
3812 # include <assert.h>
3816 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3822 $as_echo "$ac_try_echo") >&5
3823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3825 grep -v '^ *+' conftest.er1 >conftest.err
3827 cat conftest.err >&5
3828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } >/dev/null && {
3830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3831 test ! -s conftest.err
3835 $as_echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.$ac_ext >&5
3838 # Broken: fails on valid input.
3842 rm -f conftest.err conftest.$ac_ext
3844 # OK, works on sane cases. Now check whether nonexistent headers
3845 # can be detected and how.
3846 cat >conftest.$ac_ext <<_ACEOF
3849 cat confdefs.h >>conftest.$ac_ext
3850 cat >>conftest.$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3852 #include <ac_nonexistent.h>
3854 if { (ac_try="$ac_cpp conftest.$ac_ext"
3856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3857 *) ac_try_echo
=$ac_try;;
3859 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3860 $as_echo "$ac_try_echo") >&5
3861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3863 grep -v '^ *+' conftest.er1
>conftest.err
3865 cat conftest.err
>&5
3866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } >/dev
/null
&& {
3868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3869 test ! -s conftest.err
3871 # Broken: success on invalid input.
3874 $as_echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3877 # Passes both tests.
3882 rm -f conftest.err conftest.
$ac_ext
3885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3886 rm -f conftest.err conftest.
$ac_ext
3887 if $ac_preproc_ok; then
3890 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log' for more details." >&5
3894 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3895 See \`config.log' for more details." >&2;}
3896 { (exit 1); exit 1; }; }; }
3900 ac_cpp
='$CPP $CPPFLAGS'
3901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3906 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3907 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3908 if test "${ac_cv_path_GREP+set}" = set; then
3909 $as_echo_n "(cached) " >&6
3911 if test -z "$GREP"; then
3912 ac_path_GREP_found
=false
3913 # Loop through the user's path and test for each of PROGNAME-LIST
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3915 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_prog
in grep ggrep
; do
3920 for ac_exec_ext
in '' $ac_executable_extensions; do
3921 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3922 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3923 # Check for GNU ac_path_GREP and select it if it is found.
3924 # Check for GNU $ac_path_GREP
3925 case `"$ac_path_GREP" --version 2>&1` in
3927 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3930 $as_echo_n 0123456789 >"conftest.in"
3933 cat "conftest.in" "conftest.in" >"conftest.tmp"
3934 mv "conftest.tmp" "conftest.in"
3935 cp "conftest.in" "conftest.nl"
3936 $as_echo 'GREP' >> "conftest.nl"
3937 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3938 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3939 ac_count
=`expr $ac_count + 1`
3940 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3941 # Best one so far, save it but keep looking for a better one
3942 ac_cv_path_GREP
="$ac_path_GREP"
3943 ac_path_GREP_max
=$ac_count
3945 # 10*(2^10) chars as input seems more than enough
3946 test $ac_count -gt 10 && break
3948 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3951 $ac_path_GREP_found && break 3
3956 if test -z "$ac_cv_path_GREP"; then
3957 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3958 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3959 { (exit 1); exit 1; }; }
3962 ac_cv_path_GREP
=$GREP
3966 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3967 $as_echo "$ac_cv_path_GREP" >&6; }
3968 GREP
="$ac_cv_path_GREP"
3971 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3972 $as_echo_n "checking for egrep... " >&6; }
3973 if test "${ac_cv_path_EGREP+set}" = set; then
3974 $as_echo_n "(cached) " >&6
3976 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3977 then ac_cv_path_EGREP
="$GREP -E"
3979 if test -z "$EGREP"; then
3980 ac_path_EGREP_found
=false
3981 # Loop through the user's path and test for each of PROGNAME-LIST
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_prog
in egrep; do
3988 for ac_exec_ext
in '' $ac_executable_extensions; do
3989 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3990 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3991 # Check for GNU ac_path_EGREP and select it if it is found.
3992 # Check for GNU $ac_path_EGREP
3993 case `"$ac_path_EGREP" --version 2>&1` in
3995 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3998 $as_echo_n 0123456789 >"conftest.in"
4001 cat "conftest.in" "conftest.in" >"conftest.tmp"
4002 mv "conftest.tmp" "conftest.in"
4003 cp "conftest.in" "conftest.nl"
4004 $as_echo 'EGREP' >> "conftest.nl"
4005 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4006 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4007 ac_count
=`expr $ac_count + 1`
4008 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4009 # Best one so far, save it but keep looking for a better one
4010 ac_cv_path_EGREP
="$ac_path_EGREP"
4011 ac_path_EGREP_max
=$ac_count
4013 # 10*(2^10) chars as input seems more than enough
4014 test $ac_count -gt 10 && break
4016 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4019 $ac_path_EGREP_found && break 3
4024 if test -z "$ac_cv_path_EGREP"; then
4025 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4026 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4027 { (exit 1); exit 1; }; }
4030 ac_cv_path_EGREP
=$EGREP
4035 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4036 $as_echo "$ac_cv_path_EGREP" >&6; }
4037 EGREP
="$ac_cv_path_EGREP"
4040 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4041 $as_echo_n "checking for ANSI C header files... " >&6; }
4042 if test "${ac_cv_header_stdc+set}" = set; then
4043 $as_echo_n "(cached) " >&6
4045 cat >conftest.
$ac_ext <<_ACEOF
4048 cat confdefs.h
>>conftest.
$ac_ext
4049 cat >>conftest.
$ac_ext <<_ACEOF
4050 /* end confdefs.h. */
4064 rm -f conftest.
$ac_objext
4065 if { (ac_try
="$ac_compile"
4067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4071 $as_echo "$ac_try_echo") >&5
4072 (eval "$ac_compile") 2>conftest.er1
4074 grep -v '^ *+' conftest.er1 >conftest.err
4076 cat conftest.err >&5
4077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } && {
4079 test -z "$ac_c_werror_flag" ||
4080 test ! -s conftest.err
4081 } && test -s conftest.$ac_objext; then
4082 ac_cv_header_stdc=yes
4084 $as_echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.$ac_ext >&5
4087 ac_cv_header_stdc=no
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 if test $ac_cv_header_stdc = yes; then
4093 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4094 cat >conftest.$ac_ext <<_ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4104 $EGREP "memchr" >/dev/null 2>&1; then
4107 ac_cv_header_stdc=no
4113 if test $ac_cv_header_stdc = yes; then
4114 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4115 cat >conftest.$ac_ext <<_ACEOF
4118 cat confdefs.h >>conftest.$ac_ext
4119 cat >>conftest.$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4125 $EGREP "free" >/dev/null 2>&1; then
4128 ac_cv_header_stdc=no
4134 if test $ac_cv_header_stdc = yes; then
4135 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4136 if test "$cross_compiling" = yes; then
4139 cat >conftest.$ac_ext <<_ACEOF
4142 cat confdefs.h >>conftest.$ac_ext
4143 cat >>conftest.$ac_ext <<_ACEOF
4144 /* end confdefs.h. */
4147 #if ((' ' & 0x0FF) == 0x020)
4148 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4149 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4151 # define ISLOWER(c) \
4152 (('a' <= (c) && (c) <= 'i') \
4153 || ('j' <= (c) && (c) <= 'r') \
4154 || ('s' <= (c) && (c) <= 'z'))
4155 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4158 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4163 for (i = 0; i < 256; i++)
4164 if (XOR (islower (i), ISLOWER (i))
4165 || toupper (i) != TOUPPER (i))
4170 rm -f conftest$ac_exeext
4171 if { (ac_try="$ac_link"
4173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4174 *) ac_try_echo
=$ac_try;;
4176 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4177 $as_echo "$ac_try_echo") >&5
4178 (eval "$ac_link") 2>&5
4180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4182 { (case "(($ac_try" in
4183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4187 $as_echo "$ac_try_echo") >&5
4188 (eval "$ac_try") 2>&5
4190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; }; then
4194 $as_echo "$as_me: program exited with status $ac_status" >&5
4195 $as_echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.$ac_ext >&5
4199 ac_cv_header_stdc=no
4201 rm -rf conftest.dSYM
4202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4208 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4209 $as_echo "$ac_cv_header_stdc" >&6; }
4210 if test $ac_cv_header_stdc = yes; then
4212 cat >>confdefs.h <<\_ACEOF
4213 #define STDC_HEADERS 1
4218 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4228 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4229 inttypes.h stdint.h unistd.h
4231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4232 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4233 $as_echo_n "checking for $ac_header... " >&6; }
4234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4235 $as_echo_n "(cached) " >&6
4237 cat >conftest.$ac_ext <<_ACEOF
4240 cat confdefs.h >>conftest.$ac_ext
4241 cat >>conftest.$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4243 $ac_includes_default
4245 #include <$ac_header>
4247 rm -f conftest.$ac_objext
4248 if { (ac_try="$ac_compile"
4250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4251 *) ac_try_echo
=$ac_try;;
4253 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4254 $as_echo "$ac_try_echo") >&5
4255 (eval "$ac_compile") 2>conftest.er1
4257 grep -v '^ *+' conftest.er1
>conftest.err
4259 cat conftest.err
>&5
4260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } && {
4262 test -z "$ac_c_werror_flag" ||
4263 test ! -s conftest.err
4264 } && test -s conftest.
$ac_objext; then
4265 eval "$as_ac_Header=yes"
4267 $as_echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.
$ac_ext >&5
4270 eval "$as_ac_Header=no"
4273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4275 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4276 $as_echo "$as_val"'`
4277 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4278 $as_echo "$ac_res" >&6; }
4279 as_val
=`eval 'as_val=${'$as_ac_Header'}
4280 $as_echo "$as_val"'`
4281 if test "x$as_val" = x
""yes; then
4282 cat >>confdefs.h
<<_ACEOF
4283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4292 if test "${ac_cv_header_minix_config_h+set}" = set; then
4293 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4294 $as_echo_n "checking for minix/config.h... " >&6; }
4295 if test "${ac_cv_header_minix_config_h+set}" = set; then
4296 $as_echo_n "(cached) " >&6
4298 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4299 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4301 # Is the header compilable?
4302 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4303 $as_echo_n "checking minix/config.h usability... " >&6; }
4304 cat >conftest.
$ac_ext <<_ACEOF
4307 cat confdefs.h
>>conftest.
$ac_ext
4308 cat >>conftest.
$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4310 $ac_includes_default
4311 #include <minix/config.h>
4313 rm -f conftest.
$ac_objext
4314 if { (ac_try
="$ac_compile"
4316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4317 *) ac_try_echo=$ac_try;;
4319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4320 $as_echo "$ac_try_echo") >&5
4321 (eval "$ac_compile") 2>conftest.er1
4323 grep -v '^ *+' conftest.er1 >conftest.err
4325 cat conftest.err >&5
4326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } && {
4328 test -z "$ac_c_werror_flag" ||
4329 test ! -s conftest.err
4330 } && test -s conftest.$ac_objext; then
4331 ac_header_compiler=yes
4333 $as_echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.$ac_ext >&5
4336 ac_header_compiler=no
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4341 $as_echo "$ac_header_compiler" >&6; }
4343 # Is the header present?
4344 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4345 $as_echo_n "checking minix/config.h presence... " >&6; }
4346 cat >conftest.$ac_ext <<_ACEOF
4349 cat confdefs.h >>conftest.$ac_ext
4350 cat >>conftest.$ac_ext <<_ACEOF
4351 /* end confdefs.h. */
4352 #include <minix/config.h>
4354 if { (ac_try="$ac_cpp conftest.$ac_ext"
4356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4357 *) ac_try_echo
=$ac_try;;
4359 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4360 $as_echo "$ac_try_echo") >&5
4361 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4363 grep -v '^ *+' conftest.er1
>conftest.err
4365 cat conftest.err
>&5
4366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } >/dev
/null
&& {
4368 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4369 test ! -s conftest.err
4371 ac_header_preproc
=yes
4373 $as_echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4376 ac_header_preproc
=no
4379 rm -f conftest.err conftest.
$ac_ext
4380 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4381 $as_echo "$ac_header_preproc" >&6; }
4383 # So? What about this header?
4384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4386 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4387 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4388 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4389 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4390 ac_header_preproc
=yes
4393 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4394 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4395 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4396 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4397 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4398 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4399 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4400 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4401 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4402 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4403 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4404 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4406 ## -------------------------------------------------- ##
4407 ## Report this to courier-users@lists.sourceforge.net ##
4408 ## -------------------------------------------------- ##
4410 ) |
sed "s/^/$as_me: WARNING: /" >&2
4413 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4414 $as_echo_n "checking for minix/config.h... " >&6; }
4415 if test "${ac_cv_header_minix_config_h+set}" = set; then
4416 $as_echo_n "(cached) " >&6
4418 ac_cv_header_minix_config_h
=$ac_header_preproc
4420 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4421 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4424 if test "x$ac_cv_header_minix_config_h" = x
""yes; then
4431 if test "$MINIX" = yes; then
4433 cat >>confdefs.h
<<\_ACEOF
4434 #define _POSIX_SOURCE 1
4438 cat >>confdefs.h
<<\_ACEOF
4439 #define _POSIX_1_SOURCE 2
4443 cat >>confdefs.h
<<\_ACEOF
4451 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4452 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4453 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4454 $as_echo_n "(cached) " >&6
4456 cat >conftest.
$ac_ext <<_ACEOF
4459 cat confdefs.h
>>conftest.
$ac_ext
4460 cat >>conftest.
$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4463 # define __EXTENSIONS__ 1
4464 $ac_includes_default
4473 rm -f conftest.
$ac_objext
4474 if { (ac_try
="$ac_compile"
4476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4480 $as_echo "$ac_try_echo") >&5
4481 (eval "$ac_compile") 2>conftest.er1
4483 grep -v '^ *+' conftest.er1 >conftest.err
4485 cat conftest.err >&5
4486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } && {
4488 test -z "$ac_c_werror_flag" ||
4489 test ! -s conftest.err
4490 } && test -s conftest.$ac_objext; then
4491 ac_cv_safe_to_define___extensions__=yes
4493 $as_echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.$ac_ext >&5
4496 ac_cv_safe_to_define___extensions__=no
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4502 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4503 test $ac_cv_safe_to_define___extensions__ = yes &&
4504 cat >>confdefs.h <<\_ACEOF
4505 #define __EXTENSIONS__ 1
4508 cat >>confdefs.h <<\_ACEOF
4509 #define _ALL_SOURCE 1
4512 cat >>confdefs.h <<\_ACEOF
4513 #define _GNU_SOURCE 1
4516 cat >>confdefs.h <<\_ACEOF
4517 #define _POSIX_PTHREAD_SEMANTICS 1
4520 cat >>confdefs.h <<\_ACEOF
4521 #define _TANDEM_SOURCE 1
4525 # Find a good install program. We prefer a C program (faster),
4526 # so one script is as good as another. But avoid the broken or
4527 # incompatible versions:
4528 # SysV /etc/install, /usr/sbin/install
4529 # SunOS /usr/etc/install
4530 # IRIX /sbin/install
4532 # AmigaOS /C/install, which installs bootblocks on floppy discs
4533 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4536 # OS/2's system install, which has a completely different semantic
4537 # ./install, which can be erroneously created by make from ./install.sh.
4538 # Reject install programs that cannot install multiple files.
4539 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4540 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4541 if test -z "$INSTALL"; then
4542 if test "${ac_cv_path_install+set}" = set; then
4543 $as_echo_n "(cached) " >&6
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir=.
4550 # Account for people who put trailing slashes in PATH elements.
4552 ./ | .// | /cC/* | \
4553 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4554 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4557 # OSF1 and SCO ODT 3.0 have their own names for install.
4558 # Don't use installbsd from OSF since it installs stuff as root
4560 for ac_prog in ginstall scoinst install; do
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4563 if test $ac_prog = install &&
4564 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4565 # AIX install. It has an incompatible calling convention.
4567 elif test $ac_prog = install &&
4568 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4569 # program-specific install script used by HP pwplus--don't use.
4572 rm -rf conftest.one conftest.two conftest.dir
4573 echo one > conftest.one
4574 echo two > conftest.two
4576 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4577 test -s conftest.one && test -s conftest.two &&
4578 test -s conftest.dir/conftest.one &&
4579 test -s conftest.dir/conftest.two
4581 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4594 rm -rf conftest.one conftest.two conftest.dir
4597 if test "${ac_cv_path_install+set}" = set; then
4598 INSTALL=$ac_cv_path_install
4600 # As a last resort, use the slow shell script. Don't cache a
4601 # value for INSTALL within a source directory, because that will
4602 # break other packages using the cache if that directory is
4603 # removed, or if the value is a relative name.
4604 INSTALL=$ac_install_sh
4607 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4608 $as_echo "$INSTALL" >&6; }
4610 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4611 # It thinks the first close brace ends the variable substitution.
4612 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4614 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4616 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4618 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4619 $as_echo_n "checking whether ln -s works... " >&6; }
4621 if test "$LN_S" = "ln -s"; then
4622 { $as_echo "$as_me:$LINENO: result: yes" >&5
4623 $as_echo "yes" >&6; }
4625 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4626 $as_echo "no, using $LN_S" >&6; }
4630 ac_cpp='$CPP $CPPFLAGS'
4631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4634 if test -n "$ac_tool_prefix"; then
4635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4637 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if test "${ac_cv_prog_CC+set}" = set; then
4640 $as_echo_n "(cached) " >&6
4642 if test -n "$CC"; then
4643 ac_cv_prog_CC="$CC" # Let the user override the test.
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4652 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4653 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 if test -n "$CC"; then
4664 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4665 $as_echo "$CC" >&6; }
4667 { $as_echo "$as_me:$LINENO: result: no" >&5
4668 $as_echo "no" >&6; }
4673 if test -z "$ac_cv_prog_CC"; then
4675 # Extract the first word of "gcc", so it can be a program name with args.
4676 set dummy gcc; ac_word=$2
4677 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4678 $as_echo_n "checking for $ac_word... " >&6; }
4679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4680 $as_echo_n "(cached) " >&6
4682 if test -n "$ac_ct_CC"; then
4683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4692 ac_cv_prog_ac_ct_CC="gcc"
4693 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4703 if test -n "$ac_ct_CC"; then
4704 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4705 $as_echo "$ac_ct_CC" >&6; }
4707 { $as_echo "$as_me:$LINENO: result: no" >&5
4708 $as_echo "no" >&6; }
4711 if test "x$ac_ct_CC" = x; then
4714 case $cross_compiling:$ac_tool_warned in
4716 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4718 ac_tool_warned=yes ;;
4726 if test -z "$CC"; then
4727 if test -n "$ac_tool_prefix"; then
4728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4729 set dummy ${ac_tool_prefix}cc; ac_word=$2
4730 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if test "${ac_cv_prog_CC+set}" = set; then
4733 $as_echo_n "(cached) " >&6
4735 if test -n "$CC"; then
4736 ac_cv_prog_CC="$CC" # Let the user override the test.
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 ac_cv_prog_CC="${ac_tool_prefix}cc"
4746 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 if test -n "$CC"; then
4757 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4758 $as_echo "$CC" >&6; }
4760 { $as_echo "$as_me:$LINENO: result: no" >&5
4761 $as_echo "no" >&6; }
4767 if test -z "$CC"; then
4768 # Extract the first word of "cc", so it can be a program name with args.
4769 set dummy cc; ac_word=$2
4770 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if test "${ac_cv_prog_CC+set}" = set; then
4773 $as_echo_n "(cached) " >&6
4775 if test -n "$CC"; then
4776 ac_cv_prog_CC="$CC" # Let the user override the test.
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4787 ac_prog_rejected=yes
4791 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 if test $ac_prog_rejected = yes; then
4799 # We found a bogon in the path, so make sure we never use it.
4800 set dummy $ac_cv_prog_CC
4802 if test $# != 0; then
4803 # We chose a different compiler from the bogus one.
4804 # However, it has the same basename, so the bogon will be chosen
4805 # first if we set CC to just the basename; use the full file name.
4807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4813 if test -n "$CC"; then
4814 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4815 $as_echo "$CC" >&6; }
4817 { $as_echo "$as_me:$LINENO: result: no" >&5
4818 $as_echo "no" >&6; }
4823 if test -z "$CC"; then
4824 if test -n "$ac_tool_prefix"; then
4825 for ac_prog in cl.exe
4827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4829 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if test "${ac_cv_prog_CC+set}" = set; then
4832 $as_echo_n "(cached) " >&6
4834 if test -n "$CC"; then
4835 ac_cv_prog_CC="$CC" # Let the user override the test.
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir=.
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4845 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 if test -n "$CC"; then
4856 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4857 $as_echo "$CC" >&6; }
4859 { $as_echo "$as_me:$LINENO: result: no" >&5
4860 $as_echo "no" >&6; }
4864 test -n "$CC" && break
4867 if test -z "$CC"; then
4869 for ac_prog in cl.exe
4871 # Extract the first word of "$ac_prog", so it can be a program name with args.
4872 set dummy $ac_prog; ac_word=$2
4873 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$ac_ct_CC"; then
4879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir=.
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_ac_ct_CC="$ac_prog"
4889 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4899 if test -n "$ac_ct_CC"; then
4900 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4901 $as_echo "$ac_ct_CC" >&6; }
4903 { $as_echo "$as_me:$LINENO: result: no" >&5
4904 $as_echo "no" >&6; }
4908 test -n "$ac_ct_CC" && break
4911 if test "x$ac_ct_CC" = x; then
4914 case $cross_compiling:$ac_tool_warned in
4916 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4918 ac_tool_warned=yes ;;
4927 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4929 { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4930 See \
`config.log' for more details." >&5
4931 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4932 See \`config.log
' for more details." >&2;}
4933 { (exit 1); exit 1; }; }; }
4935 # Provide some information about the compiler.
4936 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4939 { (ac_try="$ac_compiler --version >&5"
4941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4945 $as_echo "$ac_try_echo") >&5
4946 (eval "$ac_compiler --version >&5") 2>&5
4948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }
4950 { (ac_try="$ac_compiler -v >&5"
4952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4953 *) ac_try_echo=$ac_try;;
4955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4956 $as_echo "$ac_try_echo") >&5
4957 (eval "$ac_compiler -v >&5") 2>&5
4959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }
4961 { (ac_try="$ac_compiler -V >&5"
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4967 $as_echo "$ac_try_echo") >&5
4968 (eval "$ac_compiler -V >&5") 2>&5
4970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }
4973 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4974 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4975 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4976 $as_echo_n "(cached) " >&6
4978 cat >conftest.$ac_ext <<_ACEOF
4981 cat confdefs.h >>conftest.$ac_ext
4982 cat >>conftest.$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4996 rm -f conftest.$ac_objext
4997 if { (ac_try="$ac_compile"
4999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5000 *) ac_try_echo=$ac_try;;
5002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5003 $as_echo "$ac_try_echo") >&5
5004 (eval "$ac_compile") 2>conftest.er1
5006 grep -v '^
*+' conftest.er1 >conftest.err
5008 cat conftest.err >&5
5009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } && {
5011 test -z "$ac_c_werror_flag" ||
5012 test ! -s conftest.err
5013 } && test -s conftest.$ac_objext; then
5016 $as_echo "$as_me: failed program was:" >&5
5017 sed 's
/^
/|
/' conftest.$ac_ext >&5
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5026 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5027 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5028 if test $ac_compiler_gnu = yes; then
5033 ac_test_CFLAGS=${CFLAGS+set}
5034 ac_save_CFLAGS=$CFLAGS
5035 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5036 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5037 if test "${ac_cv_prog_cc_g+set}" = set; then
5038 $as_echo_n "(cached) " >&6
5040 ac_save_c_werror_flag=$ac_c_werror_flag
5041 ac_c_werror_flag=yes
5044 cat >conftest.$ac_ext <<_ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5059 rm -f conftest.$ac_objext
5060 if { (ac_try="$ac_compile"
5062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5063 *) ac_try_echo=$ac_try;;
5065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5066 $as_echo "$ac_try_echo") >&5
5067 (eval "$ac_compile") 2>conftest.er1
5069 grep -v '^
*+' conftest.er1 >conftest.err
5071 cat conftest.err >&5
5072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest.$ac_objext; then
5079 $as_echo "$as_me: failed program was:" >&5
5080 sed 's
/^
/|
/' conftest.$ac_ext >&5
5083 cat >conftest.$ac_ext <<_ACEOF
5086 cat confdefs.h >>conftest.$ac_ext
5087 cat >>conftest.$ac_ext <<_ACEOF
5088 /* end confdefs.h. */
5098 rm -f conftest.$ac_objext
5099 if { (ac_try="$ac_compile"
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5105 $as_echo "$ac_try_echo") >&5
5106 (eval "$ac_compile") 2>conftest.er1
5108 grep -v '^
*+' conftest.er1 >conftest.err
5110 cat conftest.err >&5
5111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } && {
5113 test -z "$ac_c_werror_flag" ||
5114 test ! -s conftest.err
5115 } && test -s conftest.$ac_objext; then
5118 $as_echo "$as_me: failed program was:" >&5
5119 sed 's
/^
/|
/' conftest.$ac_ext >&5
5121 ac_c_werror_flag=$ac_save_c_werror_flag
5123 cat >conftest.$ac_ext <<_ACEOF
5126 cat confdefs.h >>conftest.$ac_ext
5127 cat >>conftest.$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5138 rm -f conftest.$ac_objext
5139 if { (ac_try="$ac_compile"
5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142 *) ac_try_echo=$ac_try;;
5144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5145 $as_echo "$ac_try_echo") >&5
5146 (eval "$ac_compile") 2>conftest.er1
5148 grep -v '^
*+' conftest.er1 >conftest.err
5150 cat conftest.err >&5
5151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); } && {
5153 test -z "$ac_c_werror_flag" ||
5154 test ! -s conftest.err
5155 } && test -s conftest.$ac_objext; then
5158 $as_echo "$as_me: failed program was:" >&5
5159 sed 's
/^
/|
/' conftest.$ac_ext >&5
5164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5171 ac_c_werror_flag=$ac_save_c_werror_flag
5173 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5174 $as_echo "$ac_cv_prog_cc_g" >&6; }
5175 if test "$ac_test_CFLAGS" = set; then
5176 CFLAGS=$ac_save_CFLAGS
5177 elif test $ac_cv_prog_cc_g = yes; then
5178 if test "$GCC" = yes; then
5184 if test "$GCC" = yes; then
5190 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5191 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5192 if test "${ac_cv_prog_cc_c89+set}" = set; then
5193 $as_echo_n "(cached) " >&6
5195 ac_cv_prog_cc_c89=no
5197 cat >conftest.$ac_ext <<_ACEOF
5200 cat confdefs.h >>conftest.$ac_ext
5201 cat >>conftest.$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5205 #include <sys/types.h>
5206 #include <sys/stat.h>
5207 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
5208 struct buf
{ int x
; };
5209 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
5210 static char
*e
(p
, i
)
5216 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
5221 s
= g
(p
, va_arg
(v
,int
));
5226 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
5227 function prototypes and stuff
, but not
'\xHH' hex character constants.
5228 These don
't provoke an error unfortunately, instead are silently treated
5229 as 'x
'. The following induces an error, until -std is added to get
5230 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
5231 array size at least. It's necessary to
write '\x00'==0 to get something
5232 that
's true only with -std. */
5233 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5235 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5236 inside strings and character constants. */
5238 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
5240 int test (int i, double x);
5241 struct s1 {int (*f) (int a);};
5242 struct s2 {int (*f) (double a);};
5243 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5249 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5254 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5255 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5257 CC="$ac_save_CC $ac_arg"
5258 rm -f conftest.$ac_objext
5259 if { (ac_try="$ac_compile"
5261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5262 *) ac_try_echo=$ac_try;;
5264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5265 $as_echo "$ac_try_echo") >&5
5266 (eval "$ac_compile") 2>conftest.er1
5268 grep -v '^
*+' conftest.er1 >conftest.err
5270 cat conftest.err >&5
5271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); } && {
5273 test -z "$ac_c_werror_flag" ||
5274 test ! -s conftest.err
5275 } && test -s conftest.$ac_objext; then
5276 ac_cv_prog_cc_c89=$ac_arg
5278 $as_echo "$as_me: failed program was:" >&5
5279 sed 's
/^
/|
/' conftest.$ac_ext >&5
5284 rm -f core conftest.err conftest.$ac_objext
5285 test "x$ac_cv_prog_cc_c89" != "xno" && break
5287 rm -f conftest.$ac_ext
5292 case "x$ac_cv_prog_cc_c89" in
5294 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5295 $as_echo "none needed" >&6; } ;;
5297 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5298 $as_echo "unsupported" >&6; } ;;
5300 CC="$CC $ac_cv_prog_cc_c89"
5301 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5302 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5307 ac_cpp='$CPP $CPPFLAGS'
5308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5309 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5312 depcc="$CC" am_compiler_list=
5314 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5315 $as_echo_n "checking dependency style of $depcc... " >&6; }
5316 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5317 $as_echo_n "(cached) " >&6
5319 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5320 # We make a subdir and do the tests there. Otherwise we can end up
5321 # making bogus files that we don't know about and never remove. For
5322 # instance it was reported that on HP-UX the gcc test will end up
5323 # making a dummy file named `D' -- because `-MD' means `put the output
5326 # Copy depcomp to subdir because otherwise we won't find it if we're
5327 # using a relative directory.
5328 cp "$am_depcomp" conftest.dir
5330 # We will build objects and dependencies in a subdirectory because
5331 # it helps to detect inapplicable dependency modes. For instance
5332 # both Tru64's cc and ICC support -MD to output dependencies as a
5333 # side effect of compilation, but ICC will put the dependencies in
5334 # the current directory while Tru64 will put them in the object
5338 am_cv_CC_dependencies_compiler_type
=none
5339 if test "$am_compiler_list" = ""; then
5340 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5343 case " $depcc " in #(
5344 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5347 for depmode
in $am_compiler_list; do
5348 # Setup a source with many dependencies, because some compilers
5349 # like to wrap large dependency lists on column 80 (with \), and
5350 # we should not choose a depcomp mode which is confused by this.
5352 # We need to recreate these files for each test, as the compiler may
5353 # overwrite some of them when testing with obscure command lines.
5354 # This happens at least with the AIX C compiler.
5356 for i
in 1 2 3 4 5 6; do
5357 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5358 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5359 # Solaris 8's {/usr,}/bin/sh.
5360 touch sub
/conftst
$i.h
5362 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5364 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5365 # mode. It turns out that the SunPro C++ compiler does not properly
5366 # handle `-M -o', and we need to detect this. Also, some Intel
5367 # versions had trouble with output in subdirs
5368 am__obj
=sub
/conftest.
${OBJEXT-o}
5369 am__minus_obj
="-o $am__obj"
5372 # This depmode causes a compiler race in universal mode.
5373 test "$am__universal" = false ||
continue
5376 # after this tag, mechanisms are not by side-effect, so they'll
5377 # only be used when explicitly requested
5378 if test "x$enable_dependency_tracking" = xyes
; then
5384 msvisualcpp | msvcmsys
)
5385 # This compiler won't grok `-c -o', but also, the minuso test has
5386 # not run yet. These depmodes are late enough in the game, and
5387 # so weak that their functioning should not be impacted.
5388 am__obj
=conftest.
${OBJEXT-o}
5393 if depmode
=$depmode \
5394 source=sub
/conftest.c object
=$am__obj \
5395 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5396 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5397 >/dev
/null
2>conftest.err
&&
5398 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5399 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5400 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5401 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5402 # icc doesn't choke on unknown options, it will just issue warnings
5403 # or remarks (even with -Werror). So we grep stderr for any message
5404 # that says an option was ignored or not supported.
5405 # When given -MP, icc 7.0 and 7.1 complain thusly:
5406 # icc: Command line warning: ignoring option '-M'; no argument required
5407 # The diagnosis changed in icc 8.0:
5408 # icc: Command line remark: option '-MP' not supported
5409 if (grep 'ignoring option' conftest.err ||
5410 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5411 am_cv_CC_dependencies_compiler_type
=$depmode
5420 am_cv_CC_dependencies_compiler_type
=none
5424 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5425 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5426 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5429 test "x$enable_dependency_tracking" != xno \
5430 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5432 am__fastdepCC_FALSE
='#'
5434 am__fastdepCC_TRUE
='#'
5435 am__fastdepCC_FALSE
=
5441 # Extract the first word of "$ac_prog", so it can be a program name with args.
5442 set dummy
$ac_prog; ac_word
=$2
5443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if test "${ac_cv_path_PS+set}" = set; then
5446 $as_echo_n "(cached) " >&6
5450 ac_cv_path_PS
="$PS" # Let the user override the test with a path.
5453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 for as_dir
in $LPATH
5457 test -z "$as_dir" && as_dir
=.
5458 for ac_exec_ext
in '' $ac_executable_extensions; do
5459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5460 ac_cv_path_PS
="$as_dir/$ac_word$ac_exec_ext"
5461 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 if test -n "$PS"; then
5473 { $as_echo "$as_me:$LINENO: result: $PS" >&5
5474 $as_echo "$PS" >&6; }
5476 { $as_echo "$as_me:$LINENO: result: no" >&5
5477 $as_echo "no" >&6; }
5481 test -n "$PS" && break
5483 test -n "$PS" || PS
="ps"
5487 # Extract the first word of "$ac_prog", so it can be a program name with args.
5488 set dummy
$ac_prog; ac_word
=$2
5489 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if test "${ac_cv_path_W+set}" = set; then
5492 $as_echo_n "(cached) " >&6
5496 ac_cv_path_W
="$W" # Let the user override the test with a path.
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5500 for as_dir
in $LPATH
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_path_W
="$as_dir/$ac_word$ac_exec_ext"
5507 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 if test -n "$W"; then
5519 { $as_echo "$as_me:$LINENO: result: $W" >&5
5520 $as_echo "$W" >&6; }
5522 { $as_echo "$as_me:$LINENO: result: no" >&5
5523 $as_echo "no" >&6; }
5527 test -n "$W" && break
5529 test -n "$W" || W
="w"
5533 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5534 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5539 macro_version
='2.2.6'
5540 macro_revision
='1.3012'
5554 ltmain
="$ac_aux_dir/ltmain.sh"
5556 # Make sure we can run config.sub.
5557 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5558 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5559 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5560 { (exit 1); exit 1; }; }
5562 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5563 $as_echo_n "checking build system type... " >&6; }
5564 if test "${ac_cv_build+set}" = set; then
5565 $as_echo_n "(cached) " >&6
5567 ac_build_alias
=$build_alias
5568 test "x$ac_build_alias" = x
&&
5569 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5570 test "x$ac_build_alias" = x
&&
5571 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5572 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5573 { (exit 1); exit 1; }; }
5574 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5575 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5576 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5577 { (exit 1); exit 1; }; }
5580 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5581 $as_echo "$ac_cv_build" >&6; }
5582 case $ac_cv_build in
5584 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5585 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5586 { (exit 1); exit 1; }; };;
5589 ac_save_IFS
=$IFS; IFS
='-'
5595 # Remember, the first character of IFS is used to create $*,
5596 # except with old shells:
5599 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5602 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5603 $as_echo_n "checking host system type... " >&6; }
5604 if test "${ac_cv_host+set}" = set; then
5605 $as_echo_n "(cached) " >&6
5607 if test "x$host_alias" = x
; then
5608 ac_cv_host
=$ac_cv_build
5610 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5611 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5612 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5613 { (exit 1); exit 1; }; }
5617 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5618 $as_echo "$ac_cv_host" >&6; }
5621 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5622 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5623 { (exit 1); exit 1; }; };;
5626 ac_save_IFS
=$IFS; IFS
='-'
5632 # Remember, the first character of IFS is used to create $*,
5633 # except with old shells:
5636 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5639 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5640 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5641 if test "${ac_cv_path_SED+set}" = set; then
5642 $as_echo_n "(cached) " >&6
5644 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5645 for ac_i
in 1 2 3 4 5 6 7; do
5646 ac_script
="$ac_script$as_nl$ac_script"
5648 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5649 $as_unset ac_script || ac_script
=
5650 if test -z "$SED"; then
5651 ac_path_SED_found
=false
5652 # Loop through the user's path and test for each of PROGNAME-LIST
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_prog
in sed gsed
; do
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5661 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5662 # Check for GNU ac_path_SED and select it if it is found.
5663 # Check for GNU $ac_path_SED
5664 case `"$ac_path_SED" --version 2>&1` in
5666 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5669 $as_echo_n 0123456789 >"conftest.in"
5672 cat "conftest.in" "conftest.in" >"conftest.tmp"
5673 mv "conftest.tmp" "conftest.in"
5674 cp "conftest.in" "conftest.nl"
5675 $as_echo '' >> "conftest.nl"
5676 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5677 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5678 ac_count
=`expr $ac_count + 1`
5679 if test $ac_count -gt ${ac_path_SED_max-0}; then
5680 # Best one so far, save it but keep looking for a better one
5681 ac_cv_path_SED
="$ac_path_SED"
5682 ac_path_SED_max
=$ac_count
5684 # 10*(2^10) chars as input seems more than enough
5685 test $ac_count -gt 10 && break
5687 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5690 $ac_path_SED_found && break 3
5695 if test -z "$ac_cv_path_SED"; then
5696 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5697 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5698 { (exit 1); exit 1; }; }
5705 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5706 $as_echo "$ac_cv_path_SED" >&6; }
5707 SED
="$ac_cv_path_SED"
5710 test -z "$SED" && SED
=sed
5711 Xsed
="$SED -e 1s/^X//"
5723 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5724 $as_echo_n "checking for fgrep... " >&6; }
5725 if test "${ac_cv_path_FGREP+set}" = set; then
5726 $as_echo_n "(cached) " >&6
5728 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5729 then ac_cv_path_FGREP
="$GREP -F"
5731 if test -z "$FGREP"; then
5732 ac_path_FGREP_found
=false
5733 # Loop through the user's path and test for each of PROGNAME-LIST
5734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5735 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5738 test -z "$as_dir" && as_dir
=.
5739 for ac_prog
in fgrep
; do
5740 for ac_exec_ext
in '' $ac_executable_extensions; do
5741 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5742 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5743 # Check for GNU ac_path_FGREP and select it if it is found.
5744 # Check for GNU $ac_path_FGREP
5745 case `"$ac_path_FGREP" --version 2>&1` in
5747 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5750 $as_echo_n 0123456789 >"conftest.in"
5753 cat "conftest.in" "conftest.in" >"conftest.tmp"
5754 mv "conftest.tmp" "conftest.in"
5755 cp "conftest.in" "conftest.nl"
5756 $as_echo 'FGREP' >> "conftest.nl"
5757 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5758 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5759 ac_count
=`expr $ac_count + 1`
5760 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5761 # Best one so far, save it but keep looking for a better one
5762 ac_cv_path_FGREP
="$ac_path_FGREP"
5763 ac_path_FGREP_max
=$ac_count
5765 # 10*(2^10) chars as input seems more than enough
5766 test $ac_count -gt 10 && break
5768 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5771 $ac_path_FGREP_found && break 3
5776 if test -z "$ac_cv_path_FGREP"; then
5777 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5778 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5779 { (exit 1); exit 1; }; }
5782 ac_cv_path_FGREP
=$FGREP
5787 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5788 $as_echo "$ac_cv_path_FGREP" >&6; }
5789 FGREP
="$ac_cv_path_FGREP"
5792 test -z "$GREP" && GREP
=grep
5812 # Check whether --with-gnu-ld was given.
5813 if test "${with_gnu_ld+set}" = set; then
5814 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5820 if test "$GCC" = yes; then
5821 # Check if gcc -print-prog-name=ld gives a path.
5822 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5823 $as_echo_n "checking for ld used by $CC... " >&6; }
5826 # gcc leaves a trailing carriage return which upsets mingw
5827 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5829 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5832 # Accept absolute paths.
5834 re_direlt
='/[^/][^/]*/\.\./'
5835 # Canonicalize the pathname of ld
5836 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5837 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5838 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5840 test -z "$LD" && LD
="$ac_prog"
5843 # If it fails, then pretend we aren't using GCC.
5847 # If it is relative, then search for the first ld in PATH.
5851 elif test "$with_gnu_ld" = yes; then
5852 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5853 $as_echo_n "checking for GNU ld... " >&6; }
5855 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5856 $as_echo_n "checking for non-GNU ld... " >&6; }
5858 if test "${lt_cv_path_LD+set}" = set; then
5859 $as_echo_n "(cached) " >&6
5861 if test -z "$LD"; then
5862 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5863 for ac_dir
in $PATH; do
5865 test -z "$ac_dir" && ac_dir
=.
5866 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5867 lt_cv_path_LD
="$ac_dir/$ac_prog"
5868 # Check to see if the program is GNU ld. I'd rather use --version,
5869 # but apparently some variants of GNU ld only accept -v.
5870 # Break only if it was the GNU/non-GNU ld that we prefer.
5871 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5872 *GNU
* |
*'with BFD'*)
5873 test "$with_gnu_ld" != no
&& break
5876 test "$with_gnu_ld" != yes && break
5883 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5888 if test -n "$LD"; then
5889 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5890 $as_echo "$LD" >&6; }
5892 { $as_echo "$as_me:$LINENO: result: no" >&5
5893 $as_echo "no" >&6; }
5895 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5896 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5897 { (exit 1); exit 1; }; }
5898 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5899 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5900 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5901 $as_echo_n "(cached) " >&6
5903 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5904 case `$LD -v 2>&1 </dev/null` in
5905 *GNU
* |
*'with BFD'*)
5906 lt_cv_prog_gnu_ld
=yes
5909 lt_cv_prog_gnu_ld
=no
5913 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5914 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5915 with_gnu_ld
=$lt_cv_prog_gnu_ld
5925 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5926 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5927 if test "${lt_cv_path_NM+set}" = set; then
5928 $as_echo_n "(cached) " >&6
5930 if test -n "$NM"; then
5931 # Let the user override the test.
5934 lt_nm_to_check
="${ac_tool_prefix}nm"
5935 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5936 lt_nm_to_check
="$lt_nm_to_check nm"
5938 for lt_tmp_nm
in $lt_nm_to_check; do
5939 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5940 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5942 test -z "$ac_dir" && ac_dir
=.
5943 tmp_nm
="$ac_dir/$lt_tmp_nm"
5944 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5945 # Check to see if the nm accepts a BSD-compat flag.
5946 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5947 # nm: unknown option "B" ignored
5948 # Tru64's nm complains that /dev/null is an invalid object file
5949 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5950 */dev
/null
* |
*'Invalid file or object type'*)
5951 lt_cv_path_NM
="$tmp_nm -B"
5955 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5957 lt_cv_path_NM
="$tmp_nm -p"
5961 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5962 continue # so that we can try to find one that supports BSD flags
5971 : ${lt_cv_path_NM=no}
5974 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5975 $as_echo "$lt_cv_path_NM" >&6; }
5976 if test "$lt_cv_path_NM" != "no"; then
5979 # Didn't find any BSD compatible name lister, look for dumpbin.
5980 if test -n "$ac_tool_prefix"; then
5981 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5984 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5985 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5986 $as_echo_n "checking for $ac_word... " >&6; }
5987 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5988 $as_echo_n "(cached) " >&6
5990 if test -n "$DUMPBIN"; then
5991 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5997 test -z "$as_dir" && as_dir
=.
5998 for ac_exec_ext
in '' $ac_executable_extensions; do
5999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6000 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6001 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 DUMPBIN
=$ac_cv_prog_DUMPBIN
6011 if test -n "$DUMPBIN"; then
6012 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6013 $as_echo "$DUMPBIN" >&6; }
6015 { $as_echo "$as_me:$LINENO: result: no" >&5
6016 $as_echo "no" >&6; }
6020 test -n "$DUMPBIN" && break
6023 if test -z "$DUMPBIN"; then
6024 ac_ct_DUMPBIN
=$DUMPBIN
6025 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6027 # Extract the first word of "$ac_prog", so it can be a program name with args.
6028 set dummy
$ac_prog; ac_word
=$2
6029 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6030 $as_echo_n "checking for $ac_word... " >&6; }
6031 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6032 $as_echo_n "(cached) " >&6
6034 if test -n "$ac_ct_DUMPBIN"; then
6035 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6041 test -z "$as_dir" && as_dir
=.
6042 for ac_exec_ext
in '' $ac_executable_extensions; do
6043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6044 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6045 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6055 if test -n "$ac_ct_DUMPBIN"; then
6056 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6057 $as_echo "$ac_ct_DUMPBIN" >&6; }
6059 { $as_echo "$as_me:$LINENO: result: no" >&5
6060 $as_echo "no" >&6; }
6064 test -n "$ac_ct_DUMPBIN" && break
6067 if test "x$ac_ct_DUMPBIN" = x
; then
6070 case $cross_compiling:$ac_tool_warned in
6072 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6074 ac_tool_warned
=yes ;;
6076 DUMPBIN
=$ac_ct_DUMPBIN
6081 if test "$DUMPBIN" != ":"; then
6085 test -z "$NM" && NM
=nm
6092 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6093 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6094 if test "${lt_cv_nm_interface+set}" = set; then
6095 $as_echo_n "(cached) " >&6
6097 lt_cv_nm_interface
="BSD nm"
6098 echo "int some_variable = 0;" > conftest.
$ac_ext
6099 (eval echo "\"\$as_me:6099: $ac_compile\"" >&5)
6100 (eval "$ac_compile" 2>conftest.err
)
6101 cat conftest.err
>&5
6102 (eval echo "\"\$as_me:6102: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6103 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6104 cat conftest.err
>&5
6105 (eval echo "\"\$as_me:6105: output\"" >&5)
6106 cat conftest.out
>&5
6107 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6108 lt_cv_nm_interface
="MS dumpbin"
6112 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6113 $as_echo "$lt_cv_nm_interface" >&6; }
6115 # find the maximum length of command line arguments
6116 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6117 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6118 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6119 $as_echo_n "(cached) " >&6
6126 # On DJGPP, this test can blow up pretty badly due to problems in libc
6127 # (any single argument exceeding 2000 bytes causes a buffer overrun
6128 # during glob expansion). Even if it were fixed, the result of this
6129 # check would be larger than it should be.
6130 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6134 # Under GNU Hurd, this test is not required because there is
6135 # no limit to the length of command line arguments.
6136 # Libtool will interpret -1 as no limit whatsoever
6137 lt_cv_sys_max_cmd_len
=-1;
6140 cygwin
* | mingw
* | cegcc
*)
6141 # On Win9x/ME, this test blows up -- it succeeds, but takes
6142 # about 5 minutes as the teststring grows exponentially.
6143 # Worse, since 9x/ME are not pre-emptively multitasking,
6144 # you end up with a "frozen" computer, even though with patience
6145 # the test eventually succeeds (with a max line length of 256k).
6146 # Instead, let's just punt: use the minimum linelength reported by
6147 # all of the supported platforms: 8192 (on NT/2K/XP).
6148 lt_cv_sys_max_cmd_len
=8192;
6152 # On AmigaOS with pdksh, this test takes hours, literally.
6153 # So we just punt and use a minimum line length of 8192.
6154 lt_cv_sys_max_cmd_len
=8192;
6157 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6158 # This has been around since 386BSD, at least. Likely further.
6159 if test -x /sbin
/sysctl
; then
6160 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6161 elif test -x /usr
/sbin
/sysctl
; then
6162 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6164 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6166 # And add a safety zone
6167 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6168 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6172 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6173 lt_cv_sys_max_cmd_len
=196608
6177 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6178 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6179 # nice to cause kernel panics so lets avoid the loop below.
6180 # First set a reasonable default.
6181 lt_cv_sys_max_cmd_len
=16384
6183 if test -x /sbin
/sysconfig
; then
6184 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6185 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6190 lt_cv_sys_max_cmd_len
=102400
6192 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6193 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6194 if test -n "$kargmax"; then
6195 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6197 lt_cv_sys_max_cmd_len
=32768
6201 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6202 if test -n "$lt_cv_sys_max_cmd_len"; then
6203 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6204 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6206 # Make teststring a little bigger before we do anything with it.
6207 # a 1K string should be a reasonable start.
6208 for i
in 1 2 3 4 5 6 7 8 ; do
6209 teststring
=$teststring$teststring
6211 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6212 # If test is not a shell built-in, we'll probably end up computing a
6213 # maximum length that is only half of the actual maximum length, but
6215 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6216 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6217 test $i != 17 # 1/2 MB should be enough
6220 teststring
=$teststring$teststring
6222 # Only check the string length outside the loop.
6223 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6225 # Add a significant safety factor because C++ compilers can tack on
6226 # massive amounts of additional arguments before passing them to the
6227 # linker. It appears as though 1/2 is a usable value.
6228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6235 if test -n $lt_cv_sys_max_cmd_len ; then
6236 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6237 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6239 { $as_echo "$as_me:$LINENO: result: none" >&5
6240 $as_echo "none" >&6; }
6242 max_cmd_len
=$lt_cv_sys_max_cmd_len
6253 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6254 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6255 # Try some XSI features
6258 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6260 && eval 'test $(( 1 + 1 )) -eq 2 \
6261 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6263 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6264 $as_echo "$xsi_shell" >&6; }
6267 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6268 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6270 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6272 && lt_shell_append=yes
6273 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6274 $as_echo "$lt_shell_append" >&6; }
6277 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6287 # test EBCDIC or ASCII
6288 case `echo X|tr X '\101'` in
6289 A) # ASCII based system
6290 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6291 lt_SP2NL='tr \040 \012'
6292 lt_NL2SP='tr \015\012 \040\040'
6294 *) # EBCDIC based system
6295 lt_SP2NL='tr \100 \n'
6296 lt_NL2SP='tr \r\n \100\100'
6308 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6309 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6310 if test "${lt_cv_ld_reload_flag+set}" = set; then
6311 $as_echo_n "(cached
) " >&6
6313 lt_cv_ld_reload_flag='-r'
6315 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6316 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6317 reload_flag=$lt_cv_ld_reload_flag
6318 case $reload_flag in
6320 *) reload_flag=" $reload_flag" ;;
6322 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6325 if test "$GCC" = yes; then
6326 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6328 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6341 if test -n "$ac_tool_prefix"; then
6342 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6343 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6344 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6345 $as_echo_n "checking
for $ac_word...
" >&6; }
6346 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6347 $as_echo_n "(cached
) " >&6
6349 if test -n "$OBJDUMP"; then
6350 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir=.
6357 for ac_exec_ext in '' $ac_executable_extensions; do
6358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6359 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6360 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6369 OBJDUMP=$ac_cv_prog_OBJDUMP
6370 if test -n "$OBJDUMP"; then
6371 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6372 $as_echo "$OBJDUMP" >&6; }
6374 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6375 $as_echo "no
" >&6; }
6380 if test -z "$ac_cv_prog_OBJDUMP"; then
6381 ac_ct_OBJDUMP=$OBJDUMP
6382 # Extract the first word of "objdump
", so it can be a program name with args.
6383 set dummy objdump; ac_word=$2
6384 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6385 $as_echo_n "checking
for $ac_word...
" >&6; }
6386 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6387 $as_echo_n "(cached
) " >&6
6389 if test -n "$ac_ct_OBJDUMP"; then
6390 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir=.
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6399 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6400 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6409 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6410 if test -n "$ac_ct_OBJDUMP"; then
6411 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6412 $as_echo "$ac_ct_OBJDUMP" >&6; }
6414 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6415 $as_echo "no
" >&6; }
6418 if test "x
$ac_ct_OBJDUMP" = x; then
6421 case $cross_compiling:$ac_tool_warned in
6423 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6424 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6425 ac_tool_warned=yes ;;
6427 OBJDUMP=$ac_ct_OBJDUMP
6430 OBJDUMP="$ac_cv_prog_OBJDUMP"
6433 test -z "$OBJDUMP" && OBJDUMP=objdump
6443 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6444 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6445 if test "${lt_cv_deplibs_check_method+set}" = set; then
6446 $as_echo_n "(cached
) " >&6
6448 lt_cv_file_magic_cmd='$MAGIC_CMD'
6449 lt_cv_file_magic_test_file=
6450 lt_cv_deplibs_check_method='unknown'
6451 # Need to set the preceding variable on all platforms that support
6452 # interlibrary dependencies.
6453 # 'none' -- dependencies not supported.
6454 # `unknown' -- same as none, but documents that we really don't know.
6455 # 'pass_all' -- all dependencies passed with no checks.
6456 # 'test_compile' -- check by making test program.
6457 # 'file_magic [[regex]]' -- check by looking for files in library path
6458 # which responds to the $file_magic_cmd with a given extended regex.
6459 # If you have `file' or equivalent on your system and you're not sure
6460 # whether `pass_all' will *always* work, you probably want this one.
6464 lt_cv_deplibs_check_method=pass_all
6468 lt_cv_deplibs_check_method=pass_all
6472 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6473 lt_cv_file_magic_cmd='/usr/bin/file -L'
6474 lt_cv_file_magic_test_file=/shlib/libc.so
6478 # func_win32_libid is a shell function defined in ltmain.sh
6479 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6480 lt_cv_file_magic_cmd='func_win32_libid'
6484 # Base MSYS/MinGW do not provide the 'file' command needed by
6485 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6486 # unless we find 'file', for example because we are cross-compiling.
6487 if ( file / ) >/dev/null 2>&1; then
6488 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6489 lt_cv_file_magic_cmd='func_win32_libid'
6491 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6492 lt_cv_file_magic_cmd='$OBJDUMP -f'
6497 # use the weaker test based on 'objdump'. See mingw*.
6498 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6499 lt_cv_file_magic_cmd='$OBJDUMP -f'
6502 darwin* | rhapsody*)
6503 lt_cv_deplibs_check_method=pass_all
6506 freebsd* | dragonfly*)
6507 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6510 # Not sure whether the presence of OpenBSD here was a mistake.
6511 # Let's accept both of them until this is cleared up.
6512 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6513 lt_cv_file_magic_cmd=/usr/bin/file
6514 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6518 lt_cv_deplibs_check_method=pass_all
6523 lt_cv_deplibs_check_method=pass_all
6526 hpux10.20* | hpux11*)
6527 lt_cv_file_magic_cmd=/usr/bin/file
6530 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6531 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6534 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]'
6535 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6538 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6539 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6545 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6546 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6549 irix5* | irix6* | nonstopux*)
6551 *-32|*"-32 ") libmagic=32-bit;;
6552 *-n32|*"-n32 ") libmagic=N32;;
6553 *-64|*"-64 ") libmagic=64-bit;;
6554 *) libmagic=never-match;;
6556 lt_cv_deplibs_check_method=pass_all
6559 # This must be Linux ELF.
6560 linux* | k*bsd*-gnu)
6561 lt_cv_deplibs_check_method=pass_all
6565 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6566 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6568 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6573 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6574 lt_cv_file_magic_cmd=/usr/bin/file
6575 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6579 lt_cv_deplibs_check_method=pass_all
6583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6584 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6586 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6590 osf3* | osf4* | osf5*)
6591 lt_cv_deplibs_check_method=pass_all
6595 lt_cv_deplibs_check_method=pass_all
6599 lt_cv_deplibs_check_method=pass_all
6602 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6603 lt_cv_deplibs_check_method=pass_all
6607 case $host_vendor in
6609 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]'
6610 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6613 lt_cv_deplibs_check_method=pass_all
6616 lt_cv_file_magic_cmd='/bin/file'
6617 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6620 lt_cv_file_magic_cmd='/bin/file'
6621 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6622 lt_cv_file_magic_test_file=/lib/libc.so
6625 lt_cv_deplibs_check_method=pass_all
6628 lt_cv_deplibs_check_method=pass_all
6634 lt_cv_deplibs_check_method=pass_all
6639 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6640 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6641 file_magic_cmd=$lt_cv_file_magic_cmd
6642 deplibs_check_method=$lt_cv_deplibs_check_method
6643 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6656 if test -n "$ac_tool_prefix"; then
6657 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6658 set dummy ${ac_tool_prefix}ar; ac_word=$2
6659 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6660 $as_echo_n "checking
for $ac_word...
" >&6; }
6661 if test "${ac_cv_prog_AR+set}" = set; then
6662 $as_echo_n "(cached
) " >&6
6664 if test -n "$AR"; then
6665 ac_cv_prog_AR="$AR" # Let the user override the test.
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6674 ac_cv_prog_AR="${ac_tool_prefix}ar"
6675 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6685 if test -n "$AR"; then
6686 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
6687 $as_echo "$AR" >&6; }
6689 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6690 $as_echo "no
" >&6; }
6695 if test -z "$ac_cv_prog_AR"; then
6697 # Extract the first word of "ar", so it can be a program name with args.
6698 set dummy ar; ac_word=$2
6699 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6700 $as_echo_n "checking
for $ac_word...
" >&6; }
6701 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6702 $as_echo_n "(cached
) " >&6
6704 if test -n "$ac_ct_AR"; then
6705 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714 ac_cv_prog_ac_ct_AR="ar"
6715 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6724 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6725 if test -n "$ac_ct_AR"; then
6726 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6727 $as_echo "$ac_ct_AR" >&6; }
6729 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6730 $as_echo "no
" >&6; }
6733 if test "x
$ac_ct_AR" = x; then
6736 case $cross_compiling:$ac_tool_warned in
6738 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6739 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6740 ac_tool_warned=yes ;;
6748 test -z "$AR" && AR=ar
6749 test -z "$AR_FLAGS" && AR_FLAGS=cru
6761 if test -n "$ac_tool_prefix"; then
6762 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6763 set dummy ${ac_tool_prefix}strip; ac_word=$2
6764 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6765 $as_echo_n "checking
for $ac_word...
" >&6; }
6766 if test "${ac_cv_prog_STRIP+set}" = set; then
6767 $as_echo_n "(cached
) " >&6
6769 if test -n "$STRIP"; then
6770 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6779 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6780 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6789 STRIP=$ac_cv_prog_STRIP
6790 if test -n "$STRIP"; then
6791 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
6792 $as_echo "$STRIP" >&6; }
6794 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6795 $as_echo "no
" >&6; }
6800 if test -z "$ac_cv_prog_STRIP"; then
6802 # Extract the first word of "strip
", so it can be a program name with args.
6803 set dummy strip; ac_word=$2
6804 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6805 $as_echo_n "checking
for $ac_word...
" >&6; }
6806 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6807 $as_echo_n "(cached
) " >&6
6809 if test -n "$ac_ct_STRIP"; then
6810 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819 ac_cv_prog_ac_ct_STRIP="strip
"
6820 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6829 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6830 if test -n "$ac_ct_STRIP"; then
6831 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6832 $as_echo "$ac_ct_STRIP" >&6; }
6834 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6835 $as_echo "no
" >&6; }
6838 if test "x
$ac_ct_STRIP" = x; then
6841 case $cross_compiling:$ac_tool_warned in
6843 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6844 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6845 ac_tool_warned=yes ;;
6850 STRIP="$ac_cv_prog_STRIP"
6853 test -z "$STRIP" && STRIP=:
6860 if test -n "$ac_tool_prefix"; then
6861 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6862 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6863 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6864 $as_echo_n "checking
for $ac_word...
" >&6; }
6865 if test "${ac_cv_prog_RANLIB+set}" = set; then
6866 $as_echo_n "(cached
) " >&6
6868 if test -n "$RANLIB"; then
6869 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6878 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6879 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6888 RANLIB=$ac_cv_prog_RANLIB
6889 if test -n "$RANLIB"; then
6890 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
6891 $as_echo "$RANLIB" >&6; }
6893 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6894 $as_echo "no
" >&6; }
6899 if test -z "$ac_cv_prog_RANLIB"; then
6900 ac_ct_RANLIB=$RANLIB
6901 # Extract the first word of "ranlib
", so it can be a program name with args.
6902 set dummy ranlib; ac_word=$2
6903 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6904 $as_echo_n "checking
for $ac_word...
" >&6; }
6905 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6906 $as_echo_n "(cached
) " >&6
6908 if test -n "$ac_ct_RANLIB"; then
6909 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 test -z "$as_dir" && as_dir=.
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6918 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6919 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6928 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6929 if test -n "$ac_ct_RANLIB"; then
6930 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6931 $as_echo "$ac_ct_RANLIB" >&6; }
6933 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6934 $as_echo "no
" >&6; }
6937 if test "x
$ac_ct_RANLIB" = x; then
6940 case $cross_compiling:$ac_tool_warned in
6942 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6943 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6944 ac_tool_warned=yes ;;
6946 RANLIB=$ac_ct_RANLIB
6949 RANLIB="$ac_cv_prog_RANLIB"
6952 test -z "$RANLIB" && RANLIB=:
6959 # Determine commands to create old-style static archives.
6960 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6961 old_postinstall_cmds='chmod 644 $oldlib'
6962 old_postuninstall_cmds=
6964 if test -n "$RANLIB"; then
6967 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6970 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6973 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7009 # If no C compiler was specified, use CC.
7012 # If no C compiler flags were specified, use CFLAGS.
7013 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7015 # Allow CC to be a program name with arguments.
7019 # Check for command to grab the raw symbol name followed by C symbol from nm.
7020 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
7021 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7022 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7023 $as_echo_n "(cached
) " >&6
7026 # These are sane defaults that work on at least a few old systems.
7027 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7029 # Character class describing NM global symbol codes.
7030 symcode='[BCDEGRST]'
7032 # Regexp to match symbols that can be accessed directly from C.
7033 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7035 # Define system-specific variables.
7040 cygwin* | mingw* | pw32* | cegcc*)
7041 symcode='[ABCDGISTW]'
7044 if test "$host_cpu" = ia64; then
7045 symcode='[ABCDEGRST]'
7049 symcode='[BCDEGRST]'
7052 symcode='[BCDEGQRST]'
7063 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7071 # If we're using GNU nm, then use its standard symbol codes.
7072 case `$NM -V 2>&1` in
7073 *GNU* | *'with BFD'*)
7074 symcode='[ABCDGIRSTW]' ;;
7077 # Transform an extracted symbol line into a proper C declaration.
7078 # Some systems (esp. on ia64) link data and code symbols differently,
7079 # so use this general approach.
7080 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7082 # Transform an extracted symbol line into symbol name and symbol address
7083 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7084 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7086 # Handle CRLF in mingw tool chain
7090 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7094 # Try without a prefix underscore, then with it.
7095 for ac_symprfx in "" "_
"; do
7097 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7098 symxfrm="\\1 $ac_symprfx\\2 \\2"
7100 # Write the raw and C identifiers.
7101 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7102 # Fake it for dumpbin and say T for any non-static function
7103 # and D for any global variable.
7104 # Also find C++ and __fastcall symbols from MSVC++,
7105 # which start with @ or ?.
7106 lt_cv_sys_global_symbol_pipe="$AWK '"\
7107 " {last_section=section; section=\$ 3};"\
7108 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7109 " \$ 0!~/External *\|/{next};"\
7110 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7111 " {if(hide[section]) next};"\
7112 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7113 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7114 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7115 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7116 " ' prfx
=^
$ac_symprfx"
7118 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7121 # Check to see that the pipe works correctly.
7125 cat > conftest.$ac_ext <<_LT_EOF
7130 void nm_test_func(void);
7131 void nm_test_func(void){}
7135 int main(){nm_test_var='a';nm_test_func();return(0);}
7138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7139 (eval $ac_compile) 2>&5
7141 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7142 (exit $ac_status); }; then
7143 # Now try to grab the symbols.
7145 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
7146 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7148 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7149 (exit $ac_status); } && test -s "$nlist"; then
7150 # Try sorting and uniquifying the output.
7151 if sort "$nlist" | uniq > "$nlist"T; then
7152 mv -f "$nlist"T "$nlist"
7157 # Make sure that we snagged all the symbols we need.
7158 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7159 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7160 cat <<_LT_EOF > conftest.$ac_ext
7166 # Now generate the symbol file.
7167 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7169 cat <<_LT_EOF >> conftest.$ac_ext
7171 /* The mapping between symbol names and symbols. */
7176 lt__PROGRAM__LTX_preloaded_symbols[] =
7178 { "@PROGRAM@
", (void *) 0 },
7180 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7181 cat <<\_LT_EOF >> conftest.$ac_ext
7185 /* This works around a problem in FreeBSD linker */
7186 #ifdef FREEBSD_WORKAROUND
7187 static const void *lt_preloaded_setup() {
7188 return lt__PROGRAM__LTX_preloaded_symbols;
7196 # Now try linking the two files.
7197 mv conftest.$ac_objext conftstm.$ac_objext
7198 lt_save_LIBS="$LIBS"
7199 lt_save_CFLAGS="$CFLAGS"
7200 LIBS="conftstm.
$ac_objext"
7201 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7203 (eval $ac_link) 2>&5
7205 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7206 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7209 LIBS="$lt_save_LIBS"
7210 CFLAGS="$lt_save_CFLAGS"
7212 echo "cannot
find nm_test_func
in $nlist" >&5
7215 echo "cannot
find nm_test_var
in $nlist" >&5
7218 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7221 echo "$progname: failed program was
:" >&5
7222 cat conftest.$ac_ext >&5
7224 rm -rf conftest* conftst*
7226 # Do not use the global_symbol_pipe unless it works.
7227 if test "$pipe_works" = yes; then
7230 lt_cv_sys_global_symbol_pipe=
7236 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7237 lt_cv_sys_global_symbol_to_cdecl=
7239 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7240 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
7241 $as_echo "failed
" >&6; }
7243 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
7244 $as_echo "ok
" >&6; }
7268 # Check whether --enable-libtool-lock was given.
7269 if test "${enable_libtool_lock+set}" = set; then
7270 enableval=$enable_libtool_lock;
7273 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7275 # Some flags need to be propagated to the compiler or linker for good
7279 # Find out which ABI we are using.
7280 echo 'int i;' > conftest.$ac_ext
7281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7282 (eval $ac_compile) 2>&5
7284 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7285 (exit $ac_status); }; then
7286 case `/usr/bin/file conftest.$ac_objext` in
7298 # Find out which ABI we are using.
7299 echo '#line 7299 "configure
"' > conftest.$ac_ext
7300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7301 (eval $ac_compile) 2>&5
7303 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7304 (exit $ac_status); }; then
7305 if test "$lt_cv_prog_gnu_ld" = yes; then
7306 case `/usr/bin/file conftest.$ac_objext` in
7308 LD="${LD-ld} -melf32bsmip"
7311 LD="${LD-ld} -melf32bmipn32"
7314 LD="${LD-ld} -melf64bmip"
7318 case `/usr/bin/file conftest.$ac_objext` in
7334 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7335 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7336 # Find out which ABI we are using.
7337 echo 'int i;' > conftest.$ac_ext
7338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7339 (eval $ac_compile) 2>&5
7341 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7342 (exit $ac_status); }; then
7343 case `/usr/bin/file conftest.o` in
7346 x86_64-*kfreebsd*-gnu)
7347 LD="${LD-ld} -m elf_i386_fbsd
"
7350 LD="${LD-ld} -m elf_i386
"
7352 ppc64-*linux*|powerpc64-*linux*)
7353 LD="${LD-ld} -m elf32ppclinux
"
7356 LD="${LD-ld} -m elf_s390
"
7359 LD="${LD-ld} -m elf32_sparc
"
7365 x86_64-*kfreebsd*-gnu)
7366 LD="${LD-ld} -m elf_x86_64_fbsd
"
7369 LD="${LD-ld} -m elf_x86_64
"
7371 ppc*-*linux*|powerpc*-*linux*)
7372 LD="${LD-ld} -m elf64ppc
"
7374 s390*-*linux*|s390*-*tpf*)
7375 LD="${LD-ld} -m elf64_s390
"
7378 LD="${LD-ld} -m elf64_sparc
"
7388 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7389 SAVE_CFLAGS="$CFLAGS"
7390 CFLAGS="$CFLAGS -belf"
7391 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7392 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7393 if test "${lt_cv_cc_needs_belf+set}" = set; then
7394 $as_echo_n "(cached
) " >&6
7397 ac_cpp='$CPP $CPPFLAGS'
7398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7402 cat >conftest.$ac_ext <<_ACEOF
7405 cat confdefs.h >>conftest.$ac_ext
7406 cat >>conftest.$ac_ext <<_ACEOF
7407 /* end confdefs.h. */
7417 rm -f conftest.$ac_objext conftest$ac_exeext
7418 if { (ac_try="$ac_link"
7420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7421 *) ac_try_echo=$ac_try;;
7423 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7424 $as_echo "$ac_try_echo") >&5
7425 (eval "$ac_link") 2>conftest.er1
7427 grep -v '^ *+' conftest.er1 >conftest.err
7429 cat conftest.err >&5
7430 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7431 (exit $ac_status); } && {
7432 test -z "$ac_c_werror_flag" ||
7433 test ! -s conftest.err
7434 } && test -s conftest$ac_exeext && {
7435 test "$cross_compiling" = yes ||
7436 $as_test_x conftest$ac_exeext
7438 lt_cv_cc_needs_belf=yes
7440 $as_echo "$as_me: failed program was
:" >&5
7441 sed 's/^/| /' conftest.$ac_ext >&5
7443 lt_cv_cc_needs_belf=no
7446 rm -rf conftest.dSYM
7447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7448 conftest$ac_exeext conftest.$ac_ext
7450 ac_cpp='$CPP $CPPFLAGS'
7451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7456 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7457 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7458 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7459 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7460 CFLAGS="$SAVE_CFLAGS"
7464 # Find out which ABI we are using.
7465 echo 'int i;' > conftest.$ac_ext
7466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7467 (eval $ac_compile) 2>&5
7469 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7470 (exit $ac_status); }; then
7471 case `/usr/bin/file conftest.o` in
7473 case $lt_cv_prog_gnu_ld in
7474 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7476 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7488 need_locks="$enable_libtool_lock"
7492 rhapsody* | darwin*)
7493 if test -n "$ac_tool_prefix"; then
7494 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7495 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7496 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7497 $as_echo_n "checking
for $ac_word...
" >&6; }
7498 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7499 $as_echo_n "(cached
) " >&6
7501 if test -n "$DSYMUTIL"; then
7502 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 test -z "$as_dir" && as_dir=.
7509 for ac_exec_ext in '' $ac_executable_extensions; do
7510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7511 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7512 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7521 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7522 if test -n "$DSYMUTIL"; then
7523 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7524 $as_echo "$DSYMUTIL" >&6; }
7526 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7527 $as_echo "no
" >&6; }
7532 if test -z "$ac_cv_prog_DSYMUTIL"; then
7533 ac_ct_DSYMUTIL=$DSYMUTIL
7534 # Extract the first word of "dsymutil
", so it can be a program name with args.
7535 set dummy dsymutil; ac_word=$2
7536 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7537 $as_echo_n "checking
for $ac_word...
" >&6; }
7538 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7539 $as_echo_n "(cached
) " >&6
7541 if test -n "$ac_ct_DSYMUTIL"; then
7542 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7551 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7552 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7561 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7562 if test -n "$ac_ct_DSYMUTIL"; then
7563 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7564 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7566 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7567 $as_echo "no
" >&6; }
7570 if test "x
$ac_ct_DSYMUTIL" = x; then
7573 case $cross_compiling:$ac_tool_warned in
7575 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7576 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7577 ac_tool_warned=yes ;;
7579 DSYMUTIL=$ac_ct_DSYMUTIL
7582 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7585 if test -n "$ac_tool_prefix"; then
7586 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7587 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7588 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7589 $as_echo_n "checking
for $ac_word...
" >&6; }
7590 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7591 $as_echo_n "(cached
) " >&6
7593 if test -n "$NMEDIT"; then
7594 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7603 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7604 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7613 NMEDIT=$ac_cv_prog_NMEDIT
7614 if test -n "$NMEDIT"; then
7615 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7616 $as_echo "$NMEDIT" >&6; }
7618 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7619 $as_echo "no
" >&6; }
7624 if test -z "$ac_cv_prog_NMEDIT"; then
7625 ac_ct_NMEDIT=$NMEDIT
7626 # Extract the first word of "nmedit
", so it can be a program name with args.
7627 set dummy nmedit; ac_word=$2
7628 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7629 $as_echo_n "checking
for $ac_word...
" >&6; }
7630 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7631 $as_echo_n "(cached
) " >&6
7633 if test -n "$ac_ct_NMEDIT"; then
7634 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 test -z "$as_dir" && as_dir=.
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7643 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7644 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7653 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7654 if test -n "$ac_ct_NMEDIT"; then
7655 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7656 $as_echo "$ac_ct_NMEDIT" >&6; }
7658 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7659 $as_echo "no
" >&6; }
7662 if test "x
$ac_ct_NMEDIT" = x; then
7665 case $cross_compiling:$ac_tool_warned in
7667 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7668 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7669 ac_tool_warned=yes ;;
7671 NMEDIT=$ac_ct_NMEDIT
7674 NMEDIT="$ac_cv_prog_NMEDIT"
7677 if test -n "$ac_tool_prefix"; then
7678 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7679 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7680 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7681 $as_echo_n "checking
for $ac_word...
" >&6; }
7682 if test "${ac_cv_prog_LIPO+set}" = set; then
7683 $as_echo_n "(cached
) " >&6
7685 if test -n "$LIPO"; then
7686 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7696 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7705 LIPO=$ac_cv_prog_LIPO
7706 if test -n "$LIPO"; then
7707 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
7708 $as_echo "$LIPO" >&6; }
7710 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7711 $as_echo "no
" >&6; }
7716 if test -z "$ac_cv_prog_LIPO"; then
7718 # Extract the first word of "lipo
", so it can be a program name with args.
7719 set dummy lipo; ac_word=$2
7720 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7721 $as_echo_n "checking
for $ac_word...
" >&6; }
7722 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7723 $as_echo_n "(cached
) " >&6
7725 if test -n "$ac_ct_LIPO"; then
7726 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 ac_cv_prog_ac_ct_LIPO="lipo
"
7736 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7745 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7746 if test -n "$ac_ct_LIPO"; then
7747 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7748 $as_echo "$ac_ct_LIPO" >&6; }
7750 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7751 $as_echo "no
" >&6; }
7754 if test "x
$ac_ct_LIPO" = x; then
7757 case $cross_compiling:$ac_tool_warned in
7759 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7760 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7761 ac_tool_warned=yes ;;
7766 LIPO="$ac_cv_prog_LIPO"
7769 if test -n "$ac_tool_prefix"; then
7770 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7771 set dummy ${ac_tool_prefix}otool; ac_word=$2
7772 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7773 $as_echo_n "checking
for $ac_word...
" >&6; }
7774 if test "${ac_cv_prog_OTOOL+set}" = set; then
7775 $as_echo_n "(cached
) " >&6
7777 if test -n "$OTOOL"; then
7778 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7788 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7797 OTOOL=$ac_cv_prog_OTOOL
7798 if test -n "$OTOOL"; then
7799 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
7800 $as_echo "$OTOOL" >&6; }
7802 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7803 $as_echo "no
" >&6; }
7808 if test -z "$ac_cv_prog_OTOOL"; then
7810 # Extract the first word of "otool
", so it can be a program name with args.
7811 set dummy otool; ac_word=$2
7812 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$ac_ct_OTOOL"; then
7818 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827 ac_cv_prog_ac_ct_OTOOL="otool
"
7828 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7837 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7838 if test -n "$ac_ct_OTOOL"; then
7839 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7840 $as_echo "$ac_ct_OTOOL" >&6; }
7842 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7846 if test "x
$ac_ct_OTOOL" = x; then
7849 case $cross_compiling:$ac_tool_warned in
7851 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7852 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7853 ac_tool_warned=yes ;;
7858 OTOOL="$ac_cv_prog_OTOOL"
7861 if test -n "$ac_tool_prefix"; then
7862 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7863 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7864 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7865 $as_echo_n "checking
for $ac_word...
" >&6; }
7866 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7867 $as_echo_n "(cached
) " >&6
7869 if test -n "$OTOOL64"; then
7870 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7879 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7880 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7889 OTOOL64=$ac_cv_prog_OTOOL64
7890 if test -n "$OTOOL64"; then
7891 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7892 $as_echo "$OTOOL64" >&6; }
7894 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7895 $as_echo "no
" >&6; }
7900 if test -z "$ac_cv_prog_OTOOL64"; then
7901 ac_ct_OTOOL64=$OTOOL64
7902 # Extract the first word of "otool64
", so it can be a program name with args.
7903 set dummy otool64; ac_word=$2
7904 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7905 $as_echo_n "checking
for $ac_word...
" >&6; }
7906 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7907 $as_echo_n "(cached
) " >&6
7909 if test -n "$ac_ct_OTOOL64"; then
7910 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7919 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7920 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7929 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7930 if test -n "$ac_ct_OTOOL64"; then
7931 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7932 $as_echo "$ac_ct_OTOOL64" >&6; }
7934 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7935 $as_echo "no
" >&6; }
7938 if test "x
$ac_ct_OTOOL64" = x; then
7941 case $cross_compiling:$ac_tool_warned in
7943 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7944 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7945 ac_tool_warned=yes ;;
7947 OTOOL64=$ac_ct_OTOOL64
7950 OTOOL64="$ac_cv_prog_OTOOL64"
7979 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7980 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7981 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7982 $as_echo_n "(cached
) " >&6
7984 lt_cv_apple_cc_single_mod=no
7985 if test -z "${LT_MULTI_MODULE}"; then
7986 # By default we will add the -single_module flag. You can override
7987 # by either setting the environment variable LT_MULTI_MODULE
7988 # non-empty at configure time, or by adding -multi_module to the
7990 rm -rf libconftest.dylib*
7991 echo "int foo
(void
){return 1;}" > conftest.c
7992 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7993 -dynamiclib -Wl,-single_module conftest.c
" >&5
7994 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7995 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7997 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7998 lt_cv_apple_cc_single_mod=yes
8000 cat conftest.err >&5
8002 rm -rf libconftest.dylib*
8006 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
8007 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8008 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
8009 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8010 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8011 $as_echo_n "(cached
) " >&6
8013 lt_cv_ld_exported_symbols_list=no
8014 save_LDFLAGS=$LDFLAGS
8015 echo "_main
" > conftest.sym
8016 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8017 cat >conftest.$ac_ext <<_ACEOF
8020 cat confdefs.h >>conftest.$ac_ext
8021 cat >>conftest.$ac_ext <<_ACEOF
8022 /* end confdefs.h. */
8032 rm -f conftest.$ac_objext conftest$ac_exeext
8033 if { (ac_try="$ac_link"
8035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8036 *) ac_try_echo=$ac_try;;
8038 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8039 $as_echo "$ac_try_echo") >&5
8040 (eval "$ac_link") 2>conftest.er1
8042 grep -v '^ *+' conftest.er1 >conftest.err
8044 cat conftest.err >&5
8045 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8046 (exit $ac_status); } && {
8047 test -z "$ac_c_werror_flag" ||
8048 test ! -s conftest.err
8049 } && test -s conftest$ac_exeext && {
8050 test "$cross_compiling" = yes ||
8051 $as_test_x conftest$ac_exeext
8053 lt_cv_ld_exported_symbols_list=yes
8055 $as_echo "$as_me: failed program was
:" >&5
8056 sed 's/^/| /' conftest.$ac_ext >&5
8058 lt_cv_ld_exported_symbols_list=no
8061 rm -rf conftest.dSYM
8062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8063 conftest$ac_exeext conftest.$ac_ext
8064 LDFLAGS="$save_LDFLAGS"
8067 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
8068 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8070 rhapsody* | darwin1.[012])
8071 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8073 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8074 darwin*) # darwin 5.x on
8075 # if running on 10.5 or later, the deployment target defaults
8076 # to the OS version, if on x86, and 10.4, the deployment
8077 # target defaults to 10.4. Don't you love it?
8078 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8079 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8080 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8082 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8084 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8088 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8089 _lt_dar_single_mod='$single_module'
8091 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8092 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8094 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8096 if test "$DSYMUTIL" != ":"; then
8097 _lt_dsymutil='~$DSYMUTIL $lib || :'
8105 for ac_header in dlfcn.h
8107 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8108 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8109 $as_echo_n "checking
for $ac_header...
" >&6; }
8110 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8111 $as_echo_n "(cached
) " >&6
8113 cat >conftest.$ac_ext <<_ACEOF
8116 cat confdefs.h >>conftest.$ac_ext
8117 cat >>conftest.$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8119 $ac_includes_default
8121 #include <$ac_header>
8123 rm -f conftest.$ac_objext
8124 if { (ac_try="$ac_compile"
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8129 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8130 $as_echo "$ac_try_echo") >&5
8131 (eval "$ac_compile") 2>conftest.er1
8133 grep -v '^ *+' conftest.er1 >conftest.err
8135 cat conftest.err >&5
8136 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8137 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err
8140 } && test -s conftest.$ac_objext; then
8141 eval "$as_ac_Header=yes"
8143 $as_echo "$as_me: failed program was
:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5
8146 eval "$as_ac_Header=no
"
8149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8151 ac_res=`eval 'as_val=${'$as_ac_Header'}
8152 $as_echo "$as_val"'`
8153 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8154 $as_echo "$ac_res" >&6; }
8155 as_val=`eval 'as_val=${'$as_ac_Header'}
8156 $as_echo "$as_val"'`
8157 if test "x
$as_val" = x""yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8178 # Check whether --enable-shared was given.
8179 if test "${enable_shared+set}" = set; then
8180 enableval=$enable_shared; p=${PACKAGE-default}
8182 yes) enable_shared=yes ;;
8183 no) enable_shared=no ;;
8186 # Look at the argument we got. We use all the common list separators.
8187 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8188 for pkg in $enableval; do
8190 if test "X
$pkg" = "X
$p"; then
8209 # Check whether --enable-static was given.
8210 if test "${enable_static+set}" = set; then
8211 enableval=$enable_static; p=${PACKAGE-default}
8213 yes) enable_static=yes ;;
8214 no) enable_static=no ;;
8217 # Look at the argument we got. We use all the common list separators.
8218 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8219 for pkg in $enableval; do
8221 if test "X
$pkg" = "X
$p"; then
8241 # Check whether --with-pic was given.
8242 if test "${with_pic+set}" = set; then
8243 withval=$with_pic; pic_mode="$withval"
8249 test -z "$pic_mode" && pic_mode=default
8257 # Check whether --enable-fast-install was given.
8258 if test "${enable_fast_install+set}" = set; then
8259 enableval=$enable_fast_install; p=${PACKAGE-default}
8261 yes) enable_fast_install=yes ;;
8262 no) enable_fast_install=no ;;
8264 enable_fast_install=no
8265 # Look at the argument we got. We use all the common list separators.
8266 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8267 for pkg in $enableval; do
8269 if test "X
$pkg" = "X
$p"; then
8270 enable_fast_install=yes
8277 enable_fast_install=yes
8290 # This can be used to rebuild libtool when needed
8291 LIBTOOL_DEPS="$ltmain"
8293 # Always use our own libtool.
8294 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8320 test -z "$LN_S" && LN_S="ln -s"
8335 if test -n "${ZSH_VERSION+set}" ; then
8336 setopt NO_GLOB_SUBST
8339 { $as_echo "$as_me:$LINENO: checking
for objdir
" >&5
8340 $as_echo_n "checking
for objdir...
" >&6; }
8341 if test "${lt_cv_objdir+set}" = set; then
8342 $as_echo_n "(cached
) " >&6
8344 rm -f .libs 2>/dev/null
8345 mkdir .libs 2>/dev/null
8346 if test -d .libs; then
8349 # MS-DOS does not allow filenames that begin with a dot.
8352 rmdir .libs 2>/dev/null
8354 { $as_echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
8355 $as_echo "$lt_cv_objdir" >&6; }
8356 objdir=$lt_cv_objdir
8362 cat >>confdefs.h <<_ACEOF
8363 #define LT_OBJDIR "$lt_cv_objdir/"
8384 # AIX sometimes has problems with the GCC collect2 program. For some
8385 # reason, if we set the COLLECT_NAMES environment variable, the problems
8386 # vanish in a puff of smoke.
8387 if test "X
${COLLECT_NAMES+set}" != Xset; then
8389 export COLLECT_NAMES
8394 # Sed substitution that helps us do robust quoting. It backslashifies
8395 # metacharacters that are still active within double-quoted strings.
8396 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8398 # Same as above, but do not quote variable references.
8399 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
8401 # Sed substitution to delay expansion of an escaped shell variable in a
8402 # double_quote_subst'ed string.
8403 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8405 # Sed substitution to delay expansion of an escaped single quote.
8406 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8408 # Sed substitution to avoid accidental globbing in evaled expressions
8409 no_glob_subst
='s/\*/\\\*/g'
8413 can_build_shared
=yes
8415 # All known linkers require a `.a' archive for static linking (except MSVC,
8416 # which needs '.lib').
8419 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8422 old_CFLAGS
="$CFLAGS"
8424 # Set sane defaults for various variables
8425 test -z "$CC" && CC
=cc
8426 test -z "$LTCC" && LTCC
=$CC
8427 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8428 test -z "$LD" && LD
=ld
8429 test -z "$ac_objext" && ac_objext
=o
8431 for cc_temp
in $compiler""; do
8433 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8434 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8439 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8442 # Only perform the check for file, if the check method requires it
8443 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8444 case $deplibs_check_method in
8446 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8447 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8448 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8449 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8450 $as_echo_n "(cached) " >&6
8454 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8457 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8458 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8459 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8460 for ac_dir
in $ac_dummy; do
8462 test -z "$ac_dir" && ac_dir
=.
8463 if test -f $ac_dir/${ac_tool_prefix}file; then
8464 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8465 if test -n "$file_magic_test_file"; then
8466 case $deplibs_check_method in
8468 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8469 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8470 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8471 $EGREP "$file_magic_regex" > /dev
/null
; then
8476 *** Warning: the command libtool uses to detect shared libraries,
8477 *** $file_magic_cmd, produces output that libtool cannot recognize.
8478 *** The result is that libtool may fail to recognize shared libraries
8479 *** as such. This will affect the creation of libtool libraries that
8480 *** depend on shared libraries, but programs linked with such libtool
8481 *** libraries will work regardless of this problem. Nevertheless, you
8482 *** may want to report the problem to your system manager and/or to
8483 *** bug-libtool@gnu.org
8493 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8498 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8499 if test -n "$MAGIC_CMD"; then
8500 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8501 $as_echo "$MAGIC_CMD" >&6; }
8503 { $as_echo "$as_me:$LINENO: result: no" >&5
8504 $as_echo "no" >&6; }
8511 if test -z "$lt_cv_path_MAGIC_CMD"; then
8512 if test -n "$ac_tool_prefix"; then
8513 { $as_echo "$as_me:$LINENO: checking for file" >&5
8514 $as_echo_n "checking for file... " >&6; }
8515 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8516 $as_echo_n "(cached) " >&6
8520 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8523 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8524 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8525 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8526 for ac_dir
in $ac_dummy; do
8528 test -z "$ac_dir" && ac_dir
=.
8529 if test -f $ac_dir/file; then
8530 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8531 if test -n "$file_magic_test_file"; then
8532 case $deplibs_check_method in
8534 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8535 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8536 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8537 $EGREP "$file_magic_regex" > /dev
/null
; then
8542 *** Warning: the command libtool uses to detect shared libraries,
8543 *** $file_magic_cmd, produces output that libtool cannot recognize.
8544 *** The result is that libtool may fail to recognize shared libraries
8545 *** as such. This will affect the creation of libtool libraries that
8546 *** depend on shared libraries, but programs linked with such libtool
8547 *** libraries will work regardless of this problem. Nevertheless, you
8548 *** may want to report the problem to your system manager and/or to
8549 *** bug-libtool@gnu.org
8559 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8564 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8565 if test -n "$MAGIC_CMD"; then
8566 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8567 $as_echo "$MAGIC_CMD" >&6; }
8569 { $as_echo "$as_me:$LINENO: result: no" >&5
8570 $as_echo "no" >&6; }
8583 # Use C for the default configuration in the libtool script
8587 ac_cpp
='$CPP $CPPFLAGS'
8588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8593 # Source file extension for C test sources.
8596 # Object file extension for compiled C test sources.
8600 # Code to be used in simple compile tests
8601 lt_simple_compile_test_code
="int some_variable = 0;"
8603 # Code to be used in simple link tests
8604 lt_simple_link_test_code
='int main(){return(0);}'
8612 # If no C compiler was specified, use CC.
8615 # If no C compiler flags were specified, use CFLAGS.
8616 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8618 # Allow CC to be a program name with arguments.
8621 # Save the default compiler, since it gets overwritten when the other
8622 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8623 compiler_DEFAULT
=$CC
8625 # save warnings/boilerplate of simple test code
8626 ac_outfile
=conftest.
$ac_objext
8627 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8628 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8629 _lt_compiler_boilerplate
=`cat conftest.err`
8632 ac_outfile
=conftest.
$ac_objext
8633 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8634 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8635 _lt_linker_boilerplate
=`cat conftest.err`
8639 if test -n "$compiler"; then
8641 lt_prog_compiler_no_builtin_flag
=
8643 if test "$GCC" = yes; then
8644 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8646 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8647 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8648 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8649 $as_echo_n "(cached) " >&6
8651 lt_cv_prog_compiler_rtti_exceptions
=no
8652 ac_outfile
=conftest.
$ac_objext
8653 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8654 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8655 # Insert the option either (1) after the last *FLAGS variable, or
8656 # (2) before a word containing "conftest.", or (3) at the end.
8657 # Note that $ac_compile itself does not contain backslashes and begins
8658 # with a dollar sign (not a hyphen), so the echo should work correctly.
8659 # The option is referenced via a variable to avoid confusing sed.
8660 lt_compile
=`echo "$ac_compile" | $SED \
8661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8663 -e 's:$: $lt_compiler_flag:'`
8664 (eval echo "\"\$as_me:8664: $lt_compile\"" >&5)
8665 (eval "$lt_compile" 2>conftest.err
)
8667 cat conftest.err
>&5
8668 echo "$as_me:8668: \$? = $ac_status" >&5
8669 if (exit $ac_status) && test -s "$ac_outfile"; then
8670 # The compiler can only warn and ignore the option if not recognized
8671 # So say no if there are warnings other than the usual output.
8672 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8673 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8674 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8675 lt_cv_prog_compiler_rtti_exceptions
=yes
8681 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8682 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8684 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8685 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8697 lt_prog_compiler_wl
=
8698 lt_prog_compiler_pic
=
8699 lt_prog_compiler_static
=
8701 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8702 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8704 if test "$GCC" = yes; then
8705 lt_prog_compiler_wl
='-Wl,'
8706 lt_prog_compiler_static
='-static'
8710 # All AIX code is PIC.
8711 if test "$host_cpu" = ia64
; then
8712 # AIX 5 now supports IA64 processor
8713 lt_prog_compiler_static
='-Bstatic'
8720 # see comment about AmigaOS4 .so support
8721 lt_prog_compiler_pic
='-fPIC'
8724 # FIXME: we need at least 68020 code to build shared libraries, but
8725 # adding the `-m68020' flag to GCC prevents building anything better,
8727 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8732 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8733 # PIC is the default for these OSes.
8736 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8737 # This hack is so that the source file can tell whether it is being
8738 # built for inclusion in a dll (and should export symbols for example).
8739 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8740 # (--disable-auto-import) libraries
8741 lt_prog_compiler_pic
='-DDLL_EXPORT'
8744 darwin
* | rhapsody
*)
8745 # PIC is the default on this platform
8746 # Common symbols not allowed in MH_DYLIB files
8747 lt_prog_compiler_pic
='-fno-common'
8751 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8752 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8753 # sets the default TLS model and affects inlining.
8759 lt_prog_compiler_pic
='-fPIC'
8765 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8766 # Instead, we relocate shared libraries at runtime.
8770 # Just because we use GCC doesn't mean we suddenly get shared libraries
8771 # on systems that don't support them.
8772 lt_prog_compiler_can_build_shared
=no
8777 # QNX uses GNU C++, but need to define -shared option too, otherwise
8779 lt_prog_compiler_pic
='-fPIC -shared'
8783 if test -d /usr
/nec
; then
8784 lt_prog_compiler_pic
=-Kconform_pic
8789 lt_prog_compiler_pic
='-fPIC'
8793 # PORTME Check for flag to pass linker flags through the system compiler.
8796 lt_prog_compiler_wl
='-Wl,'
8797 if test "$host_cpu" = ia64
; then
8798 # AIX 5 now supports IA64 processor
8799 lt_prog_compiler_static
='-Bstatic'
8801 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8805 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8806 # This hack is so that the source file can tell whether it is being
8807 # built for inclusion in a dll (and should export symbols for example).
8808 lt_prog_compiler_pic
='-DDLL_EXPORT'
8811 hpux9
* | hpux10
* | hpux11
*)
8812 lt_prog_compiler_wl
='-Wl,'
8813 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8820 lt_prog_compiler_pic
='+Z'
8823 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8824 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8827 irix5
* | irix6
* | nonstopux
*)
8828 lt_prog_compiler_wl
='-Wl,'
8829 # PIC (with -KPIC) is the default.
8830 lt_prog_compiler_static
='-non_shared'
8833 linux
* | k
*bsd
*-gnu)
8834 case $cc_basename in
8835 # old Intel for x86_64 which still supported -KPIC.
8837 lt_prog_compiler_wl
='-Wl,'
8838 lt_prog_compiler_pic
='-KPIC'
8839 lt_prog_compiler_static
='-static'
8841 # icc used to be incompatible with GCC.
8842 # ICC 10 doesn't accept -KPIC any more.
8844 lt_prog_compiler_wl
='-Wl,'
8845 lt_prog_compiler_pic
='-fPIC'
8846 lt_prog_compiler_static
='-static'
8848 # Lahey Fortran 8.1.
8850 lt_prog_compiler_wl
='-Wl,'
8851 lt_prog_compiler_pic
='--shared'
8852 lt_prog_compiler_static
='--static'
8854 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8855 # Portland Group compilers (*not* the Pentium gcc compiler,
8856 # which looks to be a dead project)
8857 lt_prog_compiler_wl
='-Wl,'
8858 lt_prog_compiler_pic
='-fpic'
8859 lt_prog_compiler_static
='-Bstatic'
8862 lt_prog_compiler_wl
='-Wl,'
8863 # All Alpha code is PIC.
8864 lt_prog_compiler_static
='-non_shared'
8867 # IBM XL C 8.0/Fortran 10.1 on PPC
8868 lt_prog_compiler_wl
='-Wl,'
8869 lt_prog_compiler_pic
='-qpic'
8870 lt_prog_compiler_static
='-qstaticlink'
8873 case `$CC -V 2>&1 | sed 5q` in
8876 lt_prog_compiler_pic
='-KPIC'
8877 lt_prog_compiler_static
='-Bstatic'
8878 lt_prog_compiler_wl
='-Wl,'
8881 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8882 lt_prog_compiler_pic
='-KPIC'
8883 lt_prog_compiler_static
='-Bstatic'
8884 lt_prog_compiler_wl
=''
8892 lt_prog_compiler_pic
='-KPIC'
8893 lt_prog_compiler_static
='-Bstatic'
8897 # QNX uses GNU C++, but need to define -shared option too, otherwise
8899 lt_prog_compiler_pic
='-fPIC -shared'
8902 osf3
* | osf4
* | osf5
*)
8903 lt_prog_compiler_wl
='-Wl,'
8904 # All OSF/1 code is PIC.
8905 lt_prog_compiler_static
='-non_shared'
8909 lt_prog_compiler_static
='-non_shared'
8913 lt_prog_compiler_pic
='-KPIC'
8914 lt_prog_compiler_static
='-Bstatic'
8915 case $cc_basename in
8917 lt_prog_compiler_wl
='-Qoption ld ';;
8919 lt_prog_compiler_wl
='-Wl,';;
8924 lt_prog_compiler_wl
='-Qoption ld '
8925 lt_prog_compiler_pic
='-PIC'
8926 lt_prog_compiler_static
='-Bstatic'
8929 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8930 lt_prog_compiler_wl
='-Wl,'
8931 lt_prog_compiler_pic
='-KPIC'
8932 lt_prog_compiler_static
='-Bstatic'
8936 if test -d /usr
/nec
;then
8937 lt_prog_compiler_pic
='-Kconform_pic'
8938 lt_prog_compiler_static
='-Bstatic'
8942 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8943 lt_prog_compiler_wl
='-Wl,'
8944 lt_prog_compiler_pic
='-KPIC'
8945 lt_prog_compiler_static
='-Bstatic'
8949 lt_prog_compiler_wl
='-Wl,'
8950 lt_prog_compiler_can_build_shared
=no
8954 lt_prog_compiler_pic
='-pic'
8955 lt_prog_compiler_static
='-Bstatic'
8959 lt_prog_compiler_can_build_shared
=no
8965 # For platforms which do not support PIC, -DPIC is meaningless:
8967 lt_prog_compiler_pic
=
8970 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8973 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8974 $as_echo "$lt_prog_compiler_pic" >&6; }
8982 # Check to make sure the PIC flag actually works.
8984 if test -n "$lt_prog_compiler_pic"; then
8985 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8986 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8987 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8988 $as_echo_n "(cached) " >&6
8990 lt_cv_prog_compiler_pic_works
=no
8991 ac_outfile
=conftest.
$ac_objext
8992 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8993 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8994 # Insert the option either (1) after the last *FLAGS variable, or
8995 # (2) before a word containing "conftest.", or (3) at the end.
8996 # Note that $ac_compile itself does not contain backslashes and begins
8997 # with a dollar sign (not a hyphen), so the echo should work correctly.
8998 # The option is referenced via a variable to avoid confusing sed.
8999 lt_compile
=`echo "$ac_compile" | $SED \
9000 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9001 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9002 -e 's:$: $lt_compiler_flag:'`
9003 (eval echo "\"\$as_me:9003: $lt_compile\"" >&5)
9004 (eval "$lt_compile" 2>conftest.err
)
9006 cat conftest.err
>&5
9007 echo "$as_me:9007: \$? = $ac_status" >&5
9008 if (exit $ac_status) && test -s "$ac_outfile"; then
9009 # The compiler can only warn and ignore the option if not recognized
9010 # So say no if there are warnings other than the usual output.
9011 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9012 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9013 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9014 lt_cv_prog_compiler_pic_works
=yes
9020 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9021 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9023 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9024 case $lt_prog_compiler_pic in
9026 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9029 lt_prog_compiler_pic
=
9030 lt_prog_compiler_can_build_shared
=no
9041 # Check to make sure the static flag actually works.
9043 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9044 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9045 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9046 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9047 $as_echo_n "(cached) " >&6
9049 lt_cv_prog_compiler_static_works
=no
9050 save_LDFLAGS
="$LDFLAGS"
9051 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9052 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9053 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9054 # The linker can only warn and ignore the option if not recognized
9055 # So say no if there are warnings
9056 if test -s conftest.err
; then
9057 # Append any errors to the config.log.
9058 cat conftest.err
1>&5
9059 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9060 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9061 if diff conftest.exp conftest.er2
>/dev
/null
; then
9062 lt_cv_prog_compiler_static_works
=yes
9065 lt_cv_prog_compiler_static_works
=yes
9069 LDFLAGS
="$save_LDFLAGS"
9072 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9073 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9075 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9078 lt_prog_compiler_static
=
9087 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9088 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9089 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9090 $as_echo_n "(cached) " >&6
9092 lt_cv_prog_compiler_c_o
=no
9093 $RM -r conftest
2>/dev
/null
9097 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9099 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9100 # Insert the option either (1) after the last *FLAGS variable, or
9101 # (2) before a word containing "conftest.", or (3) at the end.
9102 # Note that $ac_compile itself does not contain backslashes and begins
9103 # with a dollar sign (not a hyphen), so the echo should work correctly.
9104 lt_compile
=`echo "$ac_compile" | $SED \
9105 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9106 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9107 -e 's:$: $lt_compiler_flag:'`
9108 (eval echo "\"\$as_me:9108: $lt_compile\"" >&5)
9109 (eval "$lt_compile" 2>out
/conftest.err
)
9111 cat out
/conftest.err
>&5
9112 echo "$as_me:9112: \$? = $ac_status" >&5
9113 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9115 # The compiler can only warn and ignore the option if not recognized
9116 # So say no if there are warnings
9117 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9118 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9119 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9120 lt_cv_prog_compiler_c_o
=yes
9125 # SGI C++ compiler will create directory out/ii_files/ for
9126 # template instantiation
9127 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9128 $RM out
/* && rmdir out
9134 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9135 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9142 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9143 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9144 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9145 $as_echo_n "(cached) " >&6
9147 lt_cv_prog_compiler_c_o
=no
9148 $RM -r conftest
2>/dev
/null
9152 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9154 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9155 # Insert the option either (1) after the last *FLAGS variable, or
9156 # (2) before a word containing "conftest.", or (3) at the end.
9157 # Note that $ac_compile itself does not contain backslashes and begins
9158 # with a dollar sign (not a hyphen), so the echo should work correctly.
9159 lt_compile
=`echo "$ac_compile" | $SED \
9160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9162 -e 's:$: $lt_compiler_flag:'`
9163 (eval echo "\"\$as_me:9163: $lt_compile\"" >&5)
9164 (eval "$lt_compile" 2>out
/conftest.err
)
9166 cat out
/conftest.err
>&5
9167 echo "$as_me:9167: \$? = $ac_status" >&5
9168 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9170 # The compiler can only warn and ignore the option if not recognized
9171 # So say no if there are warnings
9172 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9173 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9174 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9175 lt_cv_prog_compiler_c_o
=yes
9180 # SGI C++ compiler will create directory out/ii_files/ for
9181 # template instantiation
9182 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9183 $RM out
/* && rmdir out
9189 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9190 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9195 hard_links
="nottested"
9196 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9197 # do not overwrite the value of need_locks provided by the user
9198 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9199 $as_echo_n "checking if we can lock with hard links... " >&6; }
9202 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9204 ln conftest.a conftest.b
2>&5 || hard_links
=no
9205 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9206 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9207 $as_echo "$hard_links" >&6; }
9208 if test "$hard_links" = no
; then
9209 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9210 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9222 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9223 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9226 allow_undefined_flag
=
9227 always_export_symbols
=no
9229 archive_expsym_cmds
=
9230 compiler_needs_object
=no
9231 enable_shared_with_static_runtimes
=no
9232 export_dynamic_flag_spec
=
9233 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9234 hardcode_automatic
=no
9236 hardcode_direct_absolute
=no
9237 hardcode_libdir_flag_spec
=
9238 hardcode_libdir_flag_spec_ld
=
9239 hardcode_libdir_separator
=
9241 hardcode_shlibpath_var
=unsupported
9243 link_all_deplibs
=unknown
9246 old_archive_from_new_cmds
=
9247 old_archive_from_expsyms_cmds
=
9248 thread_safe_flag_spec
=
9249 whole_archive_flag_spec
=
9250 # include_expsyms should be a list of space-separated symbols to be *always*
9251 # included in the symbol list
9253 # exclude_expsyms can be an extended regexp of symbols to exclude
9254 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9255 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9256 # as well as any symbol that contains `d'.
9257 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9258 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9259 # platforms (ab)use it in PIC code, but their linkers get confused if
9260 # the symbol is explicitly referenced. Since portable code cannot
9261 # rely on this symbol name, it's probably fine to never include it in
9262 # preloaded symbol tables.
9263 # Exclude shared library initialization/finalization symbols.
9264 extract_expsyms_cmds
=
9267 cygwin
* | mingw
* | pw32
* | cegcc
*)
9268 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9269 # When not using gcc, we currently assume that we are using
9270 # Microsoft Visual C++.
9271 if test "$GCC" != yes; then
9276 # we just hope/assume this is gcc and not c89 (= MSVC++)
9285 if test "$with_gnu_ld" = yes; then
9286 # If archive_cmds runs LD, not CC, wlarc should be empty
9289 # Set some defaults for GNU ld with shared library support. These
9290 # are reset later if shared libraries are not supported. Putting them
9291 # here allows them to be overridden if necessary.
9292 runpath_var
=LD_RUN_PATH
9293 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9294 export_dynamic_flag_spec
='${wl}--export-dynamic'
9295 # ancient GNU ld didn't support --whole-archive et. al.
9296 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9297 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9299 whole_archive_flag_spec
=
9301 supports_anon_versioning
=no
9302 case `$LD -v 2>&1` in
9303 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9304 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9305 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9306 *\
2.11.
*) ;; # other 2.11 versions
9307 *) supports_anon_versioning
=yes ;;
9310 # See if GNU ld supports shared libraries.
9313 # On AIX/PPC, the GNU linker is very broken
9314 if test "$host_cpu" != ia64
; then
9318 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9319 *** to be unable to reliably create shared libraries on AIX.
9320 *** Therefore, libtool is disabling shared libraries support. If you
9321 *** really care for shared libraries, you may want to modify your PATH
9322 *** so that a non-GNU linker is found, and then restart.
9331 # see comment about AmigaOS4 .so support
9332 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 archive_expsym_cmds
=''
9336 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)'
9337 hardcode_libdir_flag_spec
='-L$libdir'
9338 hardcode_minus_L
=yes
9344 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9345 allow_undefined_flag
=unsupported
9346 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9347 # support --undefined. This deserves some investigation. FIXME
9348 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9354 cygwin
* | mingw
* | pw32
* | cegcc
*)
9355 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9356 # as there is no search path for DLLs.
9357 hardcode_libdir_flag_spec
='-L$libdir'
9358 allow_undefined_flag
=unsupported
9359 always_export_symbols
=no
9360 enable_shared_with_static_runtimes
=yes
9361 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9363 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9364 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9365 # If the export-symbols file already is a .def file (1st line
9366 # is EXPORTS), use it as is; otherwise, prepend...
9367 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9368 cp $export_symbols $output_objdir/$soname.def;
9370 echo EXPORTS > $output_objdir/$soname.def;
9371 cat $export_symbols >> $output_objdir/$soname.def;
9373 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9381 hardcode_shlibpath_var
=no
9382 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9383 export_dynamic_flag_spec
='${wl}-E'
9384 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9385 # Instead, shared libraries are loaded at an image base (0x10000000 by
9386 # default) and relocated if they conflict, which is a slow very memory
9387 # consuming and fragmenting process. To avoid this, we pick a random,
9388 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9389 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9390 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9391 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'
9394 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9396 if test "$host_os" = linux-dietlibc
; then
9397 case $cc_basename in
9398 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9401 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9402 && test "$tmp_diet" = no
9405 tmp_sharedflag
='-shared'
9406 case $cc_basename,$host_cpu in
9407 pgcc
*) # Portland Group C compiler
9408 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'
9409 tmp_addflag
=' $pic_flag'
9411 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9412 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'
9413 tmp_addflag
=' $pic_flag -Mnomain' ;;
9414 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9415 tmp_addflag
=' -i_dynamic' ;;
9416 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9417 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9418 ifc
* | ifort
*) # Intel Fortran compiler
9419 tmp_addflag
=' -nofor_main' ;;
9420 lf95
*) # Lahey Fortran 8.1
9421 whole_archive_flag_spec
=
9422 tmp_sharedflag
='--shared' ;;
9423 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9424 tmp_sharedflag
='-qmkshrobj'
9427 case `$CC -V 2>&1 | sed 5q` in
9428 *Sun\ C
*) # Sun C 5.9
9429 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'
9430 compiler_needs_object
=yes
9431 tmp_sharedflag
='-G' ;;
9432 *Sun\ F
*) # Sun Fortran 8.3
9433 tmp_sharedflag
='-G' ;;
9435 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437 if test "x$supports_anon_versioning" = xyes
; then
9438 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9439 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9440 echo "local: *; };" >> $output_objdir/$libname.ver~
9441 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9444 case $cc_basename in
9446 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9447 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9448 hardcode_libdir_flag_spec
=
9449 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9450 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9451 if test "x$supports_anon_versioning" = xyes
; then
9452 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9453 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9454 echo "local: *; };" >> $output_objdir/$libname.ver~
9455 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9465 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9466 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9469 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9470 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9475 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9479 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9480 *** create shared libraries on Solaris systems. Therefore, libtool
9481 *** is disabling shared libraries support. We urge you to upgrade GNU
9482 *** binutils to release 2.9.1 or newer. Another option is to modify
9483 *** your PATH or compiler configuration so that the native linker is
9484 *** used, and then restart.
9487 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9488 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9495 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9496 case `$LD -v 2>&1` in
9497 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9501 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9502 *** reliably create shared libraries on SCO systems. Therefore, libtool
9503 *** is disabling shared libraries support. We urge you to upgrade GNU
9504 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9505 *** your PATH or compiler configuration so that the native linker is
9506 *** used, and then restart.
9511 # For security reasons, it is highly recommended that you always
9512 # use absolute paths for naming shared libraries, and exclude the
9513 # DT_RUNPATH tag from executables and libraries. But doing so
9514 # requires that you compile everything twice, which is a pain.
9515 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9516 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9517 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9518 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9527 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_shlibpath_var
=no
9534 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9535 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9536 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9543 if test "$ld_shlibs" = no
; then
9545 hardcode_libdir_flag_spec
=
9546 export_dynamic_flag_spec
=
9547 whole_archive_flag_spec
=
9550 # PORTME fill in a description of your system's linker (not GNU ld)
9553 allow_undefined_flag
=unsupported
9554 always_export_symbols
=yes
9555 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'
9556 # Note: this linker hardcodes the directories in LIBPATH if there
9557 # are no directories specified by -L.
9558 hardcode_minus_L
=yes
9559 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9560 # Neither direct hardcoding nor static linking is supported with a
9562 hardcode_direct
=unsupported
9567 if test "$host_cpu" = ia64
; then
9568 # On IA64, the linker does run time linking by default, so we don't
9569 # have to do anything special.
9570 aix_use_runtimelinking
=no
9571 exp_sym_flag
='-Bexport'
9574 # If we're using GNU nm, then we don't want the "-C" option.
9575 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9576 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9577 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'
9579 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'
9581 aix_use_runtimelinking
=no
9583 # Test if we are trying to use run time linking or normal
9584 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9585 # need to do runtime linking.
9586 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9587 for ld_flag
in $LDFLAGS; do
9588 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9589 aix_use_runtimelinking
=yes
9596 exp_sym_flag
='-bexport'
9597 no_entry_flag
='-bnoentry'
9600 # When large executables or shared objects are built, AIX ld can
9601 # have problems creating the table of contents. If linking a library
9602 # or program results in "error TOC overflow" add -mminimal-toc to
9603 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9604 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9608 hardcode_direct_absolute
=yes
9609 hardcode_libdir_separator
=':'
9610 link_all_deplibs
=yes
9611 file_list_spec
='${wl}-f,'
9613 if test "$GCC" = yes; then
9614 case $host_os in aix4.
[012]|aix4.
[012].
*)
9615 # We only want to do this on AIX 4.2 and lower, the check
9616 # below for broken collect2 doesn't work under 4.3+
9617 collect2name
=`${CC} -print-prog-name=collect2`
9618 if test -f "$collect2name" &&
9619 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9621 # We have reworked collect2
9624 # We have old collect2
9625 hardcode_direct
=unsupported
9626 # It fails to find uninstalled libraries when the uninstalled
9627 # path is not listed in the libpath. Setting hardcode_minus_L
9628 # to unsupported forces relinking
9629 hardcode_minus_L
=yes
9630 hardcode_libdir_flag_spec
='-L$libdir'
9631 hardcode_libdir_separator
=
9635 shared_flag
='-shared'
9636 if test "$aix_use_runtimelinking" = yes; then
9637 shared_flag
="$shared_flag "'${wl}-G'
9641 if test "$host_cpu" = ia64
; then
9642 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9643 # chokes on -Wl,-G. The following line is correct:
9646 if test "$aix_use_runtimelinking" = yes; then
9647 shared_flag
='${wl}-G'
9649 shared_flag
='${wl}-bM:SRE'
9654 export_dynamic_flag_spec
='${wl}-bexpall'
9655 # It seems that -bexpall does not export symbols beginning with
9656 # underscore (_), so it is better to generate a list of symbols to export.
9657 always_export_symbols
=yes
9658 if test "$aix_use_runtimelinking" = yes; then
9659 # Warning - without using the other runtime loading flags (-brtl),
9660 # -berok will link without error, but may produce a broken library.
9661 allow_undefined_flag
='-berok'
9662 # Determine the default libpath from the value encoded in an
9664 cat >conftest.
$ac_ext <<_ACEOF
9667 cat confdefs.h
>>conftest.
$ac_ext
9668 cat >>conftest.
$ac_ext <<_ACEOF
9669 /* end confdefs.h. */
9679 rm -f conftest.
$ac_objext conftest
$ac_exeext
9680 if { (ac_try
="$ac_link"
9682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9683 *) ac_try_echo=$ac_try;;
9685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9686 $as_echo "$ac_try_echo") >&5
9687 (eval "$ac_link") 2>conftest.er1
9689 grep -v '^ *+' conftest.er1 >conftest.err
9691 cat conftest.err >&5
9692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); } && {
9694 test -z "$ac_c_werror_flag" ||
9695 test ! -s conftest.err
9696 } && test -s conftest$ac_exeext && {
9697 test "$cross_compiling" = yes ||
9698 $as_test_x conftest$ac_exeext
9701 lt_aix_libpath_sed='
9702 /Import File Strings/,/^$/ {
9708 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9709 # Check for a 64-bit object if we didn't find anything.
9710 if test -z "$aix_libpath"; then
9711 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9714 $as_echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.$ac_ext >&5
9720 rm -rf conftest.dSYM
9721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9722 conftest$ac_exeext conftest.$ac_ext
9723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9725 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9726 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9728 if test "$host_cpu" = ia64; then
9729 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9730 allow_undefined_flag="-z nodefs"
9731 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"
9733 # Determine the default libpath from the value encoded in an
9735 cat >conftest.$ac_ext <<_ACEOF
9738 cat confdefs.h >>conftest.$ac_ext
9739 cat >>conftest.$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9750 rm -f conftest.$ac_objext conftest$ac_exeext
9751 if { (ac_try="$ac_link"
9753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9754 *) ac_try_echo
=$ac_try;;
9756 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9757 $as_echo "$ac_try_echo") >&5
9758 (eval "$ac_link") 2>conftest.er1
9760 grep -v '^ *+' conftest.er1
>conftest.err
9762 cat conftest.err
>&5
9763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } && {
9765 test -z "$ac_c_werror_flag" ||
9766 test ! -s conftest.err
9767 } && test -s conftest
$ac_exeext && {
9768 test "$cross_compiling" = yes ||
9769 $as_test_x conftest
$ac_exeext
9772 lt_aix_libpath_sed
='
9773 /Import File Strings/,/^$/ {
9779 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9780 # Check for a 64-bit object if we didn't find anything.
9781 if test -z "$aix_libpath"; then
9782 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9785 $as_echo "$as_me: failed program was:" >&5
9786 sed 's/^/| /' conftest.
$ac_ext >&5
9791 rm -rf conftest.dSYM
9792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9793 conftest
$ac_exeext conftest.
$ac_ext
9794 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9796 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9797 # Warning - without using the other run time loading flags,
9798 # -berok will link without error, but may produce a broken library.
9799 no_undefined_flag
=' ${wl}-bernotok'
9800 allow_undefined_flag
=' ${wl}-berok'
9801 # Exported symbols can be pulled into shared objects from archives
9802 whole_archive_flag_spec
='$convenience'
9803 archive_cmds_need_lc
=yes
9804 # This is similar to how AIX traditionally builds its shared libraries.
9805 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'
9813 # see comment about AmigaOS4 .so support
9814 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9815 archive_expsym_cmds
=''
9818 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)'
9819 hardcode_libdir_flag_spec
='-L$libdir'
9820 hardcode_minus_L
=yes
9826 export_dynamic_flag_spec
=-rdynamic
9829 cygwin
* | mingw
* | pw32
* | cegcc
*)
9830 # When not using gcc, we currently assume that we are using
9831 # Microsoft Visual C++.
9832 # hardcode_libdir_flag_spec is actually meaningless, as there is
9833 # no search path for DLLs.
9834 hardcode_libdir_flag_spec
=' '
9835 allow_undefined_flag
=unsupported
9836 # Tell ltmain to make .lib files, not .a files.
9838 # Tell ltmain to make .dll files, not .so files.
9840 # FIXME: Setting linknames here is a bad hack.
9841 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9842 # The linker will automatically build a .lib file if we build a DLL.
9843 old_archive_from_new_cmds
='true'
9844 # FIXME: Should let the user specify the lib program.
9845 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9846 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9847 enable_shared_with_static_runtimes
=yes
9850 darwin
* | rhapsody
*)
9853 archive_cmds_need_lc
=no
9855 hardcode_automatic
=yes
9856 hardcode_shlibpath_var
=unsupported
9857 whole_archive_flag_spec
=''
9858 link_all_deplibs
=yes
9859 allow_undefined_flag
="$_lt_dar_allow_undefined"
9860 case $cc_basename in
9861 ifort
*) _lt_dar_can_shared
=yes ;;
9862 *) _lt_dar_can_shared
=$GCC ;;
9864 if test "$_lt_dar_can_shared" = "yes"; then
9865 output_verbose_link_cmd
=echo
9866 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9867 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9868 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}"
9869 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}"
9878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9879 hardcode_libdir_flag_spec
='-L$libdir'
9880 hardcode_shlibpath_var
=no
9887 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9888 # support. Future versions do this automatically, but an explicit c++rt0.o
9889 # does not break anything, and helps significantly (at the cost of a little
9892 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9893 hardcode_libdir_flag_spec
='-R$libdir'
9895 hardcode_shlibpath_var
=no
9898 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9900 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9902 hardcode_minus_L
=yes
9903 hardcode_shlibpath_var
=no
9906 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9907 freebsd
* | dragonfly
*)
9908 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9909 hardcode_libdir_flag_spec
='-R$libdir'
9911 hardcode_shlibpath_var
=no
9915 if test "$GCC" = yes; then
9916 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'
9918 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'
9920 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9921 hardcode_libdir_separator
=:
9924 # hardcode_minus_L: Not really in the search PATH,
9925 # but as the default location of the library.
9926 hardcode_minus_L
=yes
9927 export_dynamic_flag_spec
='${wl}-E'
9931 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9932 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9936 if test "$with_gnu_ld" = no
; then
9937 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9938 hardcode_libdir_flag_spec_ld
='+b $libdir'
9939 hardcode_libdir_separator
=:
9941 hardcode_direct_absolute
=yes
9942 export_dynamic_flag_spec
='${wl}-E'
9943 # hardcode_minus_L: Not really in the search PATH,
9944 # but as the default location of the library.
9945 hardcode_minus_L
=yes
9950 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9953 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9956 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9975 if test "$with_gnu_ld" = no
; then
9976 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9977 hardcode_libdir_separator
=:
9982 hardcode_shlibpath_var
=no
9986 hardcode_direct_absolute
=yes
9987 export_dynamic_flag_spec
='${wl}-E'
9989 # hardcode_minus_L: Not really in the search PATH,
9990 # but as the default location of the library.
9991 hardcode_minus_L
=yes
9997 irix5
* | irix6
* | nonstopux
*)
9998 if test "$GCC" = yes; then
9999 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10000 # Try to use the -exported_symbol ld option, if it does not
10001 # work, assume that -exports_file does not work either and
10002 # implicitly export all symbols.
10003 save_LDFLAGS
="$LDFLAGS"
10004 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10005 cat >conftest.
$ac_ext <<_ACEOF
10008 rm -f conftest.
$ac_objext conftest
$ac_exeext
10009 if { (ac_try
="$ac_link"
10010 case "(($ac_try" in
10011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10012 *) ac_try_echo=$ac_try;;
10014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10015 $as_echo "$ac_try_echo") >&5
10016 (eval "$ac_link") 2>conftest.er1
10018 grep -v '^ *+' conftest.er1 >conftest.err
10020 cat conftest.err >&5
10021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } && {
10023 test -z "$ac_c_werror_flag" ||
10024 test ! -s conftest.err
10025 } && test -s conftest$ac_exeext && {
10026 test "$cross_compiling" = yes ||
10027 $as_test_x conftest$ac_exeext
10029 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10032 $as_echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10038 rm -rf conftest.dSYM
10039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10040 conftest$ac_exeext conftest.$ac_ext
10041 LDFLAGS="$save_LDFLAGS"
10043 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10044 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10050 link_all_deplibs=yes
10054 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10055 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10057 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10059 hardcode_libdir_flag_spec='-R$libdir'
10060 hardcode_direct=yes
10061 hardcode_shlibpath_var=no
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=yes
10067 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10068 hardcode_libdir_separator=:
10069 hardcode_shlibpath_var=no
10076 if test -f /usr/libexec/ld.so; then
10077 hardcode_direct=yes
10078 hardcode_shlibpath_var=no
10079 hardcode_direct_absolute=yes
10080 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10081 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10083 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10084 export_dynamic_flag_spec='${wl}-E'
10087 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10088 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10089 hardcode_libdir_flag_spec='-R$libdir'
10092 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10093 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10103 hardcode_libdir_flag_spec='-L$libdir'
10104 hardcode_minus_L=yes
10105 allow_undefined_flag=unsupported
10106 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'
10107 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10111 if test "$GCC" = yes; then
10112 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10113 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10115 allow_undefined_flag=' -expect_unresolved \*'
10116 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10118 archive_cmds_need_lc='no'
10119 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10120 hardcode_libdir_separator=:
10123 osf4* | osf5*) # as osf3* with the addition of -msym flag
10124 if test "$GCC" = yes; then
10125 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10126 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10127 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10129 allow_undefined_flag=' -expect_unresolved \*'
10130 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10131 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10132 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10134 # Both c and cxx compiler support -rpath directly
10135 hardcode_libdir_flag_spec='-rpath $libdir'
10137 archive_cmds_need_lc='no'
10138 hardcode_libdir_separator=:
10142 no_undefined_flag=' -z defs'
10143 if test "$GCC" = yes; then
10145 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10146 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10147 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10149 case `$CC -V 2>&1` in
10152 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10154 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10158 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10160 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10164 hardcode_libdir_flag_spec='-R$libdir'
10165 hardcode_shlibpath_var=no
10167 solaris2.[0-5] | solaris2.[0-5].*) ;;
10169 # The compiler driver will combine and reorder linker options,
10170 # but understands `-z linker_flag
'. GCC discards it without `$wl',
10171 # but is careful enough not to reorder.
10172 # Supported since Solaris 2.6 (maybe 2.5.1?)
10173 if test "$GCC" = yes; then
10174 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10176 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10180 link_all_deplibs
=yes
10184 if test "x$host_vendor" = xsequent
; then
10185 # Use $CC to link under sequent, because it throws in some extra .o
10186 # files that make .init and .fini sections work.
10187 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10189 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10191 hardcode_libdir_flag_spec
='-L$libdir'
10192 hardcode_direct
=yes
10193 hardcode_minus_L
=yes
10194 hardcode_shlibpath_var
=no
10198 case $host_vendor in
10200 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_direct
=yes # is this really true???
10204 ## LD is ld it makes a PLAMLIB
10205 ## CC just makes a GrossModule.
10206 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10207 reload_cmds
='$CC -r -o $output$reload_objs'
10211 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10215 runpath_var
='LD_RUN_PATH'
10216 hardcode_shlibpath_var
=no
10220 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10221 hardcode_shlibpath_var
=no
10222 export_dynamic_flag_spec
='-Bexport'
10226 if test -d /usr
/nec
; then
10227 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10228 hardcode_shlibpath_var
=no
10229 runpath_var
=LD_RUN_PATH
10230 hardcode_runpath_var
=yes
10235 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10236 no_undefined_flag
='${wl}-z,text'
10237 archive_cmds_need_lc
=no
10238 hardcode_shlibpath_var
=no
10239 runpath_var
='LD_RUN_PATH'
10241 if test "$GCC" = yes; then
10242 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10250 sysv5
* | sco3.2v5
* | sco5v6
*)
10251 # Note: We can NOT use -z defs as we might desire, because we do not
10252 # link with -lc, and that would cause any symbols used from libc to
10253 # always be unresolved, which means just about no library would
10254 # ever link correctly. If we're not using GNU ld we use -z text
10255 # though, which does catch some bad symbols but isn't as heavy-handed
10257 no_undefined_flag
='${wl}-z,text'
10258 allow_undefined_flag
='${wl}-z,nodefs'
10259 archive_cmds_need_lc
=no
10260 hardcode_shlibpath_var
=no
10261 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10262 hardcode_libdir_separator
=':'
10263 link_all_deplibs
=yes
10264 export_dynamic_flag_spec
='${wl}-Bexport'
10265 runpath_var
='LD_RUN_PATH'
10267 if test "$GCC" = yes; then
10268 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10269 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10271 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10272 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10277 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10278 hardcode_libdir_flag_spec
='-L$libdir'
10279 hardcode_shlibpath_var
=no
10287 if test x
$host_vendor = xsni
; then
10289 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10290 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10296 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10297 $as_echo "$ld_shlibs" >&6; }
10298 test "$ld_shlibs" = no
&& can_build_shared
=no
10300 with_gnu_ld
=$with_gnu_ld
10317 # Do we need to explicitly link libc?
10319 case "x$archive_cmds_need_lc" in
10321 # Assume -lc should be added
10322 archive_cmds_need_lc
=yes
10324 if test "$enable_shared" = yes && test "$GCC" = yes; then
10325 case $archive_cmds in
10327 # FIXME: we may have to deal with multi-command sequences.
10330 # Test whether the compiler implicitly links with -lc since on some
10331 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10332 # to ld, don't add -lc before -lgcc.
10333 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10334 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10336 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10339 (eval $ac_compile) 2>&5
10341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } 2>conftest.err
; then
10345 libobjs
=conftest.
$ac_objext
10347 wl
=$lt_prog_compiler_wl
10348 pic_flag
=$lt_prog_compiler_pic
10354 lt_save_allow_undefined_flag
=$allow_undefined_flag
10355 allow_undefined_flag
=
10356 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10357 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); }
10362 archive_cmds_need_lc
=no
10364 archive_cmds_need_lc
=yes
10366 allow_undefined_flag
=$lt_save_allow_undefined_flag
10368 cat conftest.err
1>&5
10371 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10372 $as_echo "$archive_cmds_need_lc" >&6; }
10535 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10536 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10538 if test "$GCC" = yes; then
10540 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10541 *) lt_awk_arg
="/^libraries:/" ;;
10543 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10544 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10545 # if the path contains ";" then we assume it to be the separator
10546 # otherwise default to the standard path separator (i.e. ":") - it is
10547 # assumed that no part of a normal pathname contains ";" but that should
10548 # okay in the real world where ";" in dirpaths is itself problematic.
10549 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10551 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10553 # Ok, now we have the path, separated by spaces, we can step through it
10554 # and add multilib dir if necessary.
10555 lt_tmp_lt_search_path_spec
=
10556 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10557 for lt_sys_path
in $lt_search_path_spec; do
10558 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10559 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10561 test -d "$lt_sys_path" && \
10562 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10565 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10566 BEGIN {RS=" "; FS="/|\n";} {
10569 for (lt_i = NF; lt_i > 0; lt_i--) {
10570 if ($lt_i != "" && $lt_i != ".") {
10571 if ($lt_i == "..") {
10574 if (lt_count == 0) {
10575 lt_foo="/" $lt_i lt_foo;
10582 if (lt_foo != "") { lt_freq[lt_foo]++; }
10583 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10585 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10587 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10589 library_names_spec
=
10590 libname_spec
='lib$name'
10594 postuninstall_cmds
=
10598 shlibpath_overrides_runpath
=unknown
10600 dynamic_linker
="$host_os ld.so"
10601 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10602 need_lib_prefix
=unknown
10603 hardcode_into_libs
=no
10605 # when you set need_version to no, make sure it does not cause -set_version
10606 # flags to be left without arguments
10607 need_version
=unknown
10612 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10613 shlibpath_var
=LIBPATH
10615 # AIX 3 has no versioning support, so we append a major version to the name.
10616 soname_spec
='${libname}${release}${shared_ext}$major'
10623 hardcode_into_libs
=yes
10624 if test "$host_cpu" = ia64
; then
10625 # AIX 5 supports IA64
10626 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10627 shlibpath_var
=LD_LIBRARY_PATH
10629 # With GCC up to 2.95.x, collect2 would create an import file
10630 # for dependence libraries. The import file would start with
10631 # the line `#! .'. This would cause the generated library to
10632 # depend on `.', always an invalid library. This was fixed in
10633 # development snapshots of GCC prior to 3.0.
10635 aix4 | aix4.
[01] | aix4.
[01].
*)
10636 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10638 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10641 can_build_shared
=no
10645 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10646 # soname into executable. Probably we can add versioning support to
10647 # collect2, so additional links can be useful in future.
10648 if test "$aix_use_runtimelinking" = yes; then
10649 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10650 # instead of lib<name>.a to let people know that these are not
10651 # typical AIX shared libraries.
10652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10654 # We preserve .a as extension for shared libraries through AIX4.2
10655 # and later when we are not doing run time linking.
10656 library_names_spec
='${libname}${release}.a $libname.a'
10657 soname_spec
='${libname}${release}${shared_ext}$major'
10659 shlibpath_var
=LIBPATH
10666 # Since July 2007 AmigaOS4 officially supports .so libraries.
10667 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 library_names_spec
='$libname.ixlibrary $libname.a'
10672 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10673 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'
10679 library_names_spec
='${libname}${shared_ext}'
10680 dynamic_linker
="$host_os ld.so"
10681 shlibpath_var
=LIBRARY_PATH
10687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10688 soname_spec
='${libname}${release}${shared_ext}$major'
10689 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10690 shlibpath_var
=LD_LIBRARY_PATH
10691 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10692 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10693 # the default ld.so.conf also contains /usr/contrib/lib and
10694 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10695 # libtool to hard-code these into programs
10698 cygwin
* | mingw
* | pw32
* | cegcc
*)
10699 version_type
=windows
10704 case $GCC,$host_os in
10705 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10706 library_names_spec
='$libname.dll.a'
10707 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10708 postinstall_cmds
='base_file=`basename \${file}`~
10709 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10710 dldir=$destdir/`dirname \$dlpath`~
10711 test -d \$dldir || mkdir -p \$dldir~
10712 $install_prog $dir/$dlname \$dldir/$dlname~
10713 chmod a+x \$dldir/$dlname~
10714 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10715 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10717 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10718 dlpath=$dir/\$dldll~
10720 shlibpath_overrides_runpath
=yes
10724 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10725 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10726 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10729 # MinGW DLLs use traditional 'lib' prefix
10730 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10731 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10732 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10733 # It is most probably a Windows format PATH printed by
10734 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10735 # path with ; separators, and with drive letters. We can handle the
10736 # drive letters (cygwin fileutils understands them), so leave them,
10737 # especially as we might pass files found there to a mingw objdump,
10738 # which wouldn't understand a cygwinified path. Ahh.
10739 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10741 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10745 # pw32 DLLs use 'pw' prefix rather than 'lib'
10746 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10752 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10755 dynamic_linker
='Win32 ld.exe'
10756 # FIXME: first we should search . and the directory the executable is in
10760 darwin
* | rhapsody
*)
10761 dynamic_linker
="$host_os dyld"
10762 version_type
=darwin
10765 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10766 soname_spec
='${libname}${release}${major}$shared_ext'
10767 shlibpath_overrides_runpath
=yes
10768 shlibpath_var
=DYLD_LIBRARY_PATH
10769 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10771 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10772 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10780 soname_spec
='${libname}${release}${shared_ext}$major'
10781 shlibpath_var
=LD_LIBRARY_PATH
10788 freebsd
* | dragonfly
*)
10789 # DragonFly does not have aout. When/if they implement a new
10790 # versioning mechanism, adjust this.
10791 if test -x /usr
/bin
/objformat
; then
10792 objformat
=`/usr/bin/objformat`
10795 freebsd
[123]*) objformat
=aout
;;
10796 *) objformat
=elf
;;
10799 version_type
=freebsd-
$objformat
10800 case $version_type in
10802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10807 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10811 shlibpath_var
=LD_LIBRARY_PATH
10814 shlibpath_overrides_runpath
=yes
10816 freebsd3.
[01]* | freebsdelf3.
[01]*)
10817 shlibpath_overrides_runpath
=yes
10818 hardcode_into_libs
=yes
10820 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10821 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10822 shlibpath_overrides_runpath
=no
10823 hardcode_into_libs
=yes
10825 *) # from 4.6 on, and DragonFly
10826 shlibpath_overrides_runpath
=yes
10827 hardcode_into_libs
=yes
10836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10837 soname_spec
='${libname}${release}${shared_ext}$major'
10838 shlibpath_var
=LD_LIBRARY_PATH
10839 hardcode_into_libs
=yes
10842 hpux9
* | hpux10
* | hpux11
*)
10843 # Give a soname corresponding to the major version so that dld.sl refuses to
10844 # link against other versions.
10851 hardcode_into_libs
=yes
10852 dynamic_linker
="$host_os dld.so"
10853 shlibpath_var
=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856 soname_spec
='${libname}${release}${shared_ext}$major'
10857 if test "X$HPUX_IA64_MODE" = X32
; then
10858 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10860 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10862 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10866 hardcode_into_libs
=yes
10867 dynamic_linker
="$host_os dld.sl"
10868 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10869 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871 soname_spec
='${libname}${release}${shared_ext}$major'
10872 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10873 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10877 dynamic_linker
="$host_os dld.sl"
10878 shlibpath_var
=SHLIB_PATH
10879 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec
='${libname}${release}${shared_ext}$major'
10884 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10885 postinstall_cmds
='chmod 555 $lib'
10892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893 soname_spec
='${libname}${release}${shared_ext}$major'
10894 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10895 shlibpath_var
=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath
=no
10897 hardcode_into_libs
=yes
10900 irix5
* | irix6
* | nonstopux
*)
10902 nonstopux
*) version_type
=nonstopux
;;
10904 if test "$lt_cv_prog_gnu_ld" = yes; then
10912 soname_spec
='${libname}${release}${shared_ext}$major'
10913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10915 irix5
* | nonstopux
*)
10916 libsuff
= shlibsuff
=
10919 case $LD in # libtool.m4 will add one of these switches to LD
10920 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10921 libsuff
= shlibsuff
= libmagic
=32-bit;;
10922 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10923 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10924 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10925 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10926 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10930 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10931 shlibpath_overrides_runpath
=no
10932 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10933 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10934 hardcode_into_libs
=yes
10937 # No shared lib support for Linux oldld, aout, or coff.
10938 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10942 # This must be Linux ELF.
10943 linux
* | k
*bsd
*-gnu)
10947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948 soname_spec
='${libname}${release}${shared_ext}$major'
10949 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10950 shlibpath_var
=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath
=no
10952 # Some binutils ld are patched to set DT_RUNPATH
10953 save_LDFLAGS
=$LDFLAGS
10954 save_libdir
=$libdir
10955 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10956 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10957 cat >conftest.
$ac_ext <<_ACEOF
10960 cat confdefs.h
>>conftest.
$ac_ext
10961 cat >>conftest.
$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10972 rm -f conftest.
$ac_objext conftest
$ac_exeext
10973 if { (ac_try
="$ac_link"
10974 case "(($ac_try" in
10975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10976 *) ac_try_echo=$ac_try;;
10978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10979 $as_echo "$ac_try_echo") >&5
10980 (eval "$ac_link") 2>conftest.er1
10982 grep -v '^ *+' conftest.er1 >conftest.err
10984 cat conftest.err >&5
10985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } && {
10987 test -z "$ac_c_werror_flag" ||
10988 test ! -s conftest.err
10989 } && test -s conftest$ac_exeext && {
10990 test "$cross_compiling" = yes ||
10991 $as_test_x conftest$ac_exeext
10993 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10994 shlibpath_overrides_runpath=yes
10998 $as_echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11004 rm -rf conftest.dSYM
11005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LDFLAGS=$save_LDFLAGS
11008 libdir=$save_libdir
11010 # This implies no fast_install, which is unacceptable.
11011 # Some rework will be needed to allow for fast_install
11012 # before this can be enabled.
11013 hardcode_into_libs=yes
11015 # Add ABI-specific directories to the system library path.
11016 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11018 # Append ld.so.conf contents to the search path
11019 if test -f /etc/ld.so.conf; then
11020 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' ' '`
11021 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11024 # We used to test for /lib/ld.so.1 and disable shared libraries on
11025 # powerpc, because MkLinux only supported shared libraries with the
11026 # GNU dynamic linker. Since this was broken with cross compilers,
11027 # most powerpc-linux boxes support dynamic linking these days and
11028 # people can always --disable-shared, the test was removed, and we
11029 # assume the GNU/Linux dynamic linker is in use.
11030 dynamic_linker='GNU/Linux ld.so'
11037 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11039 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11040 dynamic_linker='NetBSD (a.out) ld.so'
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 dynamic_linker='NetBSD ld.elf_so'
11046 shlibpath_var=LD_LIBRARY_PATH
11047 shlibpath_overrides_runpath=yes
11048 hardcode_into_libs=yes
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054 shlibpath_var=LD_LIBRARY_PATH
11055 shlibpath_overrides_runpath=yes
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec='${libname}${release}${shared_ext}$major'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=no
11066 hardcode_into_libs=yes
11067 dynamic_linker='ldqnx.so'
11072 sys_lib_dlsearch_path_spec="/usr/lib"
11074 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11076 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11077 *) need_version=no ;;
11079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11080 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11081 shlibpath_var=LD_LIBRARY_PATH
11082 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11084 openbsd2.[89] | openbsd2.[89].*)
11085 shlibpath_overrides_runpath=no
11088 shlibpath_overrides_runpath=yes
11092 shlibpath_overrides_runpath=yes
11097 libname_spec='$name'
11100 library_names_spec='$libname${shared_ext} $libname.a'
11101 dynamic_linker='OS/2 ld.exe'
11102 shlibpath_var=LIBPATH
11105 osf3* | osf4* | osf5*)
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111 shlibpath_var=LD_LIBRARY_PATH
11112 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11113 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11125 soname_spec='${libname}${release}${shared_ext}$major'
11126 shlibpath_var=LD_LIBRARY_PATH
11127 shlibpath_overrides_runpath=yes
11128 hardcode_into_libs=yes
11129 # ldd complains unless libraries are executable
11130 postinstall_cmds='chmod +x $lib'
11135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11136 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11137 shlibpath_var=LD_LIBRARY_PATH
11138 shlibpath_overrides_runpath=yes
11139 if test "$with_gnu_ld" = yes; then
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 shlibpath_var=LD_LIBRARY_PATH
11150 case $host_vendor in
11152 shlibpath_overrides_runpath=no
11154 runpath_var=LD_RUN_PATH
11162 shlibpath_overrides_runpath=no
11163 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11169 if test -d /usr/nec ;then
11171 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11172 soname_spec='$libname${shared_ext}.$major'
11173 shlibpath_var=LD_LIBRARY_PATH
11177 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11178 version_type=freebsd-elf
11181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11182 soname_spec='${libname}${release}${shared_ext}$major'
11183 shlibpath_var=LD_LIBRARY_PATH
11184 shlibpath_overrides_runpath=yes
11185 hardcode_into_libs=yes
11186 if test "$with_gnu_ld" = yes; then
11187 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11189 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11192 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11196 sys_lib_dlsearch_path_spec='/usr/lib'
11200 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205 shlibpath_var=LD_LIBRARY_PATH
11206 shlibpath_overrides_runpath=no
11207 hardcode_into_libs=yes
11212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11213 soname_spec='${libname}${release}${shared_ext}$major'
11214 shlibpath_var=LD_LIBRARY_PATH
11221 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11222 $as_echo "$dynamic_linker" >&6; }
11223 test "$dynamic_linker" = no && can_build_shared=no
11225 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11226 if test "$GCC" = yes; then
11227 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11230 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11231 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11233 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11234 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11323 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11324 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11326 if test -n "$hardcode_libdir_flag_spec" ||
11327 test -n "$runpath_var" ||
11328 test "X$hardcode_automatic" = "Xyes" ; then
11330 # We can hardcode non-existent directories.
11331 if test "$hardcode_direct" != no &&
11332 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11333 # have to relink, otherwise we might link with an installed library
11334 # when we should be linking with a yet-to-be-installed one
11335 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11336 test "$hardcode_minus_L" != no; then
11337 # Linking always hardcodes the temporary library directory.
11338 hardcode_action=relink
11340 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11341 hardcode_action=immediate
11344 # We cannot hardcode anything, or else we can only hardcode existing
11346 hardcode_action=unsupported
11348 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11349 $as_echo "$hardcode_action" >&6; }
11351 if test "$hardcode_action" = relink ||
11352 test "$inherit_rpath" = yes; then
11353 # Fast installation is not supported
11354 enable_fast_install=no
11355 elif test "$shlibpath_overrides_runpath" = yes ||
11356 test "$enable_shared" = no; then
11357 # Fast installation is not necessary
11358 enable_fast_install=needless
11366 if test "x$enable_dlopen" != xyes; then
11367 enable_dlopen=unknown
11368 enable_dlopen_self=unknown
11369 enable_dlopen_self_static=unknown
11376 lt_cv_dlopen="load_add_on"
11378 lt_cv_dlopen_self=yes
11381 mingw* | pw32* | cegcc*)
11382 lt_cv_dlopen="LoadLibrary"
11387 lt_cv_dlopen="dlopen"
11392 # if libdl is installed we need to link against it
11393 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11394 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11395 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11396 $as_echo_n "(cached) " >&6
11398 ac_check_lib_save_LIBS=$LIBS
11400 cat >conftest.$ac_ext <<_ACEOF
11403 cat confdefs.h >>conftest.$ac_ext
11404 cat >>conftest.$ac_ext <<_ACEOF
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11422 rm -f conftest.$ac_objext conftest$ac_exeext
11423 if { (ac_try="$ac_link"
11424 case "(($ac_try" in
11425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11426 *) ac_try_echo
=$ac_try;;
11428 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11429 $as_echo "$ac_try_echo") >&5
11430 (eval "$ac_link") 2>conftest.er1
11432 grep -v '^ *+' conftest.er1
>conftest.err
11434 cat conftest.err
>&5
11435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } && {
11437 test -z "$ac_c_werror_flag" ||
11438 test ! -s conftest.err
11439 } && test -s conftest
$ac_exeext && {
11440 test "$cross_compiling" = yes ||
11441 $as_test_x conftest
$ac_exeext
11443 ac_cv_lib_dl_dlopen
=yes
11445 $as_echo "$as_me: failed program was:" >&5
11446 sed 's/^/| /' conftest.
$ac_ext >&5
11448 ac_cv_lib_dl_dlopen
=no
11451 rm -rf conftest.dSYM
11452 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11453 conftest
$ac_exeext conftest.
$ac_ext
11454 LIBS
=$ac_check_lib_save_LIBS
11456 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11457 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11458 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
11459 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11462 lt_cv_dlopen
="dyld"
11464 lt_cv_dlopen_self
=yes
11471 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11472 $as_echo_n "checking for shl_load... " >&6; }
11473 if test "${ac_cv_func_shl_load+set}" = set; then
11474 $as_echo_n "(cached) " >&6
11476 cat >conftest.
$ac_ext <<_ACEOF
11479 cat confdefs.h
>>conftest.
$ac_ext
11480 cat >>conftest.
$ac_ext <<_ACEOF
11481 /* end confdefs.h. */
11482 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11484 #define shl_load innocuous_shl_load
11486 /* System header to define __stub macros and hopefully few prototypes,
11487 which can conflict with char shl_load (); below.
11488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11489 <limits.h> exists even on freestanding compilers. */
11492 # include <limits.h>
11494 # include <assert.h>
11499 /* Override any GCC internal prototype to avoid an error.
11500 Use char because int might match the return type of a GCC
11501 builtin and then its argument prototype would still apply. */
11506 /* The GNU C library defines this for functions which it implements
11507 to always fail with ENOSYS. Some functions are actually named
11508 something starting with __ and the normal name is an alias. */
11509 #if defined __stub_shl_load || defined __stub___shl_load
11516 return shl_load ();
11521 rm -f conftest.
$ac_objext conftest
$ac_exeext
11522 if { (ac_try
="$ac_link"
11523 case "(($ac_try" in
11524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11525 *) ac_try_echo=$ac_try;;
11527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11528 $as_echo "$ac_try_echo") >&5
11529 (eval "$ac_link") 2>conftest.er1
11531 grep -v '^ *+' conftest.er1 >conftest.err
11533 cat conftest.err >&5
11534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); } && {
11536 test -z "$ac_c_werror_flag" ||
11537 test ! -s conftest.err
11538 } && test -s conftest$ac_exeext && {
11539 test "$cross_compiling" = yes ||
11540 $as_test_x conftest$ac_exeext
11542 ac_cv_func_shl_load=yes
11544 $as_echo "$as_me: failed program was:" >&5
11545 sed 's/^/| /' conftest.$ac_ext >&5
11547 ac_cv_func_shl_load=no
11550 rm -rf conftest.dSYM
11551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11552 conftest$ac_exeext conftest.$ac_ext
11554 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11555 $as_echo "$ac_cv_func_shl_load" >&6; }
11556 if test "x$ac_cv_func_shl_load" = x""yes; then
11557 lt_cv_dlopen="shl_load"
11559 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11560 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11561 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11562 $as_echo_n "(cached) " >&6
11564 ac_check_lib_save_LIBS=$LIBS
11566 cat >conftest.$ac_ext <<_ACEOF
11569 cat confdefs.h >>conftest.$ac_ext
11570 cat >>conftest.$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11583 return shl_load ();
11588 rm -f conftest.$ac_objext conftest$ac_exeext
11589 if { (ac_try="$ac_link"
11590 case "(($ac_try" in
11591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11592 *) ac_try_echo
=$ac_try;;
11594 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11595 $as_echo "$ac_try_echo") >&5
11596 (eval "$ac_link") 2>conftest.er1
11598 grep -v '^ *+' conftest.er1
>conftest.err
11600 cat conftest.err
>&5
11601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); } && {
11603 test -z "$ac_c_werror_flag" ||
11604 test ! -s conftest.err
11605 } && test -s conftest
$ac_exeext && {
11606 test "$cross_compiling" = yes ||
11607 $as_test_x conftest
$ac_exeext
11609 ac_cv_lib_dld_shl_load
=yes
11611 $as_echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.
$ac_ext >&5
11614 ac_cv_lib_dld_shl_load
=no
11617 rm -rf conftest.dSYM
11618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11619 conftest
$ac_exeext conftest.
$ac_ext
11620 LIBS
=$ac_check_lib_save_LIBS
11622 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11623 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11624 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
11625 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11627 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11628 $as_echo_n "checking for dlopen... " >&6; }
11629 if test "${ac_cv_func_dlopen+set}" = set; then
11630 $as_echo_n "(cached) " >&6
11632 cat >conftest.
$ac_ext <<_ACEOF
11635 cat confdefs.h
>>conftest.
$ac_ext
11636 cat >>conftest.
$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11638 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11640 #define dlopen innocuous_dlopen
11642 /* System header to define __stub macros and hopefully few prototypes,
11643 which can conflict with char dlopen (); below.
11644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11645 <limits.h> exists even on freestanding compilers. */
11648 # include <limits.h>
11650 # include <assert.h>
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11662 /* The GNU C library defines this for functions which it implements
11663 to always fail with ENOSYS. Some functions are actually named
11664 something starting with __ and the normal name is an alias. */
11665 #if defined __stub_dlopen || defined __stub___dlopen
11677 rm -f conftest.
$ac_objext conftest
$ac_exeext
11678 if { (ac_try
="$ac_link"
11679 case "(($ac_try" in
11680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11681 *) ac_try_echo=$ac_try;;
11683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11684 $as_echo "$ac_try_echo") >&5
11685 (eval "$ac_link") 2>conftest.er1
11687 grep -v '^ *+' conftest.er1 >conftest.err
11689 cat conftest.err >&5
11690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } && {
11692 test -z "$ac_c_werror_flag" ||
11693 test ! -s conftest.err
11694 } && test -s conftest$ac_exeext && {
11695 test "$cross_compiling" = yes ||
11696 $as_test_x conftest$ac_exeext
11698 ac_cv_func_dlopen=yes
11700 $as_echo "$as_me: failed program was:" >&5
11701 sed 's/^/| /' conftest.$ac_ext >&5
11703 ac_cv_func_dlopen=no
11706 rm -rf conftest.dSYM
11707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11708 conftest$ac_exeext conftest.$ac_ext
11710 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11711 $as_echo "$ac_cv_func_dlopen" >&6; }
11712 if test "x$ac_cv_func_dlopen" = x""yes; then
11713 lt_cv_dlopen="dlopen"
11715 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11716 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11717 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11718 $as_echo_n "(cached) " >&6
11720 ac_check_lib_save_LIBS=$LIBS
11722 cat >conftest.$ac_ext <<_ACEOF
11725 cat confdefs.h >>conftest.$ac_ext
11726 cat >>conftest.$ac_ext <<_ACEOF
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11744 rm -f conftest.$ac_objext conftest$ac_exeext
11745 if { (ac_try="$ac_link"
11746 case "(($ac_try" in
11747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11748 *) ac_try_echo
=$ac_try;;
11750 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11751 $as_echo "$ac_try_echo") >&5
11752 (eval "$ac_link") 2>conftest.er1
11754 grep -v '^ *+' conftest.er1
>conftest.err
11756 cat conftest.err
>&5
11757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } && {
11759 test -z "$ac_c_werror_flag" ||
11760 test ! -s conftest.err
11761 } && test -s conftest
$ac_exeext && {
11762 test "$cross_compiling" = yes ||
11763 $as_test_x conftest
$ac_exeext
11765 ac_cv_lib_dl_dlopen
=yes
11767 $as_echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.
$ac_ext >&5
11770 ac_cv_lib_dl_dlopen
=no
11773 rm -rf conftest.dSYM
11774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11775 conftest
$ac_exeext conftest.
$ac_ext
11776 LIBS
=$ac_check_lib_save_LIBS
11778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11779 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11780 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
11781 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11783 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11784 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11785 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11786 $as_echo_n "(cached) " >&6
11788 ac_check_lib_save_LIBS
=$LIBS
11789 LIBS
="-lsvld $LIBS"
11790 cat >conftest.
$ac_ext <<_ACEOF
11793 cat confdefs.h
>>conftest.
$ac_ext
11794 cat >>conftest.
$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11812 rm -f conftest.
$ac_objext conftest
$ac_exeext
11813 if { (ac_try
="$ac_link"
11814 case "(($ac_try" in
11815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11816 *) ac_try_echo=$ac_try;;
11818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11819 $as_echo "$ac_try_echo") >&5
11820 (eval "$ac_link") 2>conftest.er1
11822 grep -v '^ *+' conftest.er1 >conftest.err
11824 cat conftest.err >&5
11825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } && {
11827 test -z "$ac_c_werror_flag" ||
11828 test ! -s conftest.err
11829 } && test -s conftest$ac_exeext && {
11830 test "$cross_compiling" = yes ||
11831 $as_test_x conftest$ac_exeext
11833 ac_cv_lib_svld_dlopen=yes
11835 $as_echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 ac_cv_lib_svld_dlopen=no
11841 rm -rf conftest.dSYM
11842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11843 conftest$ac_exeext conftest.$ac_ext
11844 LIBS=$ac_check_lib_save_LIBS
11846 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11847 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11848 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11849 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11851 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11852 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11853 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11854 $as_echo_n "(cached) " >&6
11856 ac_check_lib_save_LIBS=$LIBS
11858 cat >conftest.$ac_ext <<_ACEOF
11861 cat confdefs.h >>conftest.$ac_ext
11862 cat >>conftest.$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11875 return dld_link ();
11880 rm -f conftest.$ac_objext conftest$ac_exeext
11881 if { (ac_try="$ac_link"
11882 case "(($ac_try" in
11883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11884 *) ac_try_echo
=$ac_try;;
11886 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11887 $as_echo "$ac_try_echo") >&5
11888 (eval "$ac_link") 2>conftest.er1
11890 grep -v '^ *+' conftest.er1
>conftest.err
11892 cat conftest.err
>&5
11893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); } && {
11895 test -z "$ac_c_werror_flag" ||
11896 test ! -s conftest.err
11897 } && test -s conftest
$ac_exeext && {
11898 test "$cross_compiling" = yes ||
11899 $as_test_x conftest
$ac_exeext
11901 ac_cv_lib_dld_dld_link
=yes
11903 $as_echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.
$ac_ext >&5
11906 ac_cv_lib_dld_dld_link
=no
11909 rm -rf conftest.dSYM
11910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11911 conftest
$ac_exeext conftest.
$ac_ext
11912 LIBS
=$ac_check_lib_save_LIBS
11914 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11915 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11916 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11917 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11938 if test "x$lt_cv_dlopen" != xno
; then
11944 case $lt_cv_dlopen in
11946 save_CPPFLAGS
="$CPPFLAGS"
11947 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11949 save_LDFLAGS
="$LDFLAGS"
11950 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11953 LIBS
="$lt_cv_dlopen_libs $LIBS"
11955 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11956 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11957 if test "${lt_cv_dlopen_self+set}" = set; then
11958 $as_echo_n "(cached) " >&6
11960 if test "$cross_compiling" = yes; then :
11961 lt_cv_dlopen_self
=cross
11963 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11964 lt_status
=$lt_dlunknown
11965 cat > conftest.
$ac_ext <<_LT_EOF
11966 #line 11966 "configure"
11967 #include "confdefs.h"
11976 # define LT_DLGLOBAL RTLD_GLOBAL
11979 # define LT_DLGLOBAL DL_GLOBAL
11981 # define LT_DLGLOBAL 0
11985 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11986 find out it does not work in some platform. */
11987 #ifndef LT_DLLAZY_OR_NOW
11989 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11992 # define LT_DLLAZY_OR_NOW DL_LAZY
11995 # define LT_DLLAZY_OR_NOW RTLD_NOW
11998 # define LT_DLLAZY_OR_NOW DL_NOW
12000 # define LT_DLLAZY_OR_NOW 0
12007 void fnord() { int i=42;}
12010 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12011 int status = $lt_dlunknown;
12015 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12016 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12017 /* dlclose (self); */
12025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12026 (eval $ac_link) 2>&5
12028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12030 (.
/conftest
; exit; ) >&5 2>/dev
/null
12032 case x
$lt_status in
12033 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12034 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12035 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12038 # compilation failed
12039 lt_cv_dlopen_self
=no
12046 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12047 $as_echo "$lt_cv_dlopen_self" >&6; }
12049 if test "x$lt_cv_dlopen_self" = xyes
; then
12050 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12051 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12052 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12053 if test "${lt_cv_dlopen_self_static+set}" = set; then
12054 $as_echo_n "(cached) " >&6
12056 if test "$cross_compiling" = yes; then :
12057 lt_cv_dlopen_self_static
=cross
12059 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12060 lt_status
=$lt_dlunknown
12061 cat > conftest.
$ac_ext <<_LT_EOF
12062 #line 12062 "configure"
12063 #include "confdefs.h"
12072 # define LT_DLGLOBAL RTLD_GLOBAL
12075 # define LT_DLGLOBAL DL_GLOBAL
12077 # define LT_DLGLOBAL 0
12081 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12082 find out it does not work in some platform. */
12083 #ifndef LT_DLLAZY_OR_NOW
12085 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12088 # define LT_DLLAZY_OR_NOW DL_LAZY
12091 # define LT_DLLAZY_OR_NOW RTLD_NOW
12094 # define LT_DLLAZY_OR_NOW DL_NOW
12096 # define LT_DLLAZY_OR_NOW 0
12103 void fnord() { int i=42;}
12106 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12107 int status = $lt_dlunknown;
12111 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12112 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12113 /* dlclose (self); */
12121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12122 (eval $ac_link) 2>&5
12124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12126 (.
/conftest
; exit; ) >&5 2>/dev
/null
12128 case x
$lt_status in
12129 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12130 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12131 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12134 # compilation failed
12135 lt_cv_dlopen_self_static
=no
12142 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12143 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12146 CPPFLAGS
="$save_CPPFLAGS"
12147 LDFLAGS
="$save_LDFLAGS"
12152 case $lt_cv_dlopen_self in
12153 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12154 *) enable_dlopen_self
=unknown
;;
12157 case $lt_cv_dlopen_self_static in
12158 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12159 *) enable_dlopen_self_static
=unknown
;;
12181 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12182 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12183 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12184 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12185 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12186 { $as_echo "$as_me:$LINENO: result: yes" >&5
12187 $as_echo "yes" >&6; }
12189 # FIXME - insert some real tests, host_os isn't really good enough
12192 if test -n "$STRIP" ; then
12193 striplib
="$STRIP -x"
12194 old_striplib
="$STRIP -S"
12195 { $as_echo "$as_me:$LINENO: result: yes" >&5
12196 $as_echo "yes" >&6; }
12198 { $as_echo "$as_me:$LINENO: result: no" >&5
12199 $as_echo "no" >&6; }
12203 { $as_echo "$as_me:$LINENO: result: no" >&5
12204 $as_echo "no" >&6; }
12220 # Report which library types will actually be built
12221 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12222 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12223 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12224 $as_echo "$can_build_shared" >&6; }
12226 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12227 $as_echo_n "checking whether to build shared libraries... " >&6; }
12228 test "$can_build_shared" = "no" && enable_shared
=no
12230 # On AIX, shared libraries and static libraries use the same namespace, and
12231 # are all built from PIC.
12234 test "$enable_shared" = yes && enable_static
=no
12235 if test -n "$RANLIB"; then
12236 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12237 postinstall_cmds
='$RANLIB $lib'
12242 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12243 test "$enable_shared" = yes && enable_static
=no
12247 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12248 $as_echo "$enable_shared" >&6; }
12250 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12251 $as_echo_n "checking whether to build static libraries... " >&6; }
12252 # Make sure either enable_shared or enable_static is yes.
12253 test "$enable_shared" = yes || enable_static
=yes
12254 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12255 $as_echo "$enable_static" >&6; }
12262 ac_cpp
='$CPP $CPPFLAGS'
12263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12281 ac_config_commands
="$ac_config_commands libtool"
12286 # Only expand once:
12290 if test "$PS" = "ps"
12292 { { $as_echo "$as_me:$LINENO: error: Cannot find pathname to ps" >&5
12293 $as_echo "$as_me: error: Cannot find pathname to ps" >&2;}
12294 { (exit 1); exit 1; }; }
12297 if test x
$GXX = xyes
12299 CFLAGS
="-Wall $CFLAGS"
12302 CFLAGS
="-I.. -I$srcdir/.. $CFLAGS"
12305 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
12306 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12307 if test "${ac_cv_header_sys_wait_h+set}" = set; then
12308 $as_echo_n "(cached) " >&6
12310 cat >conftest.
$ac_ext <<_ACEOF
12313 cat confdefs.h
>>conftest.
$ac_ext
12314 cat >>conftest.
$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12316 #include <sys/types.h>
12317 #include <sys/wait.h>
12318 #ifndef WEXITSTATUS
12319 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12322 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12330 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12335 rm -f conftest.
$ac_objext
12336 if { (ac_try
="$ac_compile"
12337 case "(($ac_try" in
12338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12339 *) ac_try_echo=$ac_try;;
12341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12342 $as_echo "$ac_try_echo") >&5
12343 (eval "$ac_compile") 2>conftest.er1
12345 grep -v '^ *+' conftest.er1 >conftest.err
12347 cat conftest.err >&5
12348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } && {
12350 test -z "$ac_c_werror_flag" ||
12351 test ! -s conftest.err
12352 } && test -s conftest.$ac_objext; then
12353 ac_cv_header_sys_wait_h=yes
12355 $as_echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.$ac_ext >&5
12358 ac_cv_header_sys_wait_h=no
12361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12363 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
12364 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12365 if test $ac_cv_header_sys_wait_h = yes; then
12367 cat >>confdefs.h <<\_ACEOF
12368 #define HAVE_SYS_WAIT_H 1
12375 for ac_header in unistd.h fcntl.h
12377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12378 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12379 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12380 $as_echo_n "checking for $ac_header... " >&6; }
12381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12382 $as_echo_n "(cached) " >&6
12384 ac_res=`eval 'as_val=${'$as_ac_Header'}
12385 $as_echo "$as_val"'`
12386 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12387 $as_echo "$ac_res" >&6; }
12389 # Is the header compilable?
12390 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12391 $as_echo_n "checking $ac_header usability... " >&6; }
12392 cat >conftest.$ac_ext <<_ACEOF
12395 cat confdefs.h >>conftest.$ac_ext
12396 cat >>conftest.$ac_ext <<_ACEOF
12397 /* end confdefs.h. */
12398 $ac_includes_default
12399 #include <$ac_header>
12401 rm -f conftest.$ac_objext
12402 if { (ac_try="$ac_compile"
12403 case "(($ac_try" in
12404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12405 *) ac_try_echo
=$ac_try;;
12407 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12408 $as_echo "$ac_try_echo") >&5
12409 (eval "$ac_compile") 2>conftest.er1
12411 grep -v '^ *+' conftest.er1
>conftest.err
12413 cat conftest.err
>&5
12414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } && {
12416 test -z "$ac_c_werror_flag" ||
12417 test ! -s conftest.err
12418 } && test -s conftest.
$ac_objext; then
12419 ac_header_compiler
=yes
12421 $as_echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.
$ac_ext >&5
12424 ac_header_compiler
=no
12427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12428 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12429 $as_echo "$ac_header_compiler" >&6; }
12431 # Is the header present?
12432 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12433 $as_echo_n "checking $ac_header presence... " >&6; }
12434 cat >conftest.
$ac_ext <<_ACEOF
12437 cat confdefs.h
>>conftest.
$ac_ext
12438 cat >>conftest.
$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12440 #include <$ac_header>
12442 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12443 case "(($ac_try" in
12444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12445 *) ac_try_echo=$ac_try;;
12447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12448 $as_echo "$ac_try_echo") >&5
12449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12451 grep -v '^ *+' conftest.er1 >conftest.err
12453 cat conftest.err >&5
12454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); } >/dev/null && {
12456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12457 test ! -s conftest.err
12459 ac_header_preproc=yes
12461 $as_echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.$ac_ext >&5
12464 ac_header_preproc=no
12467 rm -f conftest.err conftest.$ac_ext
12468 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12469 $as_echo "$ac_header_preproc" >&6; }
12471 # So? What about this header?
12472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12475 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12476 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12477 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12478 ac_header_preproc=yes
12481 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12482 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12483 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12484 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12485 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12486 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12488 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12490 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12491 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12492 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12494 ## -------------------------------------------------- ##
12495 ## Report this to courier-users@lists.sourceforge.net ##
12496 ## -------------------------------------------------- ##
12498 ) | sed "s/^/$as_me: WARNING: /" >&2
12501 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12502 $as_echo_n "checking for $ac_header... " >&6; }
12503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12504 $as_echo_n "(cached) " >&6
12506 eval "$as_ac_Header=\$ac_header_preproc"
12508 ac_res=`eval 'as_val=${'$as_ac_Header'}
12509 $as_echo "$as_val"'`
12510 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12511 $as_echo "$ac_res" >&6; }
12514 as_val=`eval 'as_val=${'$as_ac_Header'}
12515 $as_echo "$as_val"'`
12516 if test "x$as_val" = x""yes; then
12517 cat >>confdefs.h <<_ACEOF
12518 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12526 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
12527 $as_echo_n "checking for pid_t... " >&6; }
12528 if test "${ac_cv_type_pid_t+set}" = set; then
12529 $as_echo_n "(cached) " >&6
12531 ac_cv_type_pid_t=no
12532 cat >conftest.$ac_ext <<_ACEOF
12535 cat confdefs.h >>conftest.$ac_ext
12536 cat >>conftest.$ac_ext <<_ACEOF
12537 /* end confdefs.h. */
12538 $ac_includes_default
12542 if (sizeof (pid_t))
12548 rm -f conftest.$ac_objext
12549 if { (ac_try="$ac_compile"
12550 case "(($ac_try" in
12551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12552 *) ac_try_echo
=$ac_try;;
12554 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12555 $as_echo "$ac_try_echo") >&5
12556 (eval "$ac_compile") 2>conftest.er1
12558 grep -v '^ *+' conftest.er1
>conftest.err
12560 cat conftest.err
>&5
12561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } && {
12563 test -z "$ac_c_werror_flag" ||
12564 test ! -s conftest.err
12565 } && test -s conftest.
$ac_objext; then
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 $ac_includes_default
12576 if (sizeof ((pid_t)))
12582 rm -f conftest.
$ac_objext
12583 if { (ac_try
="$ac_compile"
12584 case "(($ac_try" in
12585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12586 *) ac_try_echo=$ac_try;;
12588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12589 $as_echo "$ac_try_echo") >&5
12590 (eval "$ac_compile") 2>conftest.er1
12592 grep -v '^ *+' conftest.er1 >conftest.err
12594 cat conftest.err >&5
12595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); } && {
12597 test -z "$ac_c_werror_flag" ||
12598 test ! -s conftest.err
12599 } && test -s conftest.$ac_objext; then
12602 $as_echo "$as_me: failed program was:" >&5
12603 sed 's/^/| /' conftest.$ac_ext >&5
12605 ac_cv_type_pid_t=yes
12608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12610 $as_echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.$ac_ext >&5
12616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12618 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12619 $as_echo "$ac_cv_type_pid_t" >&6; }
12620 if test "x$ac_cv_type_pid_t" = x""yes; then
12624 cat >>confdefs.h <<_ACEOF
12632 # Check whether --with-random was given.
12633 if test "${with_random+set}" = set; then
12634 withval=$with_random; random="$withval"
12644 { $as_echo "$as_me:$LINENO: checking for random source" >&5
12645 $as_echo_n "checking for random source... " >&6; }
12646 if test "${random_cv_RANDOM+set}" = set; then
12647 $as_echo_n "(cached) " >&6
12649 if test -c /dev/urandom
12651 random_cv_RANDOM=/dev/urandom
12653 if test -c /dev/random
12655 random_cv_RANDOM=/dev/random
12657 random_cv_RANDOM="none"
12662 { $as_echo "$as_me:$LINENO: result: $random_cv_RANDOM" >&5
12663 $as_echo "$random_cv_RANDOM" >&6; }
12664 random="$random_cv_RANDOM"
12671 if test "$random" != "none"
12674 cat >>confdefs.h <<_ACEOF
12675 #define RANDOM "$random"
12680 { $as_echo "$as_me:$LINENO: checking for some good options for ps" >&5
12681 $as_echo_n "checking for some good options for ps... " >&6; }
12682 if test "${random_cv_PS_OPTIONS+set}" = set; then
12683 $as_echo_n "(cached) " >&6
12685 for opts in -Afl -Afw -Af -Al -afl -afw -af -al Afl Afw Af Al afl afw af al
12687 ps $opts >/dev/null 2>/dev/null || continue
12690 random_cv_PS_OPTIONS="$opts"
12693 { $as_echo "$as_me:$LINENO: result: $random_cv_PS_OPTIONS" >&5
12694 $as_echo "$random_cv_PS_OPTIONS" >&6; }
12697 cat >>confdefs.h <<_ACEOF
12698 #define PS_OPTIONS "$random_cv_PS_OPTIONS"
12702 cat >>confdefs.h <<_ACEOF
12707 if test "$W" != "w"
12710 cat >>confdefs.h <<_ACEOF
12716 ac_config_files="$ac_config_files Makefile"
12718 cat >confcache <<\_ACEOF
12719 # This file is a shell script that caches the results of configure
12720 # tests run on this system so they can be shared between configure
12721 # scripts and configure runs, see configure's option --config-cache.
12722 # It is not useful on other systems. If it contains results you don't
12723 # want to keep, you may remove or edit it.
12725 # config.status only pays attention to the cache file if you give it
12726 # the --recheck option to rerun configure.
12728 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12730 # following values.
12734 # The following way of writing the cache mishandles newlines in values,
12735 # but we know of no workaround that is simple, portable, and efficient.
12736 # So, we kill variables containing newlines.
12737 # Ultrix sh set writes to stderr and can't be redirected directly,
12738 # and sets the high bit in the cache file unless we assign to the vars.
12740 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12741 eval ac_val
=\$
$ac_var
12745 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12746 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12749 _ | IFS | as_nl
) ;; #(
12750 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12751 *) $as_unset $ac_var ;;
12757 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12758 *${as_nl}ac_space
=\
*)
12759 # `set' does not quote correctly, so add quotes (double-quote
12760 # substitution turns \\\\ into \\, and sed turns \\ into \).
12763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12766 # `set' quotes correctly as required by POSIX, so do not add quotes.
12767 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12776 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12778 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12780 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12781 if test -w "$cache_file"; then
12782 test "x$cache_file" != "x/dev/null" &&
12783 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12784 $as_echo "$as_me: updating cache $cache_file" >&6;}
12785 cat confcache
>$cache_file
12787 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12788 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12793 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12794 # Let make expand exec_prefix.
12795 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12797 DEFS
=-DHAVE_CONFIG_H
12801 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12802 # 1. Remove the extension, and $U if already installed.
12803 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12804 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12805 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12806 # will be set to the directory where LIBOBJS objects are built.
12807 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12808 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12810 LIBOBJS
=$ac_libobjs
12812 LTLIBOBJS
=$ac_ltlibobjs
12815 if test -n "$EXEEXT"; then
12817 am__EXEEXT_FALSE
='#'
12819 am__EXEEXT_TRUE
='#'
12823 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12824 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12825 Usually this means the macro was only invoked conditionally." >&5
12826 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12827 Usually this means the macro was only invoked conditionally." >&2;}
12828 { (exit 1); exit 1; }; }
12830 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12831 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12832 Usually this means the macro was only invoked conditionally." >&5
12833 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12834 Usually this means the macro was only invoked conditionally." >&2;}
12835 { (exit 1); exit 1; }; }
12837 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12838 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12839 Usually this means the macro was only invoked conditionally." >&5
12840 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12841 Usually this means the macro was only invoked conditionally." >&2;}
12842 { (exit 1); exit 1; }; }
12845 : ${CONFIG_STATUS=./config.status}
12847 ac_clean_files_save
=$ac_clean_files
12848 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12849 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12850 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12851 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12853 # Generated by $as_me.
12854 # Run this file to recreate the current configuration.
12855 # Compiler output produced by configure, useful for debugging
12856 # configure, is in config.log if it exists.
12859 ac_cs_recheck=false
12861 SHELL=\${CONFIG_SHELL-$SHELL}
12864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12865 ## --------------------- ##
12866 ## M4sh Initialization. ##
12867 ## --------------------- ##
12869 # Be more Bourne compatible
12870 DUALCASE
=1; export DUALCASE
# for MKS sh
12871 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12874 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12875 # is contrary to our usage. Disable this feature.
12876 alias -g '${1+"$@"}'='"$@"'
12877 setopt NO_GLOB_SUBST
12879 case `(set -o) 2>/dev/null` in
12880 *posix
*) set -o posix
;;
12889 # Avoid depending upon Character Ranges.
12890 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12891 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12892 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12893 as_cr_digits
='0123456789'
12894 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12899 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12900 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12901 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12902 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12903 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12904 as_echo='printf %s
\n'
12905 as_echo_n='printf %s
'
12907 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12908 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12909 as_echo_n='/usr
/ucb
/echo -n'
12911 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12912 as_echo_n_body='eval
12916 expr "X$arg" : "X\\(.*\\)$as_nl";
12917 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12919 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12921 export as_echo_n_body
12922 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12924 export as_echo_body
12925 as_echo='sh
-c $as_echo_body as_echo
'
12928 # The user is always right.
12929 if test "${PATH_SEPARATOR+set}" != set; then
12931 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12932 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12937 # Support unset when possible.
12938 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12946 # We need space, tab and new line, in precisely that order. Quoting is
12947 # there to prevent editors from complaining about space-tab.
12948 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12949 # splitting by setting IFS to empty value.)
12952 # Find who we are. Look in the path if we contain no directory separator.
12954 *[\\/]* ) as_myself=$0 ;;
12955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12956 for as_dir in $PATH
12959 test -z "$as_dir" && as_dir=.
12960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12966 # We did not find ourselves, most probably we were run as `sh COMMAND'
12967 # in which case we are not to be found in the path.
12968 if test "x$as_myself" = x
; then
12971 if test ! -f "$as_myself"; then
12972 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12973 { (exit 1); exit 1; }
12976 # Work around bugs in pre-3.0 UWIN ksh.
12977 for as_var
in ENV MAIL MAILPATH
12978 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12990 # Required to use basename.
12991 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12992 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12998 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12999 as_basename
=basename
13005 # Name of the executable.
13006 as_me
=`$as_basename -- "$0" ||
13007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13008 X"$0" : 'X\(//\)$' \| \
13009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13011 sed '/^.*\/\([^/][^/]*\)\/*$/{
13030 as_lineno_1
=$LINENO
13031 as_lineno_2
=$LINENO
13032 test "x$as_lineno_1" != "x$as_lineno_2" &&
13033 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13035 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13036 # uniformly replaced by the line number. The first 'sed' inserts a
13037 # line-number line after each line using $LINENO; the second 'sed'
13038 # does the real work. The second script uses 'N' to pair each
13039 # line-number line with the line containing $LINENO, and appends
13040 # trailing '-' during substitution so that $LINENO is not a special
13041 # case at line end.
13042 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13043 # scripts with optimization help from Paolo Bonzini. Blame Lee
13044 # E. McMahon (1931-1989) for sed's syntax. :-)
13056 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13059 ' >$as_me.lineno
&&
13060 chmod +x
"$as_me.lineno" ||
13061 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13062 { (exit 1); exit 1; }; }
13064 # Don't try to exec as it changes $[0], causing all sort of problems
13065 # (the dirname of $[0] is not the place where we might find the
13066 # original and so on. Autoconf is especially sensitive to this).
13067 .
"./$as_me.lineno"
13068 # Exit status is that of the last command.
13073 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13079 ECHO_C
= ECHO_N
= ECHO_T
=
13080 case `echo -n x` in
13082 case `echo 'x\c'` in
13083 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13089 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13090 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13096 rm -f conf$$ conf$$.exe conf$$.
file
13097 if test -d conf$$.dir
; then
13098 rm -f conf$$.dir
/conf$$.
file
13101 mkdir conf$$.dir
2>/dev
/null
13103 if (echo >conf$$.
file) 2>/dev
/null
; then
13104 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13106 # ... but there are two gotchas:
13107 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13108 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13109 # In both cases, we have to default to `cp -p'.
13110 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13112 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13120 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13121 rmdir conf$$.dir
2>/dev
/null
13123 if mkdir
-p .
2>/dev
/null
; then
13126 test -d .
/-p && rmdir .
/-p
13130 if test -x / >/dev
/null
2>&1; then
13131 as_test_x
='test -x'
13133 if ls -dL / >/dev
/null
2>&1; then
13140 if test -d "$1"; then
13146 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13147 ???[sx]*):;;*)false;;esac;fi
13151 as_executable_p
=$as_test_x
13153 # Sed expression to map a string onto a valid CPP name.
13154 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13156 # Sed expression to map a string onto a valid variable name.
13157 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13162 # Save the log message, to keep $[0] and so on meaningful, and to
13163 # report actual input values of CONFIG_FILES etc. instead of their
13164 # values after options handling.
13166 This file was extended by random128 $as_me 0.10, which was
13167 generated by GNU Autoconf 2.63. Invocation command line was
13169 CONFIG_FILES = $CONFIG_FILES
13170 CONFIG_HEADERS = $CONFIG_HEADERS
13171 CONFIG_LINKS = $CONFIG_LINKS
13172 CONFIG_COMMANDS = $CONFIG_COMMANDS
13175 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13180 case $ac_config_files in *"
13181 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13184 case $ac_config_headers in *"
13185 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13190 # Files that config.status was made for.
13191 config_files="$ac_config_files"
13192 config_headers="$ac_config_headers"
13193 config_commands="$ac_config_commands"
13197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13199 \`$as_me' instantiates files from templates according to the
13200 current configuration.
13202 Usage: $0 [OPTION]... [FILE]...
13204 -h, --help print this help, then exit
13205 -V, --version print version number and configuration settings, then exit
13206 -q, --quiet, --silent
13207 do not print progress messages
13208 -d, --debug don't remove temporary files
13209 --recheck update $as_me by reconfiguring in the same conditions
13210 --file=FILE[:TEMPLATE]
13211 instantiate the configuration file FILE
13212 --header=FILE[:TEMPLATE]
13213 instantiate the configuration header FILE
13215 Configuration files:
13218 Configuration headers:
13221 Configuration commands:
13224 Report bugs to <bug-autoconf@gnu.org>."
13227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13229 random128 config.status 0.10
13230 configured by $0, generated by GNU Autoconf 2.63,
13231 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13233 Copyright (C) 2008 Free Software Foundation, Inc.
13234 This config.status script is free software; the Free Software Foundation
13235 gives unlimited permission to copy, distribute and modify it."
13242 test -n "\$AWK" || AWK=awk
13245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13246 # The default lists apply if the user does not specify any file.
13252 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13253 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13264 # Handling of the options.
13265 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13267 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13268 $as_echo "$ac_cs_version"; exit ;;
13269 --debug |
--debu |
--deb |
--de |
--d |
-d )
13271 --file |
--fil |
--fi |
--f )
13274 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13276 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13277 ac_need_defaults
=false
;;
13278 --header |
--heade |
--head |
--hea )
13281 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13283 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13284 ac_need_defaults
=false
;;
13286 # Conflict between --help and --header
13287 { $as_echo "$as_me: error: ambiguous option: $1
13288 Try \`$0 --help' for more information." >&2
13289 { (exit 1); exit 1; }; };;
13290 --help |
--hel |
-h )
13291 $as_echo "$ac_cs_usage"; exit ;;
13292 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13293 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13296 # This is an error.
13297 -*) { $as_echo "$as_me: error: unrecognized option: $1
13298 Try \`$0 --help' for more information." >&2
13299 { (exit 1); exit 1; }; } ;;
13301 *) ac_config_targets
="$ac_config_targets $1"
13302 ac_need_defaults
=false
;;
13308 ac_configure_extra_args
=
13310 if $ac_cs_silent; then
13312 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13317 if \$ac_cs_recheck; then
13318 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13320 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13321 CONFIG_SHELL='$SHELL'
13322 export CONFIG_SHELL
13327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13331 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13332 ## Running $as_me. ##
13338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13342 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13345 # The HP-UX ksh and POSIX shell print the target directory to stdout
13346 # if CDPATH is set.
13347 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13349 sed_quote_subst='$sed_quote_subst'
13350 double_quote_subst='$double_quote_subst'
13351 delay_variable_subst='$delay_variable_subst'
13352 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13353 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13354 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13355 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13356 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13357 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13358 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13359 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13360 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13361 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13362 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13363 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13364 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13365 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13366 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13367 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13368 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13369 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13370 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13371 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13372 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13373 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13374 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13375 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13376 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13377 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13378 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13379 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13380 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13381 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13382 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13383 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13384 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13385 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13386 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13387 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13388 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13389 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13390 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13391 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13392 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13393 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13394 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13395 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13396 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13397 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13398 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13399 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13400 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13401 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13402 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13403 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13404 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13405 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13406 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13407 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13408 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13409 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13410 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13411 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13412 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13413 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13414 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13415 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13416 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13417 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13418 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13419 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13420 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13421 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13422 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13423 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13424 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13425 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13426 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13427 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13428 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13429 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13430 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13431 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13432 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13433 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13434 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13435 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13436 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13437 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13438 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13439 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13440 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13441 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13442 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13443 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13444 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13445 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13446 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13447 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13448 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13449 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13450 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13451 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13452 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13453 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13454 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13455 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13456 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13457 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13458 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13459 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13460 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13461 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13462 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13463 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13464 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13465 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13466 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13467 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13468 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13469 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13472 LTCFLAGS='$LTCFLAGS'
13473 compiler='$compiler_DEFAULT'
13475 # Quote evaled strings.
13487 deplibs_check_method \
13496 lt_cv_sys_global_symbol_pipe \
13497 lt_cv_sys_global_symbol_to_cdecl \
13498 lt_cv_sys_global_symbol_to_c_name_address \
13499 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13502 lt_prog_compiler_no_builtin_flag \
13503 lt_prog_compiler_wl \
13504 lt_prog_compiler_pic \
13505 lt_prog_compiler_static \
13506 lt_cv_prog_compiler_c_o \
13514 export_dynamic_flag_spec \
13515 whole_archive_flag_spec \
13516 compiler_needs_object \
13518 allow_undefined_flag \
13519 no_undefined_flag \
13520 hardcode_libdir_flag_spec \
13521 hardcode_libdir_flag_spec_ld \
13522 hardcode_libdir_separator \
13527 variables_saved_for_relink \
13529 library_names_spec \
13534 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13535 *[\\\\\\\`\\"\\\$]*)
13536 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13539 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13544 # Double-quote double-evaled strings.
13545 for var in reload_cmds \
13546 old_postinstall_cmds \
13547 old_postuninstall_cmds \
13549 extract_expsyms_cmds \
13550 old_archive_from_new_cmds \
13551 old_archive_from_expsyms_cmds \
13553 archive_expsym_cmds \
13555 module_expsym_cmds \
13556 export_symbols_cmds \
13559 postuninstall_cmds \
13561 sys_lib_search_path_spec \
13562 sys_lib_dlsearch_path_spec; do
13563 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13564 *[\\\\\\\`\\"\\\$]*)
13565 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13568 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13573 # Fix-up fallback echo if it was mangled by the above quoting rules.
13575 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13579 ac_aux_dir='$ac_aux_dir'
13580 xsi_shell='$xsi_shell'
13581 lt_shell_append='$lt_shell_append'
13583 # See if we are running on zsh, and set the options which allow our
13584 # commands through without removal of \ escapes INIT.
13585 if test -n "\${ZSH_VERSION+set}" ; then
13586 setopt NO_GLOB_SUBST
13592 TIMESTAMP='$TIMESTAMP'
13601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13603 # Handling of arguments.
13604 for ac_config_target
in $ac_config_targets
13606 case $ac_config_target in
13607 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13608 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13609 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13610 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13612 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13613 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13614 { (exit 1); exit 1; }; };;
13619 # If the user did not use the arguments to specify the items to instantiate,
13620 # then the envvar interface is used. Set only those that are not.
13621 # We use the long form for the default assignment because of an extremely
13622 # bizarre bug on SunOS 4.1.3.
13623 if $ac_need_defaults; then
13624 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13625 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13626 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13629 # Have a temporary directory for convenience. Make it in the build tree
13630 # simply because there is no reason against having it here, and in addition,
13631 # creating and moving files from /tmp can sometimes cause problems.
13632 # Hook for its removal unless debugging.
13633 # Note that there is a small window in which the directory will not be cleaned:
13634 # after its creation but before its name has been assigned to `$tmp'.
13638 trap 'exit_status=$?
13639 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13641 trap '{ (exit 1); exit 1; }' 1 2 13 15
13643 # Create a (secure) tmp directory for tmp files.
13646 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13647 test -n "$tmp" && test -d "$tmp"
13650 tmp
=.
/conf$$
-$RANDOM
13651 (umask 077 && mkdir
"$tmp")
13654 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13655 { (exit 1); exit 1; }
13658 # Set up the scripts for CONFIG_FILES section.
13659 # No need to generate them if there are no CONFIG_FILES.
13660 # This happens for instance with `./config.status config.h'.
13661 if test -n "$CONFIG_FILES"; then
13665 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13669 ac_cs_awk_cr
=$ac_cr
13672 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13677 echo "cat >conf$$subs.awk <<_ACEOF" &&
13678 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13680 } >conf$$subs.sh ||
13681 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13682 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13683 { (exit 1); exit 1; }; }
13684 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13686 for ac_last_try in false false false false false :; do
13687 . ./conf$$subs.sh ||
13688 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13689 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13690 { (exit 1); exit 1; }; }
13692 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13693 if test $ac_delim_n = $ac_delim_num; then
13695 elif $ac_last_try; then
13696 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13697 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13698 { (exit 1); exit 1; }; }
13700 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13703 rm -f conf$$subs.sh
13705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13706 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13710 s/^/S["/; s
/!.
*/"]=/
13720 s/\(.\{148\}\).*/\1/
13722 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13727 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13734 s/\(.\{148\}\).*/\1/
13736 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13740 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13745 ' <conf$$subs.awk | sed '
13750 ' >>$CONFIG_STATUS || ac_write_fail=1
13751 rm -f conf$$subs.awk
13752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13754 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13755 for (key in S) S_is_set[key] = 1
13761 nfields = split(line, field, "@
")
13763 len = length(field[1])
13764 for (i = 2; i < nfields; i++) {
13766 keylen = length(key)
13767 if (S_is_set[key]) {
13769 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13770 len += length(value) + length(field[++i])
13781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13782 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13783 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13786 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13787 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13788 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13789 { (exit 1); exit 1; }; }
13792 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13793 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13794 # trailing colons and then remove the whole line if VPATH becomes empty
13795 # (actually we leave an empty line to preserve line numbers).
13796 if test "x
$srcdir" = x.; then
13797 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13798 s/:*\$(srcdir):*/:/
13799 s/:*\${srcdir}:*/:/
13801 s/^\([^=]*=[ ]*\):*/\1/
13807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13808 fi # test -n "$CONFIG_FILES"
13810 # Set up the scripts for CONFIG_HEADERS section.
13811 # No need to generate them if there are no CONFIG_HEADERS.
13812 # This happens for instance with `./config.status Makefile'.
13813 if test -n "$CONFIG_HEADERS"; then
13814 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13818 # Transform confdefs.h into an awk script `defines.awk', embedded as
13819 # here-document in config.status, that substitutes the proper values into
13820 # config.h.in to produce config.h.
13822 # Create a delimiter string that does not exist in confdefs.h, to ease
13823 # handling of long lines.
13825 for ac_last_try in false false :; do
13826 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13827 if test -z "$ac_t"; then
13829 elif $ac_last_try; then
13830 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13831 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13832 { (exit 1); exit 1; }; }
13834 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13838 # For the awk script, D is an array of macro values keyed by name,
13839 # likewise P contains macro parameters if any. Preserve backslash
13840 # newline sequences.
13842 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13844 s/.\{148\}/&'"$ac_delim"'/g
13847 s/^[ ]*#[ ]*define[ ][ ]*/ /
13854 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13856 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13860 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13861 D["\
1"]=" \
3\\\\\\n
"\\/p
13863 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13868 s/.\{148\}/&'"$ac_delim"'/g
13873 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13876 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13878 ' <confdefs.h | sed '
13879 s/'"$ac_delim"'/"\\\
13880 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13883 for (key in D) D_is_set[key] = 1
13886 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13888 split(line, arg, " ")
13889 if (arg[1] == "#") {
13893 defundef
= substr
(arg
[1], 2)
13896 split(mac1
, mac2
, "(") #)
13898 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13899 if (D_is_set
[macro
]) {
13900 # Preserve the white space surrounding the "#".
13901 print prefix
"define", macro P
[macro
] D
[macro
]
13904 # Replace #undef with comments. This is necessary, for example,
13905 # in the case of _POSIX_SOURCE, which is predefined and required
13906 # on some systems where configure will not decide to define it.
13907 if (defundef
== "undef") {
13908 print
"/*", prefix defundef
, macro
, "*/"
13916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13917 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13918 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13919 { (exit 1); exit 1; }; }
13920 fi # test -n "$CONFIG_HEADERS"
13923 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13928 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13930 case $ac_mode$ac_tag in
13932 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13933 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13934 { (exit 1); exit 1; }; };;
13935 :[FH
]-) ac_tag
=-:-;;
13936 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13953 -) ac_f
="$tmp/stdin";;
13954 *) # Look for the file first in the build tree, then in the source tree
13955 # (if the path is not absolute). The absolute path cannot be DOS-style,
13956 # because $ac_f cannot contain `:'.
13960 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13962 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13963 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13964 { (exit 1); exit 1; }; };;
13966 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13967 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13970 # Let's still pretend it is `configure' which instantiates (i.e., don't
13971 # use $as_me), people would be surprised to read:
13972 # /* config.h. Generated by config.status. */
13973 configure_input
='Generated from '`
13974 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13976 if test x
"$ac_file" != x-
; then
13977 configure_input
="$ac_file. $configure_input"
13978 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13979 $as_echo "$as_me: creating $ac_file" >&6;}
13981 # Neutralize special characters interpreted by sed in replacement strings.
13982 case $configure_input in #(
13983 *\
&* |
*\|
* |
*\\* )
13984 ac_sed_conf_input
=`$as_echo "$configure_input" |
13985 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13986 *) ac_sed_conf_input
=$configure_input;;
13990 *:-:* |
*:-) cat >"$tmp/stdin" \
13991 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13992 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13993 { (exit 1); exit 1; }; } ;;
13998 ac_dir
=`$as_dirname -- "$ac_file" ||
13999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14000 X"$ac_file" : 'X\(//\)[^/]' \| \
14001 X"$ac_file" : 'X\(//\)$' \| \
14002 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14003 $as_echo X"$ac_file" |
14004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14008 /^X\(\/\/\)[^/].*/{
14023 -*) as_dir
=.
/$as_dir;;
14025 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14029 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14030 *) as_qdir
=$as_dir;;
14032 as_dirs
="'$as_qdir' $as_dirs"
14033 as_dir
=`$as_dirname -- "$as_dir" ||
14034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14035 X"$as_dir" : 'X\(//\)[^/]' \| \
14036 X"$as_dir" : 'X\(//\)$' \| \
14037 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14038 $as_echo X"$as_dir" |
14039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14043 /^X\(\/\/\)[^/].*/{
14056 test -d "$as_dir" && break
14058 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14059 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14060 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14061 { (exit 1); exit 1; }; }; }
14065 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14067 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14068 # A ".." for each directory in $ac_dir_suffix.
14069 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14070 case $ac_top_builddir_sub in
14071 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14072 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14075 ac_abs_top_builddir
=$ac_pwd
14076 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14077 # for backward compatibility:
14078 ac_top_builddir
=$ac_top_build_prefix
14081 .
) # We are building in place.
14083 ac_top_srcdir
=$ac_top_builddir_sub
14084 ac_abs_top_srcdir
=$ac_pwd ;;
14085 [\\/]* | ?
:[\\/]* ) # Absolute name.
14086 ac_srcdir
=$srcdir$ac_dir_suffix;
14087 ac_top_srcdir
=$srcdir
14088 ac_abs_top_srcdir
=$srcdir ;;
14089 *) # Relative name.
14090 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14091 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14092 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14094 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14104 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14105 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14107 ac_MKDIR_P
=$MKDIR_P
14109 [\\/$
]* | ?
:[\\/]* ) ;;
14110 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14115 # If the template does not know about datarootdir, expand it.
14116 # FIXME: This hack should be removed a few years after 2.60.
14117 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14130 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14131 *datarootdir
*) ac_datarootdir_seen
=yes;;
14132 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14133 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14134 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14137 ac_datarootdir_hack='
14138 s&@datadir@&$datadir&g
14139 s&@docdir@&$docdir&g
14140 s&@infodir@&$infodir&g
14141 s&@localedir@&$localedir&g
14142 s&@mandir@&$mandir&g
14143 s&\\\${datarootdir}&$datarootdir&g' ;;
14147 # Neutralize VPATH when `$srcdir' = `.'.
14148 # Shell code in configure.ac might set extrasub.
14149 # FIXME: do we really want to maintain this feature?
14150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14151 ac_sed_extra="$ac_vpsub
14154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14156 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14157 s|@configure_input@|
$ac_sed_conf_input|
;t t
14158 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14159 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14160 s
&@srcdir@
&$ac_srcdir&;t t
14161 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14162 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14163 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14164 s
&@builddir@
&$ac_builddir&;t t
14165 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14166 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14167 s
&@INSTALL@
&$ac_INSTALL&;t t
14168 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14169 $ac_datarootdir_hack
14171 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14172 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14173 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14174 { (exit 1); exit 1; }; }
14176 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14177 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14178 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14179 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14180 which seems to be undefined. Please make sure it is defined." >&5
14181 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14182 which seems to be undefined. Please make sure it is defined." >&2;}
14186 -) cat "$tmp/out" && rm -f "$tmp/out";;
14187 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14189 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14190 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14191 { (exit 1); exit 1; }; }
14197 if test x"$ac_file" != x-; then
14199 $as_echo "/* $configure_input */" \
14200 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14201 } >"$tmp/config.h" \
14202 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14203 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14204 { (exit 1); exit 1; }; }
14205 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14206 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14207 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14210 mv "$tmp/config.h" "$ac_file" \
14211 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14212 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14213 { (exit 1); exit 1; }; }
14216 $as_echo "/* $configure_input */" \
14217 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14218 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14219 $as_echo "$as_me: error: could not create -" >&2;}
14220 { (exit 1); exit 1; }; }
14222 # Compute "$ac_file"'s index
in $config_headers.
14225 for _am_header
in $config_headers :; do
14226 case $_am_header in
14227 $_am_arg |
$_am_arg:* )
14230 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14233 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14234 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14235 X"$_am_arg" : 'X\(//\)[^/]' \| \
14236 X"$_am_arg" : 'X\(//\)$' \| \
14237 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14238 $as_echo X"$_am_arg" |
14239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14243 /^X\(\/\/\)[^/].*/{
14255 s/.*/./; q'`/stamp-h
$_am_stamp_count
14258 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14259 $as_echo "$as_me: executing $ac_file commands" >&6;}
14264 case $ac_file$ac_mode in
14265 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14266 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14267 # are listed without --file. Let's play safe and only enable the eval
14268 # if we detect the quoting.
14269 case $CONFIG_FILES in
14270 *\'*) eval set x
"$CONFIG_FILES" ;;
14271 *) set x
$CONFIG_FILES ;;
14276 # Strip MF so we end up with the name of the file.
14277 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14278 # Check whether this is an Automake generated Makefile or not.
14279 # We used to match only the files named `Makefile.in', but
14280 # some people rename them; so instead we look at the file content.
14281 # Grep'ing the first line is not enough: some people post-process
14282 # each Makefile.in and add a new line on top of each file to say so.
14283 # Grep'ing the whole file is not good either: AIX grep has a line
14284 # limit of 2048, but all sed's we know have understand at least 4000.
14285 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14286 dirpart
=`$as_dirname -- "$mf" ||
14287 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14288 X"$mf" : 'X\(//\)[^/]' \| \
14289 X"$mf" : 'X\(//\)$' \| \
14290 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14296 /^X\(\/\/\)[^/].*/{
14312 # Extract the definition of DEPDIR, am__include, and am__quote
14313 # from the Makefile without running `make'.
14314 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14315 test -z "$DEPDIR" && continue
14316 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14317 test -z "am__include" && continue
14318 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14319 # When using ansi2knr, U may be empty or an underscore; expand it
14320 U
=`sed -n 's/^U = //p' < "$mf"`
14321 # Find all dependency output files, they are included files with
14322 # $(DEPDIR) in their names. We invoke sed twice because it is the
14323 # simplest approach to changing $(DEPDIR) to its actual value in the
14325 for file in `sed -n "
14326 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14327 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14328 # Make sure the directory exists.
14329 test -f "$dirpart/$file" && continue
14330 fdir
=`$as_dirname -- "$file" ||
14331 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14332 X"$file" : 'X\(//\)[^/]' \| \
14333 X"$file" : 'X\(//\)$' \| \
14334 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14335 $as_echo X"$file" |
14336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14340 /^X\(\/\/\)[^/].*/{
14353 { as_dir
=$dirpart/$fdir
14355 -*) as_dir
=.
/$as_dir;;
14357 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14361 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14362 *) as_qdir
=$as_dir;;
14364 as_dirs
="'$as_qdir' $as_dirs"
14365 as_dir
=`$as_dirname -- "$as_dir" ||
14366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14367 X"$as_dir" : 'X\(//\)[^/]' \| \
14368 X"$as_dir" : 'X\(//\)$' \| \
14369 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14370 $as_echo X"$as_dir" |
14371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14375 /^X\(\/\/\)[^/].*/{
14388 test -d "$as_dir" && break
14390 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14391 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14392 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14393 { (exit 1); exit 1; }; }; }
14394 # echo "creating $dirpart/$file"
14395 echo '# dummy' > "$dirpart/$file"
14402 # See if we are running on zsh, and set the options which allow our
14403 # commands through without removal of \ escapes.
14404 if test -n "${ZSH_VERSION+set}" ; then
14405 setopt NO_GLOB_SUBST
14408 cfgfile
="${ofile}T"
14409 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14412 cat <<_LT_EOF >> "$cfgfile"
14415 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14416 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14417 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14418 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14420 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14421 # 2006, 2007, 2008 Free Software Foundation, Inc.
14422 # Written by Gordon Matzigkeit, 1996
14424 # This file is part of GNU Libtool.
14426 # GNU Libtool is free software; you can redistribute it and/or
14427 # modify it under the terms of the GNU General Public License as
14428 # published by the Free Software Foundation; either version 2 of
14429 # the License, or (at your option) any later version.
14431 # As a special exception to the GNU General Public License,
14432 # if you distribute this file as part of a program or library that
14433 # is built using GNU Libtool, you may include this file under the
14434 # same distribution terms that you use for the rest of that program.
14436 # GNU Libtool is distributed in the hope that it will be useful,
14437 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14438 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14439 # GNU General Public License for more details.
14441 # You should have received a copy of the GNU General Public License
14442 # along with GNU Libtool; see the file COPYING. If not, a copy
14443 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14444 # obtained by writing to the Free Software Foundation, Inc.,
14445 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14448 # The names of the tagged configurations supported by this script.
14451 # ### BEGIN LIBTOOL CONFIG
14453 # Which release of libtool.m4 was used?
14454 macro_version=$macro_version
14455 macro_revision=$macro_revision
14457 # Whether or not to build shared libraries.
14458 build_libtool_libs=$enable_shared
14460 # Whether or not to build static libraries.
14461 build_old_libs=$enable_static
14463 # What type of objects to build.
14466 # Whether or not to optimize for fast installation.
14467 fast_install=$enable_fast_install
14470 host_alias=$host_alias
14474 # The build system.
14475 build_alias=$build_alias
14479 # A sed program that does not truncate output.
14482 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14483 Xsed="\$SED -e 1s/^X//"
14485 # A grep program that handles long lines.
14491 # A literal string matcher.
14494 # A BSD- or MS-compatible name lister.
14497 # Whether we need soft or hard links.
14500 # What is the maximum length of a command?
14501 max_cmd_len=$max_cmd_len
14503 # Object file suffix (normally "o").
14506 # Executable file suffix (normally "").
14509 # whether the shell understands "unset".
14512 # turn spaces into newlines.
14515 # turn newlines into spaces.
14518 # How to create reloadable object files.
14519 reload_flag=$lt_reload_flag
14520 reload_cmds=$lt_reload_cmds
14522 # An object symbol dumper.
14523 OBJDUMP=$lt_OBJDUMP
14525 # Method to check whether dependent libraries are shared objects.
14526 deplibs_check_method=$lt_deplibs_check_method
14528 # Command to use when deplibs_check_method == "file_magic".
14529 file_magic_cmd=$lt_file_magic_cmd
14533 AR_FLAGS=$lt_AR_FLAGS
14535 # A symbol stripping program.
14538 # Commands used to install an old-style archive.
14540 old_postinstall_cmds=$lt_old_postinstall_cmds
14541 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14546 # LTCC compiler flags.
14547 LTCFLAGS=$lt_CFLAGS
14549 # Take the output of nm and produce a listing of raw symbols and C names.
14550 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14552 # Transform the output of nm in a proper C declaration.
14553 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14555 # Transform the output of nm in a C name address pair.
14556 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14558 # Transform the output of nm in a C name address pair when lib prefix is needed.
14559 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14561 # The name of the directory that contains temporary libtool files.
14564 # Shell to use when invoking shell scripts.
14567 # An echo program that does not interpret backslashes.
14570 # Used to examine libraries when file_magic_cmd begins with "file".
14571 MAGIC_CMD=$MAGIC_CMD
14573 # Must we lock files when doing compilation?
14574 need_locks=$lt_need_locks
14576 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14577 DSYMUTIL=$lt_DSYMUTIL
14579 # Tool to change global to local symbols on Mac OS X.
14582 # Tool to manipulate fat objects and archives on Mac OS X.
14585 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14588 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14589 OTOOL64=$lt_OTOOL64
14591 # Old archive suffix (normally "a").
14594 # Shared library suffix (normally ".so").
14595 shrext_cmds=$lt_shrext_cmds
14597 # The commands to extract the exported symbol list from a shared archive.
14598 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14600 # Variables whose values should be saved in libtool wrapper scripts and
14601 # restored at link time.
14602 variables_saved_for_relink=$lt_variables_saved_for_relink
14604 # Do we need the "lib" prefix for modules?
14605 need_lib_prefix=$need_lib_prefix
14607 # Do we need a version for libraries?
14608 need_version=$need_version
14610 # Library versioning type.
14611 version_type=$version_type
14613 # Shared library runtime path variable.
14614 runpath_var=$runpath_var
14616 # Shared library path variable.
14617 shlibpath_var=$shlibpath_var
14619 # Is shlibpath searched before the hard-coded library search path?
14620 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14622 # Format of library name prefix.
14623 libname_spec=$lt_libname_spec
14625 # List of archive names. First name is the real one, the rest are links.
14626 # The last name is the one that the linker finds with -lNAME
14627 library_names_spec=$lt_library_names_spec
14629 # The coded name of the library, if different from the real name.
14630 soname_spec=$lt_soname_spec
14632 # Command to use after installation of a shared archive.
14633 postinstall_cmds=$lt_postinstall_cmds
14635 # Command to use after uninstallation of a shared archive.
14636 postuninstall_cmds=$lt_postuninstall_cmds
14638 # Commands used to finish a libtool library installation in a directory.
14639 finish_cmds=$lt_finish_cmds
14641 # As "finish_cmds", except a single script fragment to be evaled but
14643 finish_eval=$lt_finish_eval
14645 # Whether we should hardcode library paths into libraries.
14646 hardcode_into_libs=$hardcode_into_libs
14648 # Compile-time system search path for libraries.
14649 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14651 # Run-time system search path for libraries.
14652 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14654 # Whether dlopen is supported.
14655 dlopen_support=$enable_dlopen
14657 # Whether dlopen of programs is supported.
14658 dlopen_self=$enable_dlopen_self
14660 # Whether dlopen of statically linked programs is supported.
14661 dlopen_self_static=$enable_dlopen_self_static
14663 # Commands to strip libraries.
14664 old_striplib=$lt_old_striplib
14665 striplib=$lt_striplib
14668 # The linker used to build libraries.
14671 # Commands used to build an old-style archive.
14672 old_archive_cmds=$lt_old_archive_cmds
14674 # A language specific compiler.
14677 # Is the compiler the GNU compiler?
14680 # Compiler flag to turn off builtin functions.
14681 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14683 # How to pass a linker flag through the compiler.
14684 wl=$lt_lt_prog_compiler_wl
14686 # Additional compiler flags for building library objects.
14687 pic_flag=$lt_lt_prog_compiler_pic
14689 # Compiler flag to prevent dynamic linking.
14690 link_static_flag=$lt_lt_prog_compiler_static
14692 # Does compiler simultaneously support -c and -o options?
14693 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14695 # Whether or not to add -lc for building shared libraries.
14696 build_libtool_need_lc=$archive_cmds_need_lc
14698 # Whether or not to disallow shared libs when runtime libs are static.
14699 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14701 # Compiler flag to allow reflexive dlopens.
14702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14704 # Compiler flag to generate shared objects directly from archives.
14705 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14707 # Whether the compiler copes with passing no objects directly.
14708 compiler_needs_object=$lt_compiler_needs_object
14710 # Create an old-style archive from a shared archive.
14711 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14713 # Create a temporary old-style archive to link instead of a shared archive.
14714 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14716 # Commands used to build a shared archive.
14717 archive_cmds=$lt_archive_cmds
14718 archive_expsym_cmds=$lt_archive_expsym_cmds
14720 # Commands used to build a loadable module if different from building
14721 # a shared archive.
14722 module_cmds=$lt_module_cmds
14723 module_expsym_cmds=$lt_module_expsym_cmds
14725 # Whether we are building with GNU ld or not.
14726 with_gnu_ld=$lt_with_gnu_ld
14728 # Flag that allows shared libraries with undefined symbols to be built.
14729 allow_undefined_flag=$lt_allow_undefined_flag
14731 # Flag that enforces no undefined symbols.
14732 no_undefined_flag=$lt_no_undefined_flag
14734 # Flag to hardcode \$libdir into a binary during linking.
14735 # This must work even if \$libdir does not exist
14736 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14738 # If ld is used when linking, flag to hardcode \$libdir into a binary
14739 # during linking. This must work even if \$libdir does not exist.
14740 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14742 # Whether we need a single "-rpath" flag with a separated argument.
14743 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14745 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14746 # DIR into the resulting binary.
14747 hardcode_direct=$hardcode_direct
14749 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14750 # DIR into the resulting binary and the resulting library dependency is
14751 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14752 # library is relocated.
14753 hardcode_direct_absolute=$hardcode_direct_absolute
14755 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14756 # into the resulting binary.
14757 hardcode_minus_L=$hardcode_minus_L
14759 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14760 # into the resulting binary.
14761 hardcode_shlibpath_var=$hardcode_shlibpath_var
14763 # Set to "yes" if building a shared library automatically hardcodes DIR
14764 # into the library and all subsequent libraries and executables linked
14766 hardcode_automatic=$hardcode_automatic
14768 # Set to yes if linker adds runtime paths of dependent libraries
14769 # to runtime path list.
14770 inherit_rpath=$inherit_rpath
14772 # Whether libtool must link a program against all its dependency libraries.
14773 link_all_deplibs=$link_all_deplibs
14775 # Fix the shell variable \$srcfile for the compiler.
14776 fix_srcfile_path=$lt_fix_srcfile_path
14778 # Set to "yes" if exported symbols are required.
14779 always_export_symbols=$always_export_symbols
14781 # The commands to list exported symbols.
14782 export_symbols_cmds=$lt_export_symbols_cmds
14784 # Symbols that should not be listed in the preloaded symbols.
14785 exclude_expsyms=$lt_exclude_expsyms
14787 # Symbols that must always be exported.
14788 include_expsyms=$lt_include_expsyms
14790 # Commands necessary for linking programs (against libraries) with templates.
14791 prelink_cmds=$lt_prelink_cmds
14793 # Specify filename containing input files.
14794 file_list_spec=$lt_file_list_spec
14796 # How to hardcode a shared library path into an executable.
14797 hardcode_action=$hardcode_action
14799 # ### END LIBTOOL CONFIG
14805 cat <<\_LT_EOF
>> "$cfgfile"
14806 # AIX sometimes has problems with the GCC collect2 program. For some
14807 # reason, if we set the COLLECT_NAMES environment variable, the problems
14808 # vanish in a puff of smoke.
14809 if test "X${COLLECT_NAMES+set}" != Xset
; then
14811 export COLLECT_NAMES
14818 ltmain
="$ac_aux_dir/ltmain.sh"
14821 # We use sed instead of cat because bash on DJGPP gets confused if
14822 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14823 # text mode, it properly converts lines to CR/LF. This bash problem
14824 # is reportedly fixed, but why not run on old versions too?
14825 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14826 ||
(rm -f "$cfgfile"; exit 1)
14830 cat << \_LT_EOF
>> "$cfgfile"
14832 # func_dirname file append nondir_replacement
14833 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14834 # otherwise set result to NONDIR_REPLACEMENT.
14838 */*) func_dirname_result
="${1%/*}${2}" ;;
14839 * ) func_dirname_result
="${3}" ;;
14843 # func_basename file
14846 func_basename_result
="${1##*/}"
14849 # func_dirname_and_basename file append nondir_replacement
14850 # perform func_basename and func_dirname in a single function
14852 # dirname: Compute the dirname of FILE. If nonempty,
14853 # add APPEND to the result, otherwise set result
14854 # to NONDIR_REPLACEMENT.
14855 # value returned in "$func_dirname_result"
14856 # basename: Compute filename of FILE.
14857 # value retuned in "$func_basename_result"
14858 # Implementation must be kept synchronized with func_dirname
14859 # and func_basename. For efficiency, we do not delegate to
14860 # those functions but instead duplicate the functionality here.
14861 func_dirname_and_basename
()
14864 */*) func_dirname_result
="${1%/*}${2}" ;;
14865 * ) func_dirname_result
="${3}" ;;
14867 func_basename_result
="${1##*/}"
14870 # func_stripname prefix suffix name
14871 # strip PREFIX and SUFFIX off of NAME.
14872 # PREFIX and SUFFIX must not contain globbing or regex special
14873 # characters, hashes, percent signs, but SUFFIX may contain a leading
14874 # dot (in which case that matches only a dot).
14877 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14878 # positional parameters, so assign one to ordinary parameter first.
14879 func_stripname_result
=${3}
14880 func_stripname_result
=${func_stripname_result#"${1}"}
14881 func_stripname_result
=${func_stripname_result%"${2}"}
14887 func_opt_split_opt
=${1%%=*}
14888 func_opt_split_arg
=${1#*=}
14895 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14896 *) func_lo2o_result
=${1} ;;
14900 # func_xform libobj-or-source
14903 func_xform_result
=${1%.*}.lo
14906 # func_arith arithmetic-term...
14909 func_arith_result
=$
(( $
* ))
14913 # STRING may not start with a hyphen.
14916 func_len_result
=${#1}
14921 *) # Bourne compatible functions.
14922 cat << \_LT_EOF
>> "$cfgfile"
14924 # func_dirname file append nondir_replacement
14925 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14926 # otherwise set result to NONDIR_REPLACEMENT.
14929 # Extract subdirectory from the argument.
14930 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14931 if test "X$func_dirname_result" = "X${1}"; then
14932 func_dirname_result
="${3}"
14934 func_dirname_result
="$func_dirname_result${2}"
14938 # func_basename file
14941 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14945 # func_stripname prefix suffix name
14946 # strip PREFIX and SUFFIX off of NAME.
14947 # PREFIX and SUFFIX must not contain globbing or regex special
14948 # characters, hashes, percent signs, but SUFFIX may contain a leading
14949 # dot (in which case that matches only a dot).
14950 # func_strip_suffix prefix name
14954 .
*) func_stripname_result
=`$ECHO "X${3}" \
14955 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14956 *) func_stripname_result
=`$ECHO "X${3}" \
14957 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14962 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14963 my_sed_long_arg
='1s/^-[^=]*=//'
14968 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14969 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14975 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14978 # func_xform libobj-or-source
14981 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14984 # func_arith arithmetic-term...
14987 func_arith_result
=`expr "$@"`
14991 # STRING may not start with a hyphen.
14994 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15000 case $lt_shell_append in
15002 cat << \_LT_EOF
>> "$cfgfile"
15004 # func_append var value
15005 # Append VALUE to the end of shell variable VAR.
15013 cat << \_LT_EOF
>> "$cfgfile"
15015 # func_append var value
15016 # Append VALUE to the end of shell variable VAR.
15027 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15028 ||
(rm -f "$cfgfile"; exit 1)
15030 mv -f "$cfgfile" "$ofile" ||
15031 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15040 { (exit 0); exit 0; }
15042 chmod +x
$CONFIG_STATUS
15043 ac_clean_files
=$ac_clean_files_save
15045 test $ac_write_fail = 0 ||
15046 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15047 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15048 { (exit 1); exit 1; }; }
15051 # configure is writing to config.log, and then calls config.status.
15052 # config.status does its own redirection, appending to config.log.
15053 # Unfortunately, on DOS this fails, as config.log is still kept open
15054 # by configure, so config.status won't be able to write to it; its
15055 # output is simply discarded. So we exec the FD to /dev/null,
15056 # effectively closing config.log, so it can be properly (re)opened and
15057 # appended to by config.status. When coming back to configure, we
15058 # need to make the FD available again.
15059 if test "$no_create" != yes; then
15061 ac_config_status_args
=
15062 test "$silent" = yes &&
15063 ac_config_status_args
="$ac_config_status_args --quiet"
15065 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15067 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15068 # would make configure fail if this is the last instruction.
15069 $ac_cs_success ||
{ (exit 1); exit 1; }
15071 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15072 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15073 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}