2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for rfc822lib 0.13.
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
='rfc822lib'
747 PACKAGE_TARNAME
='rfc822lib'
748 PACKAGE_VERSION
='0.13'
749 PACKAGE_STRING
='rfc822lib 0.13'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="rfc822.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
850 INSTALL_STRIP_PROGRAM
892 program_transform_name
904 enable_option_checking
905 enable_dependency_tracking
914 ac_precious_vars
='build_alias
928 # Initialize some variables set by options.
930 ac_init_version
=false
931 ac_unrecognized_opts
=
933 # The variables have the same names as the options, with
934 # dashes changed to underlines.
942 program_transform_name
=s
,x
,x
,
950 # Installation directory options.
951 # These are left unexpanded so users can "make install exec_prefix=/foo"
952 # and all the variables that are supposed to be based on exec_prefix
953 # by default will actually change.
954 # Use braces instead of parens because sh, perl, etc. also accept them.
955 # (The list follows the same order as the GNU Coding Standards.)
956 bindir
='${exec_prefix}/bin'
957 sbindir
='${exec_prefix}/sbin'
958 libexecdir
='${exec_prefix}/libexec'
959 datarootdir
='${prefix}/share'
960 datadir
='${datarootdir}'
961 sysconfdir
='${prefix}/etc'
962 sharedstatedir
='${prefix}/com'
963 localstatedir
='${prefix}/var'
964 includedir
='${prefix}/include'
965 oldincludedir
='/usr/include'
966 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
967 infodir
='${datarootdir}/info'
972 libdir
='${exec_prefix}/lib'
973 localedir
='${datarootdir}/locale'
974 mandir
='${datarootdir}/man'
980 # If the previous option needs an argument, assign it.
981 if test -n "$ac_prev"; then
982 eval $ac_prev=\
$ac_option
988 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
992 # Accept the important Cygnus configure options, so we can diagnose typos.
994 case $ac_dashdash$ac_option in
998 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1000 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1001 bindir
=$ac_optarg ;;
1003 -build |
--build |
--buil |
--bui |
--bu)
1004 ac_prev
=build_alias
;;
1005 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1006 build_alias
=$ac_optarg ;;
1008 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1009 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1010 ac_prev
=cache_file
;;
1011 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1012 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1013 cache_file
=$ac_optarg ;;
1015 --config-cache |
-C)
1016 cache_file
=config.cache
;;
1018 -datadir |
--datadir |
--datadi |
--datad)
1020 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1021 datadir
=$ac_optarg ;;
1023 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1024 |
--dataroo |
--dataro |
--datar)
1025 ac_prev
=datarootdir
;;
1026 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1027 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1028 datarootdir
=$ac_optarg ;;
1030 -disable-* |
--disable-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=no
;;
1047 -docdir |
--docdir |
--docdi |
--doc |
--do)
1049 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1050 docdir
=$ac_optarg ;;
1052 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1054 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1055 dvidir
=$ac_optarg ;;
1057 -enable-* |
--enable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_
$ac_useropt"
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval enable_
$ac_useropt=\
$ac_optarg ;;
1074 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1075 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1076 |
--exec |
--exe |
--ex)
1077 ac_prev
=exec_prefix
;;
1078 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1079 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1080 |
--exec=* |
--exe=* |
--ex=*)
1081 exec_prefix
=$ac_optarg ;;
1083 -gas |
--gas |
--ga |
--g)
1084 # Obsolete; use --with-gas.
1087 -help |
--help |
--hel |
--he |
-h)
1088 ac_init_help
=long
;;
1089 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1090 ac_init_help
=recursive
;;
1091 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1092 ac_init_help
=short
;;
1094 -host |
--host |
--hos |
--ho)
1095 ac_prev
=host_alias
;;
1096 -host=* |
--host=* |
--hos=* |
--ho=*)
1097 host_alias
=$ac_optarg ;;
1099 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1101 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1103 htmldir
=$ac_optarg ;;
1105 -includedir |
--includedir |
--includedi |
--included |
--include \
1106 |
--includ |
--inclu |
--incl |
--inc)
1107 ac_prev
=includedir
;;
1108 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1109 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1110 includedir
=$ac_optarg ;;
1112 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1114 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1115 infodir
=$ac_optarg ;;
1117 -libdir |
--libdir |
--libdi |
--libd)
1119 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1120 libdir
=$ac_optarg ;;
1122 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1123 |
--libexe |
--libex |
--libe)
1124 ac_prev
=libexecdir
;;
1125 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1126 |
--libexe=* |
--libex=* |
--libe=*)
1127 libexecdir
=$ac_optarg ;;
1129 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1130 ac_prev
=localedir
;;
1131 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1132 localedir
=$ac_optarg ;;
1134 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1135 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1136 ac_prev
=localstatedir
;;
1137 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1138 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1139 localstatedir
=$ac_optarg ;;
1141 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1143 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1144 mandir
=$ac_optarg ;;
1146 -nfp |
--nfp |
--nf)
1147 # Obsolete; use --without-fp.
1150 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1151 |
--no-cr |
--no-c |
-n)
1154 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1155 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1158 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1159 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1160 |
--oldin |
--oldi |
--old |
--ol |
--o)
1161 ac_prev
=oldincludedir
;;
1162 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1163 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1164 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1165 oldincludedir
=$ac_optarg ;;
1167 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1169 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1170 prefix
=$ac_optarg ;;
1172 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1173 |
--program-pre |
--program-pr |
--program-p)
1174 ac_prev
=program_prefix
;;
1175 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1176 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1177 program_prefix
=$ac_optarg ;;
1179 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1180 |
--program-suf |
--program-su |
--program-s)
1181 ac_prev
=program_suffix
;;
1182 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1183 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1184 program_suffix
=$ac_optarg ;;
1186 -program-transform-name |
--program-transform-name \
1187 |
--program-transform-nam |
--program-transform-na \
1188 |
--program-transform-n |
--program-transform- \
1189 |
--program-transform |
--program-transfor \
1190 |
--program-transfo |
--program-transf \
1191 |
--program-trans |
--program-tran \
1192 |
--progr-tra |
--program-tr |
--program-t)
1193 ac_prev
=program_transform_name
;;
1194 -program-transform-name=* |
--program-transform-name=* \
1195 |
--program-transform-nam=* |
--program-transform-na=* \
1196 |
--program-transform-n=* |
--program-transform-=* \
1197 |
--program-transform=* |
--program-transfor=* \
1198 |
--program-transfo=* |
--program-transf=* \
1199 |
--program-trans=* |
--program-tran=* \
1200 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1201 program_transform_name
=$ac_optarg ;;
1203 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1205 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1206 pdfdir
=$ac_optarg ;;
1208 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1210 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1213 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1214 |
-silent |
--silent |
--silen |
--sile |
--sil)
1217 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1219 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1221 sbindir
=$ac_optarg ;;
1223 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1224 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1225 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1227 ac_prev
=sharedstatedir
;;
1228 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1229 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1230 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1232 sharedstatedir
=$ac_optarg ;;
1234 -site |
--site |
--sit)
1236 -site=* |
--site=* |
--sit=*)
1239 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1241 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1242 srcdir
=$ac_optarg ;;
1244 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1245 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1246 ac_prev
=sysconfdir
;;
1247 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1248 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1249 sysconfdir
=$ac_optarg ;;
1251 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1252 ac_prev
=target_alias
;;
1253 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1254 target_alias
=$ac_optarg ;;
1256 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1259 -version |
--version |
--versio |
--versi |
--vers |
-V)
1260 ac_init_version
=: ;;
1263 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1266 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=\
$ac_optarg ;;
1279 -without-* |
--without-*)
1280 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1283 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1284 { (exit 1); exit 1; }; }
1285 ac_useropt_orig
=$ac_useropt
1286 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1291 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1292 ac_unrecognized_sep
=', ';;
1294 eval with_
$ac_useropt=no
;;
1297 # Obsolete; use --with-x.
1300 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1301 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1302 ac_prev
=x_includes
;;
1303 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1304 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1305 x_includes
=$ac_optarg ;;
1307 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1308 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1309 ac_prev
=x_libraries
;;
1310 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1311 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1312 x_libraries
=$ac_optarg ;;
1314 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1315 Try \`$0 --help' for more information." >&2
1316 { (exit 1); exit 1; }; }
1320 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1321 # Reject names that are not valid shell variable names.
1322 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1323 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1324 { (exit 1); exit 1; }; }
1325 eval $ac_envvar=\
$ac_optarg
1326 export $ac_envvar ;;
1329 # FIXME: should be removed in autoconf 3.0.
1330 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1331 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1332 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1333 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1339 if test -n "$ac_prev"; then
1340 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1341 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1342 { (exit 1); exit 1; }; }
1345 if test -n "$ac_unrecognized_opts"; then
1346 case $enable_option_checking in
1348 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1349 { (exit 1); exit 1; }; } ;;
1350 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354 # Check all directory arguments for consistency.
1355 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356 datadir sysconfdir sharedstatedir localstatedir includedir \
1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358 libdir localedir mandir
1360 eval ac_val
=\$
$ac_var
1361 # Remove trailing slashes.
1364 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1365 eval $ac_var=\
$ac_val;;
1367 # Be sure to have absolute directory names.
1369 [\\/$
]* | ?
:[\\/]* ) continue;;
1370 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1372 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1373 { (exit 1); exit 1; }; }
1376 # There might be people who depend on the old broken behavior: `$host'
1377 # used to hold the argument of --host etc.
1378 # FIXME: To remove some day.
1381 target
=$target_alias
1383 # FIXME: To remove some day.
1384 if test "x$host_alias" != x
; then
1385 if test "x$build_alias" = x
; then
1386 cross_compiling
=maybe
1387 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1388 If a cross compiler is detected then cross compile mode will be used." >&2
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1397 test "$silent" = yes && exec 6>/dev
/null
1400 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di
=`ls -di .` &&
1402 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1403 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1404 { (exit 1); exit 1; }; }
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1407 { (exit 1); exit 1; }; }
1410 # Find the source files, if location was not specified.
1411 if test -z "$srcdir"; then
1412 ac_srcdir_defaulted
=yes
1413 # Try the directory containing this script, then the parent directory.
1414 ac_confdir
=`$as_dirname -- "$as_myself" ||
1415 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1416 X"$as_myself" : 'X\(//\)[^/]' \| \
1417 X"$as_myself" : 'X\(//\)$' \| \
1418 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1419 $as_echo X"$as_myself" |
1420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1442 ac_srcdir_defaulted
=no
1444 if test ! -r "$srcdir/$ac_unique_file"; then
1445 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1446 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1447 { (exit 1); exit 1; }; }
1449 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1451 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1452 { (exit 1); exit 1; }; }
1454 # When building in place, set srcdir=.
1455 if test "$ac_abs_confdir" = "$ac_pwd"; then
1458 # Remove unnecessary trailing slashes from srcdir.
1459 # Double slashes in file names in object file debugging info
1460 # mess up M-x gdb in Emacs.
1462 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 for ac_var
in $ac_precious_vars; do
1465 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1466 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1467 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1472 # Report the --help message.
1474 if test "$ac_init_help" = "long"; then
1475 # Omit some internal or obsolete options to make the list less imposing.
1476 # This message is too long to be a string in the A/UX 3.1 sh.
1478 \`configure' configures rfc822lib 0.13 to adapt to many kinds of systems.
1480 Usage: $0 [OPTION]... [VAR=VALUE]...
1482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1483 VAR=VALUE. See below for descriptions of some of the useful variables.
1485 Defaults for the options are specified in brackets.
1488 -h, --help display this help and exit
1489 --help=short display options specific to this package
1490 --help=recursive display the short help of all the included packages
1491 -V, --version display version information and exit
1492 -q, --quiet, --silent do not print \`checking...' messages
1493 --cache-file=FILE cache test results in FILE [disabled]
1494 -C, --config-cache alias for \`--cache-file=config.cache'
1495 -n, --no-create do not create output files
1496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1498 Installation directories:
1499 --prefix=PREFIX install architecture-independent files in PREFIX
1500 [$ac_default_prefix]
1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1504 By default, \`make install' will install all the files in
1505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1507 for instance \`--prefix=\$HOME'.
1509 For better control, use the options below.
1511 Fine tuning of the installation directories:
1512 --bindir=DIR user executables [EPREFIX/bin]
1513 --sbindir=DIR system admin executables [EPREFIX/sbin]
1514 --libexecdir=DIR program executables [EPREFIX/libexec]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1523 --infodir=DIR info documentation [DATAROOTDIR/info]
1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1525 --mandir=DIR man documentation [DATAROOTDIR/man]
1526 --docdir=DIR documentation root [DATAROOTDIR/doc/rfc822lib]
1527 --htmldir=DIR html documentation [DOCDIR]
1528 --dvidir=DIR dvi documentation [DOCDIR]
1529 --pdfdir=DIR pdf documentation [DOCDIR]
1530 --psdir=DIR ps documentation [DOCDIR]
1536 --program-prefix=PREFIX prepend PREFIX to installed program names
1537 --program-suffix=SUFFIX append SUFFIX to installed program names
1538 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1541 --build=BUILD configure
for building on BUILD
[guessed
]
1542 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1546 if test -n "$ac_init_help"; then
1547 case $ac_init_help in
1548 short | recursive
) echo "Configuration of rfc822lib 0.13:";;
1553 --disable-option-checking ignore unrecognized
--enable/--with options
1554 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1555 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1556 --disable-dependency-tracking speeds up one-time build
1557 --enable-dependency-tracking do not reject slow dependency extractors
1558 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1559 --enable-static[=PKGS
] build static libraries
[default
=yes]
1560 --enable-fast-install[=PKGS
]
1561 optimize
for fast installation
[default
=yes]
1562 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1565 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1566 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1567 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1569 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1570 --with-libidn=DIR Support IDN
(needs GNU Libidn
)
1572 Some influential environment variables
:
1573 CC C compiler
command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1576 nonstandard directory
<lib dir
>
1577 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1578 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1579 you have headers
in a nonstandard directory
<include dir
>
1581 PKG_CONFIG path to pkg-config utility
1583 C compiler flags
for LIBIDN
, overriding pkg-config
1584 LIBIDN_LIBS linker flags
for LIBIDN
, overriding pkg-config
1586 Use these variables to override the choices made by
`configure' or to help
1587 it to find libraries and programs with nonstandard names/locations.
1589 Report bugs to <courier-users@lists.sourceforge.net>.
1594 if test "$ac_init_help" = "recursive"; then
1595 # If there are subdirs, report their specific --help.
1596 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1597 test -d "$ac_dir" ||
1598 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1603 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1606 # A ".." for each directory in $ac_dir_suffix.
1607 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1608 case $ac_top_builddir_sub in
1609 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1610 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1613 ac_abs_top_builddir=$ac_pwd
1614 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1615 # for backward compatibility:
1616 ac_top_builddir=$ac_top_build_prefix
1619 .) # We are building in place.
1621 ac_top_srcdir=$ac_top_builddir_sub
1622 ac_abs_top_srcdir=$ac_pwd ;;
1623 [\\/]* | ?:[\\/]* ) # Absolute name.
1624 ac_srcdir=$srcdir$ac_dir_suffix;
1625 ac_top_srcdir=$srcdir
1626 ac_abs_top_srcdir=$srcdir ;;
1628 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1629 ac_top_srcdir=$ac_top_build_prefix$srcdir
1630 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1632 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1634 cd "$ac_dir" || { ac_status=$?; continue; }
1635 # Check for guested configure.
1636 if test -f "$ac_srcdir/configure.gnu"; then
1638 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1639 elif test -f "$ac_srcdir/configure"; then
1641 $SHELL "$ac_srcdir/configure" --help=recursive
1643 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1645 cd "$ac_pwd" || { ac_status=$?; break; }
1649 test -n "$ac_init_help" && exit $ac_status
1650 if $ac_init_version; then
1652 rfc822lib configure 0.13
1653 generated by GNU Autoconf 2.63
1655 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1656 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1662 cat >config.log <<_ACEOF
1663 This file contains any messages produced by compilers while
1664 running configure, to aid debugging if configure makes a mistake.
1666 It was created by rfc822lib $as_me 0.13, which was
1667 generated by GNU Autoconf 2.63. Invocation command line was
1679 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1680 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1681 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1682 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1683 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1685 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1686 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1688 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1689 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1690 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1691 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1692 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1693 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1694 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 $as_echo "PATH: $as_dir"
1719 # Keep a trace of the command line.
1720 # Strip out --no-create and --no-recursion so they do not pile up.
1721 # Strip out --silent because we don't want to record it for future runs.
1722 # Also quote any args containing shell meta-characters.
1723 # Make two passes to allow for proper duplicate-argument suppression.
1727 ac_must_keep_next=false
1733 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1735 | -silent | --silent | --silen | --sile | --sil)
1738 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1741 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1743 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1744 if test $ac_must_keep_next = true; then
1745 ac_must_keep_next=false # Got value, back to normal.
1748 *=* | --config-cache | -C | -disable-* | --disable-* \
1749 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1750 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1751 | -with-* | --with-* | -without-* | --without-* | --x)
1752 case "$ac_configure_args0 " in
1753 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1756 -* ) ac_must_keep_next=true ;;
1759 ac_configure_args="$ac_configure_args '$ac_arg'"
1764 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1765 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1767 # When interrupted or exit'd, cleanup temporary files, and complete
1768 # config.log. We remove comments because anyway the quotes in there
1769 # would cause problems or look ugly.
1770 # WARNING: Use '\'' to represent an apostrophe within the trap.
1771 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1772 trap 'exit_status=$?
1773 # Save into config.log some information that might help in debugging.
1778 ## ---------------- ##
1779 ## Cache variables. ##
1780 ## ---------------- ##
1783 # The following way of writing the cache mishandles newlines in values,
1785 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1786 eval ac_val=\$$ac_var
1790 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1791 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1794 _ | IFS | as_nl) ;; #(
1795 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1796 *) $as_unset $ac_var ;;
1801 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1802 *${as_nl}ac_space=\ *)
1804 "s/'\''/'\''\\\\'\'''\''/g;
1805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1808 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1816 ## ----------------- ##
1817 ## Output variables. ##
1818 ## ----------------- ##
1821 for ac_var in $ac_subst_vars
1823 eval ac_val=\$$ac_var
1825 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827 $as_echo "$ac_var='\''$ac_val'\''"
1831 if test -n "$ac_subst_files"; then
1833 ## ------------------- ##
1834 ## File substitutions. ##
1835 ## ------------------- ##
1838 for ac_var in $ac_subst_files
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 $as_echo "$ac_var='\''$ac_val'\''"
1849 if test -s confdefs.h; then
1859 test "$ac_signal" != 0 &&
1860 $as_echo "$as_me: caught signal $ac_signal"
1861 $as_echo "$as_me: exit $exit_status"
1863 rm -f core *.core core.conftest.* &&
1864 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1867 for ac_signal in 1 2 13 15; do
1868 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1872 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1873 rm -f -r conftest* confdefs.h
1875 # Predefined preprocessor variables.
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_NAME "$PACKAGE_NAME"
1882 cat >>confdefs.h <<_ACEOF
1883 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1887 cat >>confdefs.h <<_ACEOF
1888 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE_STRING "$PACKAGE_STRING"
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1902 # Let the site file select an alternate cache file if it wants to.
1903 # Prefer an explicitly selected file to automatically selected ones.
1906 if test -n "$CONFIG_SITE"; then
1907 ac_site_file1=$CONFIG_SITE
1908 elif test "x$prefix" != xNONE; then
1909 ac_site_file1=$prefix/share/config.site
1910 ac_site_file2=$prefix/etc/config.site
1912 ac_site_file1=$ac_default_prefix/share/config.site
1913 ac_site_file2=$ac_default_prefix/etc/config.site
1915 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1917 test "x$ac_site_file" = xNONE && continue
1918 if test -r "$ac_site_file"; then
1919 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1920 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1921 sed 's/^/| /' "$ac_site_file" >&5
1926 if test -r "$cache_file"; then
1927 # Some versions of bash will fail to source /dev/null (special
1928 # files actually), so we avoid doing that.
1929 if test -f "$cache_file"; then
1930 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1931 $as_echo "$as_me: loading cache $cache_file" >&6;}
1933 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1934 *) . "./$cache_file";;
1938 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1939 $as_echo "$as_me: creating cache $cache_file" >&6;}
1943 # Check that the precious variables saved in the cache have kept the same
1945 ac_cache_corrupted=false
1946 for ac_var in $ac_precious_vars; do
1947 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1948 eval ac_new_set=\$ac_env_${ac_var}_set
1949 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1950 eval ac_new_val=\$ac_env_${ac_var}_value
1951 case $ac_old_set,$ac_new_set in
1953 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1954 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1955 ac_cache_corrupted=: ;;
1957 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1958 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1959 ac_cache_corrupted=: ;;
1962 if test "x$ac_old_val" != "x$ac_new_val"; then
1963 # differences in whitespace do not lead to failure.
1964 ac_old_val_w=`echo x
$ac_old_val`
1965 ac_new_val_w=`echo x
$ac_new_val`
1966 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1967 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1968 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1969 ac_cache_corrupted=:
1971 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1972 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1973 eval $ac_var=\$ac_old_val
1975 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1976 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1977 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1978 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1981 # Pass precious variables to config.status.
1982 if test "$ac_new_set" = set; then
1984 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1985 *) ac_arg=$ac_var=$ac_new_val ;;
1987 case " $ac_configure_args " in
1988 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1989 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1993 if $ac_cache_corrupted; then
1994 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1996 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1997 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1998 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1999 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2000 { (exit 1); exit 1; }; }
2028 ac_cpp='$CPP $CPPFLAGS'
2029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2035 >confdefs.h # Kill PACKAGE_ macros
2038 am__api_version='1.11'
2041 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2042 if test -f "$ac_dir/install-sh
"; then
2044 ac_install_sh="$ac_aux_dir/install-sh
-c"
2046 elif test -f "$ac_dir/install.sh
"; then
2048 ac_install_sh="$ac_aux_dir/install.sh
-c"
2050 elif test -f "$ac_dir/shtool
"; then
2052 ac_install_sh="$ac_aux_dir/shtool
install -c"
2056 if test -z "$ac_aux_dir"; then
2057 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2058 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2059 { (exit 1); exit 1; }; }
2062 # These three variables are undocumented and unsupported,
2063 # and are intended to be withdrawn in a future Autoconf release.
2064 # They can cause serious problems if a builder's source tree is in a directory
2065 # whose full name contains unusual characters.
2066 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2067 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2068 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2071 # Find a good install program. We prefer a C program (faster),
2072 # so one script is as good as another. But avoid the broken or
2073 # incompatible versions:
2074 # SysV /etc/install, /usr/sbin/install
2075 # SunOS /usr/etc/install
2076 # IRIX /sbin/install
2078 # AmigaOS /C/install, which installs bootblocks on floppy discs
2079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2082 # OS/2's system install, which has a completely different semantic
2083 # ./install, which can be erroneously created by make from ./install.sh.
2084 # Reject install programs that cannot install multiple files.
2085 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2086 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2087 if test -z "$INSTALL"; then
2088 if test "${ac_cv_path_install+set}" = set; then
2089 $as_echo_n "(cached
) " >&6
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 # Account for people who put trailing slashes in PATH elements.
2098 ./ | .// | /cC/* | \
2099 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2100 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2103 # OSF1 and SCO ODT 3.0 have their own names for install.
2104 # Don't use installbsd from OSF since it installs stuff as root
2106 for ac_prog in ginstall scoinst install; do
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2109 if test $ac_prog = install &&
2110 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2111 # AIX install. It has an incompatible calling convention.
2113 elif test $ac_prog = install &&
2114 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2115 # program-specific install script used by HP pwplus--don't use.
2118 rm -rf conftest.one conftest.two conftest.dir
2119 echo one > conftest.one
2120 echo two > conftest.two
2122 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2123 test -s conftest.one && test -s conftest.two &&
2124 test -s conftest.dir/conftest.one &&
2125 test -s conftest.dir/conftest.two
2127 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2140 rm -rf conftest.one conftest.two conftest.dir
2143 if test "${ac_cv_path_install+set}" = set; then
2144 INSTALL=$ac_cv_path_install
2146 # As a last resort, use the slow shell script. Don't cache a
2147 # value for INSTALL within a source directory, because that will
2148 # break other packages using the cache if that directory is
2149 # removed, or if the value is a relative name.
2150 INSTALL=$ac_install_sh
2153 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2154 $as_echo "$INSTALL" >&6; }
2156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2157 # It thinks the first close brace ends the variable substitution.
2158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2164 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2165 $as_echo_n "checking whether build environment is sane...
" >&6; }
2168 echo timestamp > conftest.file
2169 # Reject unsafe characters in $srcdir or the absolute working directory
2170 # name. Accept space and tab only in the latter.
2174 *[\\\"\#\$\&\'\`$am_lf]*)
2175 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2176 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2177 { (exit 1); exit 1; }; };;
2180 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2181 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2182 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2183 { (exit 1); exit 1; }; };;
2186 # Do `set' in a subshell so we don
't clobber the current shell's
2187 # arguments. Must try -L first in case configure is actually a
2188 # symlink; some systems play weird games with the mod time of symlinks
2189 # (eg FreeBSD returns the mod time of the symlink's containing
2192 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2193 if test "$*" = "X"; then
2195 set X
`ls -t "$srcdir/configure" conftest.file`
2198 if test "$*" != "X $srcdir/configure conftest.file" \
2199 && test "$*" != "X conftest.file $srcdir/configure"; then
2201 # If neither matched, then we have a broken ls. This can happen
2202 # if, for instance, CONFIG_SHELL is bash and it inherits a
2203 # broken ls alias from the environment. This has actually
2204 # happened. Such a system could not be considered "sane".
2205 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2206 alias in your environment" >&5
2207 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2208 alias in your environment" >&2;}
2209 { (exit 1); exit 1; }; }
2212 test "$2" = conftest.
file
2218 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2219 Check your system clock" >&5
2220 $as_echo "$as_me: error: newly created file is older than distributed files!
2221 Check your system clock" >&2;}
2222 { (exit 1); exit 1; }; }
2224 { $as_echo "$as_me:$LINENO: result: yes" >&5
2225 $as_echo "yes" >&6; }
2226 test "$program_prefix" != NONE
&&
2227 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2228 # Use a double $ so make ignores it.
2229 test "$program_suffix" != NONE
&&
2230 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2231 # Double any \ or $.
2232 # By default was `s,x,x', remove it if useless.
2233 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2234 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2236 # expand $ac_aux_dir to an absolute path
2237 am_aux_dir
=`cd $ac_aux_dir && pwd`
2239 if test x
"${MISSING+set}" != xset
; then
2242 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2244 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2247 # Use eval to expand $SHELL
2248 if eval "$MISSING --run true"; then
2249 am_missing_run
="$MISSING --run "
2252 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2253 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2256 if test x
"${install_sh}" != xset
; then
2259 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2261 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2265 # Installed binaries are usually stripped using `strip' when the user
2266 # run `make install-strip'. However `strip' might not be the right
2267 # tool to use in cross-compilation environments, therefore Automake
2268 # will honor the `STRIP' environment variable to overrule this program.
2269 if test "$cross_compiling" != no
; then
2270 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2272 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2273 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if test "${ac_cv_prog_STRIP+set}" = set; then
2276 $as_echo_n "(cached) " >&6
2278 if test -n "$STRIP"; then
2279 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir
=.
2286 for ac_exec_ext
in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2289 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 STRIP
=$ac_cv_prog_STRIP
2299 if test -n "$STRIP"; then
2300 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2301 $as_echo "$STRIP" >&6; }
2303 { $as_echo "$as_me:$LINENO: result: no" >&5
2304 $as_echo "no" >&6; }
2309 if test -z "$ac_cv_prog_STRIP"; then
2311 # Extract the first word of "strip", so it can be a program name with args.
2312 set dummy strip
; ac_word
=$2
2313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 $as_echo_n "checking for $ac_word... " >&6; }
2315 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2316 $as_echo_n "(cached) " >&6
2318 if test -n "$ac_ct_STRIP"; then
2319 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir
=.
2326 for ac_exec_ext
in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_ac_ct_STRIP
="strip"
2329 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2339 if test -n "$ac_ct_STRIP"; then
2340 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2341 $as_echo "$ac_ct_STRIP" >&6; }
2343 { $as_echo "$as_me:$LINENO: result: no" >&5
2344 $as_echo "no" >&6; }
2347 if test "x$ac_ct_STRIP" = x
; then
2350 case $cross_compiling:$ac_tool_warned in
2352 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2354 ac_tool_warned
=yes ;;
2359 STRIP
="$ac_cv_prog_STRIP"
2363 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2365 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2366 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2367 if test -z "$MKDIR_P"; then
2368 if test "${ac_cv_path_mkdir+set}" = set; then
2369 $as_echo_n "(cached) " >&6
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2372 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2375 test -z "$as_dir" && as_dir
=.
2376 for ac_prog
in mkdir gmkdir
; do
2377 for ac_exec_ext
in '' $ac_executable_extensions; do
2378 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2379 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2380 'mkdir (GNU coreutils) '* | \
2381 'mkdir (coreutils) '* | \
2382 'mkdir (fileutils) '4.1*)
2383 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2393 if test "${ac_cv_path_mkdir+set}" = set; then
2394 MKDIR_P
="$ac_cv_path_mkdir -p"
2396 # As a last resort, use the slow shell script. Don't cache a
2397 # value for MKDIR_P within a source directory, because that will
2398 # break other packages using the cache if that directory is
2399 # removed, or if the value is a relative name.
2400 test -d .
/--version && rmdir .
/--version
2401 MKDIR_P
="$ac_install_sh -d"
2404 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2405 $as_echo "$MKDIR_P" >&6; }
2409 [\\/$
]* | ?
:[\\/]*) ;;
2410 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2413 for ac_prog
in gawk mawk nawk
awk
2415 # Extract the first word of "$ac_prog", so it can be a program name with args.
2416 set dummy
$ac_prog; ac_word
=$2
2417 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if test "${ac_cv_prog_AWK+set}" = set; then
2420 $as_echo_n "(cached) " >&6
2422 if test -n "$AWK"; then
2423 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir
=.
2430 for ac_exec_ext
in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_AWK
="$ac_prog"
2433 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 if test -n "$AWK"; then
2444 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2445 $as_echo "$AWK" >&6; }
2447 { $as_echo "$as_me:$LINENO: result: no" >&5
2448 $as_echo "no" >&6; }
2452 test -n "$AWK" && break
2455 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2456 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2458 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2459 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2460 $as_echo_n "(cached) " >&6
2462 cat >conftest.
make <<\_ACEOF
2465 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2467 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2468 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2470 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2472 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2476 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2477 { $as_echo "$as_me:$LINENO: result: yes" >&5
2478 $as_echo "yes" >&6; }
2481 { $as_echo "$as_me:$LINENO: result: no" >&5
2482 $as_echo "no" >&6; }
2483 SET_MAKE
="MAKE=${MAKE-make}"
2486 rm -rf .tst
2>/dev
/null
2487 mkdir .tst
2>/dev
/null
2488 if test -d .tst
; then
2493 rmdir .tst
2>/dev
/null
2495 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2496 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2497 # is not polluted with repeated "-I."
2498 am__isrc
=' -I$(srcdir)'
2499 # test to see if srcdir already configured
2500 if test -f $srcdir/config.status
; then
2501 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2502 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2503 { (exit 1); exit 1; }; }
2507 # test whether we have cygpath
2508 if test -z "$CYGPATH_W"; then
2509 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2510 CYGPATH_W
='cygpath -w'
2517 # Define the identity of the package.
2522 # Some tools Automake needs.
2524 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2527 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2530 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2533 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2536 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2538 # We need awk for the "check" target. The system "awk" is bad on
2540 # Always define AMTAR for backward compatibility.
2542 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2544 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2550 ac_config_headers
="$ac_config_headers config.h"
2553 DEPDIR
="${am__leading_dot}deps"
2555 ac_config_commands
="$ac_config_commands depfiles"
2558 am_make
=${MAKE-make}
2559 cat > confinc
<< 'END'
2561 @
echo this is the am__doit target
2564 # If we don't find an include directive, just comment out the code.
2565 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2566 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2570 # First try GNU make style include.
2571 echo "include confinc" > confmf
2572 # Ignore all kinds of additional output from `make'.
2573 case `$am_make -s -f confmf 2> /dev/null` in #(
2574 *the\ am__doit\ target
*)
2580 # Now try BSD make style include.
2581 if test "$am__include" = "#"; then
2582 echo '.include "confinc"' > confmf
2583 case `$am_make -s -f confmf 2> /dev/null` in #(
2584 *the\ am__doit\ target
*)
2585 am__include
=.include
2593 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2594 $as_echo "$_am_result" >&6; }
2595 rm -f confinc confmf
2597 # Check whether --enable-dependency-tracking was given.
2598 if test "${enable_dependency_tracking+set}" = set; then
2599 enableval
=$enable_dependency_tracking;
2602 if test "x$enable_dependency_tracking" != xno
; then
2603 am_depcomp
="$ac_aux_dir/depcomp"
2606 if test "x$enable_dependency_tracking" != xno; then
2616 ac_cpp
='$CPP $CPPFLAGS'
2617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2620 if test -n "$ac_tool_prefix"; then
2621 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2622 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2623 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if test "${ac_cv_prog_CC+set}" = set; then
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$CC"; then
2629 ac_cv_prog_CC
="$CC" # Let the user override the test.
2631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir
=.
2636 for ac_exec_ext
in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2639 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 if test -n "$CC"; then
2650 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2651 $as_echo "$CC" >&6; }
2653 { $as_echo "$as_me:$LINENO: result: no" >&5
2654 $as_echo "no" >&6; }
2659 if test -z "$ac_cv_prog_CC"; then
2661 # Extract the first word of "gcc", so it can be a program name with args.
2662 set dummy gcc
; ac_word
=$2
2663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$ac_ct_CC"; then
2669 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir
=.
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 ac_cv_prog_ac_ct_CC
="gcc"
2679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2689 if test -n "$ac_ct_CC"; then
2690 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2691 $as_echo "$ac_ct_CC" >&6; }
2693 { $as_echo "$as_me:$LINENO: result: no" >&5
2694 $as_echo "no" >&6; }
2697 if test "x$ac_ct_CC" = x
; then
2700 case $cross_compiling:$ac_tool_warned in
2702 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2704 ac_tool_warned
=yes ;;
2712 if test -z "$CC"; then
2713 if test -n "$ac_tool_prefix"; then
2714 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2715 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_prog_CC+set}" = set; then
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$CC"; then
2722 ac_cv_prog_CC
="$CC" # Let the user override the test.
2724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir
=.
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2731 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 if test -n "$CC"; then
2743 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2744 $as_echo "$CC" >&6; }
2746 { $as_echo "$as_me:$LINENO: result: no" >&5
2747 $as_echo "no" >&6; }
2753 if test -z "$CC"; then
2754 # Extract the first word of "cc", so it can be a program name with args.
2755 set dummy cc
; ac_word
=$2
2756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if test "${ac_cv_prog_CC+set}" = set; then
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$CC"; then
2762 ac_cv_prog_CC
="$CC" # Let the user override the test.
2765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir
=.
2770 for ac_exec_ext
in '' $ac_executable_extensions; do
2771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2772 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2773 ac_prog_rejected
=yes
2777 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 if test $ac_prog_rejected = yes; then
2785 # We found a bogon in the path, so make sure we never use it.
2786 set dummy
$ac_cv_prog_CC
2788 if test $# != 0; then
2789 # We chose a different compiler from the bogus one.
2790 # However, it has the same basename, so the bogon will be chosen
2791 # first if we set CC to just the basename; use the full file name.
2793 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2799 if test -n "$CC"; then
2800 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2801 $as_echo "$CC" >&6; }
2803 { $as_echo "$as_me:$LINENO: result: no" >&5
2804 $as_echo "no" >&6; }
2809 if test -z "$CC"; then
2810 if test -n "$ac_tool_prefix"; then
2811 for ac_prog
in cl.exe
2813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2814 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2815 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if test "${ac_cv_prog_CC+set}" = set; then
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC
="$CC" # Let the user override the test.
2823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2827 test -z "$as_dir" && as_dir
=.
2828 for ac_exec_ext
in '' $ac_executable_extensions; do
2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2830 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2831 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 if test -n "$CC"; then
2842 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2843 $as_echo "$CC" >&6; }
2845 { $as_echo "$as_me:$LINENO: result: no" >&5
2846 $as_echo "no" >&6; }
2850 test -n "$CC" && break
2853 if test -z "$CC"; then
2855 for ac_prog
in cl.exe
2857 # Extract the first word of "$ac_prog", so it can be a program name with args.
2858 set dummy
$ac_prog; ac_word
=$2
2859 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$ac_ct_CC"; then
2865 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir
=.
2872 for ac_exec_ext
in '' $ac_executable_extensions; do
2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2874 ac_cv_prog_ac_ct_CC
="$ac_prog"
2875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2885 if test -n "$ac_ct_CC"; then
2886 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2887 $as_echo "$ac_ct_CC" >&6; }
2889 { $as_echo "$as_me:$LINENO: result: no" >&5
2890 $as_echo "no" >&6; }
2894 test -n "$ac_ct_CC" && break
2897 if test "x$ac_ct_CC" = x
; then
2900 case $cross_compiling:$ac_tool_warned in
2902 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2904 ac_tool_warned
=yes ;;
2913 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2915 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2916 See \`config.log' for more details." >&5
2917 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2918 See \`config.log' for more details." >&2;}
2919 { (exit 1); exit 1; }; }; }
2921 # Provide some information about the compiler.
2922 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2925 { (ac_try
="$ac_compiler --version >&5"
2927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2931 $as_echo "$ac_try_echo") >&5
2932 (eval "$ac_compiler --version >&5") 2>&5
2934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }
2936 { (ac_try="$ac_compiler -v >&5"
2938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2939 *) ac_try_echo
=$ac_try;;
2941 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2942 $as_echo "$ac_try_echo") >&5
2943 (eval "$ac_compiler -v >&5") 2>&5
2945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }
2947 { (ac_try
="$ac_compiler -V >&5"
2949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2953 $as_echo "$ac_try_echo") >&5
2954 (eval "$ac_compiler -V >&5") 2>&5
2956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }
2959 cat >conftest.$ac_ext <<_ACEOF
2962 cat confdefs.h >>conftest.$ac_ext
2963 cat >>conftest.$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2974 ac_clean_files_save=$ac_clean_files
2975 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2976 # Try to create an executable without -o first, disregard a.out.
2977 # It will help us diagnose broken compilers, and finding out an intuition
2979 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2980 $as_echo_n "checking for C compiler default output file name... " >&6; }
2981 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2983 # The possible output files:
2984 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2987 for ac_file in $ac_files
2990 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2991 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2996 if { (ac_try="$ac_link_default"
2998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2999 *) ac_try_echo
=$ac_try;;
3001 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3002 $as_echo "$ac_try_echo") >&5
3003 (eval "$ac_link_default") 2>&5
3005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; then
3007 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3008 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3009 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3010 # so that the user can short-circuit this test for compilers unknown to
3012 for ac_file
in $ac_files ''
3014 test -f "$ac_file" ||
continue
3016 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3019 # We found the default executable, but exeext='' is most
3023 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3025 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3027 # We set ac_cv_exeext here because the later test for it is not
3028 # safe: cross compilers may not add the suffix if given an `-o'
3029 # argument, so we may need to know it at that point already.
3030 # Even if this section looks crufty: it has the advantage of
3037 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3043 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3044 $as_echo "$ac_file" >&6; }
3045 if test -z "$ac_file"; then
3046 $as_echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.
$ac_ext >&5
3049 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3052 See \`config.log' for more details." >&5
3053 $as_echo "$as_me: error: C compiler cannot create executables
3054 See \`config.log' for more details." >&2;}
3055 { (exit 77); exit 77; }; }; }
3058 ac_exeext
=$ac_cv_exeext
3060 # Check that the compiler produces executables we can run. If not, either
3061 # the compiler is broken, or we cross compile.
3062 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3063 $as_echo_n "checking whether the C compiler works... " >&6; }
3064 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3065 # If not cross compiling, check that we can run a simple program.
3066 if test "$cross_compiling" != yes; then
3067 if { ac_try
='./$ac_file'
3068 { (case "(($ac_try" in
3069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3073 $as_echo "$ac_try_echo") >&5
3074 (eval "$ac_try") 2>&5
3076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; }; then
3080 if test "$cross_compiling" = maybe; then
3083 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3086 If you meant to cross compile
, use \
`--host'.
3087 See \`config.log
' for more details." >&5
3088 $as_echo "$as_me: error: cannot run C compiled programs.
3089 If you meant to cross compile, use \`--host'.
3090 See \
`config.log' for more details." >&2;}
3091 { (exit 1); exit 1; }; }; }
3095 { $as_echo "$as_me:$LINENO: result: yes" >&5
3096 $as_echo "yes" >&6; }
3098 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3099 ac_clean_files=$ac_clean_files_save
3100 # Check that the compiler produces executables we can run. If not, either
3101 # the compiler is broken, or we cross compile.
3102 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3103 $as_echo_n "checking whether we are cross compiling... " >&6; }
3104 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3105 $as_echo "$cross_compiling" >&6; }
3107 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3108 $as_echo_n "checking for suffix of executables... " >&6; }
3109 if { (ac_try="$ac_link"
3111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3112 *) ac_try_echo
=$ac_try;;
3114 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3115 $as_echo "$ac_try_echo") >&5
3116 (eval "$ac_link") 2>&5
3118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; then
3120 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3121 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3122 # work properly (i.e., refer to `conftest.exe'), while it won't with
3124 for ac_file
in conftest.exe conftest conftest.
*; do
3125 test -f "$ac_file" ||
continue
3127 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3128 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3134 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3136 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3137 See \`config.log' for more details." >&5
3138 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3139 See \`config.log' for more details." >&2;}
3140 { (exit 1); exit 1; }; }; }
3143 rm -f conftest
$ac_cv_exeext
3144 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3145 $as_echo "$ac_cv_exeext" >&6; }
3147 rm -f conftest.
$ac_ext
3148 EXEEXT
=$ac_cv_exeext
3150 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3151 $as_echo_n "checking for suffix of object files... " >&6; }
3152 if test "${ac_cv_objext+set}" = set; then
3153 $as_echo_n "(cached) " >&6
3155 cat >conftest.
$ac_ext <<_ACEOF
3158 cat confdefs.h
>>conftest.
$ac_ext
3159 cat >>conftest.
$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3170 rm -f conftest.o conftest.obj
3171 if { (ac_try
="$ac_compile"
3173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3177 $as_echo "$ac_try_echo") >&5
3178 (eval "$ac_compile") 2>&5
3180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; then
3182 for ac_file in conftest.o conftest.obj conftest.*; do
3183 test -f "$ac_file" || continue;
3185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3186 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3194 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3197 See \
`config.log' for more details." >&5
3198 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3199 See \`config.log
' for more details." >&2;}
3200 { (exit 1); exit 1; }; }; }
3203 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3205 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3206 $as_echo "$ac_cv_objext" >&6; }
3207 OBJEXT=$ac_cv_objext
3209 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3210 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3211 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3212 $as_echo_n "(cached) " >&6
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3232 rm -f conftest.$ac_objext
3233 if { (ac_try="$ac_compile"
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3239 $as_echo "$ac_try_echo") >&5
3240 (eval "$ac_compile") 2>conftest.er1
3242 grep -v '^
*+' conftest.er1 >conftest.err
3244 cat conftest.err >&5
3245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } && {
3247 test -z "$ac_c_werror_flag" ||
3248 test ! -s conftest.err
3249 } && test -s conftest.$ac_objext; then
3252 $as_echo "$as_me: failed program was:" >&5
3253 sed 's
/^
/|
/' conftest.$ac_ext >&5
3258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3259 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3262 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3263 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3264 if test $ac_compiler_gnu = yes; then
3269 ac_test_CFLAGS=${CFLAGS+set}
3270 ac_save_CFLAGS=$CFLAGS
3271 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3272 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3273 if test "${ac_cv_prog_cc_g+set}" = set; then
3274 $as_echo_n "(cached) " >&6
3276 ac_save_c_werror_flag=$ac_c_werror_flag
3277 ac_c_werror_flag=yes
3280 cat >conftest.$ac_ext <<_ACEOF
3283 cat confdefs.h >>conftest.$ac_ext
3284 cat >>conftest.$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3295 rm -f conftest.$ac_objext
3296 if { (ac_try="$ac_compile"
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3302 $as_echo "$ac_try_echo") >&5
3303 (eval "$ac_compile") 2>conftest.er1
3305 grep -v '^
*+' conftest.er1 >conftest.err
3307 cat conftest.err >&5
3308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } && {
3310 test -z "$ac_c_werror_flag" ||
3311 test ! -s conftest.err
3312 } && test -s conftest.$ac_objext; then
3315 $as_echo "$as_me: failed program was:" >&5
3316 sed 's
/^
/|
/' conftest.$ac_ext >&5
3319 cat >conftest.$ac_ext <<_ACEOF
3322 cat confdefs.h >>conftest.$ac_ext
3323 cat >>conftest.$ac_ext <<_ACEOF
3324 /* end confdefs.h. */
3334 rm -f conftest.$ac_objext
3335 if { (ac_try="$ac_compile"
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3341 $as_echo "$ac_try_echo") >&5
3342 (eval "$ac_compile") 2>conftest.er1
3344 grep -v '^
*+' conftest.er1 >conftest.err
3346 cat conftest.err >&5
3347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } && {
3349 test -z "$ac_c_werror_flag" ||
3350 test ! -s conftest.err
3351 } && test -s conftest.$ac_objext; then
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's
/^
/|
/' conftest.$ac_ext >&5
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3359 cat >conftest.$ac_ext <<_ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3374 rm -f conftest.$ac_objext
3375 if { (ac_try="$ac_compile"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3381 $as_echo "$ac_try_echo") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3384 grep -v '^
*+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_c_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3394 $as_echo "$as_me: failed program was:" >&5
3395 sed 's
/^
/|
/' conftest.$ac_ext >&5
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 ac_c_werror_flag=$ac_save_c_werror_flag
3409 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3410 $as_echo "$ac_cv_prog_cc_g" >&6; }
3411 if test "$ac_test_CFLAGS" = set; then
3412 CFLAGS=$ac_save_CFLAGS
3413 elif test $ac_cv_prog_cc_g = yes; then
3414 if test "$GCC" = yes; then
3420 if test "$GCC" = yes; then
3426 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3427 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3428 if test "${ac_cv_prog_cc_c89+set}" = set; then
3429 $as_echo_n "(cached) " >&6
3431 ac_cv_prog_cc_c89=no
3433 cat >conftest.$ac_ext <<_ACEOF
3436 cat confdefs.h >>conftest.$ac_ext
3437 cat >>conftest.$ac_ext <<_ACEOF
3438 /* end confdefs.h. */
3441 #include <sys/types.h>
3442 #include <sys/stat.h>
3443 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3444 struct buf
{ int x
; };
3445 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3446 static char
*e
(p
, i
)
3452 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3457 s
= g
(p
, va_arg
(v
,int
));
3462 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3463 function prototypes and stuff
, but not
'\xHH' hex character constants.
3464 These don
't provoke an error unfortunately, instead are silently treated
3465 as 'x
'. The following induces an error, until -std is added to get
3466 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3467 array size at least. It's necessary to
write '\x00'==0 to get something
3468 that
's true only with -std. */
3469 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3471 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3472 inside strings and character constants. */
3474 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3476 int test (int i, double x);
3477 struct s1 {int (*f) (int a);};
3478 struct s2 {int (*f) (double a);};
3479 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3485 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3490 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3491 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3493 CC="$ac_save_CC $ac_arg"
3494 rm -f conftest.$ac_objext
3495 if { (ac_try="$ac_compile"
3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498 *) ac_try_echo=$ac_try;;
3500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3501 $as_echo "$ac_try_echo") >&5
3502 (eval "$ac_compile") 2>conftest.er1
3504 grep -v '^
*+' conftest.er1 >conftest.err
3506 cat conftest.err >&5
3507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } && {
3509 test -z "$ac_c_werror_flag" ||
3510 test ! -s conftest.err
3511 } && test -s conftest.$ac_objext; then
3512 ac_cv_prog_cc_c89=$ac_arg
3514 $as_echo "$as_me: failed program was:" >&5
3515 sed 's
/^
/|
/' conftest.$ac_ext >&5
3520 rm -f core conftest.err conftest.$ac_objext
3521 test "x$ac_cv_prog_cc_c89" != "xno" && break
3523 rm -f conftest.$ac_ext
3528 case "x$ac_cv_prog_cc_c89" in
3530 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3531 $as_echo "none needed" >&6; } ;;
3533 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3534 $as_echo "unsupported" >&6; } ;;
3536 CC="$CC $ac_cv_prog_cc_c89"
3537 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3538 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3545 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 depcc="$CC" am_compiler_list=
3550 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3551 $as_echo_n "checking dependency style of $depcc... " >&6; }
3552 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3553 $as_echo_n "(cached) " >&6
3555 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3556 # We make a subdir and do the tests there. Otherwise we can end up
3557 # making bogus files that we don't know about and never remove. For
3558 # instance it was reported that on HP-UX the gcc test will end up
3559 # making a dummy file named `D' -- because `-MD' means `put the output
3562 # Copy depcomp to subdir because otherwise we won't find it if we're
3563 # using a relative directory.
3564 cp "$am_depcomp" conftest.dir
3566 # We will build objects and dependencies in a subdirectory because
3567 # it helps to detect inapplicable dependency modes. For instance
3568 # both Tru64's cc and ICC support -MD to output dependencies as a
3569 # side effect of compilation, but ICC will put the dependencies in
3570 # the current directory while Tru64 will put them in the object
3574 am_cv_CC_dependencies_compiler_type
=none
3575 if test "$am_compiler_list" = ""; then
3576 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3579 case " $depcc " in #(
3580 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3583 for depmode
in $am_compiler_list; do
3584 # Setup a source with many dependencies, because some compilers
3585 # like to wrap large dependency lists on column 80 (with \), and
3586 # we should not choose a depcomp mode which is confused by this.
3588 # We need to recreate these files for each test, as the compiler may
3589 # overwrite some of them when testing with obscure command lines.
3590 # This happens at least with the AIX C compiler.
3592 for i
in 1 2 3 4 5 6; do
3593 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3594 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3595 # Solaris 8's {/usr,}/bin/sh.
3596 touch sub
/conftst
$i.h
3598 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3600 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3601 # mode. It turns out that the SunPro C++ compiler does not properly
3602 # handle `-M -o', and we need to detect this. Also, some Intel
3603 # versions had trouble with output in subdirs
3604 am__obj
=sub
/conftest.
${OBJEXT-o}
3605 am__minus_obj
="-o $am__obj"
3608 # This depmode causes a compiler race in universal mode.
3609 test "$am__universal" = false ||
continue
3612 # after this tag, mechanisms are not by side-effect, so they'll
3613 # only be used when explicitly requested
3614 if test "x$enable_dependency_tracking" = xyes
; then
3620 msvisualcpp | msvcmsys
)
3621 # This compiler won't grok `-c -o', but also, the minuso test has
3622 # not run yet. These depmodes are late enough in the game, and
3623 # so weak that their functioning should not be impacted.
3624 am__obj
=conftest.
${OBJEXT-o}
3629 if depmode
=$depmode \
3630 source=sub
/conftest.c object
=$am__obj \
3631 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3632 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3633 >/dev
/null
2>conftest.err
&&
3634 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3635 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3636 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3637 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3638 # icc doesn't choke on unknown options, it will just issue warnings
3639 # or remarks (even with -Werror). So we grep stderr for any message
3640 # that says an option was ignored or not supported.
3641 # When given -MP, icc 7.0 and 7.1 complain thusly:
3642 # icc: Command line warning: ignoring option '-M'; no argument required
3643 # The diagnosis changed in icc 8.0:
3644 # icc: Command line remark: option '-MP' not supported
3645 if (grep 'ignoring option' conftest.err ||
3646 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3647 am_cv_CC_dependencies_compiler_type
=$depmode
3656 am_cv_CC_dependencies_compiler_type
=none
3660 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3661 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3662 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3665 test "x$enable_dependency_tracking" != xno \
3666 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3668 am__fastdepCC_FALSE
='#'
3670 am__fastdepCC_TRUE
='#'
3671 am__fastdepCC_FALSE
=
3677 ac_cpp
='$CPP $CPPFLAGS'
3678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3681 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3682 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3683 # On Suns, sometimes $CPP names a directory.
3684 if test -n "$CPP" && test -d "$CPP"; then
3687 if test -z "$CPP"; then
3688 if test "${ac_cv_prog_CPP+set}" = set; then
3689 $as_echo_n "(cached) " >&6
3691 # Double quotes because CPP needs to be expanded
3692 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3695 for ac_c_preproc_warn_flag
in '' yes
3697 # Use a header file that comes with gcc, so configuring glibc
3698 # with a fresh cross-compiler works.
3699 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3700 # <limits.h> exists even on freestanding compilers.
3701 # On the NeXT, cc -E runs the code through the compiler's parser,
3702 # not just through cpp. "Syntax error" is here to catch this case.
3703 cat >conftest.
$ac_ext <<_ACEOF
3706 cat confdefs.h
>>conftest.
$ac_ext
3707 cat >>conftest.
$ac_ext <<_ACEOF
3708 /* end confdefs.h. */
3710 # include <limits.h>
3712 # include <assert.h>
3716 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3722 $as_echo "$ac_try_echo") >&5
3723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3725 grep -v '^ *+' conftest.er1 >conftest.err
3727 cat conftest.err >&5
3728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } >/dev/null && {
3730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3731 test ! -s conftest.err
3735 $as_echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.$ac_ext >&5
3738 # Broken: fails on valid input.
3742 rm -f conftest.err conftest.$ac_ext
3744 # OK, works on sane cases. Now check whether nonexistent headers
3745 # can be detected and how.
3746 cat >conftest.$ac_ext <<_ACEOF
3749 cat confdefs.h >>conftest.$ac_ext
3750 cat >>conftest.$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3752 #include <ac_nonexistent.h>
3754 if { (ac_try="$ac_cpp conftest.$ac_ext"
3756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3757 *) ac_try_echo
=$ac_try;;
3759 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3760 $as_echo "$ac_try_echo") >&5
3761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3763 grep -v '^ *+' conftest.er1
>conftest.err
3765 cat conftest.err
>&5
3766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } >/dev
/null
&& {
3768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3769 test ! -s conftest.err
3771 # Broken: success on invalid input.
3774 $as_echo "$as_me: failed program was:" >&5
3775 sed 's/^/| /' conftest.
$ac_ext >&5
3777 # Passes both tests.
3782 rm -f conftest.err conftest.
$ac_ext
3785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3786 rm -f conftest.err conftest.
$ac_ext
3787 if $ac_preproc_ok; then
3799 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3800 $as_echo "$CPP" >&6; }
3802 for ac_c_preproc_warn_flag
in '' yes
3804 # Use a header file that comes with gcc, so configuring glibc
3805 # with a fresh cross-compiler works.
3806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3807 # <limits.h> exists even on freestanding compilers.
3808 # On the NeXT, cc -E runs the code through the compiler's parser,
3809 # not just through cpp. "Syntax error" is here to catch this case.
3810 cat >conftest.
$ac_ext <<_ACEOF
3813 cat confdefs.h
>>conftest.
$ac_ext
3814 cat >>conftest.
$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3817 # include <limits.h>
3819 # include <assert.h>
3823 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3829 $as_echo "$ac_try_echo") >&5
3830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3832 grep -v '^ *+' conftest.er1 >conftest.err
3834 cat conftest.err >&5
3835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); } >/dev/null && {
3837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3838 test ! -s conftest.err
3842 $as_echo "$as_me: failed program was:" >&5
3843 sed 's/^/| /' conftest.$ac_ext >&5
3845 # Broken: fails on valid input.
3849 rm -f conftest.err conftest.$ac_ext
3851 # OK, works on sane cases. Now check whether nonexistent headers
3852 # can be detected and how.
3853 cat >conftest.$ac_ext <<_ACEOF
3856 cat confdefs.h >>conftest.$ac_ext
3857 cat >>conftest.$ac_ext <<_ACEOF
3858 /* end confdefs.h. */
3859 #include <ac_nonexistent.h>
3861 if { (ac_try="$ac_cpp conftest.$ac_ext"
3863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3864 *) ac_try_echo
=$ac_try;;
3866 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3867 $as_echo "$ac_try_echo") >&5
3868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3870 grep -v '^ *+' conftest.er1
>conftest.err
3872 cat conftest.err
>&5
3873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } >/dev
/null
&& {
3875 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3876 test ! -s conftest.err
3878 # Broken: success on invalid input.
3881 $as_echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.
$ac_ext >&5
3884 # Passes both tests.
3889 rm -f conftest.err conftest.
$ac_ext
3892 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3893 rm -f conftest.err conftest.
$ac_ext
3894 if $ac_preproc_ok; then
3897 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3899 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3900 See \`config.log' for more details." >&5
3901 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3902 See \`config.log' for more details." >&2;}
3903 { (exit 1); exit 1; }; }; }
3907 ac_cpp
='$CPP $CPPFLAGS'
3908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3913 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3914 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3915 if test "${ac_cv_path_GREP+set}" = set; then
3916 $as_echo_n "(cached) " >&6
3918 if test -z "$GREP"; then
3919 ac_path_GREP_found
=false
3920 # Loop through the user's path and test for each of PROGNAME-LIST
3921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3925 test -z "$as_dir" && as_dir
=.
3926 for ac_prog
in grep ggrep
; do
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3929 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3930 # Check for GNU ac_path_GREP and select it if it is found.
3931 # Check for GNU $ac_path_GREP
3932 case `"$ac_path_GREP" --version 2>&1` in
3934 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3937 $as_echo_n 0123456789 >"conftest.in"
3940 cat "conftest.in" "conftest.in" >"conftest.tmp"
3941 mv "conftest.tmp" "conftest.in"
3942 cp "conftest.in" "conftest.nl"
3943 $as_echo 'GREP' >> "conftest.nl"
3944 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3945 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3946 ac_count
=`expr $ac_count + 1`
3947 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3948 # Best one so far, save it but keep looking for a better one
3949 ac_cv_path_GREP
="$ac_path_GREP"
3950 ac_path_GREP_max
=$ac_count
3952 # 10*(2^10) chars as input seems more than enough
3953 test $ac_count -gt 10 && break
3955 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3958 $ac_path_GREP_found && break 3
3963 if test -z "$ac_cv_path_GREP"; then
3964 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3965 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3966 { (exit 1); exit 1; }; }
3969 ac_cv_path_GREP
=$GREP
3973 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3974 $as_echo "$ac_cv_path_GREP" >&6; }
3975 GREP
="$ac_cv_path_GREP"
3978 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3979 $as_echo_n "checking for egrep... " >&6; }
3980 if test "${ac_cv_path_EGREP+set}" = set; then
3981 $as_echo_n "(cached) " >&6
3983 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3984 then ac_cv_path_EGREP
="$GREP -E"
3986 if test -z "$EGREP"; then
3987 ac_path_EGREP_found
=false
3988 # Loop through the user's path and test for each of PROGNAME-LIST
3989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3990 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3993 test -z "$as_dir" && as_dir
=.
3994 for ac_prog
in egrep; do
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3997 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3998 # Check for GNU ac_path_EGREP and select it if it is found.
3999 # Check for GNU $ac_path_EGREP
4000 case `"$ac_path_EGREP" --version 2>&1` in
4002 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4005 $as_echo_n 0123456789 >"conftest.in"
4008 cat "conftest.in" "conftest.in" >"conftest.tmp"
4009 mv "conftest.tmp" "conftest.in"
4010 cp "conftest.in" "conftest.nl"
4011 $as_echo 'EGREP' >> "conftest.nl"
4012 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4013 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4014 ac_count
=`expr $ac_count + 1`
4015 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4016 # Best one so far, save it but keep looking for a better one
4017 ac_cv_path_EGREP
="$ac_path_EGREP"
4018 ac_path_EGREP_max
=$ac_count
4020 # 10*(2^10) chars as input seems more than enough
4021 test $ac_count -gt 10 && break
4023 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4026 $ac_path_EGREP_found && break 3
4031 if test -z "$ac_cv_path_EGREP"; then
4032 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4033 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4034 { (exit 1); exit 1; }; }
4037 ac_cv_path_EGREP
=$EGREP
4042 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4043 $as_echo "$ac_cv_path_EGREP" >&6; }
4044 EGREP
="$ac_cv_path_EGREP"
4047 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4048 $as_echo_n "checking for ANSI C header files... " >&6; }
4049 if test "${ac_cv_header_stdc+set}" = set; then
4050 $as_echo_n "(cached) " >&6
4052 cat >conftest.
$ac_ext <<_ACEOF
4055 cat confdefs.h
>>conftest.
$ac_ext
4056 cat >>conftest.
$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4071 rm -f conftest.
$ac_objext
4072 if { (ac_try
="$ac_compile"
4074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4078 $as_echo "$ac_try_echo") >&5
4079 (eval "$ac_compile") 2>conftest.er1
4081 grep -v '^ *+' conftest.er1 >conftest.err
4083 cat conftest.err >&5
4084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } && {
4086 test -z "$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 } && test -s conftest.$ac_objext; then
4089 ac_cv_header_stdc=yes
4091 $as_echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4094 ac_cv_header_stdc=no
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 if test $ac_cv_header_stdc = yes; then
4100 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4101 cat >conftest.$ac_ext <<_ACEOF
4104 cat confdefs.h >>conftest.$ac_ext
4105 cat >>conftest.$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4111 $EGREP "memchr" >/dev/null 2>&1; then
4114 ac_cv_header_stdc=no
4120 if test $ac_cv_header_stdc = yes; then
4121 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4122 cat >conftest.$ac_ext <<_ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4132 $EGREP "free" >/dev/null 2>&1; then
4135 ac_cv_header_stdc=no
4141 if test $ac_cv_header_stdc = yes; then
4142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4143 if test "$cross_compiling" = yes; then
4146 cat >conftest.$ac_ext <<_ACEOF
4149 cat confdefs.h >>conftest.$ac_ext
4150 cat >>conftest.$ac_ext <<_ACEOF
4151 /* end confdefs.h. */
4154 #if ((' ' & 0x0FF) == 0x020)
4155 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4156 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4158 # define ISLOWER(c) \
4159 (('a' <= (c) && (c) <= 'i') \
4160 || ('j' <= (c) && (c) <= 'r') \
4161 || ('s' <= (c) && (c) <= 'z'))
4162 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4165 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4170 for (i = 0; i < 256; i++)
4171 if (XOR (islower (i), ISLOWER (i))
4172 || toupper (i) != TOUPPER (i))
4177 rm -f conftest$ac_exeext
4178 if { (ac_try="$ac_link"
4180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4181 *) ac_try_echo
=$ac_try;;
4183 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4184 $as_echo "$ac_try_echo") >&5
4185 (eval "$ac_link") 2>&5
4187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4189 { (case "(($ac_try" in
4190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4194 $as_echo "$ac_try_echo") >&5
4195 (eval "$ac_try") 2>&5
4197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4201 $as_echo "$as_me: program exited with status $ac_status" >&5
4202 $as_echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4206 ac_cv_header_stdc=no
4208 rm -rf conftest.dSYM
4209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4215 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4216 $as_echo "$ac_cv_header_stdc" >&6; }
4217 if test $ac_cv_header_stdc = yes; then
4219 cat >>confdefs.h <<\_ACEOF
4220 #define STDC_HEADERS 1
4225 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4236 inttypes.h stdint.h unistd.h
4238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4239 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4240 $as_echo_n "checking for $ac_header... " >&6; }
4241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4242 $as_echo_n "(cached) " >&6
4244 cat >conftest.$ac_ext <<_ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 $ac_includes_default
4252 #include <$ac_header>
4254 rm -f conftest.$ac_objext
4255 if { (ac_try="$ac_compile"
4257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4258 *) ac_try_echo
=$ac_try;;
4260 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4261 $as_echo "$ac_try_echo") >&5
4262 (eval "$ac_compile") 2>conftest.er1
4264 grep -v '^ *+' conftest.er1
>conftest.err
4266 cat conftest.err
>&5
4267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); } && {
4269 test -z "$ac_c_werror_flag" ||
4270 test ! -s conftest.err
4271 } && test -s conftest.
$ac_objext; then
4272 eval "$as_ac_Header=yes"
4274 $as_echo "$as_me: failed program was:" >&5
4275 sed 's/^/| /' conftest.
$ac_ext >&5
4277 eval "$as_ac_Header=no"
4280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4282 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4283 $as_echo "$as_val"'`
4284 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4285 $as_echo "$ac_res" >&6; }
4286 as_val
=`eval 'as_val=${'$as_ac_Header'}
4287 $as_echo "$as_val"'`
4288 if test "x$as_val" = x
""yes; then
4289 cat >>confdefs.h
<<_ACEOF
4290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4299 if test "${ac_cv_header_minix_config_h+set}" = set; then
4300 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4301 $as_echo_n "checking for minix/config.h... " >&6; }
4302 if test "${ac_cv_header_minix_config_h+set}" = set; then
4303 $as_echo_n "(cached) " >&6
4305 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4306 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4308 # Is the header compilable?
4309 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4310 $as_echo_n "checking minix/config.h usability... " >&6; }
4311 cat >conftest.
$ac_ext <<_ACEOF
4314 cat confdefs.h
>>conftest.
$ac_ext
4315 cat >>conftest.
$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 $ac_includes_default
4318 #include <minix/config.h>
4320 rm -f conftest.
$ac_objext
4321 if { (ac_try
="$ac_compile"
4323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4327 $as_echo "$ac_try_echo") >&5
4328 (eval "$ac_compile") 2>conftest.er1
4330 grep -v '^ *+' conftest.er1 >conftest.err
4332 cat conftest.err >&5
4333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } && {
4335 test -z "$ac_c_werror_flag" ||
4336 test ! -s conftest.err
4337 } && test -s conftest.$ac_objext; then
4338 ac_header_compiler=yes
4340 $as_echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.$ac_ext >&5
4343 ac_header_compiler=no
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4348 $as_echo "$ac_header_compiler" >&6; }
4350 # Is the header present?
4351 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4352 $as_echo_n "checking minix/config.h presence... " >&6; }
4353 cat >conftest.$ac_ext <<_ACEOF
4356 cat confdefs.h >>conftest.$ac_ext
4357 cat >>conftest.$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4359 #include <minix/config.h>
4361 if { (ac_try="$ac_cpp conftest.$ac_ext"
4363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4364 *) ac_try_echo
=$ac_try;;
4366 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4367 $as_echo "$ac_try_echo") >&5
4368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4370 grep -v '^ *+' conftest.er1
>conftest.err
4372 cat conftest.err
>&5
4373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); } >/dev
/null
&& {
4375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4376 test ! -s conftest.err
4378 ac_header_preproc
=yes
4380 $as_echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.
$ac_ext >&5
4383 ac_header_preproc
=no
4386 rm -f conftest.err conftest.
$ac_ext
4387 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4388 $as_echo "$ac_header_preproc" >&6; }
4390 # So? What about this header?
4391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4393 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4394 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4395 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4396 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4397 ac_header_preproc
=yes
4400 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4401 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4402 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4403 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4404 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4405 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4406 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4407 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4408 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4409 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4410 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4411 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4413 ## -------------------------------------------------- ##
4414 ## Report this to courier-users@lists.sourceforge.net ##
4415 ## -------------------------------------------------- ##
4417 ) |
sed "s/^/$as_me: WARNING: /" >&2
4420 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4421 $as_echo_n "checking for minix/config.h... " >&6; }
4422 if test "${ac_cv_header_minix_config_h+set}" = set; then
4423 $as_echo_n "(cached) " >&6
4425 ac_cv_header_minix_config_h
=$ac_header_preproc
4427 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4428 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4431 if test "x$ac_cv_header_minix_config_h" = x
""yes; then
4438 if test "$MINIX" = yes; then
4440 cat >>confdefs.h
<<\_ACEOF
4441 #define _POSIX_SOURCE 1
4445 cat >>confdefs.h
<<\_ACEOF
4446 #define _POSIX_1_SOURCE 2
4450 cat >>confdefs.h
<<\_ACEOF
4458 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4459 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4460 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4461 $as_echo_n "(cached) " >&6
4463 cat >conftest.
$ac_ext <<_ACEOF
4466 cat confdefs.h
>>conftest.
$ac_ext
4467 cat >>conftest.
$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4470 # define __EXTENSIONS__ 1
4471 $ac_includes_default
4480 rm -f conftest.
$ac_objext
4481 if { (ac_try
="$ac_compile"
4483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4484 *) ac_try_echo=$ac_try;;
4486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4487 $as_echo "$ac_try_echo") >&5
4488 (eval "$ac_compile") 2>conftest.er1
4490 grep -v '^ *+' conftest.er1 >conftest.err
4492 cat conftest.err >&5
4493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); } && {
4495 test -z "$ac_c_werror_flag" ||
4496 test ! -s conftest.err
4497 } && test -s conftest.$ac_objext; then
4498 ac_cv_safe_to_define___extensions__=yes
4500 $as_echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.$ac_ext >&5
4503 ac_cv_safe_to_define___extensions__=no
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4508 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4509 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4510 test $ac_cv_safe_to_define___extensions__ = yes &&
4511 cat >>confdefs.h <<\_ACEOF
4512 #define __EXTENSIONS__ 1
4515 cat >>confdefs.h <<\_ACEOF
4516 #define _ALL_SOURCE 1
4519 cat >>confdefs.h <<\_ACEOF
4520 #define _GNU_SOURCE 1
4523 cat >>confdefs.h <<\_ACEOF
4524 #define _POSIX_PTHREAD_SEMANTICS 1
4527 cat >>confdefs.h <<\_ACEOF
4528 #define _TANDEM_SOURCE 1
4533 ac_cpp='$CPP $CPPFLAGS'
4534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4537 if test -n "$ac_tool_prefix"; then
4538 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4539 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_CC+set}" = set; then
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$CC"; then
4546 ac_cv_prog_CC="$CC" # Let the user override the test.
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 if test -n "$CC"; then
4567 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4568 $as_echo "$CC" >&6; }
4570 { $as_echo "$as_me:$LINENO: result: no" >&5
4571 $as_echo "no" >&6; }
4576 if test -z "$ac_cv_prog_CC"; then
4578 # Extract the first word of "gcc", so it can be a program name with args.
4579 set dummy gcc; ac_word=$2
4580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 $as_echo_n "checking for $ac_word... " >&6; }
4582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4583 $as_echo_n "(cached) " >&6
4585 if test -n "$ac_ct_CC"; then
4586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir=.
4593 for ac_exec_ext in '' $ac_executable_extensions; do
4594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595 ac_cv_prog_ac_ct_CC="gcc"
4596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4606 if test -n "$ac_ct_CC"; then
4607 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4608 $as_echo "$ac_ct_CC" >&6; }
4610 { $as_echo "$as_me:$LINENO: result: no" >&5
4611 $as_echo "no" >&6; }
4614 if test "x$ac_ct_CC" = x; then
4617 case $cross_compiling:$ac_tool_warned in
4619 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4621 ac_tool_warned=yes ;;
4629 if test -z "$CC"; then
4630 if test -n "$ac_tool_prefix"; then
4631 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4632 set dummy ${ac_tool_prefix}cc; ac_word=$2
4633 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if test "${ac_cv_prog_CC+set}" = set; then
4636 $as_echo_n "(cached) " >&6
4638 if test -n "$CC"; then
4639 ac_cv_prog_CC="$CC" # Let the user override the test.
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 test -z "$as_dir" && as_dir=.
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4648 ac_cv_prog_CC="${ac_tool_prefix}cc"
4649 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 if test -n "$CC"; then
4660 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4661 $as_echo "$CC" >&6; }
4663 { $as_echo "$as_me:$LINENO: result: no" >&5
4664 $as_echo "no" >&6; }
4670 if test -z "$CC"; then
4671 # Extract the first word of "cc", so it can be a program name with args.
4672 set dummy cc; ac_word=$2
4673 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if test "${ac_cv_prog_CC+set}" = set; then
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$CC"; then
4679 ac_cv_prog_CC="$CC" # Let the user override the test.
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4690 ac_prog_rejected=yes
4694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 if test $ac_prog_rejected = yes; then
4702 # We found a bogon in the path, so make sure we never use it.
4703 set dummy $ac_cv_prog_CC
4705 if test $# != 0; then
4706 # We chose a different compiler from the bogus one.
4707 # However, it has the same basename, so the bogon will be chosen
4708 # first if we set CC to just the basename; use the full file name.
4710 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4716 if test -n "$CC"; then
4717 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4718 $as_echo "$CC" >&6; }
4720 { $as_echo "$as_me:$LINENO: result: no" >&5
4721 $as_echo "no" >&6; }
4726 if test -z "$CC"; then
4727 if test -n "$ac_tool_prefix"; then
4728 for ac_prog in cl.exe
4730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4732 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if test "${ac_cv_prog_CC+set}" = set; then
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$CC"; then
4738 ac_cv_prog_CC="$CC" # Let the user override the test.
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4748 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 if test -n "$CC"; then
4759 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4760 $as_echo "$CC" >&6; }
4762 { $as_echo "$as_me:$LINENO: result: no" >&5
4763 $as_echo "no" >&6; }
4767 test -n "$CC" && break
4770 if test -z "$CC"; then
4772 for ac_prog in cl.exe
4774 # Extract the first word of "$ac_prog", so it can be a program name with args.
4775 set dummy $ac_prog; ac_word=$2
4776 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4777 $as_echo_n "checking for $ac_word... " >&6; }
4778 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4779 $as_echo_n "(cached) " >&6
4781 if test -n "$ac_ct_CC"; then
4782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 test -z "$as_dir" && as_dir=.
4789 for ac_exec_ext in '' $ac_executable_extensions; do
4790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4791 ac_cv_prog_ac_ct_CC="$ac_prog"
4792 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4802 if test -n "$ac_ct_CC"; then
4803 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4804 $as_echo "$ac_ct_CC" >&6; }
4806 { $as_echo "$as_me:$LINENO: result: no" >&5
4807 $as_echo "no" >&6; }
4811 test -n "$ac_ct_CC" && break
4814 if test "x$ac_ct_CC" = x; then
4817 case $cross_compiling:$ac_tool_warned in
4819 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4821 ac_tool_warned=yes ;;
4830 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4832 { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4833 See \
`config.log' for more details." >&5
4834 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4835 See \`config.log
' for more details." >&2;}
4836 { (exit 1); exit 1; }; }; }
4838 # Provide some information about the compiler.
4839 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4842 { (ac_try="$ac_compiler --version >&5"
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4848 $as_echo "$ac_try_echo") >&5
4849 (eval "$ac_compiler --version >&5") 2>&5
4851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }
4853 { (ac_try="$ac_compiler -v >&5"
4855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856 *) ac_try_echo=$ac_try;;
4858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4859 $as_echo "$ac_try_echo") >&5
4860 (eval "$ac_compiler -v >&5") 2>&5
4862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }
4864 { (ac_try="$ac_compiler -V >&5"
4866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4867 *) ac_try_echo=$ac_try;;
4869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4870 $as_echo "$ac_try_echo") >&5
4871 (eval "$ac_compiler -V >&5") 2>&5
4873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }
4876 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4877 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4878 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4879 $as_echo_n "(cached) " >&6
4881 cat >conftest.$ac_ext <<_ACEOF
4884 cat confdefs.h >>conftest.$ac_ext
4885 cat >>conftest.$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4899 rm -f conftest.$ac_objext
4900 if { (ac_try="$ac_compile"
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4906 $as_echo "$ac_try_echo") >&5
4907 (eval "$ac_compile") 2>conftest.er1
4909 grep -v '^
*+' conftest.er1 >conftest.err
4911 cat conftest.err >&5
4912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } && {
4914 test -z "$ac_c_werror_flag" ||
4915 test ! -s conftest.err
4916 } && test -s conftest.$ac_objext; then
4919 $as_echo "$as_me: failed program was:" >&5
4920 sed 's
/^
/|
/' conftest.$ac_ext >&5
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4929 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4930 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4931 if test $ac_compiler_gnu = yes; then
4936 ac_test_CFLAGS=${CFLAGS+set}
4937 ac_save_CFLAGS=$CFLAGS
4938 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4939 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4940 if test "${ac_cv_prog_cc_g+set}" = set; then
4941 $as_echo_n "(cached) " >&6
4943 ac_save_c_werror_flag=$ac_c_werror_flag
4944 ac_c_werror_flag=yes
4947 cat >conftest.$ac_ext <<_ACEOF
4950 cat confdefs.h >>conftest.$ac_ext
4951 cat >>conftest.$ac_ext <<_ACEOF
4952 /* end confdefs.h. */
4962 rm -f conftest.$ac_objext
4963 if { (ac_try="$ac_compile"
4965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4966 *) ac_try_echo=$ac_try;;
4968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4969 $as_echo "$ac_try_echo") >&5
4970 (eval "$ac_compile") 2>conftest.er1
4972 grep -v '^
*+' conftest.er1 >conftest.err
4974 cat conftest.err >&5
4975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } && {
4977 test -z "$ac_c_werror_flag" ||
4978 test ! -s conftest.err
4979 } && test -s conftest.$ac_objext; then
4982 $as_echo "$as_me: failed program was:" >&5
4983 sed 's
/^
/|
/' conftest.$ac_ext >&5
4986 cat >conftest.$ac_ext <<_ACEOF
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
5001 rm -f conftest.$ac_objext
5002 if { (ac_try="$ac_compile"
5004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5005 *) ac_try_echo=$ac_try;;
5007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5008 $as_echo "$ac_try_echo") >&5
5009 (eval "$ac_compile") 2>conftest.er1
5011 grep -v '^
*+' conftest.er1 >conftest.err
5013 cat conftest.err >&5
5014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } && {
5016 test -z "$ac_c_werror_flag" ||
5017 test ! -s conftest.err
5018 } && test -s conftest.$ac_objext; then
5021 $as_echo "$as_me: failed program was:" >&5
5022 sed 's
/^
/|
/' conftest.$ac_ext >&5
5024 ac_c_werror_flag=$ac_save_c_werror_flag
5026 cat >conftest.$ac_ext <<_ACEOF
5029 cat confdefs.h >>conftest.$ac_ext
5030 cat >>conftest.$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5041 rm -f conftest.$ac_objext
5042 if { (ac_try="$ac_compile"
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5048 $as_echo "$ac_try_echo") >&5
5049 (eval "$ac_compile") 2>conftest.er1
5051 grep -v '^
*+' conftest.er1 >conftest.err
5053 cat conftest.err >&5
5054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); } && {
5056 test -z "$ac_c_werror_flag" ||
5057 test ! -s conftest.err
5058 } && test -s conftest.$ac_objext; then
5061 $as_echo "$as_me: failed program was:" >&5
5062 sed 's
/^
/|
/' conftest.$ac_ext >&5
5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5074 ac_c_werror_flag=$ac_save_c_werror_flag
5076 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5077 $as_echo "$ac_cv_prog_cc_g" >&6; }
5078 if test "$ac_test_CFLAGS" = set; then
5079 CFLAGS=$ac_save_CFLAGS
5080 elif test $ac_cv_prog_cc_g = yes; then
5081 if test "$GCC" = yes; then
5087 if test "$GCC" = yes; then
5093 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5095 if test "${ac_cv_prog_cc_c89+set}" = set; then
5096 $as_echo_n "(cached) " >&6
5098 ac_cv_prog_cc_c89=no
5100 cat >conftest.$ac_ext <<_ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5108 #include <sys/types.h>
5109 #include <sys/stat.h>
5110 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
5111 struct buf
{ int x
; };
5112 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
5113 static char
*e
(p
, i
)
5119 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
5124 s
= g
(p
, va_arg
(v
,int
));
5129 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
5130 function prototypes and stuff
, but not
'\xHH' hex character constants.
5131 These don
't provoke an error unfortunately, instead are silently treated
5132 as 'x
'. The following induces an error, until -std is added to get
5133 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
5134 array size at least. It's necessary to
write '\x00'==0 to get something
5135 that
's true only with -std. */
5136 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5138 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5139 inside strings and character constants. */
5141 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
5143 int test (int i, double x);
5144 struct s1 {int (*f) (int a);};
5145 struct s2 {int (*f) (double a);};
5146 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5152 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5157 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5158 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5160 CC="$ac_save_CC $ac_arg"
5161 rm -f conftest.$ac_objext
5162 if { (ac_try="$ac_compile"
5164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5165 *) ac_try_echo=$ac_try;;
5167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5168 $as_echo "$ac_try_echo") >&5
5169 (eval "$ac_compile") 2>conftest.er1
5171 grep -v '^
*+' conftest.er1 >conftest.err
5173 cat conftest.err >&5
5174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } && {
5176 test -z "$ac_c_werror_flag" ||
5177 test ! -s conftest.err
5178 } && test -s conftest.$ac_objext; then
5179 ac_cv_prog_cc_c89=$ac_arg
5181 $as_echo "$as_me: failed program was:" >&5
5182 sed 's
/^
/|
/' conftest.$ac_ext >&5
5187 rm -f core conftest.err conftest.$ac_objext
5188 test "x$ac_cv_prog_cc_c89" != "xno" && break
5190 rm -f conftest.$ac_ext
5195 case "x$ac_cv_prog_cc_c89" in
5197 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5198 $as_echo "none needed" >&6; } ;;
5200 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5201 $as_echo "unsupported" >&6; } ;;
5203 CC="$CC $ac_cv_prog_cc_c89"
5204 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5205 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5210 ac_cpp='$CPP $CPPFLAGS'
5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5212 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5215 depcc="$CC" am_compiler_list=
5217 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5218 $as_echo_n "checking dependency style of $depcc... " >&6; }
5219 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5220 $as_echo_n "(cached) " >&6
5222 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5223 # We make a subdir and do the tests there. Otherwise we can end up
5224 # making bogus files that we don't know about and never remove. For
5225 # instance it was reported that on HP-UX the gcc test will end up
5226 # making a dummy file named `D' -- because `-MD' means `put the output
5229 # Copy depcomp to subdir because otherwise we won't find it if we're
5230 # using a relative directory.
5231 cp "$am_depcomp" conftest.dir
5233 # We will build objects and dependencies in a subdirectory because
5234 # it helps to detect inapplicable dependency modes. For instance
5235 # both Tru64's cc and ICC support -MD to output dependencies as a
5236 # side effect of compilation, but ICC will put the dependencies in
5237 # the current directory while Tru64 will put them in the object
5241 am_cv_CC_dependencies_compiler_type
=none
5242 if test "$am_compiler_list" = ""; then
5243 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5246 case " $depcc " in #(
5247 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5250 for depmode
in $am_compiler_list; do
5251 # Setup a source with many dependencies, because some compilers
5252 # like to wrap large dependency lists on column 80 (with \), and
5253 # we should not choose a depcomp mode which is confused by this.
5255 # We need to recreate these files for each test, as the compiler may
5256 # overwrite some of them when testing with obscure command lines.
5257 # This happens at least with the AIX C compiler.
5259 for i
in 1 2 3 4 5 6; do
5260 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5261 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5262 # Solaris 8's {/usr,}/bin/sh.
5263 touch sub
/conftst
$i.h
5265 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5267 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5268 # mode. It turns out that the SunPro C++ compiler does not properly
5269 # handle `-M -o', and we need to detect this. Also, some Intel
5270 # versions had trouble with output in subdirs
5271 am__obj
=sub
/conftest.
${OBJEXT-o}
5272 am__minus_obj
="-o $am__obj"
5275 # This depmode causes a compiler race in universal mode.
5276 test "$am__universal" = false ||
continue
5279 # after this tag, mechanisms are not by side-effect, so they'll
5280 # only be used when explicitly requested
5281 if test "x$enable_dependency_tracking" = xyes
; then
5287 msvisualcpp | msvcmsys
)
5288 # This compiler won't grok `-c -o', but also, the minuso test has
5289 # not run yet. These depmodes are late enough in the game, and
5290 # so weak that their functioning should not be impacted.
5291 am__obj
=conftest.
${OBJEXT-o}
5296 if depmode
=$depmode \
5297 source=sub
/conftest.c object
=$am__obj \
5298 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5299 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5300 >/dev
/null
2>conftest.err
&&
5301 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5302 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5303 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5304 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5305 # icc doesn't choke on unknown options, it will just issue warnings
5306 # or remarks (even with -Werror). So we grep stderr for any message
5307 # that says an option was ignored or not supported.
5308 # When given -MP, icc 7.0 and 7.1 complain thusly:
5309 # icc: Command line warning: ignoring option '-M'; no argument required
5310 # The diagnosis changed in icc 8.0:
5311 # icc: Command line remark: option '-MP' not supported
5312 if (grep 'ignoring option' conftest.err ||
5313 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5314 am_cv_CC_dependencies_compiler_type
=$depmode
5323 am_cv_CC_dependencies_compiler_type
=none
5327 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5328 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5329 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5332 test "x$enable_dependency_tracking" != xno \
5333 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5335 am__fastdepCC_FALSE
='#'
5337 am__fastdepCC_TRUE
='#'
5338 am__fastdepCC_FALSE
=
5344 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5345 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5350 macro_version
='2.2.6'
5351 macro_revision
='1.3012'
5365 ltmain
="$ac_aux_dir/ltmain.sh"
5367 # Make sure we can run config.sub.
5368 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5369 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5370 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5371 { (exit 1); exit 1; }; }
5373 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5374 $as_echo_n "checking build system type... " >&6; }
5375 if test "${ac_cv_build+set}" = set; then
5376 $as_echo_n "(cached) " >&6
5378 ac_build_alias
=$build_alias
5379 test "x$ac_build_alias" = x
&&
5380 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5381 test "x$ac_build_alias" = x
&&
5382 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5383 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5384 { (exit 1); exit 1; }; }
5385 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5386 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5387 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5388 { (exit 1); exit 1; }; }
5391 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5392 $as_echo "$ac_cv_build" >&6; }
5393 case $ac_cv_build in
5395 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5396 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5397 { (exit 1); exit 1; }; };;
5400 ac_save_IFS
=$IFS; IFS
='-'
5406 # Remember, the first character of IFS is used to create $*,
5407 # except with old shells:
5410 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5413 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5414 $as_echo_n "checking host system type... " >&6; }
5415 if test "${ac_cv_host+set}" = set; then
5416 $as_echo_n "(cached) " >&6
5418 if test "x$host_alias" = x
; then
5419 ac_cv_host
=$ac_cv_build
5421 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5422 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5423 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5424 { (exit 1); exit 1; }; }
5428 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5429 $as_echo "$ac_cv_host" >&6; }
5432 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5433 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5434 { (exit 1); exit 1; }; };;
5437 ac_save_IFS
=$IFS; IFS
='-'
5443 # Remember, the first character of IFS is used to create $*,
5444 # except with old shells:
5447 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5450 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5451 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5452 if test "${ac_cv_path_SED+set}" = set; then
5453 $as_echo_n "(cached) " >&6
5455 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5456 for ac_i
in 1 2 3 4 5 6 7; do
5457 ac_script
="$ac_script$as_nl$ac_script"
5459 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5460 $as_unset ac_script || ac_script
=
5461 if test -z "$SED"; then
5462 ac_path_SED_found
=false
5463 # Loop through the user's path and test for each of PROGNAME-LIST
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_prog
in sed gsed
; do
5470 for ac_exec_ext
in '' $ac_executable_extensions; do
5471 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5472 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5473 # Check for GNU ac_path_SED and select it if it is found.
5474 # Check for GNU $ac_path_SED
5475 case `"$ac_path_SED" --version 2>&1` in
5477 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5480 $as_echo_n 0123456789 >"conftest.in"
5483 cat "conftest.in" "conftest.in" >"conftest.tmp"
5484 mv "conftest.tmp" "conftest.in"
5485 cp "conftest.in" "conftest.nl"
5486 $as_echo '' >> "conftest.nl"
5487 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5488 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5489 ac_count
=`expr $ac_count + 1`
5490 if test $ac_count -gt ${ac_path_SED_max-0}; then
5491 # Best one so far, save it but keep looking for a better one
5492 ac_cv_path_SED
="$ac_path_SED"
5493 ac_path_SED_max
=$ac_count
5495 # 10*(2^10) chars as input seems more than enough
5496 test $ac_count -gt 10 && break
5498 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5501 $ac_path_SED_found && break 3
5506 if test -z "$ac_cv_path_SED"; then
5507 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5508 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5509 { (exit 1); exit 1; }; }
5516 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5517 $as_echo "$ac_cv_path_SED" >&6; }
5518 SED
="$ac_cv_path_SED"
5521 test -z "$SED" && SED
=sed
5522 Xsed
="$SED -e 1s/^X//"
5534 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5535 $as_echo_n "checking for fgrep... " >&6; }
5536 if test "${ac_cv_path_FGREP+set}" = set; then
5537 $as_echo_n "(cached) " >&6
5539 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5540 then ac_cv_path_FGREP
="$GREP -F"
5542 if test -z "$FGREP"; then
5543 ac_path_FGREP_found
=false
5544 # Loop through the user's path and test for each of PROGNAME-LIST
5545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5546 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5549 test -z "$as_dir" && as_dir
=.
5550 for ac_prog
in fgrep
; do
5551 for ac_exec_ext
in '' $ac_executable_extensions; do
5552 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5553 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5554 # Check for GNU ac_path_FGREP and select it if it is found.
5555 # Check for GNU $ac_path_FGREP
5556 case `"$ac_path_FGREP" --version 2>&1` in
5558 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5561 $as_echo_n 0123456789 >"conftest.in"
5564 cat "conftest.in" "conftest.in" >"conftest.tmp"
5565 mv "conftest.tmp" "conftest.in"
5566 cp "conftest.in" "conftest.nl"
5567 $as_echo 'FGREP' >> "conftest.nl"
5568 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5569 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5570 ac_count
=`expr $ac_count + 1`
5571 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5572 # Best one so far, save it but keep looking for a better one
5573 ac_cv_path_FGREP
="$ac_path_FGREP"
5574 ac_path_FGREP_max
=$ac_count
5576 # 10*(2^10) chars as input seems more than enough
5577 test $ac_count -gt 10 && break
5579 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5582 $ac_path_FGREP_found && break 3
5587 if test -z "$ac_cv_path_FGREP"; then
5588 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5589 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5590 { (exit 1); exit 1; }; }
5593 ac_cv_path_FGREP
=$FGREP
5598 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5599 $as_echo "$ac_cv_path_FGREP" >&6; }
5600 FGREP
="$ac_cv_path_FGREP"
5603 test -z "$GREP" && GREP
=grep
5623 # Check whether --with-gnu-ld was given.
5624 if test "${with_gnu_ld+set}" = set; then
5625 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5631 if test "$GCC" = yes; then
5632 # Check if gcc -print-prog-name=ld gives a path.
5633 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5634 $as_echo_n "checking for ld used by $CC... " >&6; }
5637 # gcc leaves a trailing carriage return which upsets mingw
5638 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5640 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5643 # Accept absolute paths.
5645 re_direlt
='/[^/][^/]*/\.\./'
5646 # Canonicalize the pathname of ld
5647 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5648 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5649 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5651 test -z "$LD" && LD
="$ac_prog"
5654 # If it fails, then pretend we aren't using GCC.
5658 # If it is relative, then search for the first ld in PATH.
5662 elif test "$with_gnu_ld" = yes; then
5663 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5664 $as_echo_n "checking for GNU ld... " >&6; }
5666 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5667 $as_echo_n "checking for non-GNU ld... " >&6; }
5669 if test "${lt_cv_path_LD+set}" = set; then
5670 $as_echo_n "(cached) " >&6
5672 if test -z "$LD"; then
5673 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5674 for ac_dir
in $PATH; do
5676 test -z "$ac_dir" && ac_dir
=.
5677 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5678 lt_cv_path_LD
="$ac_dir/$ac_prog"
5679 # Check to see if the program is GNU ld. I'd rather use --version,
5680 # but apparently some variants of GNU ld only accept -v.
5681 # Break only if it was the GNU/non-GNU ld that we prefer.
5682 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5683 *GNU
* |
*'with BFD'*)
5684 test "$with_gnu_ld" != no
&& break
5687 test "$with_gnu_ld" != yes && break
5694 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5699 if test -n "$LD"; then
5700 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5701 $as_echo "$LD" >&6; }
5703 { $as_echo "$as_me:$LINENO: result: no" >&5
5704 $as_echo "no" >&6; }
5706 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5707 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5708 { (exit 1); exit 1; }; }
5709 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5710 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5711 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5712 $as_echo_n "(cached) " >&6
5714 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5715 case `$LD -v 2>&1 </dev/null` in
5716 *GNU
* |
*'with BFD'*)
5717 lt_cv_prog_gnu_ld
=yes
5720 lt_cv_prog_gnu_ld
=no
5724 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5725 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5726 with_gnu_ld
=$lt_cv_prog_gnu_ld
5736 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5737 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5738 if test "${lt_cv_path_NM+set}" = set; then
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$NM"; then
5742 # Let the user override the test.
5745 lt_nm_to_check
="${ac_tool_prefix}nm"
5746 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5747 lt_nm_to_check
="$lt_nm_to_check nm"
5749 for lt_tmp_nm
in $lt_nm_to_check; do
5750 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5751 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5753 test -z "$ac_dir" && ac_dir
=.
5754 tmp_nm
="$ac_dir/$lt_tmp_nm"
5755 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5756 # Check to see if the nm accepts a BSD-compat flag.
5757 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5758 # nm: unknown option "B" ignored
5759 # Tru64's nm complains that /dev/null is an invalid object file
5760 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5761 */dev
/null
* |
*'Invalid file or object type'*)
5762 lt_cv_path_NM
="$tmp_nm -B"
5766 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5768 lt_cv_path_NM
="$tmp_nm -p"
5772 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5773 continue # so that we can try to find one that supports BSD flags
5782 : ${lt_cv_path_NM=no}
5785 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5786 $as_echo "$lt_cv_path_NM" >&6; }
5787 if test "$lt_cv_path_NM" != "no"; then
5790 # Didn't find any BSD compatible name lister, look for dumpbin.
5791 if test -n "$ac_tool_prefix"; then
5792 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5795 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$DUMPBIN"; then
5802 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5812 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 DUMPBIN
=$ac_cv_prog_DUMPBIN
5822 if test -n "$DUMPBIN"; then
5823 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5824 $as_echo "$DUMPBIN" >&6; }
5826 { $as_echo "$as_me:$LINENO: result: no" >&5
5827 $as_echo "no" >&6; }
5831 test -n "$DUMPBIN" && break
5834 if test -z "$DUMPBIN"; then
5835 ac_ct_DUMPBIN
=$DUMPBIN
5836 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5838 # Extract the first word of "$ac_prog", so it can be a program name with args.
5839 set dummy
$ac_prog; ac_word
=$2
5840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5843 $as_echo_n "(cached) " >&6
5845 if test -n "$ac_ct_DUMPBIN"; then
5846 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5852 test -z "$as_dir" && as_dir
=.
5853 for ac_exec_ext
in '' $ac_executable_extensions; do
5854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5855 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5856 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5866 if test -n "$ac_ct_DUMPBIN"; then
5867 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5868 $as_echo "$ac_ct_DUMPBIN" >&6; }
5870 { $as_echo "$as_me:$LINENO: result: no" >&5
5871 $as_echo "no" >&6; }
5875 test -n "$ac_ct_DUMPBIN" && break
5878 if test "x$ac_ct_DUMPBIN" = x
; then
5881 case $cross_compiling:$ac_tool_warned in
5883 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885 ac_tool_warned
=yes ;;
5887 DUMPBIN
=$ac_ct_DUMPBIN
5892 if test "$DUMPBIN" != ":"; then
5896 test -z "$NM" && NM
=nm
5903 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5904 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5905 if test "${lt_cv_nm_interface+set}" = set; then
5906 $as_echo_n "(cached) " >&6
5908 lt_cv_nm_interface
="BSD nm"
5909 echo "int some_variable = 0;" > conftest.
$ac_ext
5910 (eval echo "\"\$as_me:5910: $ac_compile\"" >&5)
5911 (eval "$ac_compile" 2>conftest.err
)
5912 cat conftest.err
>&5
5913 (eval echo "\"\$as_me:5913: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5914 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5915 cat conftest.err
>&5
5916 (eval echo "\"\$as_me:5916: output\"" >&5)
5917 cat conftest.out
>&5
5918 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5919 lt_cv_nm_interface
="MS dumpbin"
5923 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5924 $as_echo "$lt_cv_nm_interface" >&6; }
5926 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5927 $as_echo_n "checking whether ln -s works... " >&6; }
5929 if test "$LN_S" = "ln -s"; then
5930 { $as_echo "$as_me:$LINENO: result: yes" >&5
5931 $as_echo "yes" >&6; }
5933 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5934 $as_echo "no, using $LN_S" >&6; }
5937 # find the maximum length of command line arguments
5938 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5939 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5940 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5941 $as_echo_n "(cached) " >&6
5948 # On DJGPP, this test can blow up pretty badly due to problems in libc
5949 # (any single argument exceeding 2000 bytes causes a buffer overrun
5950 # during glob expansion). Even if it were fixed, the result of this
5951 # check would be larger than it should be.
5952 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5956 # Under GNU Hurd, this test is not required because there is
5957 # no limit to the length of command line arguments.
5958 # Libtool will interpret -1 as no limit whatsoever
5959 lt_cv_sys_max_cmd_len
=-1;
5962 cygwin
* | mingw
* | cegcc
*)
5963 # On Win9x/ME, this test blows up -- it succeeds, but takes
5964 # about 5 minutes as the teststring grows exponentially.
5965 # Worse, since 9x/ME are not pre-emptively multitasking,
5966 # you end up with a "frozen" computer, even though with patience
5967 # the test eventually succeeds (with a max line length of 256k).
5968 # Instead, let's just punt: use the minimum linelength reported by
5969 # all of the supported platforms: 8192 (on NT/2K/XP).
5970 lt_cv_sys_max_cmd_len
=8192;
5974 # On AmigaOS with pdksh, this test takes hours, literally.
5975 # So we just punt and use a minimum line length of 8192.
5976 lt_cv_sys_max_cmd_len
=8192;
5979 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5980 # This has been around since 386BSD, at least. Likely further.
5981 if test -x /sbin
/sysctl
; then
5982 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5983 elif test -x /usr
/sbin
/sysctl
; then
5984 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5986 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5988 # And add a safety zone
5989 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5990 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5994 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5995 lt_cv_sys_max_cmd_len
=196608
5999 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6000 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6001 # nice to cause kernel panics so lets avoid the loop below.
6002 # First set a reasonable default.
6003 lt_cv_sys_max_cmd_len
=16384
6005 if test -x /sbin
/sysconfig
; then
6006 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6007 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6012 lt_cv_sys_max_cmd_len
=102400
6014 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6015 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6016 if test -n "$kargmax"; then
6017 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6019 lt_cv_sys_max_cmd_len
=32768
6023 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6024 if test -n "$lt_cv_sys_max_cmd_len"; then
6025 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6026 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6028 # Make teststring a little bigger before we do anything with it.
6029 # a 1K string should be a reasonable start.
6030 for i
in 1 2 3 4 5 6 7 8 ; do
6031 teststring
=$teststring$teststring
6033 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6034 # If test is not a shell built-in, we'll probably end up computing a
6035 # maximum length that is only half of the actual maximum length, but
6037 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6038 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6039 test $i != 17 # 1/2 MB should be enough
6042 teststring
=$teststring$teststring
6044 # Only check the string length outside the loop.
6045 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6047 # Add a significant safety factor because C++ compilers can tack on
6048 # massive amounts of additional arguments before passing them to the
6049 # linker. It appears as though 1/2 is a usable value.
6050 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6057 if test -n $lt_cv_sys_max_cmd_len ; then
6058 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6059 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6061 { $as_echo "$as_me:$LINENO: result: none" >&5
6062 $as_echo "none" >&6; }
6064 max_cmd_len
=$lt_cv_sys_max_cmd_len
6075 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6076 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6077 # Try some XSI features
6080 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6082 && eval 'test $(( 1 + 1 )) -eq 2 \
6083 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6085 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6086 $as_echo "$xsi_shell" >&6; }
6089 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6090 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6092 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6094 && lt_shell_append=yes
6095 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6096 $as_echo "$lt_shell_append" >&6; }
6099 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6109 # test EBCDIC or ASCII
6110 case `echo X|tr X '\101'` in
6111 A) # ASCII based system
6112 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6113 lt_SP2NL='tr \040 \012'
6114 lt_NL2SP='tr \015\012 \040\040'
6116 *) # EBCDIC based system
6117 lt_SP2NL='tr \100 \n'
6118 lt_NL2SP='tr \r\n \100\100'
6130 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6131 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6132 if test "${lt_cv_ld_reload_flag+set}" = set; then
6133 $as_echo_n "(cached
) " >&6
6135 lt_cv_ld_reload_flag='-r'
6137 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6138 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6139 reload_flag=$lt_cv_ld_reload_flag
6140 case $reload_flag in
6142 *) reload_flag=" $reload_flag" ;;
6144 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6147 if test "$GCC" = yes; then
6148 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6150 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6166 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6167 $as_echo_n "checking
for $ac_word...
" >&6; }
6168 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6169 $as_echo_n "(cached
) " >&6
6171 if test -n "$OBJDUMP"; then
6172 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6182 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6191 OBJDUMP=$ac_cv_prog_OBJDUMP
6192 if test -n "$OBJDUMP"; then
6193 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6194 $as_echo "$OBJDUMP" >&6; }
6196 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6197 $as_echo "no
" >&6; }
6202 if test -z "$ac_cv_prog_OBJDUMP"; then
6203 ac_ct_OBJDUMP=$OBJDUMP
6204 # Extract the first word of "objdump
", so it can be a program name with args.
6205 set dummy objdump; ac_word=$2
6206 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6207 $as_echo_n "checking
for $ac_word...
" >&6; }
6208 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6209 $as_echo_n "(cached
) " >&6
6211 if test -n "$ac_ct_OBJDUMP"; then
6212 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6222 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6231 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6232 if test -n "$ac_ct_OBJDUMP"; then
6233 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6234 $as_echo "$ac_ct_OBJDUMP" >&6; }
6236 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6237 $as_echo "no
" >&6; }
6240 if test "x
$ac_ct_OBJDUMP" = x; then
6243 case $cross_compiling:$ac_tool_warned in
6245 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6246 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6247 ac_tool_warned=yes ;;
6249 OBJDUMP=$ac_ct_OBJDUMP
6252 OBJDUMP="$ac_cv_prog_OBJDUMP"
6255 test -z "$OBJDUMP" && OBJDUMP=objdump
6265 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6266 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6267 if test "${lt_cv_deplibs_check_method+set}" = set; then
6268 $as_echo_n "(cached
) " >&6
6270 lt_cv_file_magic_cmd='$MAGIC_CMD'
6271 lt_cv_file_magic_test_file=
6272 lt_cv_deplibs_check_method='unknown'
6273 # Need to set the preceding variable on all platforms that support
6274 # interlibrary dependencies.
6275 # 'none' -- dependencies not supported.
6276 # `unknown' -- same as none, but documents that we really don't know.
6277 # 'pass_all' -- all dependencies passed with no checks.
6278 # 'test_compile' -- check by making test program.
6279 # 'file_magic [[regex]]' -- check by looking for files in library path
6280 # which responds to the $file_magic_cmd with a given extended regex.
6281 # If you have `file' or equivalent on your system and you're not sure
6282 # whether `pass_all' will *always* work, you probably want this one.
6286 lt_cv_deplibs_check_method=pass_all
6290 lt_cv_deplibs_check_method=pass_all
6294 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6295 lt_cv_file_magic_cmd='/usr/bin/file -L'
6296 lt_cv_file_magic_test_file=/shlib/libc.so
6300 # func_win32_libid is a shell function defined in ltmain.sh
6301 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6302 lt_cv_file_magic_cmd='func_win32_libid'
6306 # Base MSYS/MinGW do not provide the 'file' command needed by
6307 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6308 # unless we find 'file', for example because we are cross-compiling.
6309 if ( file / ) >/dev/null 2>&1; then
6310 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6311 lt_cv_file_magic_cmd='func_win32_libid'
6313 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6314 lt_cv_file_magic_cmd='$OBJDUMP -f'
6319 # use the weaker test based on 'objdump'. See mingw*.
6320 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6321 lt_cv_file_magic_cmd='$OBJDUMP -f'
6324 darwin* | rhapsody*)
6325 lt_cv_deplibs_check_method=pass_all
6328 freebsd* | dragonfly*)
6329 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6332 # Not sure whether the presence of OpenBSD here was a mistake.
6333 # Let's accept both of them until this is cleared up.
6334 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6335 lt_cv_file_magic_cmd=/usr/bin/file
6336 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6340 lt_cv_deplibs_check_method=pass_all
6345 lt_cv_deplibs_check_method=pass_all
6348 hpux10.20* | hpux11*)
6349 lt_cv_file_magic_cmd=/usr/bin/file
6352 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6353 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6356 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]'
6357 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6360 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6361 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6367 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6368 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6371 irix5* | irix6* | nonstopux*)
6373 *-32|*"-32 ") libmagic=32-bit;;
6374 *-n32|*"-n32 ") libmagic=N32;;
6375 *-64|*"-64 ") libmagic=64-bit;;
6376 *) libmagic=never-match;;
6378 lt_cv_deplibs_check_method=pass_all
6381 # This must be Linux ELF.
6382 linux* | k*bsd*-gnu)
6383 lt_cv_deplibs_check_method=pass_all
6387 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6388 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6390 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6395 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6396 lt_cv_file_magic_cmd=/usr/bin/file
6397 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6401 lt_cv_deplibs_check_method=pass_all
6405 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6406 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6408 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6412 osf3* | osf4* | osf5*)
6413 lt_cv_deplibs_check_method=pass_all
6417 lt_cv_deplibs_check_method=pass_all
6421 lt_cv_deplibs_check_method=pass_all
6424 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6425 lt_cv_deplibs_check_method=pass_all
6429 case $host_vendor in
6431 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]'
6432 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6435 lt_cv_deplibs_check_method=pass_all
6438 lt_cv_file_magic_cmd='/bin/file'
6439 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6442 lt_cv_file_magic_cmd='/bin/file'
6443 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6444 lt_cv_file_magic_test_file=/lib/libc.so
6447 lt_cv_deplibs_check_method=pass_all
6450 lt_cv_deplibs_check_method=pass_all
6456 lt_cv_deplibs_check_method=pass_all
6461 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6462 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6463 file_magic_cmd=$lt_cv_file_magic_cmd
6464 deplibs_check_method=$lt_cv_deplibs_check_method
6465 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6478 if test -n "$ac_tool_prefix"; then
6479 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6480 set dummy ${ac_tool_prefix}ar; ac_word=$2
6481 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6482 $as_echo_n "checking
for $ac_word...
" >&6; }
6483 if test "${ac_cv_prog_AR+set}" = set; then
6484 $as_echo_n "(cached
) " >&6
6486 if test -n "$AR"; then
6487 ac_cv_prog_AR="$AR" # Let the user override the test.
6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6496 ac_cv_prog_AR="${ac_tool_prefix}ar"
6497 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6507 if test -n "$AR"; then
6508 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
6509 $as_echo "$AR" >&6; }
6511 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6512 $as_echo "no
" >&6; }
6517 if test -z "$ac_cv_prog_AR"; then
6519 # Extract the first word of "ar", so it can be a program name with args.
6520 set dummy ar; ac_word=$2
6521 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6522 $as_echo_n "checking
for $ac_word...
" >&6; }
6523 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6524 $as_echo_n "(cached
) " >&6
6526 if test -n "$ac_ct_AR"; then
6527 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6536 ac_cv_prog_ac_ct_AR="ar"
6537 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6547 if test -n "$ac_ct_AR"; then
6548 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6549 $as_echo "$ac_ct_AR" >&6; }
6551 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6552 $as_echo "no
" >&6; }
6555 if test "x
$ac_ct_AR" = x; then
6558 case $cross_compiling:$ac_tool_warned in
6560 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6561 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6562 ac_tool_warned=yes ;;
6570 test -z "$AR" && AR=ar
6571 test -z "$AR_FLAGS" && AR_FLAGS=cru
6583 if test -n "$ac_tool_prefix"; then
6584 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6585 set dummy ${ac_tool_prefix}strip; ac_word=$2
6586 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6587 $as_echo_n "checking
for $ac_word...
" >&6; }
6588 if test "${ac_cv_prog_STRIP+set}" = set; then
6589 $as_echo_n "(cached
) " >&6
6591 if test -n "$STRIP"; then
6592 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6602 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6611 STRIP=$ac_cv_prog_STRIP
6612 if test -n "$STRIP"; then
6613 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
6614 $as_echo "$STRIP" >&6; }
6616 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6617 $as_echo "no
" >&6; }
6622 if test -z "$ac_cv_prog_STRIP"; then
6624 # Extract the first word of "strip
", so it can be a program name with args.
6625 set dummy strip; ac_word=$2
6626 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6627 $as_echo_n "checking
for $ac_word...
" >&6; }
6628 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6629 $as_echo_n "(cached
) " >&6
6631 if test -n "$ac_ct_STRIP"; then
6632 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_ac_ct_STRIP="strip
"
6642 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6651 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6652 if test -n "$ac_ct_STRIP"; then
6653 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6654 $as_echo "$ac_ct_STRIP" >&6; }
6656 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6657 $as_echo "no
" >&6; }
6660 if test "x
$ac_ct_STRIP" = x; then
6663 case $cross_compiling:$ac_tool_warned in
6665 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6666 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6667 ac_tool_warned=yes ;;
6672 STRIP="$ac_cv_prog_STRIP"
6675 test -z "$STRIP" && STRIP=:
6682 if test -n "$ac_tool_prefix"; then
6683 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6684 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6685 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6686 $as_echo_n "checking
for $ac_word...
" >&6; }
6687 if test "${ac_cv_prog_RANLIB+set}" = set; then
6688 $as_echo_n "(cached
) " >&6
6690 if test -n "$RANLIB"; then
6691 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6701 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6710 RANLIB=$ac_cv_prog_RANLIB
6711 if test -n "$RANLIB"; then
6712 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
6713 $as_echo "$RANLIB" >&6; }
6715 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6716 $as_echo "no
" >&6; }
6721 if test -z "$ac_cv_prog_RANLIB"; then
6722 ac_ct_RANLIB=$RANLIB
6723 # Extract the first word of "ranlib
", so it can be a program name with args.
6724 set dummy ranlib; ac_word=$2
6725 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6726 $as_echo_n "checking
for $ac_word...
" >&6; }
6727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6728 $as_echo_n "(cached
) " >&6
6730 if test -n "$ac_ct_RANLIB"; then
6731 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6741 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6750 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6751 if test -n "$ac_ct_RANLIB"; then
6752 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6753 $as_echo "$ac_ct_RANLIB" >&6; }
6755 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6756 $as_echo "no
" >&6; }
6759 if test "x
$ac_ct_RANLIB" = x; then
6762 case $cross_compiling:$ac_tool_warned in
6764 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6765 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6766 ac_tool_warned=yes ;;
6768 RANLIB=$ac_ct_RANLIB
6771 RANLIB="$ac_cv_prog_RANLIB"
6774 test -z "$RANLIB" && RANLIB=:
6781 # Determine commands to create old-style static archives.
6782 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6783 old_postinstall_cmds='chmod 644 $oldlib'
6784 old_postuninstall_cmds=
6786 if test -n "$RANLIB"; then
6789 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6792 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6795 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6831 # If no C compiler was specified, use CC.
6834 # If no C compiler flags were specified, use CFLAGS.
6835 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6837 # Allow CC to be a program name with arguments.
6841 # Check for command to grab the raw symbol name followed by C symbol from nm.
6842 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6843 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6844 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6845 $as_echo_n "(cached
) " >&6
6848 # These are sane defaults that work on at least a few old systems.
6849 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6851 # Character class describing NM global symbol codes.
6852 symcode='[BCDEGRST]'
6854 # Regexp to match symbols that can be accessed directly from C.
6855 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6857 # Define system-specific variables.
6862 cygwin* | mingw* | pw32* | cegcc*)
6863 symcode='[ABCDGISTW]'
6866 if test "$host_cpu" = ia64; then
6867 symcode='[ABCDEGRST]'
6871 symcode='[BCDEGRST]'
6874 symcode='[BCDEGQRST]'
6885 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6893 # If we're using GNU nm, then use its standard symbol codes.
6894 case `$NM -V 2>&1` in
6895 *GNU* | *'with BFD'*)
6896 symcode='[ABCDGIRSTW]' ;;
6899 # Transform an extracted symbol line into a proper C declaration.
6900 # Some systems (esp. on ia64) link data and code symbols differently,
6901 # so use this general approach.
6902 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6904 # Transform an extracted symbol line into symbol name and symbol address
6905 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6906 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'"
6908 # Handle CRLF in mingw tool chain
6912 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6916 # Try without a prefix underscore, then with it.
6917 for ac_symprfx in "" "_
"; do
6919 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6920 symxfrm="\\1 $ac_symprfx\\2 \\2"
6922 # Write the raw and C identifiers.
6923 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6924 # Fake it for dumpbin and say T for any non-static function
6925 # and D for any global variable.
6926 # Also find C++ and __fastcall symbols from MSVC++,
6927 # which start with @ or ?.
6928 lt_cv_sys_global_symbol_pipe="$AWK '"\
6929 " {last_section=section; section=\$ 3};"\
6930 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6931 " \$ 0!~/External *\|/{next};"\
6932 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6933 " {if(hide[section]) next};"\
6934 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6935 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6936 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6937 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6938 " ' prfx
=^
$ac_symprfx"
6940 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6943 # Check to see that the pipe works correctly.
6947 cat > conftest.$ac_ext <<_LT_EOF
6952 void nm_test_func(void);
6953 void nm_test_func(void){}
6957 int main(){nm_test_var='a';nm_test_func();return(0);}
6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6961 (eval $ac_compile) 2>&5
6963 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6964 (exit $ac_status); }; then
6965 # Now try to grab the symbols.
6967 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6968 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6970 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6971 (exit $ac_status); } && test -s "$nlist"; then
6972 # Try sorting and uniquifying the output.
6973 if sort "$nlist" | uniq > "$nlist"T; then
6974 mv -f "$nlist"T "$nlist"
6979 # Make sure that we snagged all the symbols we need.
6980 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6981 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6982 cat <<_LT_EOF > conftest.$ac_ext
6988 # Now generate the symbol file.
6989 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6991 cat <<_LT_EOF >> conftest.$ac_ext
6993 /* The mapping between symbol names and symbols. */
6998 lt__PROGRAM__LTX_preloaded_symbols[] =
7000 { "@PROGRAM@
", (void *) 0 },
7002 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7003 cat <<\_LT_EOF >> conftest.$ac_ext
7007 /* This works around a problem in FreeBSD linker */
7008 #ifdef FREEBSD_WORKAROUND
7009 static const void *lt_preloaded_setup() {
7010 return lt__PROGRAM__LTX_preloaded_symbols;
7018 # Now try linking the two files.
7019 mv conftest.$ac_objext conftstm.$ac_objext
7020 lt_save_LIBS="$LIBS"
7021 lt_save_CFLAGS="$CFLAGS"
7022 LIBS="conftstm.
$ac_objext"
7023 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7025 (eval $ac_link) 2>&5
7027 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7028 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7031 LIBS="$lt_save_LIBS"
7032 CFLAGS="$lt_save_CFLAGS"
7034 echo "cannot
find nm_test_func
in $nlist" >&5
7037 echo "cannot
find nm_test_var
in $nlist" >&5
7040 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7043 echo "$progname: failed program was
:" >&5
7044 cat conftest.$ac_ext >&5
7046 rm -rf conftest* conftst*
7048 # Do not use the global_symbol_pipe unless it works.
7049 if test "$pipe_works" = yes; then
7052 lt_cv_sys_global_symbol_pipe=
7058 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7059 lt_cv_sys_global_symbol_to_cdecl=
7061 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7062 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
7063 $as_echo "failed
" >&6; }
7065 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
7066 $as_echo "ok
" >&6; }
7090 # Check whether --enable-libtool-lock was given.
7091 if test "${enable_libtool_lock+set}" = set; then
7092 enableval=$enable_libtool_lock;
7095 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7097 # Some flags need to be propagated to the compiler or linker for good
7101 # Find out which ABI we are using.
7102 echo 'int i;' > conftest.$ac_ext
7103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7104 (eval $ac_compile) 2>&5
7106 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7107 (exit $ac_status); }; then
7108 case `/usr/bin/file conftest.$ac_objext` in
7120 # Find out which ABI we are using.
7121 echo '#line 7121 "configure
"' > conftest.$ac_ext
7122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7123 (eval $ac_compile) 2>&5
7125 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7126 (exit $ac_status); }; then
7127 if test "$lt_cv_prog_gnu_ld" = yes; then
7128 case `/usr/bin/file conftest.$ac_objext` in
7130 LD="${LD-ld} -melf32bsmip"
7133 LD="${LD-ld} -melf32bmipn32"
7136 LD="${LD-ld} -melf64bmip"
7140 case `/usr/bin/file conftest.$ac_objext` in
7156 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7157 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7158 # Find out which ABI we are using.
7159 echo 'int i;' > conftest.$ac_ext
7160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7161 (eval $ac_compile) 2>&5
7163 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7164 (exit $ac_status); }; then
7165 case `/usr/bin/file conftest.o` in
7168 x86_64-*kfreebsd*-gnu)
7169 LD="${LD-ld} -m elf_i386_fbsd
"
7172 LD="${LD-ld} -m elf_i386
"
7174 ppc64-*linux*|powerpc64-*linux*)
7175 LD="${LD-ld} -m elf32ppclinux
"
7178 LD="${LD-ld} -m elf_s390
"
7181 LD="${LD-ld} -m elf32_sparc
"
7187 x86_64-*kfreebsd*-gnu)
7188 LD="${LD-ld} -m elf_x86_64_fbsd
"
7191 LD="${LD-ld} -m elf_x86_64
"
7193 ppc*-*linux*|powerpc*-*linux*)
7194 LD="${LD-ld} -m elf64ppc
"
7196 s390*-*linux*|s390*-*tpf*)
7197 LD="${LD-ld} -m elf64_s390
"
7200 LD="${LD-ld} -m elf64_sparc
"
7210 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7211 SAVE_CFLAGS="$CFLAGS"
7212 CFLAGS="$CFLAGS -belf"
7213 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7214 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7215 if test "${lt_cv_cc_needs_belf+set}" = set; then
7216 $as_echo_n "(cached
) " >&6
7219 ac_cpp='$CPP $CPPFLAGS'
7220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7224 cat >conftest.$ac_ext <<_ACEOF
7227 cat confdefs.h >>conftest.$ac_ext
7228 cat >>conftest.$ac_ext <<_ACEOF
7229 /* end confdefs.h. */
7239 rm -f conftest.$ac_objext conftest$ac_exeext
7240 if { (ac_try="$ac_link"
7242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7243 *) ac_try_echo=$ac_try;;
7245 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7246 $as_echo "$ac_try_echo") >&5
7247 (eval "$ac_link") 2>conftest.er1
7249 grep -v '^ *+' conftest.er1 >conftest.err
7251 cat conftest.err >&5
7252 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7253 (exit $ac_status); } && {
7254 test -z "$ac_c_werror_flag" ||
7255 test ! -s conftest.err
7256 } && test -s conftest$ac_exeext && {
7257 test "$cross_compiling" = yes ||
7258 $as_test_x conftest$ac_exeext
7260 lt_cv_cc_needs_belf=yes
7262 $as_echo "$as_me: failed program was
:" >&5
7263 sed 's/^/| /' conftest.$ac_ext >&5
7265 lt_cv_cc_needs_belf=no
7268 rm -rf conftest.dSYM
7269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7270 conftest$ac_exeext conftest.$ac_ext
7272 ac_cpp='$CPP $CPPFLAGS'
7273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7278 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7279 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7280 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7281 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7282 CFLAGS="$SAVE_CFLAGS"
7286 # Find out which ABI we are using.
7287 echo 'int i;' > conftest.$ac_ext
7288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7289 (eval $ac_compile) 2>&5
7291 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7292 (exit $ac_status); }; then
7293 case `/usr/bin/file conftest.o` in
7295 case $lt_cv_prog_gnu_ld in
7296 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7298 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7310 need_locks="$enable_libtool_lock"
7314 rhapsody* | darwin*)
7315 if test -n "$ac_tool_prefix"; then
7316 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7317 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7318 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7319 $as_echo_n "checking
for $ac_word...
" >&6; }
7320 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7321 $as_echo_n "(cached
) " >&6
7323 if test -n "$DSYMUTIL"; then
7324 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir=.
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7333 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7334 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7343 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7344 if test -n "$DSYMUTIL"; then
7345 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7346 $as_echo "$DSYMUTIL" >&6; }
7348 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7349 $as_echo "no
" >&6; }
7354 if test -z "$ac_cv_prog_DSYMUTIL"; then
7355 ac_ct_DSYMUTIL=$DSYMUTIL
7356 # Extract the first word of "dsymutil
", so it can be a program name with args.
7357 set dummy dsymutil; ac_word=$2
7358 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7359 $as_echo_n "checking
for $ac_word...
" >&6; }
7360 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7361 $as_echo_n "(cached
) " >&6
7363 if test -n "$ac_ct_DSYMUTIL"; then
7364 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7373 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7374 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7383 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7384 if test -n "$ac_ct_DSYMUTIL"; then
7385 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7386 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7388 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7389 $as_echo "no
" >&6; }
7392 if test "x
$ac_ct_DSYMUTIL" = x; then
7395 case $cross_compiling:$ac_tool_warned in
7397 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7398 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7399 ac_tool_warned=yes ;;
7401 DSYMUTIL=$ac_ct_DSYMUTIL
7404 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7407 if test -n "$ac_tool_prefix"; then
7408 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7409 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7410 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7411 $as_echo_n "checking
for $ac_word...
" >&6; }
7412 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7413 $as_echo_n "(cached
) " >&6
7415 if test -n "$NMEDIT"; then
7416 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7426 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7435 NMEDIT=$ac_cv_prog_NMEDIT
7436 if test -n "$NMEDIT"; then
7437 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7438 $as_echo "$NMEDIT" >&6; }
7440 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7441 $as_echo "no
" >&6; }
7446 if test -z "$ac_cv_prog_NMEDIT"; then
7447 ac_ct_NMEDIT=$NMEDIT
7448 # Extract the first word of "nmedit
", so it can be a program name with args.
7449 set dummy nmedit; ac_word=$2
7450 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7451 $as_echo_n "checking
for $ac_word...
" >&6; }
7452 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7453 $as_echo_n "(cached
) " >&6
7455 if test -n "$ac_ct_NMEDIT"; then
7456 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir=.
7463 for ac_exec_ext in '' $ac_executable_extensions; do
7464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7465 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7466 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7475 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7476 if test -n "$ac_ct_NMEDIT"; then
7477 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7478 $as_echo "$ac_ct_NMEDIT" >&6; }
7480 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7481 $as_echo "no
" >&6; }
7484 if test "x
$ac_ct_NMEDIT" = x; then
7487 case $cross_compiling:$ac_tool_warned in
7489 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7490 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7491 ac_tool_warned=yes ;;
7493 NMEDIT=$ac_ct_NMEDIT
7496 NMEDIT="$ac_cv_prog_NMEDIT"
7499 if test -n "$ac_tool_prefix"; then
7500 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7501 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7502 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7503 $as_echo_n "checking
for $ac_word...
" >&6; }
7504 if test "${ac_cv_prog_LIPO+set}" = set; then
7505 $as_echo_n "(cached
) " >&6
7507 if test -n "$LIPO"; then
7508 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 test -z "$as_dir" && as_dir=.
7515 for ac_exec_ext in '' $ac_executable_extensions; do
7516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7518 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7527 LIPO=$ac_cv_prog_LIPO
7528 if test -n "$LIPO"; then
7529 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
7530 $as_echo "$LIPO" >&6; }
7532 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7533 $as_echo "no
" >&6; }
7538 if test -z "$ac_cv_prog_LIPO"; then
7540 # Extract the first word of "lipo
", so it can be a program name with args.
7541 set dummy lipo; ac_word=$2
7542 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7543 $as_echo_n "checking
for $ac_word...
" >&6; }
7544 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7545 $as_echo_n "(cached
) " >&6
7547 if test -n "$ac_ct_LIPO"; then
7548 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 test -z "$as_dir" && as_dir=.
7555 for ac_exec_ext in '' $ac_executable_extensions; do
7556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7557 ac_cv_prog_ac_ct_LIPO="lipo
"
7558 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7567 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7568 if test -n "$ac_ct_LIPO"; then
7569 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7570 $as_echo "$ac_ct_LIPO" >&6; }
7572 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7573 $as_echo "no
" >&6; }
7576 if test "x
$ac_ct_LIPO" = x; then
7579 case $cross_compiling:$ac_tool_warned in
7581 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7582 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7583 ac_tool_warned=yes ;;
7588 LIPO="$ac_cv_prog_LIPO"
7591 if test -n "$ac_tool_prefix"; then
7592 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7593 set dummy ${ac_tool_prefix}otool; ac_word=$2
7594 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7595 $as_echo_n "checking
for $ac_word...
" >&6; }
7596 if test "${ac_cv_prog_OTOOL+set}" = set; then
7597 $as_echo_n "(cached
) " >&6
7599 if test -n "$OTOOL"; then
7600 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606 test -z "$as_dir" && as_dir=.
7607 for ac_exec_ext in '' $ac_executable_extensions; do
7608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7609 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7610 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7619 OTOOL=$ac_cv_prog_OTOOL
7620 if test -n "$OTOOL"; then
7621 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
7622 $as_echo "$OTOOL" >&6; }
7624 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7625 $as_echo "no
" >&6; }
7630 if test -z "$ac_cv_prog_OTOOL"; then
7632 # Extract the first word of "otool
", so it can be a program name with args.
7633 set dummy otool; ac_word=$2
7634 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7635 $as_echo_n "checking
for $ac_word...
" >&6; }
7636 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7637 $as_echo_n "(cached
) " >&6
7639 if test -n "$ac_ct_OTOOL"; then
7640 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir=.
7647 for ac_exec_ext in '' $ac_executable_extensions; do
7648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7649 ac_cv_prog_ac_ct_OTOOL="otool
"
7650 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7659 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7660 if test -n "$ac_ct_OTOOL"; then
7661 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7662 $as_echo "$ac_ct_OTOOL" >&6; }
7664 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7665 $as_echo "no
" >&6; }
7668 if test "x
$ac_ct_OTOOL" = x; then
7671 case $cross_compiling:$ac_tool_warned in
7673 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7674 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7675 ac_tool_warned=yes ;;
7680 OTOOL="$ac_cv_prog_OTOOL"
7683 if test -n "$ac_tool_prefix"; then
7684 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7685 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7686 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7687 $as_echo_n "checking
for $ac_word...
" >&6; }
7688 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7689 $as_echo_n "(cached
) " >&6
7691 if test -n "$OTOOL64"; then
7692 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 test -z "$as_dir" && as_dir=.
7699 for ac_exec_ext in '' $ac_executable_extensions; do
7700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7701 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7702 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7711 OTOOL64=$ac_cv_prog_OTOOL64
7712 if test -n "$OTOOL64"; then
7713 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7714 $as_echo "$OTOOL64" >&6; }
7716 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7717 $as_echo "no
" >&6; }
7722 if test -z "$ac_cv_prog_OTOOL64"; then
7723 ac_ct_OTOOL64=$OTOOL64
7724 # Extract the first word of "otool64
", so it can be a program name with args.
7725 set dummy otool64; ac_word=$2
7726 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7727 $as_echo_n "checking
for $ac_word...
" >&6; }
7728 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7729 $as_echo_n "(cached
) " >&6
7731 if test -n "$ac_ct_OTOOL64"; then
7732 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738 test -z "$as_dir" && as_dir=.
7739 for ac_exec_ext in '' $ac_executable_extensions; do
7740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7741 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7742 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7751 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7752 if test -n "$ac_ct_OTOOL64"; then
7753 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7754 $as_echo "$ac_ct_OTOOL64" >&6; }
7756 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7757 $as_echo "no
" >&6; }
7760 if test "x
$ac_ct_OTOOL64" = x; then
7763 case $cross_compiling:$ac_tool_warned in
7765 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7766 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7767 ac_tool_warned=yes ;;
7769 OTOOL64=$ac_ct_OTOOL64
7772 OTOOL64="$ac_cv_prog_OTOOL64"
7801 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7802 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7803 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7804 $as_echo_n "(cached
) " >&6
7806 lt_cv_apple_cc_single_mod=no
7807 if test -z "${LT_MULTI_MODULE}"; then
7808 # By default we will add the -single_module flag. You can override
7809 # by either setting the environment variable LT_MULTI_MODULE
7810 # non-empty at configure time, or by adding -multi_module to the
7812 rm -rf libconftest.dylib*
7813 echo "int foo
(void
){return 1;}" > conftest.c
7814 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7815 -dynamiclib -Wl,-single_module conftest.c
" >&5
7816 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7817 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7819 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7820 lt_cv_apple_cc_single_mod=yes
7822 cat conftest.err >&5
7824 rm -rf libconftest.dylib*
7828 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7829 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7830 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7831 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7832 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7833 $as_echo_n "(cached
) " >&6
7835 lt_cv_ld_exported_symbols_list=no
7836 save_LDFLAGS=$LDFLAGS
7837 echo "_main
" > conftest.sym
7838 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7839 cat >conftest.$ac_ext <<_ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7854 rm -f conftest.$ac_objext conftest$ac_exeext
7855 if { (ac_try="$ac_link"
7857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7858 *) ac_try_echo=$ac_try;;
7860 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7861 $as_echo "$ac_try_echo") >&5
7862 (eval "$ac_link") 2>conftest.er1
7864 grep -v '^ *+' conftest.er1 >conftest.err
7866 cat conftest.err >&5
7867 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7868 (exit $ac_status); } && {
7869 test -z "$ac_c_werror_flag" ||
7870 test ! -s conftest.err
7871 } && test -s conftest$ac_exeext && {
7872 test "$cross_compiling" = yes ||
7873 $as_test_x conftest$ac_exeext
7875 lt_cv_ld_exported_symbols_list=yes
7877 $as_echo "$as_me: failed program was
:" >&5
7878 sed 's/^/| /' conftest.$ac_ext >&5
7880 lt_cv_ld_exported_symbols_list=no
7883 rm -rf conftest.dSYM
7884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7885 conftest$ac_exeext conftest.$ac_ext
7886 LDFLAGS="$save_LDFLAGS"
7889 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7890 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7892 rhapsody* | darwin1.[012])
7893 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7895 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7896 darwin*) # darwin 5.x on
7897 # if running on 10.5 or later, the deployment target defaults
7898 # to the OS version, if on x86, and 10.4, the deployment
7899 # target defaults to 10.4. Don't you love it?
7900 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7901 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7902 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7904 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7906 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7910 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7911 _lt_dar_single_mod='$single_module'
7913 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7914 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7916 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7918 if test "$DSYMUTIL" != ":"; then
7919 _lt_dsymutil='~$DSYMUTIL $lib || :'
7927 for ac_header in dlfcn.h
7929 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7930 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7931 $as_echo_n "checking
for $ac_header...
" >&6; }
7932 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7933 $as_echo_n "(cached
) " >&6
7935 cat >conftest.$ac_ext <<_ACEOF
7938 cat confdefs.h >>conftest.$ac_ext
7939 cat >>conftest.$ac_ext <<_ACEOF
7940 /* end confdefs.h. */
7941 $ac_includes_default
7943 #include <$ac_header>
7945 rm -f conftest.$ac_objext
7946 if { (ac_try="$ac_compile"
7948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7949 *) ac_try_echo=$ac_try;;
7951 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7952 $as_echo "$ac_try_echo") >&5
7953 (eval "$ac_compile") 2>conftest.er1
7955 grep -v '^ *+' conftest.er1 >conftest.err
7957 cat conftest.err >&5
7958 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7959 (exit $ac_status); } && {
7960 test -z "$ac_c_werror_flag" ||
7961 test ! -s conftest.err
7962 } && test -s conftest.$ac_objext; then
7963 eval "$as_ac_Header=yes"
7965 $as_echo "$as_me: failed program was
:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7968 eval "$as_ac_Header=no
"
7971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7973 ac_res=`eval 'as_val=${'$as_ac_Header'}
7974 $as_echo "$as_val"'`
7975 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7976 $as_echo "$ac_res" >&6; }
7977 as_val=`eval 'as_val=${'$as_ac_Header'}
7978 $as_echo "$as_val"'`
7979 if test "x
$as_val" = x""yes; then
7980 cat >>confdefs.h <<_ACEOF
7981 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8000 # Check whether --enable-shared was given.
8001 if test "${enable_shared+set}" = set; then
8002 enableval=$enable_shared; p=${PACKAGE-default}
8004 yes) enable_shared=yes ;;
8005 no) enable_shared=no ;;
8008 # Look at the argument we got. We use all the common list separators.
8009 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8010 for pkg in $enableval; do
8012 if test "X
$pkg" = "X
$p"; then
8031 # Check whether --enable-static was given.
8032 if test "${enable_static+set}" = set; then
8033 enableval=$enable_static; p=${PACKAGE-default}
8035 yes) enable_static=yes ;;
8036 no) enable_static=no ;;
8039 # Look at the argument we got. We use all the common list separators.
8040 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8041 for pkg in $enableval; do
8043 if test "X
$pkg" = "X
$p"; then
8063 # Check whether --with-pic was given.
8064 if test "${with_pic+set}" = set; then
8065 withval=$with_pic; pic_mode="$withval"
8071 test -z "$pic_mode" && pic_mode=default
8079 # Check whether --enable-fast-install was given.
8080 if test "${enable_fast_install+set}" = set; then
8081 enableval=$enable_fast_install; p=${PACKAGE-default}
8083 yes) enable_fast_install=yes ;;
8084 no) enable_fast_install=no ;;
8086 enable_fast_install=no
8087 # Look at the argument we got. We use all the common list separators.
8088 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8089 for pkg in $enableval; do
8091 if test "X
$pkg" = "X
$p"; then
8092 enable_fast_install=yes
8099 enable_fast_install=yes
8112 # This can be used to rebuild libtool when needed
8113 LIBTOOL_DEPS="$ltmain"
8115 # Always use our own libtool.
8116 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142 test -z "$LN_S" && LN_S="ln -s"
8157 if test -n "${ZSH_VERSION+set}" ; then
8158 setopt NO_GLOB_SUBST
8161 { $as_echo "$as_me:$LINENO: checking
for objdir
" >&5
8162 $as_echo_n "checking
for objdir...
" >&6; }
8163 if test "${lt_cv_objdir+set}" = set; then
8164 $as_echo_n "(cached
) " >&6
8166 rm -f .libs 2>/dev/null
8167 mkdir .libs 2>/dev/null
8168 if test -d .libs; then
8171 # MS-DOS does not allow filenames that begin with a dot.
8174 rmdir .libs 2>/dev/null
8176 { $as_echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
8177 $as_echo "$lt_cv_objdir" >&6; }
8178 objdir=$lt_cv_objdir
8184 cat >>confdefs.h <<_ACEOF
8185 #define LT_OBJDIR "$lt_cv_objdir/"
8206 # AIX sometimes has problems with the GCC collect2 program. For some
8207 # reason, if we set the COLLECT_NAMES environment variable, the problems
8208 # vanish in a puff of smoke.
8209 if test "X
${COLLECT_NAMES+set}" != Xset; then
8211 export COLLECT_NAMES
8216 # Sed substitution that helps us do robust quoting. It backslashifies
8217 # metacharacters that are still active within double-quoted strings.
8218 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8220 # Same as above, but do not quote variable references.
8221 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
8223 # Sed substitution to delay expansion of an escaped shell variable in a
8224 # double_quote_subst'ed string.
8225 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8227 # Sed substitution to delay expansion of an escaped single quote.
8228 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8230 # Sed substitution to avoid accidental globbing in evaled expressions
8231 no_glob_subst
='s/\*/\\\*/g'
8235 can_build_shared
=yes
8237 # All known linkers require a `.a' archive for static linking (except MSVC,
8238 # which needs '.lib').
8241 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8244 old_CFLAGS
="$CFLAGS"
8246 # Set sane defaults for various variables
8247 test -z "$CC" && CC
=cc
8248 test -z "$LTCC" && LTCC
=$CC
8249 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8250 test -z "$LD" && LD
=ld
8251 test -z "$ac_objext" && ac_objext
=o
8253 for cc_temp
in $compiler""; do
8255 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8256 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8261 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8264 # Only perform the check for file, if the check method requires it
8265 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8266 case $deplibs_check_method in
8268 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8269 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8270 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8271 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8272 $as_echo_n "(cached) " >&6
8276 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8279 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8280 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8281 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8282 for ac_dir
in $ac_dummy; do
8284 test -z "$ac_dir" && ac_dir
=.
8285 if test -f $ac_dir/${ac_tool_prefix}file; then
8286 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8287 if test -n "$file_magic_test_file"; then
8288 case $deplibs_check_method in
8290 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8291 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8292 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8293 $EGREP "$file_magic_regex" > /dev
/null
; then
8298 *** Warning: the command libtool uses to detect shared libraries,
8299 *** $file_magic_cmd, produces output that libtool cannot recognize.
8300 *** The result is that libtool may fail to recognize shared libraries
8301 *** as such. This will affect the creation of libtool libraries that
8302 *** depend on shared libraries, but programs linked with such libtool
8303 *** libraries will work regardless of this problem. Nevertheless, you
8304 *** may want to report the problem to your system manager and/or to
8305 *** bug-libtool@gnu.org
8315 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8320 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8321 if test -n "$MAGIC_CMD"; then
8322 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8323 $as_echo "$MAGIC_CMD" >&6; }
8325 { $as_echo "$as_me:$LINENO: result: no" >&5
8326 $as_echo "no" >&6; }
8333 if test -z "$lt_cv_path_MAGIC_CMD"; then
8334 if test -n "$ac_tool_prefix"; then
8335 { $as_echo "$as_me:$LINENO: checking for file" >&5
8336 $as_echo_n "checking for file... " >&6; }
8337 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8338 $as_echo_n "(cached) " >&6
8342 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8345 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8346 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8347 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8348 for ac_dir
in $ac_dummy; do
8350 test -z "$ac_dir" && ac_dir
=.
8351 if test -f $ac_dir/file; then
8352 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8353 if test -n "$file_magic_test_file"; then
8354 case $deplibs_check_method in
8356 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8357 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8358 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8359 $EGREP "$file_magic_regex" > /dev
/null
; then
8364 *** Warning: the command libtool uses to detect shared libraries,
8365 *** $file_magic_cmd, produces output that libtool cannot recognize.
8366 *** The result is that libtool may fail to recognize shared libraries
8367 *** as such. This will affect the creation of libtool libraries that
8368 *** depend on shared libraries, but programs linked with such libtool
8369 *** libraries will work regardless of this problem. Nevertheless, you
8370 *** may want to report the problem to your system manager and/or to
8371 *** bug-libtool@gnu.org
8381 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8386 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8387 if test -n "$MAGIC_CMD"; then
8388 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8389 $as_echo "$MAGIC_CMD" >&6; }
8391 { $as_echo "$as_me:$LINENO: result: no" >&5
8392 $as_echo "no" >&6; }
8405 # Use C for the default configuration in the libtool script
8409 ac_cpp
='$CPP $CPPFLAGS'
8410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8415 # Source file extension for C test sources.
8418 # Object file extension for compiled C test sources.
8422 # Code to be used in simple compile tests
8423 lt_simple_compile_test_code
="int some_variable = 0;"
8425 # Code to be used in simple link tests
8426 lt_simple_link_test_code
='int main(){return(0);}'
8434 # If no C compiler was specified, use CC.
8437 # If no C compiler flags were specified, use CFLAGS.
8438 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8440 # Allow CC to be a program name with arguments.
8443 # Save the default compiler, since it gets overwritten when the other
8444 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8445 compiler_DEFAULT
=$CC
8447 # save warnings/boilerplate of simple test code
8448 ac_outfile
=conftest.
$ac_objext
8449 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8450 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8451 _lt_compiler_boilerplate
=`cat conftest.err`
8454 ac_outfile
=conftest.
$ac_objext
8455 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8456 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8457 _lt_linker_boilerplate
=`cat conftest.err`
8461 if test -n "$compiler"; then
8463 lt_prog_compiler_no_builtin_flag
=
8465 if test "$GCC" = yes; then
8466 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8468 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8469 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8470 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8471 $as_echo_n "(cached) " >&6
8473 lt_cv_prog_compiler_rtti_exceptions
=no
8474 ac_outfile
=conftest.
$ac_objext
8475 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8476 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8477 # Insert the option either (1) after the last *FLAGS variable, or
8478 # (2) before a word containing "conftest.", or (3) at the end.
8479 # Note that $ac_compile itself does not contain backslashes and begins
8480 # with a dollar sign (not a hyphen), so the echo should work correctly.
8481 # The option is referenced via a variable to avoid confusing sed.
8482 lt_compile
=`echo "$ac_compile" | $SED \
8483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8485 -e 's:$: $lt_compiler_flag:'`
8486 (eval echo "\"\$as_me:8486: $lt_compile\"" >&5)
8487 (eval "$lt_compile" 2>conftest.err
)
8489 cat conftest.err
>&5
8490 echo "$as_me:8490: \$? = $ac_status" >&5
8491 if (exit $ac_status) && test -s "$ac_outfile"; then
8492 # The compiler can only warn and ignore the option if not recognized
8493 # So say no if there are warnings other than the usual output.
8494 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8495 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8496 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8497 lt_cv_prog_compiler_rtti_exceptions
=yes
8503 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8504 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8506 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8507 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8519 lt_prog_compiler_wl
=
8520 lt_prog_compiler_pic
=
8521 lt_prog_compiler_static
=
8523 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8524 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8526 if test "$GCC" = yes; then
8527 lt_prog_compiler_wl
='-Wl,'
8528 lt_prog_compiler_static
='-static'
8532 # All AIX code is PIC.
8533 if test "$host_cpu" = ia64
; then
8534 # AIX 5 now supports IA64 processor
8535 lt_prog_compiler_static
='-Bstatic'
8542 # see comment about AmigaOS4 .so support
8543 lt_prog_compiler_pic
='-fPIC'
8546 # FIXME: we need at least 68020 code to build shared libraries, but
8547 # adding the `-m68020' flag to GCC prevents building anything better,
8549 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8554 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8555 # PIC is the default for these OSes.
8558 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8559 # This hack is so that the source file can tell whether it is being
8560 # built for inclusion in a dll (and should export symbols for example).
8561 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8562 # (--disable-auto-import) libraries
8563 lt_prog_compiler_pic
='-DDLL_EXPORT'
8566 darwin
* | rhapsody
*)
8567 # PIC is the default on this platform
8568 # Common symbols not allowed in MH_DYLIB files
8569 lt_prog_compiler_pic
='-fno-common'
8573 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8574 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8575 # sets the default TLS model and affects inlining.
8581 lt_prog_compiler_pic
='-fPIC'
8587 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8588 # Instead, we relocate shared libraries at runtime.
8592 # Just because we use GCC doesn't mean we suddenly get shared libraries
8593 # on systems that don't support them.
8594 lt_prog_compiler_can_build_shared
=no
8599 # QNX uses GNU C++, but need to define -shared option too, otherwise
8601 lt_prog_compiler_pic
='-fPIC -shared'
8605 if test -d /usr
/nec
; then
8606 lt_prog_compiler_pic
=-Kconform_pic
8611 lt_prog_compiler_pic
='-fPIC'
8615 # PORTME Check for flag to pass linker flags through the system compiler.
8618 lt_prog_compiler_wl
='-Wl,'
8619 if test "$host_cpu" = ia64
; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static
='-Bstatic'
8623 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8627 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8628 # This hack is so that the source file can tell whether it is being
8629 # built for inclusion in a dll (and should export symbols for example).
8630 lt_prog_compiler_pic
='-DDLL_EXPORT'
8633 hpux9
* | hpux10
* | hpux11
*)
8634 lt_prog_compiler_wl
='-Wl,'
8635 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8642 lt_prog_compiler_pic
='+Z'
8645 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8646 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8649 irix5
* | irix6
* | nonstopux
*)
8650 lt_prog_compiler_wl
='-Wl,'
8651 # PIC (with -KPIC) is the default.
8652 lt_prog_compiler_static
='-non_shared'
8655 linux
* | k
*bsd
*-gnu)
8656 case $cc_basename in
8657 # old Intel for x86_64 which still supported -KPIC.
8659 lt_prog_compiler_wl
='-Wl,'
8660 lt_prog_compiler_pic
='-KPIC'
8661 lt_prog_compiler_static
='-static'
8663 # icc used to be incompatible with GCC.
8664 # ICC 10 doesn't accept -KPIC any more.
8666 lt_prog_compiler_wl
='-Wl,'
8667 lt_prog_compiler_pic
='-fPIC'
8668 lt_prog_compiler_static
='-static'
8670 # Lahey Fortran 8.1.
8672 lt_prog_compiler_wl
='-Wl,'
8673 lt_prog_compiler_pic
='--shared'
8674 lt_prog_compiler_static
='--static'
8676 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8677 # Portland Group compilers (*not* the Pentium gcc compiler,
8678 # which looks to be a dead project)
8679 lt_prog_compiler_wl
='-Wl,'
8680 lt_prog_compiler_pic
='-fpic'
8681 lt_prog_compiler_static
='-Bstatic'
8684 lt_prog_compiler_wl
='-Wl,'
8685 # All Alpha code is PIC.
8686 lt_prog_compiler_static
='-non_shared'
8689 # IBM XL C 8.0/Fortran 10.1 on PPC
8690 lt_prog_compiler_wl
='-Wl,'
8691 lt_prog_compiler_pic
='-qpic'
8692 lt_prog_compiler_static
='-qstaticlink'
8695 case `$CC -V 2>&1 | sed 5q` in
8698 lt_prog_compiler_pic
='-KPIC'
8699 lt_prog_compiler_static
='-Bstatic'
8700 lt_prog_compiler_wl
='-Wl,'
8703 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8704 lt_prog_compiler_pic
='-KPIC'
8705 lt_prog_compiler_static
='-Bstatic'
8706 lt_prog_compiler_wl
=''
8714 lt_prog_compiler_pic
='-KPIC'
8715 lt_prog_compiler_static
='-Bstatic'
8719 # QNX uses GNU C++, but need to define -shared option too, otherwise
8721 lt_prog_compiler_pic
='-fPIC -shared'
8724 osf3
* | osf4
* | osf5
*)
8725 lt_prog_compiler_wl
='-Wl,'
8726 # All OSF/1 code is PIC.
8727 lt_prog_compiler_static
='-non_shared'
8731 lt_prog_compiler_static
='-non_shared'
8735 lt_prog_compiler_pic
='-KPIC'
8736 lt_prog_compiler_static
='-Bstatic'
8737 case $cc_basename in
8739 lt_prog_compiler_wl
='-Qoption ld ';;
8741 lt_prog_compiler_wl
='-Wl,';;
8746 lt_prog_compiler_wl
='-Qoption ld '
8747 lt_prog_compiler_pic
='-PIC'
8748 lt_prog_compiler_static
='-Bstatic'
8751 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8752 lt_prog_compiler_wl
='-Wl,'
8753 lt_prog_compiler_pic
='-KPIC'
8754 lt_prog_compiler_static
='-Bstatic'
8758 if test -d /usr
/nec
;then
8759 lt_prog_compiler_pic
='-Kconform_pic'
8760 lt_prog_compiler_static
='-Bstatic'
8764 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8765 lt_prog_compiler_wl
='-Wl,'
8766 lt_prog_compiler_pic
='-KPIC'
8767 lt_prog_compiler_static
='-Bstatic'
8771 lt_prog_compiler_wl
='-Wl,'
8772 lt_prog_compiler_can_build_shared
=no
8776 lt_prog_compiler_pic
='-pic'
8777 lt_prog_compiler_static
='-Bstatic'
8781 lt_prog_compiler_can_build_shared
=no
8787 # For platforms which do not support PIC, -DPIC is meaningless:
8789 lt_prog_compiler_pic
=
8792 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8795 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8796 $as_echo "$lt_prog_compiler_pic" >&6; }
8804 # Check to make sure the PIC flag actually works.
8806 if test -n "$lt_prog_compiler_pic"; then
8807 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8808 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8809 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8810 $as_echo_n "(cached) " >&6
8812 lt_cv_prog_compiler_pic_works
=no
8813 ac_outfile
=conftest.
$ac_objext
8814 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8815 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8816 # Insert the option either (1) after the last *FLAGS variable, or
8817 # (2) before a word containing "conftest.", or (3) at the end.
8818 # Note that $ac_compile itself does not contain backslashes and begins
8819 # with a dollar sign (not a hyphen), so the echo should work correctly.
8820 # The option is referenced via a variable to avoid confusing sed.
8821 lt_compile
=`echo "$ac_compile" | $SED \
8822 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8824 -e 's:$: $lt_compiler_flag:'`
8825 (eval echo "\"\$as_me:8825: $lt_compile\"" >&5)
8826 (eval "$lt_compile" 2>conftest.err
)
8828 cat conftest.err
>&5
8829 echo "$as_me:8829: \$? = $ac_status" >&5
8830 if (exit $ac_status) && test -s "$ac_outfile"; then
8831 # The compiler can only warn and ignore the option if not recognized
8832 # So say no if there are warnings other than the usual output.
8833 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8834 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8835 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8836 lt_cv_prog_compiler_pic_works
=yes
8842 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8843 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8845 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8846 case $lt_prog_compiler_pic in
8848 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8851 lt_prog_compiler_pic
=
8852 lt_prog_compiler_can_build_shared
=no
8863 # Check to make sure the static flag actually works.
8865 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8866 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8867 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8868 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8869 $as_echo_n "(cached) " >&6
8871 lt_cv_prog_compiler_static_works
=no
8872 save_LDFLAGS
="$LDFLAGS"
8873 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8874 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8875 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8876 # The linker can only warn and ignore the option if not recognized
8877 # So say no if there are warnings
8878 if test -s conftest.err
; then
8879 # Append any errors to the config.log.
8880 cat conftest.err
1>&5
8881 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8882 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8883 if diff conftest.exp conftest.er2
>/dev
/null
; then
8884 lt_cv_prog_compiler_static_works
=yes
8887 lt_cv_prog_compiler_static_works
=yes
8891 LDFLAGS
="$save_LDFLAGS"
8894 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8895 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8897 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8900 lt_prog_compiler_static
=
8909 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8910 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8911 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8912 $as_echo_n "(cached) " >&6
8914 lt_cv_prog_compiler_c_o
=no
8915 $RM -r conftest
2>/dev
/null
8919 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8921 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8922 # Insert the option either (1) after the last *FLAGS variable, or
8923 # (2) before a word containing "conftest.", or (3) at the end.
8924 # Note that $ac_compile itself does not contain backslashes and begins
8925 # with a dollar sign (not a hyphen), so the echo should work correctly.
8926 lt_compile
=`echo "$ac_compile" | $SED \
8927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8929 -e 's:$: $lt_compiler_flag:'`
8930 (eval echo "\"\$as_me:8930: $lt_compile\"" >&5)
8931 (eval "$lt_compile" 2>out
/conftest.err
)
8933 cat out
/conftest.err
>&5
8934 echo "$as_me:8934: \$? = $ac_status" >&5
8935 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8937 # The compiler can only warn and ignore the option if not recognized
8938 # So say no if there are warnings
8939 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8940 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8941 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8942 lt_cv_prog_compiler_c_o
=yes
8947 # SGI C++ compiler will create directory out/ii_files/ for
8948 # template instantiation
8949 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8950 $RM out
/* && rmdir out
8956 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8957 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8964 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8965 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8966 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8967 $as_echo_n "(cached) " >&6
8969 lt_cv_prog_compiler_c_o
=no
8970 $RM -r conftest
2>/dev
/null
8974 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8976 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8977 # Insert the option either (1) after the last *FLAGS variable, or
8978 # (2) before a word containing "conftest.", or (3) at the end.
8979 # Note that $ac_compile itself does not contain backslashes and begins
8980 # with a dollar sign (not a hyphen), so the echo should work correctly.
8981 lt_compile
=`echo "$ac_compile" | $SED \
8982 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8984 -e 's:$: $lt_compiler_flag:'`
8985 (eval echo "\"\$as_me:8985: $lt_compile\"" >&5)
8986 (eval "$lt_compile" 2>out
/conftest.err
)
8988 cat out
/conftest.err
>&5
8989 echo "$as_me:8989: \$? = $ac_status" >&5
8990 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8992 # The compiler can only warn and ignore the option if not recognized
8993 # So say no if there are warnings
8994 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8995 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8996 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8997 lt_cv_prog_compiler_c_o
=yes
9002 # SGI C++ compiler will create directory out/ii_files/ for
9003 # template instantiation
9004 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9005 $RM out
/* && rmdir out
9011 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9012 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9017 hard_links
="nottested"
9018 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9019 # do not overwrite the value of need_locks provided by the user
9020 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9021 $as_echo_n "checking if we can lock with hard links... " >&6; }
9024 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9026 ln conftest.a conftest.b
2>&5 || hard_links
=no
9027 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9028 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9029 $as_echo "$hard_links" >&6; }
9030 if test "$hard_links" = no
; then
9031 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9032 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9044 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9045 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9048 allow_undefined_flag
=
9049 always_export_symbols
=no
9051 archive_expsym_cmds
=
9052 compiler_needs_object
=no
9053 enable_shared_with_static_runtimes
=no
9054 export_dynamic_flag_spec
=
9055 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9056 hardcode_automatic
=no
9058 hardcode_direct_absolute
=no
9059 hardcode_libdir_flag_spec
=
9060 hardcode_libdir_flag_spec_ld
=
9061 hardcode_libdir_separator
=
9063 hardcode_shlibpath_var
=unsupported
9065 link_all_deplibs
=unknown
9068 old_archive_from_new_cmds
=
9069 old_archive_from_expsyms_cmds
=
9070 thread_safe_flag_spec
=
9071 whole_archive_flag_spec
=
9072 # include_expsyms should be a list of space-separated symbols to be *always*
9073 # included in the symbol list
9075 # exclude_expsyms can be an extended regexp of symbols to exclude
9076 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9077 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9078 # as well as any symbol that contains `d'.
9079 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9080 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9081 # platforms (ab)use it in PIC code, but their linkers get confused if
9082 # the symbol is explicitly referenced. Since portable code cannot
9083 # rely on this symbol name, it's probably fine to never include it in
9084 # preloaded symbol tables.
9085 # Exclude shared library initialization/finalization symbols.
9086 extract_expsyms_cmds
=
9089 cygwin
* | mingw
* | pw32
* | cegcc
*)
9090 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9091 # When not using gcc, we currently assume that we are using
9092 # Microsoft Visual C++.
9093 if test "$GCC" != yes; then
9098 # we just hope/assume this is gcc and not c89 (= MSVC++)
9107 if test "$with_gnu_ld" = yes; then
9108 # If archive_cmds runs LD, not CC, wlarc should be empty
9111 # Set some defaults for GNU ld with shared library support. These
9112 # are reset later if shared libraries are not supported. Putting them
9113 # here allows them to be overridden if necessary.
9114 runpath_var
=LD_RUN_PATH
9115 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9116 export_dynamic_flag_spec
='${wl}--export-dynamic'
9117 # ancient GNU ld didn't support --whole-archive et. al.
9118 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9119 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9121 whole_archive_flag_spec
=
9123 supports_anon_versioning
=no
9124 case `$LD -v 2>&1` in
9125 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9126 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9127 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9128 *\
2.11.
*) ;; # other 2.11 versions
9129 *) supports_anon_versioning
=yes ;;
9132 # See if GNU ld supports shared libraries.
9135 # On AIX/PPC, the GNU linker is very broken
9136 if test "$host_cpu" != ia64
; then
9140 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9141 *** to be unable to reliably create shared libraries on AIX.
9142 *** Therefore, libtool is disabling shared libraries support. If you
9143 *** really care for shared libraries, you may want to modify your PATH
9144 *** so that a non-GNU linker is found, and then restart.
9153 # see comment about AmigaOS4 .so support
9154 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155 archive_expsym_cmds
=''
9158 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)'
9159 hardcode_libdir_flag_spec
='-L$libdir'
9160 hardcode_minus_L
=yes
9166 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9167 allow_undefined_flag
=unsupported
9168 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9169 # support --undefined. This deserves some investigation. FIXME
9170 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9176 cygwin
* | mingw
* | pw32
* | cegcc
*)
9177 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9178 # as there is no search path for DLLs.
9179 hardcode_libdir_flag_spec
='-L$libdir'
9180 allow_undefined_flag
=unsupported
9181 always_export_symbols
=no
9182 enable_shared_with_static_runtimes
=yes
9183 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9185 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9186 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9187 # If the export-symbols file already is a .def file (1st line
9188 # is EXPORTS), use it as is; otherwise, prepend...
9189 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9190 cp $export_symbols $output_objdir/$soname.def;
9192 echo EXPORTS > $output_objdir/$soname.def;
9193 cat $export_symbols >> $output_objdir/$soname.def;
9195 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9203 hardcode_shlibpath_var
=no
9204 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9205 export_dynamic_flag_spec
='${wl}-E'
9206 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9207 # Instead, shared libraries are loaded at an image base (0x10000000 by
9208 # default) and relocated if they conflict, which is a slow very memory
9209 # consuming and fragmenting process. To avoid this, we pick a random,
9210 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9211 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9212 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9213 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'
9216 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9218 if test "$host_os" = linux-dietlibc
; then
9219 case $cc_basename in
9220 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9223 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9224 && test "$tmp_diet" = no
9227 tmp_sharedflag
='-shared'
9228 case $cc_basename,$host_cpu in
9229 pgcc
*) # Portland Group C compiler
9230 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'
9231 tmp_addflag
=' $pic_flag'
9233 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9234 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'
9235 tmp_addflag
=' $pic_flag -Mnomain' ;;
9236 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9237 tmp_addflag
=' -i_dynamic' ;;
9238 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9239 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9240 ifc
* | ifort
*) # Intel Fortran compiler
9241 tmp_addflag
=' -nofor_main' ;;
9242 lf95
*) # Lahey Fortran 8.1
9243 whole_archive_flag_spec
=
9244 tmp_sharedflag
='--shared' ;;
9245 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9246 tmp_sharedflag
='-qmkshrobj'
9249 case `$CC -V 2>&1 | sed 5q` in
9250 *Sun\ C
*) # Sun C 5.9
9251 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'
9252 compiler_needs_object
=yes
9253 tmp_sharedflag
='-G' ;;
9254 *Sun\ F
*) # Sun Fortran 8.3
9255 tmp_sharedflag
='-G' ;;
9257 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9259 if test "x$supports_anon_versioning" = xyes
; then
9260 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9261 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9262 echo "local: *; };" >> $output_objdir/$libname.ver~
9263 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9266 case $cc_basename in
9268 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9269 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9270 hardcode_libdir_flag_spec
=
9271 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9272 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9273 if test "x$supports_anon_versioning" = xyes
; then
9274 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9275 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9276 echo "local: *; };" >> $output_objdir/$libname.ver~
9277 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9287 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9288 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9291 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9297 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9301 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9302 *** create shared libraries on Solaris systems. Therefore, libtool
9303 *** is disabling shared libraries support. We urge you to upgrade GNU
9304 *** binutils to release 2.9.1 or newer. Another option is to modify
9305 *** your PATH or compiler configuration so that the native linker is
9306 *** used, and then restart.
9309 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9310 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9317 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9318 case `$LD -v 2>&1` in
9319 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9323 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9324 *** reliably create shared libraries on SCO systems. Therefore, libtool
9325 *** is disabling shared libraries support. We urge you to upgrade GNU
9326 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9327 *** your PATH or compiler configuration so that the native linker is
9328 *** used, and then restart.
9333 # For security reasons, it is highly recommended that you always
9334 # use absolute paths for naming shared libraries, and exclude the
9335 # DT_RUNPATH tag from executables and libraries. But doing so
9336 # requires that you compile everything twice, which is a pain.
9337 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9338 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9339 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9349 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9352 hardcode_shlibpath_var
=no
9356 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9357 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9358 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9365 if test "$ld_shlibs" = no
; then
9367 hardcode_libdir_flag_spec
=
9368 export_dynamic_flag_spec
=
9369 whole_archive_flag_spec
=
9372 # PORTME fill in a description of your system's linker (not GNU ld)
9375 allow_undefined_flag
=unsupported
9376 always_export_symbols
=yes
9377 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'
9378 # Note: this linker hardcodes the directories in LIBPATH if there
9379 # are no directories specified by -L.
9380 hardcode_minus_L
=yes
9381 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9382 # Neither direct hardcoding nor static linking is supported with a
9384 hardcode_direct
=unsupported
9389 if test "$host_cpu" = ia64
; then
9390 # On IA64, the linker does run time linking by default, so we don't
9391 # have to do anything special.
9392 aix_use_runtimelinking
=no
9393 exp_sym_flag
='-Bexport'
9396 # If we're using GNU nm, then we don't want the "-C" option.
9397 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9398 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9399 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'
9401 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'
9403 aix_use_runtimelinking
=no
9405 # Test if we are trying to use run time linking or normal
9406 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9407 # need to do runtime linking.
9408 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9409 for ld_flag
in $LDFLAGS; do
9410 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9411 aix_use_runtimelinking
=yes
9418 exp_sym_flag
='-bexport'
9419 no_entry_flag
='-bnoentry'
9422 # When large executables or shared objects are built, AIX ld can
9423 # have problems creating the table of contents. If linking a library
9424 # or program results in "error TOC overflow" add -mminimal-toc to
9425 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9426 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9430 hardcode_direct_absolute
=yes
9431 hardcode_libdir_separator
=':'
9432 link_all_deplibs
=yes
9433 file_list_spec
='${wl}-f,'
9435 if test "$GCC" = yes; then
9436 case $host_os in aix4.
[012]|aix4.
[012].
*)
9437 # We only want to do this on AIX 4.2 and lower, the check
9438 # below for broken collect2 doesn't work under 4.3+
9439 collect2name
=`${CC} -print-prog-name=collect2`
9440 if test -f "$collect2name" &&
9441 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9443 # We have reworked collect2
9446 # We have old collect2
9447 hardcode_direct
=unsupported
9448 # It fails to find uninstalled libraries when the uninstalled
9449 # path is not listed in the libpath. Setting hardcode_minus_L
9450 # to unsupported forces relinking
9451 hardcode_minus_L
=yes
9452 hardcode_libdir_flag_spec
='-L$libdir'
9453 hardcode_libdir_separator
=
9457 shared_flag
='-shared'
9458 if test "$aix_use_runtimelinking" = yes; then
9459 shared_flag
="$shared_flag "'${wl}-G'
9463 if test "$host_cpu" = ia64
; then
9464 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9465 # chokes on -Wl,-G. The following line is correct:
9468 if test "$aix_use_runtimelinking" = yes; then
9469 shared_flag
='${wl}-G'
9471 shared_flag
='${wl}-bM:SRE'
9476 export_dynamic_flag_spec
='${wl}-bexpall'
9477 # It seems that -bexpall does not export symbols beginning with
9478 # underscore (_), so it is better to generate a list of symbols to export.
9479 always_export_symbols
=yes
9480 if test "$aix_use_runtimelinking" = yes; then
9481 # Warning - without using the other runtime loading flags (-brtl),
9482 # -berok will link without error, but may produce a broken library.
9483 allow_undefined_flag
='-berok'
9484 # Determine the default libpath from the value encoded in an
9486 cat >conftest.
$ac_ext <<_ACEOF
9489 cat confdefs.h
>>conftest.
$ac_ext
9490 cat >>conftest.
$ac_ext <<_ACEOF
9491 /* end confdefs.h. */
9501 rm -f conftest.
$ac_objext conftest
$ac_exeext
9502 if { (ac_try
="$ac_link"
9504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9505 *) ac_try_echo=$ac_try;;
9507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9508 $as_echo "$ac_try_echo") >&5
9509 (eval "$ac_link") 2>conftest.er1
9511 grep -v '^ *+' conftest.er1 >conftest.err
9513 cat conftest.err >&5
9514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); } && {
9516 test -z "$ac_c_werror_flag" ||
9517 test ! -s conftest.err
9518 } && test -s conftest$ac_exeext && {
9519 test "$cross_compiling" = yes ||
9520 $as_test_x conftest$ac_exeext
9523 lt_aix_libpath_sed='
9524 /Import File Strings/,/^$/ {
9530 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9531 # Check for a 64-bit object if we didn't find anything.
9532 if test -z "$aix_libpath"; then
9533 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9536 $as_echo "$as_me: failed program was:" >&5
9537 sed 's/^/| /' conftest.$ac_ext >&5
9542 rm -rf conftest.dSYM
9543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9544 conftest$ac_exeext conftest.$ac_ext
9545 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9547 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9548 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"
9550 if test "$host_cpu" = ia64; then
9551 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9552 allow_undefined_flag="-z nodefs"
9553 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"
9555 # Determine the default libpath from the value encoded in an
9557 cat >conftest.$ac_ext <<_ACEOF
9560 cat confdefs.h >>conftest.$ac_ext
9561 cat >>conftest.$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9572 rm -f conftest.$ac_objext conftest$ac_exeext
9573 if { (ac_try="$ac_link"
9575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9576 *) ac_try_echo
=$ac_try;;
9578 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9579 $as_echo "$ac_try_echo") >&5
9580 (eval "$ac_link") 2>conftest.er1
9582 grep -v '^ *+' conftest.er1
>conftest.err
9584 cat conftest.err
>&5
9585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); } && {
9587 test -z "$ac_c_werror_flag" ||
9588 test ! -s conftest.err
9589 } && test -s conftest
$ac_exeext && {
9590 test "$cross_compiling" = yes ||
9591 $as_test_x conftest
$ac_exeext
9594 lt_aix_libpath_sed
='
9595 /Import File Strings/,/^$/ {
9601 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602 # Check for a 64-bit object if we didn't find anything.
9603 if test -z "$aix_libpath"; then
9604 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9607 $as_echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.
$ac_ext >&5
9613 rm -rf conftest.dSYM
9614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9615 conftest
$ac_exeext conftest.
$ac_ext
9616 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9618 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9619 # Warning - without using the other run time loading flags,
9620 # -berok will link without error, but may produce a broken library.
9621 no_undefined_flag
=' ${wl}-bernotok'
9622 allow_undefined_flag
=' ${wl}-berok'
9623 # Exported symbols can be pulled into shared objects from archives
9624 whole_archive_flag_spec
='$convenience'
9625 archive_cmds_need_lc
=yes
9626 # This is similar to how AIX traditionally builds its shared libraries.
9627 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'
9635 # see comment about AmigaOS4 .so support
9636 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9637 archive_expsym_cmds
=''
9640 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)'
9641 hardcode_libdir_flag_spec
='-L$libdir'
9642 hardcode_minus_L
=yes
9648 export_dynamic_flag_spec
=-rdynamic
9651 cygwin
* | mingw
* | pw32
* | cegcc
*)
9652 # When not using gcc, we currently assume that we are using
9653 # Microsoft Visual C++.
9654 # hardcode_libdir_flag_spec is actually meaningless, as there is
9655 # no search path for DLLs.
9656 hardcode_libdir_flag_spec
=' '
9657 allow_undefined_flag
=unsupported
9658 # Tell ltmain to make .lib files, not .a files.
9660 # Tell ltmain to make .dll files, not .so files.
9662 # FIXME: Setting linknames here is a bad hack.
9663 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9664 # The linker will automatically build a .lib file if we build a DLL.
9665 old_archive_from_new_cmds
='true'
9666 # FIXME: Should let the user specify the lib program.
9667 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9668 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9669 enable_shared_with_static_runtimes
=yes
9672 darwin
* | rhapsody
*)
9675 archive_cmds_need_lc
=no
9677 hardcode_automatic
=yes
9678 hardcode_shlibpath_var
=unsupported
9679 whole_archive_flag_spec
=''
9680 link_all_deplibs
=yes
9681 allow_undefined_flag
="$_lt_dar_allow_undefined"
9682 case $cc_basename in
9683 ifort
*) _lt_dar_can_shared
=yes ;;
9684 *) _lt_dar_can_shared
=$GCC ;;
9686 if test "$_lt_dar_can_shared" = "yes"; then
9687 output_verbose_link_cmd
=echo
9688 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9689 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9690 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}"
9691 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}"
9700 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9701 hardcode_libdir_flag_spec
='-L$libdir'
9702 hardcode_shlibpath_var
=no
9709 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9710 # support. Future versions do this automatically, but an explicit c++rt0.o
9711 # does not break anything, and helps significantly (at the cost of a little
9714 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9715 hardcode_libdir_flag_spec
='-R$libdir'
9717 hardcode_shlibpath_var
=no
9720 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9722 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9724 hardcode_minus_L
=yes
9725 hardcode_shlibpath_var
=no
9728 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9729 freebsd
* | dragonfly
*)
9730 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9731 hardcode_libdir_flag_spec
='-R$libdir'
9733 hardcode_shlibpath_var
=no
9737 if test "$GCC" = yes; then
9738 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'
9740 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'
9742 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9743 hardcode_libdir_separator
=:
9746 # hardcode_minus_L: Not really in the search PATH,
9747 # but as the default location of the library.
9748 hardcode_minus_L
=yes
9749 export_dynamic_flag_spec
='${wl}-E'
9753 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9754 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9758 if test "$with_gnu_ld" = no
; then
9759 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9760 hardcode_libdir_flag_spec_ld
='+b $libdir'
9761 hardcode_libdir_separator
=:
9763 hardcode_direct_absolute
=yes
9764 export_dynamic_flag_spec
='${wl}-E'
9765 # hardcode_minus_L: Not really in the search PATH,
9766 # but as the default location of the library.
9767 hardcode_minus_L
=yes
9772 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9775 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9778 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9781 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9787 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9797 if test "$with_gnu_ld" = no
; then
9798 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9799 hardcode_libdir_separator
=:
9804 hardcode_shlibpath_var
=no
9808 hardcode_direct_absolute
=yes
9809 export_dynamic_flag_spec
='${wl}-E'
9811 # hardcode_minus_L: Not really in the search PATH,
9812 # but as the default location of the library.
9813 hardcode_minus_L
=yes
9819 irix5
* | irix6
* | nonstopux
*)
9820 if test "$GCC" = yes; then
9821 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'
9822 # Try to use the -exported_symbol ld option, if it does not
9823 # work, assume that -exports_file does not work either and
9824 # implicitly export all symbols.
9825 save_LDFLAGS
="$LDFLAGS"
9826 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9827 cat >conftest.
$ac_ext <<_ACEOF
9830 rm -f conftest.
$ac_objext conftest
$ac_exeext
9831 if { (ac_try
="$ac_link"
9833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9837 $as_echo "$ac_try_echo") >&5
9838 (eval "$ac_link") 2>conftest.er1
9840 grep -v '^ *+' conftest.er1 >conftest.err
9842 cat conftest.err >&5
9843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } && {
9845 test -z "$ac_c_werror_flag" ||
9846 test ! -s conftest.err
9847 } && test -s conftest$ac_exeext && {
9848 test "$cross_compiling" = yes ||
9849 $as_test_x conftest$ac_exeext
9851 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'
9854 $as_echo "$as_me: failed program was:" >&5
9855 sed 's/^/| /' conftest.$ac_ext >&5
9860 rm -rf conftest.dSYM
9861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS="$save_LDFLAGS"
9865 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'
9866 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'
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9872 link_all_deplibs=yes
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9879 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9881 hardcode_libdir_flag_spec='-R$libdir'
9883 hardcode_shlibpath_var=no
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator=:
9891 hardcode_shlibpath_var=no
9898 if test -f /usr/libexec/ld.so; then
9900 hardcode_shlibpath_var=no
9901 hardcode_direct_absolute=yes
9902 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec='${wl}-E'
9909 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_minus_L=yes
9927 allow_undefined_flag=unsupported
9928 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'
9929 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9933 if test "$GCC" = yes; then
9934 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935 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'
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 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'
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942 hardcode_libdir_separator=:
9945 osf4* | osf5*) # as osf3* with the addition of -msym flag
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 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'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951 allow_undefined_flag=' -expect_unresolved \*'
9952 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'
9953 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~
9954 $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'
9956 # Both c and cxx compiler support -rpath directly
9957 hardcode_libdir_flag_spec='-rpath $libdir'
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_separator=:
9964 no_undefined_flag=' -z defs'
9965 if test "$GCC" = yes; then
9967 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971 case `$CC -V 2>&1` in
9974 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9980 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_shlibpath_var=no
9989 solaris2.[0-5] | solaris2.[0-5].*) ;;
9991 # The compiler driver will combine and reorder linker options,
9992 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9993 # but is careful enough not to reorder.
9994 # Supported since Solaris 2.6 (maybe 2.5.1?)
9995 if test "$GCC" = yes; then
9996 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9998 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10002 link_all_deplibs
=yes
10006 if test "x$host_vendor" = xsequent
; then
10007 # Use $CC to link under sequent, because it throws in some extra .o
10008 # files that make .init and .fini sections work.
10009 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_libdir_flag_spec
='-L$libdir'
10014 hardcode_direct
=yes
10015 hardcode_minus_L
=yes
10016 hardcode_shlibpath_var
=no
10020 case $host_vendor in
10022 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct
=yes # is this really true???
10026 ## LD is ld it makes a PLAMLIB
10027 ## CC just makes a GrossModule.
10028 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029 reload_cmds
='$CC -r -o $output$reload_objs'
10033 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10037 runpath_var
='LD_RUN_PATH'
10038 hardcode_shlibpath_var
=no
10042 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_shlibpath_var
=no
10044 export_dynamic_flag_spec
='-Bexport'
10048 if test -d /usr
/nec
; then
10049 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var
=no
10051 runpath_var
=LD_RUN_PATH
10052 hardcode_runpath_var
=yes
10057 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10058 no_undefined_flag
='${wl}-z,text'
10059 archive_cmds_need_lc
=no
10060 hardcode_shlibpath_var
=no
10061 runpath_var
='LD_RUN_PATH'
10063 if test "$GCC" = yes; then
10064 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 sysv5
* | sco3.2v5
* | sco5v6
*)
10073 # Note: We can NOT use -z defs as we might desire, because we do not
10074 # link with -lc, and that would cause any symbols used from libc to
10075 # always be unresolved, which means just about no library would
10076 # ever link correctly. If we're not using GNU ld we use -z text
10077 # though, which does catch some bad symbols but isn't as heavy-handed
10079 no_undefined_flag
='${wl}-z,text'
10080 allow_undefined_flag
='${wl}-z,nodefs'
10081 archive_cmds_need_lc
=no
10082 hardcode_shlibpath_var
=no
10083 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10084 hardcode_libdir_separator
=':'
10085 link_all_deplibs
=yes
10086 export_dynamic_flag_spec
='${wl}-Bexport'
10087 runpath_var
='LD_RUN_PATH'
10089 if test "$GCC" = yes; then
10090 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec
='-L$libdir'
10101 hardcode_shlibpath_var
=no
10109 if test x
$host_vendor = xsni
; then
10111 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10112 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10118 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no
&& can_build_shared
=no
10122 with_gnu_ld
=$with_gnu_ld
10139 # Do we need to explicitly link libc?
10141 case "x$archive_cmds_need_lc" in
10143 # Assume -lc should be added
10144 archive_cmds_need_lc
=yes
10146 if test "$enable_shared" = yes && test "$GCC" = yes; then
10147 case $archive_cmds in
10149 # FIXME: we may have to deal with multi-command sequences.
10152 # Test whether the compiler implicitly links with -lc since on some
10153 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154 # to ld, don't add -lc before -lgcc.
10155 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10161 (eval $ac_compile) 2>&5
10163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); } 2>conftest.err
; then
10167 libobjs
=conftest.
$ac_objext
10169 wl
=$lt_prog_compiler_wl
10170 pic_flag
=$lt_prog_compiler_pic
10176 lt_save_allow_undefined_flag
=$allow_undefined_flag
10177 allow_undefined_flag
=
10178 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10179 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10181 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }
10184 archive_cmds_need_lc
=no
10186 archive_cmds_need_lc
=yes
10188 allow_undefined_flag
=$lt_save_allow_undefined_flag
10190 cat conftest.err
1>&5
10193 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10194 $as_echo "$archive_cmds_need_lc" >&6; }
10357 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10358 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10360 if test "$GCC" = yes; then
10362 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10363 *) lt_awk_arg
="/^libraries:/" ;;
10365 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10366 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10367 # if the path contains ";" then we assume it to be the separator
10368 # otherwise default to the standard path separator (i.e. ":") - it is
10369 # assumed that no part of a normal pathname contains ";" but that should
10370 # okay in the real world where ";" in dirpaths is itself problematic.
10371 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10373 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10375 # Ok, now we have the path, separated by spaces, we can step through it
10376 # and add multilib dir if necessary.
10377 lt_tmp_lt_search_path_spec
=
10378 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10379 for lt_sys_path
in $lt_search_path_spec; do
10380 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10381 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10383 test -d "$lt_sys_path" && \
10384 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10387 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10388 BEGIN {RS=" "; FS="/|\n";} {
10391 for (lt_i = NF; lt_i > 0; lt_i--) {
10392 if ($lt_i != "" && $lt_i != ".") {
10393 if ($lt_i == "..") {
10396 if (lt_count == 0) {
10397 lt_foo="/" $lt_i lt_foo;
10404 if (lt_foo != "") { lt_freq[lt_foo]++; }
10405 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10407 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10409 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10411 library_names_spec
=
10412 libname_spec
='lib$name'
10416 postuninstall_cmds
=
10420 shlibpath_overrides_runpath
=unknown
10422 dynamic_linker
="$host_os ld.so"
10423 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10424 need_lib_prefix
=unknown
10425 hardcode_into_libs
=no
10427 # when you set need_version to no, make sure it does not cause -set_version
10428 # flags to be left without arguments
10429 need_version
=unknown
10434 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10435 shlibpath_var
=LIBPATH
10437 # AIX 3 has no versioning support, so we append a major version to the name.
10438 soname_spec
='${libname}${release}${shared_ext}$major'
10445 hardcode_into_libs
=yes
10446 if test "$host_cpu" = ia64
; then
10447 # AIX 5 supports IA64
10448 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10449 shlibpath_var
=LD_LIBRARY_PATH
10451 # With GCC up to 2.95.x, collect2 would create an import file
10452 # for dependence libraries. The import file would start with
10453 # the line `#! .'. This would cause the generated library to
10454 # depend on `.', always an invalid library. This was fixed in
10455 # development snapshots of GCC prior to 3.0.
10457 aix4 | aix4.
[01] | aix4.
[01].
*)
10458 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10460 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10463 can_build_shared
=no
10467 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10468 # soname into executable. Probably we can add versioning support to
10469 # collect2, so additional links can be useful in future.
10470 if test "$aix_use_runtimelinking" = yes; then
10471 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10472 # instead of lib<name>.a to let people know that these are not
10473 # typical AIX shared libraries.
10474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476 # We preserve .a as extension for shared libraries through AIX4.2
10477 # and later when we are not doing run time linking.
10478 library_names_spec
='${libname}${release}.a $libname.a'
10479 soname_spec
='${libname}${release}${shared_ext}$major'
10481 shlibpath_var
=LIBPATH
10488 # Since July 2007 AmigaOS4 officially supports .so libraries.
10489 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 library_names_spec
='$libname.ixlibrary $libname.a'
10494 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10495 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'
10501 library_names_spec
='${libname}${shared_ext}'
10502 dynamic_linker
="$host_os ld.so"
10503 shlibpath_var
=LIBRARY_PATH
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 soname_spec
='${libname}${release}${shared_ext}$major'
10511 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10512 shlibpath_var
=LD_LIBRARY_PATH
10513 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10514 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10515 # the default ld.so.conf also contains /usr/contrib/lib and
10516 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10517 # libtool to hard-code these into programs
10520 cygwin
* | mingw
* | pw32
* | cegcc
*)
10521 version_type
=windows
10526 case $GCC,$host_os in
10527 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10528 library_names_spec
='$libname.dll.a'
10529 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10530 postinstall_cmds
='base_file=`basename \${file}`~
10531 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10532 dldir=$destdir/`dirname \$dlpath`~
10533 test -d \$dldir || mkdir -p \$dldir~
10534 $install_prog $dir/$dlname \$dldir/$dlname~
10535 chmod a+x \$dldir/$dlname~
10536 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10537 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10539 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10540 dlpath=$dir/\$dldll~
10542 shlibpath_overrides_runpath
=yes
10546 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10547 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10548 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10551 # MinGW DLLs use traditional 'lib' prefix
10552 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10553 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10554 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10555 # It is most probably a Windows format PATH printed by
10556 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10557 # path with ; separators, and with drive letters. We can handle the
10558 # drive letters (cygwin fileutils understands them), so leave them,
10559 # especially as we might pass files found there to a mingw objdump,
10560 # which wouldn't understand a cygwinified path. Ahh.
10561 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10563 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10567 # pw32 DLLs use 'pw' prefix rather than 'lib'
10568 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10577 dynamic_linker
='Win32 ld.exe'
10578 # FIXME: first we should search . and the directory the executable is in
10582 darwin
* | rhapsody
*)
10583 dynamic_linker
="$host_os dyld"
10584 version_type
=darwin
10587 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10588 soname_spec
='${libname}${release}${major}$shared_ext'
10589 shlibpath_overrides_runpath
=yes
10590 shlibpath_var
=DYLD_LIBRARY_PATH
10591 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10593 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10594 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10602 soname_spec
='${libname}${release}${shared_ext}$major'
10603 shlibpath_var
=LD_LIBRARY_PATH
10610 freebsd
* | dragonfly
*)
10611 # DragonFly does not have aout. When/if they implement a new
10612 # versioning mechanism, adjust this.
10613 if test -x /usr
/bin
/objformat
; then
10614 objformat
=`/usr/bin/objformat`
10617 freebsd
[123]*) objformat
=aout
;;
10618 *) objformat
=elf
;;
10621 version_type
=freebsd-
$objformat
10622 case $version_type in
10624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10633 shlibpath_var
=LD_LIBRARY_PATH
10636 shlibpath_overrides_runpath
=yes
10638 freebsd3.
[01]* | freebsdelf3.
[01]*)
10639 shlibpath_overrides_runpath
=yes
10640 hardcode_into_libs
=yes
10642 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10643 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10644 shlibpath_overrides_runpath
=no
10645 hardcode_into_libs
=yes
10647 *) # from 4.6 on, and DragonFly
10648 shlibpath_overrides_runpath
=yes
10649 hardcode_into_libs
=yes
10658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10659 soname_spec
='${libname}${release}${shared_ext}$major'
10660 shlibpath_var
=LD_LIBRARY_PATH
10661 hardcode_into_libs
=yes
10664 hpux9
* | hpux10
* | hpux11
*)
10665 # Give a soname corresponding to the major version so that dld.sl refuses to
10666 # link against other versions.
10673 hardcode_into_libs
=yes
10674 dynamic_linker
="$host_os dld.so"
10675 shlibpath_var
=LD_LIBRARY_PATH
10676 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678 soname_spec
='${libname}${release}${shared_ext}$major'
10679 if test "X$HPUX_IA64_MODE" = X32
; then
10680 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10682 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10684 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10688 hardcode_into_libs
=yes
10689 dynamic_linker
="$host_os dld.sl"
10690 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10691 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 soname_spec
='${libname}${release}${shared_ext}$major'
10694 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10695 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10699 dynamic_linker
="$host_os dld.sl"
10700 shlibpath_var
=SHLIB_PATH
10701 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703 soname_spec
='${libname}${release}${shared_ext}$major'
10706 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10707 postinstall_cmds
='chmod 555 $lib'
10714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10715 soname_spec
='${libname}${release}${shared_ext}$major'
10716 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10717 shlibpath_var
=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath
=no
10719 hardcode_into_libs
=yes
10722 irix5
* | irix6
* | nonstopux
*)
10724 nonstopux
*) version_type
=nonstopux
;;
10726 if test "$lt_cv_prog_gnu_ld" = yes; then
10734 soname_spec
='${libname}${release}${shared_ext}$major'
10735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 irix5
* | nonstopux
*)
10738 libsuff
= shlibsuff
=
10741 case $LD in # libtool.m4 will add one of these switches to LD
10742 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10743 libsuff
= shlibsuff
= libmagic
=32-bit;;
10744 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10745 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10746 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10747 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10748 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10752 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10753 shlibpath_overrides_runpath
=no
10754 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10755 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10756 hardcode_into_libs
=yes
10759 # No shared lib support for Linux oldld, aout, or coff.
10760 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10764 # This must be Linux ELF.
10765 linux
* | k
*bsd
*-gnu)
10769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 soname_spec
='${libname}${release}${shared_ext}$major'
10771 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10772 shlibpath_var
=LD_LIBRARY_PATH
10773 shlibpath_overrides_runpath
=no
10774 # Some binutils ld are patched to set DT_RUNPATH
10775 save_LDFLAGS
=$LDFLAGS
10776 save_libdir
=$libdir
10777 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10778 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10779 cat >conftest.
$ac_ext <<_ACEOF
10782 cat confdefs.h
>>conftest.
$ac_ext
10783 cat >>conftest.
$ac_ext <<_ACEOF
10784 /* end confdefs.h. */
10794 rm -f conftest.
$ac_objext conftest
$ac_exeext
10795 if { (ac_try
="$ac_link"
10796 case "(($ac_try" in
10797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10798 *) ac_try_echo=$ac_try;;
10800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10801 $as_echo "$ac_try_echo") >&5
10802 (eval "$ac_link") 2>conftest.er1
10804 grep -v '^ *+' conftest.er1 >conftest.err
10806 cat conftest.err >&5
10807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } && {
10809 test -z "$ac_c_werror_flag" ||
10810 test ! -s conftest.err
10811 } && test -s conftest$ac_exeext && {
10812 test "$cross_compiling" = yes ||
10813 $as_test_x conftest$ac_exeext
10815 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10816 shlibpath_overrides_runpath=yes
10820 $as_echo "$as_me: failed program was:" >&5
10821 sed 's/^/| /' conftest.$ac_ext >&5
10826 rm -rf conftest.dSYM
10827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LDFLAGS=$save_LDFLAGS
10830 libdir=$save_libdir
10832 # This implies no fast_install, which is unacceptable.
10833 # Some rework will be needed to allow for fast_install
10834 # before this can be enabled.
10835 hardcode_into_libs=yes
10837 # Add ABI-specific directories to the system library path.
10838 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10840 # Append ld.so.conf contents to the search path
10841 if test -f /etc/ld.so.conf; then
10842 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' ' '`
10843 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10846 # We used to test for /lib/ld.so.1 and disable shared libraries on
10847 # powerpc, because MkLinux only supported shared libraries with the
10848 # GNU dynamic linker. Since this was broken with cross compilers,
10849 # most powerpc-linux boxes support dynamic linking these days and
10850 # people can always --disable-shared, the test was removed, and we
10851 # assume the GNU/Linux dynamic linker is in use.
10852 dynamic_linker='GNU/Linux ld.so'
10859 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10861 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10862 dynamic_linker='NetBSD (a.out) ld.so'
10864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10865 soname_spec='${libname}${release}${shared_ext}$major'
10866 dynamic_linker='NetBSD ld.elf_so'
10868 shlibpath_var=LD_LIBRARY_PATH
10869 shlibpath_overrides_runpath=yes
10870 hardcode_into_libs=yes
10875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10876 shlibpath_var=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath=yes
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 shlibpath_var=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath=no
10888 hardcode_into_libs=yes
10889 dynamic_linker='ldqnx.so'
10894 sys_lib_dlsearch_path_spec="/usr/lib"
10896 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10898 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10899 *) need_version=no ;;
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10906 openbsd2.[89] | openbsd2.[89].*)
10907 shlibpath_overrides_runpath=no
10910 shlibpath_overrides_runpath=yes
10914 shlibpath_overrides_runpath=yes
10919 libname_spec='$name'
10922 library_names_spec='$libname${shared_ext} $libname.a'
10923 dynamic_linker='OS/2 ld.exe'
10924 shlibpath_var=LIBPATH
10927 osf3* | osf4* | osf5*)
10931 soname_spec='${libname}${release}${shared_ext}$major'
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10935 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947 soname_spec='${libname}${release}${shared_ext}$major'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=yes
10950 hardcode_into_libs=yes
10951 # ldd complains unless libraries are executable
10952 postinstall_cmds='chmod +x $lib'
10957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10958 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10959 shlibpath_var=LD_LIBRARY_PATH
10960 shlibpath_overrides_runpath=yes
10961 if test "$with_gnu_ld" = yes; then
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 shlibpath_var=LD_LIBRARY_PATH
10972 case $host_vendor in
10974 shlibpath_overrides_runpath=no
10976 runpath_var=LD_RUN_PATH
10984 shlibpath_overrides_runpath=no
10985 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10991 if test -d /usr/nec ;then
10993 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10994 soname_spec='$libname${shared_ext}.$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10999 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11000 version_type=freebsd-elf
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath=yes
11007 hardcode_into_libs=yes
11008 if test "$with_gnu_ld" = yes; then
11009 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11011 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11014 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11018 sys_lib_dlsearch_path_spec='/usr/lib'
11022 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027 shlibpath_var=LD_LIBRARY_PATH
11028 shlibpath_overrides_runpath=no
11029 hardcode_into_libs=yes
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 shlibpath_var=LD_LIBRARY_PATH
11043 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11044 $as_echo "$dynamic_linker" >&6; }
11045 test "$dynamic_linker" = no && can_build_shared=no
11047 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11048 if test "$GCC" = yes; then
11049 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11052 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11053 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11055 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11056 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11145 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11146 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11148 if test -n "$hardcode_libdir_flag_spec" ||
11149 test -n "$runpath_var" ||
11150 test "X$hardcode_automatic" = "Xyes" ; then
11152 # We can hardcode non-existent directories.
11153 if test "$hardcode_direct" != no &&
11154 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11155 # have to relink, otherwise we might link with an installed library
11156 # when we should be linking with a yet-to-be-installed one
11157 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11158 test "$hardcode_minus_L" != no; then
11159 # Linking always hardcodes the temporary library directory.
11160 hardcode_action=relink
11162 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11163 hardcode_action=immediate
11166 # We cannot hardcode anything, or else we can only hardcode existing
11168 hardcode_action=unsupported
11170 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11171 $as_echo "$hardcode_action" >&6; }
11173 if test "$hardcode_action" = relink ||
11174 test "$inherit_rpath" = yes; then
11175 # Fast installation is not supported
11176 enable_fast_install=no
11177 elif test "$shlibpath_overrides_runpath" = yes ||
11178 test "$enable_shared" = no; then
11179 # Fast installation is not necessary
11180 enable_fast_install=needless
11188 if test "x$enable_dlopen" != xyes; then
11189 enable_dlopen=unknown
11190 enable_dlopen_self=unknown
11191 enable_dlopen_self_static=unknown
11198 lt_cv_dlopen="load_add_on"
11200 lt_cv_dlopen_self=yes
11203 mingw* | pw32* | cegcc*)
11204 lt_cv_dlopen="LoadLibrary"
11209 lt_cv_dlopen="dlopen"
11214 # if libdl is installed we need to link against it
11215 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11216 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11217 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11218 $as_echo_n "(cached) " >&6
11220 ac_check_lib_save_LIBS=$LIBS
11222 cat >conftest.$ac_ext <<_ACEOF
11225 cat confdefs.h >>conftest.$ac_ext
11226 cat >>conftest.$ac_ext <<_ACEOF
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11244 rm -f conftest.$ac_objext conftest$ac_exeext
11245 if { (ac_try="$ac_link"
11246 case "(($ac_try" in
11247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11248 *) ac_try_echo
=$ac_try;;
11250 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11251 $as_echo "$ac_try_echo") >&5
11252 (eval "$ac_link") 2>conftest.er1
11254 grep -v '^ *+' conftest.er1
>conftest.err
11256 cat conftest.err
>&5
11257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } && {
11259 test -z "$ac_c_werror_flag" ||
11260 test ! -s conftest.err
11261 } && test -s conftest
$ac_exeext && {
11262 test "$cross_compiling" = yes ||
11263 $as_test_x conftest
$ac_exeext
11265 ac_cv_lib_dl_dlopen
=yes
11267 $as_echo "$as_me: failed program was:" >&5
11268 sed 's/^/| /' conftest.
$ac_ext >&5
11270 ac_cv_lib_dl_dlopen
=no
11273 rm -rf conftest.dSYM
11274 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11275 conftest
$ac_exeext conftest.
$ac_ext
11276 LIBS
=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
11281 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11284 lt_cv_dlopen
="dyld"
11286 lt_cv_dlopen_self
=yes
11293 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11294 $as_echo_n "checking for shl_load... " >&6; }
11295 if test "${ac_cv_func_shl_load+set}" = set; then
11296 $as_echo_n "(cached) " >&6
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11304 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11306 #define shl_load innocuous_shl_load
11308 /* System header to define __stub macros and hopefully few prototypes,
11309 which can conflict with char shl_load (); below.
11310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11311 <limits.h> exists even on freestanding compilers. */
11314 # include <limits.h>
11316 # include <assert.h>
11321 /* Override any GCC internal prototype to avoid an error.
11322 Use char because int might match the return type of a GCC
11323 builtin and then its argument prototype would still apply. */
11328 /* The GNU C library defines this for functions which it implements
11329 to always fail with ENOSYS. Some functions are actually named
11330 something starting with __ and the normal name is an alias. */
11331 #if defined __stub_shl_load || defined __stub___shl_load
11338 return shl_load ();
11343 rm -f conftest.
$ac_objext conftest
$ac_exeext
11344 if { (ac_try
="$ac_link"
11345 case "(($ac_try" in
11346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11347 *) ac_try_echo=$ac_try;;
11349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11350 $as_echo "$ac_try_echo") >&5
11351 (eval "$ac_link") 2>conftest.er1
11353 grep -v '^ *+' conftest.er1 >conftest.err
11355 cat conftest.err >&5
11356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); } && {
11358 test -z "$ac_c_werror_flag" ||
11359 test ! -s conftest.err
11360 } && test -s conftest$ac_exeext && {
11361 test "$cross_compiling" = yes ||
11362 $as_test_x conftest$ac_exeext
11364 ac_cv_func_shl_load=yes
11366 $as_echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.$ac_ext >&5
11369 ac_cv_func_shl_load=no
11372 rm -rf conftest.dSYM
11373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11374 conftest$ac_exeext conftest.$ac_ext
11376 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11377 $as_echo "$ac_cv_func_shl_load" >&6; }
11378 if test "x$ac_cv_func_shl_load" = x""yes; then
11379 lt_cv_dlopen="shl_load"
11381 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11382 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11383 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11384 $as_echo_n "(cached) " >&6
11386 ac_check_lib_save_LIBS=$LIBS
11388 cat >conftest.$ac_ext <<_ACEOF
11391 cat confdefs.h >>conftest.$ac_ext
11392 cat >>conftest.$ac_ext <<_ACEOF
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11405 return shl_load ();
11410 rm -f conftest.$ac_objext conftest$ac_exeext
11411 if { (ac_try="$ac_link"
11412 case "(($ac_try" in
11413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11414 *) ac_try_echo
=$ac_try;;
11416 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11417 $as_echo "$ac_try_echo") >&5
11418 (eval "$ac_link") 2>conftest.er1
11420 grep -v '^ *+' conftest.er1
>conftest.err
11422 cat conftest.err
>&5
11423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } && {
11425 test -z "$ac_c_werror_flag" ||
11426 test ! -s conftest.err
11427 } && test -s conftest
$ac_exeext && {
11428 test "$cross_compiling" = yes ||
11429 $as_test_x conftest
$ac_exeext
11431 ac_cv_lib_dld_shl_load
=yes
11433 $as_echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.
$ac_ext >&5
11436 ac_cv_lib_dld_shl_load
=no
11439 rm -rf conftest.dSYM
11440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11441 conftest
$ac_exeext conftest.
$ac_ext
11442 LIBS
=$ac_check_lib_save_LIBS
11444 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11445 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11446 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
11447 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11449 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11450 $as_echo_n "checking for dlopen... " >&6; }
11451 if test "${ac_cv_func_dlopen+set}" = set; then
11452 $as_echo_n "(cached) " >&6
11454 cat >conftest.
$ac_ext <<_ACEOF
11457 cat confdefs.h
>>conftest.
$ac_ext
11458 cat >>conftest.
$ac_ext <<_ACEOF
11459 /* end confdefs.h. */
11460 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11462 #define dlopen innocuous_dlopen
11464 /* System header to define __stub macros and hopefully few prototypes,
11465 which can conflict with char dlopen (); below.
11466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11467 <limits.h> exists even on freestanding compilers. */
11470 # include <limits.h>
11472 # include <assert.h>
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11484 /* The GNU C library defines this for functions which it implements
11485 to always fail with ENOSYS. Some functions are actually named
11486 something starting with __ and the normal name is an alias. */
11487 #if defined __stub_dlopen || defined __stub___dlopen
11499 rm -f conftest.
$ac_objext conftest
$ac_exeext
11500 if { (ac_try
="$ac_link"
11501 case "(($ac_try" in
11502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11503 *) ac_try_echo=$ac_try;;
11505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11506 $as_echo "$ac_try_echo") >&5
11507 (eval "$ac_link") 2>conftest.er1
11509 grep -v '^ *+' conftest.er1 >conftest.err
11511 cat conftest.err >&5
11512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } && {
11514 test -z "$ac_c_werror_flag" ||
11515 test ! -s conftest.err
11516 } && test -s conftest$ac_exeext && {
11517 test "$cross_compiling" = yes ||
11518 $as_test_x conftest$ac_exeext
11520 ac_cv_func_dlopen=yes
11522 $as_echo "$as_me: failed program was:" >&5
11523 sed 's/^/| /' conftest.$ac_ext >&5
11525 ac_cv_func_dlopen=no
11528 rm -rf conftest.dSYM
11529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11530 conftest$ac_exeext conftest.$ac_ext
11532 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11533 $as_echo "$ac_cv_func_dlopen" >&6; }
11534 if test "x$ac_cv_func_dlopen" = x""yes; then
11535 lt_cv_dlopen="dlopen"
11537 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11538 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11539 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11540 $as_echo_n "(cached) " >&6
11542 ac_check_lib_save_LIBS=$LIBS
11544 cat >conftest.$ac_ext <<_ACEOF
11547 cat confdefs.h >>conftest.$ac_ext
11548 cat >>conftest.$ac_ext <<_ACEOF
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11566 rm -f conftest.$ac_objext conftest$ac_exeext
11567 if { (ac_try="$ac_link"
11568 case "(($ac_try" in
11569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11570 *) ac_try_echo
=$ac_try;;
11572 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11573 $as_echo "$ac_try_echo") >&5
11574 (eval "$ac_link") 2>conftest.er1
11576 grep -v '^ *+' conftest.er1
>conftest.err
11578 cat conftest.err
>&5
11579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } && {
11581 test -z "$ac_c_werror_flag" ||
11582 test ! -s conftest.err
11583 } && test -s conftest
$ac_exeext && {
11584 test "$cross_compiling" = yes ||
11585 $as_test_x conftest
$ac_exeext
11587 ac_cv_lib_dl_dlopen
=yes
11589 $as_echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.
$ac_ext >&5
11592 ac_cv_lib_dl_dlopen
=no
11595 rm -rf conftest.dSYM
11596 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11597 conftest
$ac_exeext conftest.
$ac_ext
11598 LIBS
=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11601 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11602 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
11603 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11605 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11606 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11607 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11608 $as_echo_n "(cached) " >&6
11610 ac_check_lib_save_LIBS
=$LIBS
11611 LIBS
="-lsvld $LIBS"
11612 cat >conftest.
$ac_ext <<_ACEOF
11615 cat confdefs.h
>>conftest.
$ac_ext
11616 cat >>conftest.
$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11634 rm -f conftest.
$ac_objext conftest
$ac_exeext
11635 if { (ac_try
="$ac_link"
11636 case "(($ac_try" in
11637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11641 $as_echo "$ac_try_echo") >&5
11642 (eval "$ac_link") 2>conftest.er1
11644 grep -v '^ *+' conftest.er1 >conftest.err
11646 cat conftest.err >&5
11647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } && {
11649 test -z "$ac_c_werror_flag" ||
11650 test ! -s conftest.err
11651 } && test -s conftest$ac_exeext && {
11652 test "$cross_compiling" = yes ||
11653 $as_test_x conftest$ac_exeext
11655 ac_cv_lib_svld_dlopen=yes
11657 $as_echo "$as_me: failed program was:" >&5
11658 sed 's/^/| /' conftest.$ac_ext >&5
11660 ac_cv_lib_svld_dlopen=no
11663 rm -rf conftest.dSYM
11664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11665 conftest$ac_exeext conftest.$ac_ext
11666 LIBS=$ac_check_lib_save_LIBS
11668 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11669 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11670 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11671 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11673 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11674 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11675 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11676 $as_echo_n "(cached) " >&6
11678 ac_check_lib_save_LIBS=$LIBS
11680 cat >conftest.$ac_ext <<_ACEOF
11683 cat confdefs.h >>conftest.$ac_ext
11684 cat >>conftest.$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11697 return dld_link ();
11702 rm -f conftest.$ac_objext conftest$ac_exeext
11703 if { (ac_try="$ac_link"
11704 case "(($ac_try" in
11705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11706 *) ac_try_echo
=$ac_try;;
11708 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11709 $as_echo "$ac_try_echo") >&5
11710 (eval "$ac_link") 2>conftest.er1
11712 grep -v '^ *+' conftest.er1
>conftest.err
11714 cat conftest.err
>&5
11715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); } && {
11717 test -z "$ac_c_werror_flag" ||
11718 test ! -s conftest.err
11719 } && test -s conftest
$ac_exeext && {
11720 test "$cross_compiling" = yes ||
11721 $as_test_x conftest
$ac_exeext
11723 ac_cv_lib_dld_dld_link
=yes
11725 $as_echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.
$ac_ext >&5
11728 ac_cv_lib_dld_dld_link
=no
11731 rm -rf conftest.dSYM
11732 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11733 conftest
$ac_exeext conftest.
$ac_ext
11734 LIBS
=$ac_check_lib_save_LIBS
11736 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11737 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11738 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11739 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11760 if test "x$lt_cv_dlopen" != xno
; then
11766 case $lt_cv_dlopen in
11768 save_CPPFLAGS
="$CPPFLAGS"
11769 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11771 save_LDFLAGS
="$LDFLAGS"
11772 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11775 LIBS
="$lt_cv_dlopen_libs $LIBS"
11777 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11778 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11779 if test "${lt_cv_dlopen_self+set}" = set; then
11780 $as_echo_n "(cached) " >&6
11782 if test "$cross_compiling" = yes; then :
11783 lt_cv_dlopen_self
=cross
11785 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11786 lt_status
=$lt_dlunknown
11787 cat > conftest.
$ac_ext <<_LT_EOF
11788 #line 11788 "configure"
11789 #include "confdefs.h"
11798 # define LT_DLGLOBAL RTLD_GLOBAL
11801 # define LT_DLGLOBAL DL_GLOBAL
11803 # define LT_DLGLOBAL 0
11807 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11808 find out it does not work in some platform. */
11809 #ifndef LT_DLLAZY_OR_NOW
11811 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11814 # define LT_DLLAZY_OR_NOW DL_LAZY
11817 # define LT_DLLAZY_OR_NOW RTLD_NOW
11820 # define LT_DLLAZY_OR_NOW DL_NOW
11822 # define LT_DLLAZY_OR_NOW 0
11829 void fnord() { int i=42;}
11832 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11833 int status = $lt_dlunknown;
11837 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11838 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11839 /* dlclose (self); */
11847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11848 (eval $ac_link) 2>&5
11850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11852 (.
/conftest
; exit; ) >&5 2>/dev
/null
11854 case x
$lt_status in
11855 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11856 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11857 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11860 # compilation failed
11861 lt_cv_dlopen_self
=no
11868 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11869 $as_echo "$lt_cv_dlopen_self" >&6; }
11871 if test "x$lt_cv_dlopen_self" = xyes
; then
11872 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11873 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11874 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11875 if test "${lt_cv_dlopen_self_static+set}" = set; then
11876 $as_echo_n "(cached) " >&6
11878 if test "$cross_compiling" = yes; then :
11879 lt_cv_dlopen_self_static
=cross
11881 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11882 lt_status
=$lt_dlunknown
11883 cat > conftest.
$ac_ext <<_LT_EOF
11884 #line 11884 "configure"
11885 #include "confdefs.h"
11894 # define LT_DLGLOBAL RTLD_GLOBAL
11897 # define LT_DLGLOBAL DL_GLOBAL
11899 # define LT_DLGLOBAL 0
11903 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11904 find out it does not work in some platform. */
11905 #ifndef LT_DLLAZY_OR_NOW
11907 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11910 # define LT_DLLAZY_OR_NOW DL_LAZY
11913 # define LT_DLLAZY_OR_NOW RTLD_NOW
11916 # define LT_DLLAZY_OR_NOW DL_NOW
11918 # define LT_DLLAZY_OR_NOW 0
11925 void fnord() { int i=42;}
11928 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11929 int status = $lt_dlunknown;
11933 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11934 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11935 /* dlclose (self); */
11943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11944 (eval $ac_link) 2>&5
11946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11948 (.
/conftest
; exit; ) >&5 2>/dev
/null
11950 case x
$lt_status in
11951 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11952 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11953 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11956 # compilation failed
11957 lt_cv_dlopen_self_static
=no
11964 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11965 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11968 CPPFLAGS
="$save_CPPFLAGS"
11969 LDFLAGS
="$save_LDFLAGS"
11974 case $lt_cv_dlopen_self in
11975 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11976 *) enable_dlopen_self
=unknown
;;
11979 case $lt_cv_dlopen_self_static in
11980 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11981 *) enable_dlopen_self_static
=unknown
;;
12003 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12004 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12005 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12006 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12007 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12008 { $as_echo "$as_me:$LINENO: result: yes" >&5
12009 $as_echo "yes" >&6; }
12011 # FIXME - insert some real tests, host_os isn't really good enough
12014 if test -n "$STRIP" ; then
12015 striplib
="$STRIP -x"
12016 old_striplib
="$STRIP -S"
12017 { $as_echo "$as_me:$LINENO: result: yes" >&5
12018 $as_echo "yes" >&6; }
12020 { $as_echo "$as_me:$LINENO: result: no" >&5
12021 $as_echo "no" >&6; }
12025 { $as_echo "$as_me:$LINENO: result: no" >&5
12026 $as_echo "no" >&6; }
12042 # Report which library types will actually be built
12043 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12044 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12045 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12046 $as_echo "$can_build_shared" >&6; }
12048 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12049 $as_echo_n "checking whether to build shared libraries... " >&6; }
12050 test "$can_build_shared" = "no" && enable_shared
=no
12052 # On AIX, shared libraries and static libraries use the same namespace, and
12053 # are all built from PIC.
12056 test "$enable_shared" = yes && enable_static
=no
12057 if test -n "$RANLIB"; then
12058 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12059 postinstall_cmds
='$RANLIB $lib'
12064 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12065 test "$enable_shared" = yes && enable_static
=no
12069 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12070 $as_echo "$enable_shared" >&6; }
12072 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12073 $as_echo_n "checking whether to build static libraries... " >&6; }
12074 # Make sure either enable_shared or enable_static is yes.
12075 test "$enable_shared" = yes || enable_static
=yes
12076 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12077 $as_echo "$enable_static" >&6; }
12084 ac_cpp
='$CPP $CPPFLAGS'
12085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12103 ac_config_commands
="$ac_config_commands libtool"
12108 # Only expand once:
12112 if test "$GCC" = yes ; then
12113 CXXFLAGS
="$CXXFLAGS -Wall"
12114 CFLAGS
="$CFLAGS -Wall"
12118 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12119 $as_echo_n "checking for ANSI C header files... " >&6; }
12120 if test "${ac_cv_header_stdc+set}" = set; then
12121 $as_echo_n "(cached) " >&6
12123 cat >conftest.
$ac_ext <<_ACEOF
12126 cat confdefs.h
>>conftest.
$ac_ext
12127 cat >>conftest.
$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12129 #include <stdlib.h>
12130 #include <stdarg.h>
12131 #include <string.h>
12142 rm -f conftest.
$ac_objext
12143 if { (ac_try
="$ac_compile"
12144 case "(($ac_try" in
12145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12149 $as_echo "$ac_try_echo") >&5
12150 (eval "$ac_compile") 2>conftest.er1
12152 grep -v '^ *+' conftest.er1 >conftest.err
12154 cat conftest.err >&5
12155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); } && {
12157 test -z "$ac_c_werror_flag" ||
12158 test ! -s conftest.err
12159 } && test -s conftest.$ac_objext; then
12160 ac_cv_header_stdc=yes
12162 $as_echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.$ac_ext >&5
12165 ac_cv_header_stdc=no
12168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12170 if test $ac_cv_header_stdc = yes; then
12171 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12172 cat >conftest.$ac_ext <<_ACEOF
12175 cat confdefs.h >>conftest.$ac_ext
12176 cat >>conftest.$ac_ext <<_ACEOF
12177 /* end confdefs.h. */
12178 #include <string.h>
12181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12182 $EGREP "memchr" >/dev/null 2>&1; then
12185 ac_cv_header_stdc=no
12191 if test $ac_cv_header_stdc = yes; then
12192 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12193 cat >conftest.$ac_ext <<_ACEOF
12196 cat confdefs.h >>conftest.$ac_ext
12197 cat >>conftest.$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12199 #include <stdlib.h>
12202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12203 $EGREP "free" >/dev/null 2>&1; then
12206 ac_cv_header_stdc=no
12212 if test $ac_cv_header_stdc = yes; then
12213 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12214 if test "$cross_compiling" = yes; then
12217 cat >conftest.$ac_ext <<_ACEOF
12220 cat confdefs.h >>conftest.$ac_ext
12221 cat >>conftest.$ac_ext <<_ACEOF
12222 /* end confdefs.h. */
12224 #include <stdlib.h>
12225 #if ((' ' & 0x0FF) == 0x020)
12226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12229 # define ISLOWER(c) \
12230 (('a' <= (c) && (c) <= 'i') \
12231 || ('j' <= (c) && (c) <= 'r') \
12232 || ('s' <= (c) && (c) <= 'z'))
12233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12241 for (i = 0; i < 256; i++)
12242 if (XOR (islower (i), ISLOWER (i))
12243 || toupper (i) != TOUPPER (i))
12248 rm -f conftest$ac_exeext
12249 if { (ac_try="$ac_link"
12250 case "(($ac_try" in
12251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12252 *) ac_try_echo
=$ac_try;;
12254 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12255 $as_echo "$ac_try_echo") >&5
12256 (eval "$ac_link") 2>&5
12258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12260 { (case "(($ac_try" in
12261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12262 *) ac_try_echo=$ac_try;;
12264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12265 $as_echo "$ac_try_echo") >&5
12266 (eval "$ac_try") 2>&5
12268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12272 $as_echo "$as_me: program exited with status $ac_status" >&5
12273 $as_echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.$ac_ext >&5
12276 ( exit $ac_status )
12277 ac_cv_header_stdc=no
12279 rm -rf conftest.dSYM
12280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12286 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12287 $as_echo "$ac_cv_header_stdc" >&6; }
12288 if test $ac_cv_header_stdc = yes; then
12290 cat >>confdefs.h <<\_ACEOF
12291 #define STDC_HEADERS 1
12297 for ac_header in locale.h
12299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12300 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12301 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12302 $as_echo_n "checking for $ac_header... " >&6; }
12303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12304 $as_echo_n "(cached) " >&6
12306 ac_res=`eval 'as_val=${'$as_ac_Header'}
12307 $as_echo "$as_val"'`
12308 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12309 $as_echo "$ac_res" >&6; }
12311 # Is the header compilable?
12312 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12313 $as_echo_n "checking $ac_header usability... " >&6; }
12314 cat >conftest.$ac_ext <<_ACEOF
12317 cat confdefs.h >>conftest.$ac_ext
12318 cat >>conftest.$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 $ac_includes_default
12321 #include <$ac_header>
12323 rm -f conftest.$ac_objext
12324 if { (ac_try="$ac_compile"
12325 case "(($ac_try" in
12326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12327 *) ac_try_echo
=$ac_try;;
12329 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12330 $as_echo "$ac_try_echo") >&5
12331 (eval "$ac_compile") 2>conftest.er1
12333 grep -v '^ *+' conftest.er1
>conftest.err
12335 cat conftest.err
>&5
12336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } && {
12338 test -z "$ac_c_werror_flag" ||
12339 test ! -s conftest.err
12340 } && test -s conftest.
$ac_objext; then
12341 ac_header_compiler
=yes
12343 $as_echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.
$ac_ext >&5
12346 ac_header_compiler
=no
12349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12350 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12351 $as_echo "$ac_header_compiler" >&6; }
12353 # Is the header present?
12354 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12355 $as_echo_n "checking $ac_header presence... " >&6; }
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12362 #include <$ac_header>
12364 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12365 case "(($ac_try" in
12366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12367 *) ac_try_echo=$ac_try;;
12369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12370 $as_echo "$ac_try_echo") >&5
12371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12373 grep -v '^ *+' conftest.er1 >conftest.err
12375 cat conftest.err >&5
12376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); } >/dev/null && {
12378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12379 test ! -s conftest.err
12381 ac_header_preproc=yes
12383 $as_echo "$as_me: failed program was:" >&5
12384 sed 's/^/| /' conftest.$ac_ext >&5
12386 ac_header_preproc=no
12389 rm -f conftest.err conftest.$ac_ext
12390 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12391 $as_echo "$ac_header_preproc" >&6; }
12393 # So? What about this header?
12394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12397 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12399 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12400 ac_header_preproc=yes
12403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12404 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12406 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12407 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12408 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12409 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12410 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12411 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12412 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12414 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12416 ## -------------------------------------------------- ##
12417 ## Report this to courier-users@lists.sourceforge.net ##
12418 ## -------------------------------------------------- ##
12420 ) | sed "s/^/$as_me: WARNING: /" >&2
12423 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12424 $as_echo_n "checking for $ac_header... " >&6; }
12425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12426 $as_echo_n "(cached) " >&6
12428 eval "$as_ac_Header=\$ac_header_preproc"
12430 ac_res=`eval 'as_val=${'$as_ac_Header'}
12431 $as_echo "$as_val"'`
12432 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12433 $as_echo "$ac_res" >&6; }
12436 as_val=`eval 'as_val=${'$as_ac_Header'}
12437 $as_echo "$as_val"'`
12438 if test "x$as_val" = x""yes; then
12439 cat >>confdefs.h <<_ACEOF
12440 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12448 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12449 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12450 if test "${ac_cv_c_const+set}" = set; then
12451 $as_echo_n "(cached) " >&6
12453 cat >conftest.$ac_ext <<_ACEOF
12456 cat confdefs.h >>conftest.$ac_ext
12457 cat >>conftest.$ac_ext <<_ACEOF
12458 /* end confdefs.h. */
12463 /* FIXME: Include the comments suggested by Paul. */
12464 #ifndef __cplusplus
12465 /* Ultrix mips cc rejects this. */
12466 typedef int charset[2];
12468 /* SunOS 4.1.1 cc rejects this. */
12469 char const *const *pcpcc;
12471 /* NEC SVR4.0.2 mips cc rejects this. */
12472 struct point {int x, y;};
12473 static struct point const zero = {0,0};
12474 /* AIX XL C 1.02.0.0 rejects this.
12475 It does not let you subtract one const X* pointer from another in
12476 an arm of an if-expression whose if-part is not a constant
12478 const char *g = "string";
12479 pcpcc = &g + (g ? g-g : 0);
12480 /* HPUX 7.0 cc rejects these. */
12482 ppc = (char**) pcpcc;
12483 pcpcc = (char const *const *) ppc;
12484 { /* SCO 3.2v4 cc rejects this. */
12486 char const *s = 0 ? (char *) 0 : (char const *) 0;
12491 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12492 int x[] = {25, 17};
12493 const int *foo = &x[0];
12496 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12497 typedef const int *iptr;
12501 { /* AIX XL C 1.02.0.0 rejects this saying
12502 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12503 struct s { int j; const int *ap[3]; };
12504 struct s *b; b->j = 5;
12506 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12507 const int foo = 10;
12508 if (!foo) return 0;
12510 return !cs[0] && !zero.x;
12517 rm -f conftest.$ac_objext
12518 if { (ac_try="$ac_compile"
12519 case "(($ac_try" in
12520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12521 *) ac_try_echo
=$ac_try;;
12523 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12524 $as_echo "$ac_try_echo") >&5
12525 (eval "$ac_compile") 2>conftest.er1
12527 grep -v '^ *+' conftest.er1
>conftest.err
12529 cat conftest.err
>&5
12530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); } && {
12532 test -z "$ac_c_werror_flag" ||
12533 test ! -s conftest.err
12534 } && test -s conftest.
$ac_objext; then
12537 $as_echo "$as_me: failed program was:" >&5
12538 sed 's/^/| /' conftest.
$ac_ext >&5
12543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12545 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12546 $as_echo "$ac_cv_c_const" >&6; }
12547 if test $ac_cv_c_const = no
; then
12549 cat >>confdefs.h
<<\_ACEOF
12555 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
12556 $as_echo_n "checking for size_t... " >&6; }
12557 if test "${ac_cv_type_size_t+set}" = set; then
12558 $as_echo_n "(cached) " >&6
12560 ac_cv_type_size_t
=no
12561 cat >conftest.
$ac_ext <<_ACEOF
12564 cat confdefs.h
>>conftest.
$ac_ext
12565 cat >>conftest.
$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 $ac_includes_default
12571 if (sizeof (size_t))
12577 rm -f conftest.
$ac_objext
12578 if { (ac_try
="$ac_compile"
12579 case "(($ac_try" in
12580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12581 *) ac_try_echo=$ac_try;;
12583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12584 $as_echo "$ac_try_echo") >&5
12585 (eval "$ac_compile") 2>conftest.er1
12587 grep -v '^ *+' conftest.er1 >conftest.err
12589 cat conftest.err >&5
12590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest.$ac_objext; then
12595 cat >conftest.$ac_ext <<_ACEOF
12598 cat confdefs.h >>conftest.$ac_ext
12599 cat >>conftest.$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 $ac_includes_default
12605 if (sizeof ((size_t)))
12611 rm -f conftest.$ac_objext
12612 if { (ac_try="$ac_compile"
12613 case "(($ac_try" in
12614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12615 *) ac_try_echo
=$ac_try;;
12617 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12618 $as_echo "$ac_try_echo") >&5
12619 (eval "$ac_compile") 2>conftest.er1
12621 grep -v '^ *+' conftest.er1
>conftest.err
12623 cat conftest.err
>&5
12624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); } && {
12626 test -z "$ac_c_werror_flag" ||
12627 test ! -s conftest.err
12628 } && test -s conftest.
$ac_objext; then
12631 $as_echo "$as_me: failed program was:" >&5
12632 sed 's/^/| /' conftest.
$ac_ext >&5
12634 ac_cv_type_size_t
=yes
12637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12639 $as_echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.
$ac_ext >&5
12645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12647 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12648 $as_echo "$ac_cv_type_size_t" >&6; }
12649 if test "x$ac_cv_type_size_t" = x
""yes; then
12653 cat >>confdefs.h
<<_ACEOF
12654 #define size_t unsigned int
12659 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
12660 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12661 if test "${ac_cv_struct_tm+set}" = set; then
12662 $as_echo_n "(cached) " >&6
12664 cat >conftest.
$ac_ext <<_ACEOF
12667 cat confdefs.h
>>conftest.
$ac_ext
12668 cat >>conftest.
$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12670 #include <sys/types.h>
12677 int *p = &tm.tm_sec;
12683 rm -f conftest.
$ac_objext
12684 if { (ac_try
="$ac_compile"
12685 case "(($ac_try" in
12686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12687 *) ac_try_echo=$ac_try;;
12689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12690 $as_echo "$ac_try_echo") >&5
12691 (eval "$ac_compile") 2>conftest.er1
12693 grep -v '^ *+' conftest.er1 >conftest.err
12695 cat conftest.err >&5
12696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } && {
12698 test -z "$ac_c_werror_flag" ||
12699 test ! -s conftest.err
12700 } && test -s conftest.$ac_objext; then
12701 ac_cv_struct_tm=time.h
12703 $as_echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.$ac_ext >&5
12706 ac_cv_struct_tm=sys/time.h
12709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12711 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
12712 $as_echo "$ac_cv_struct_tm" >&6; }
12713 if test $ac_cv_struct_tm = sys/time.h; then
12715 cat >>confdefs.h <<\_ACEOF
12716 #define TM_IN_SYS_TIME 1
12724 # Check whether --with-libidn was given.
12725 if test "${with_libidn+set}" = set; then
12726 withval=$with_libidn; libidn=$withval
12732 if test "$libidn" != "no"
12736 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12737 if test -n "$ac_tool_prefix"; then
12738 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12739 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12741 $as_echo_n "checking for $ac_word... " >&6; }
12742 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12743 $as_echo_n "(cached) " >&6
12745 case $PKG_CONFIG in
12747 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12751 for as_dir in $PATH
12754 test -z "$as_dir" && as_dir=.
12755 for ac_exec_ext in '' $ac_executable_extensions; do
12756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12757 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12758 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12768 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12769 if test -n "$PKG_CONFIG"; then
12770 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12771 $as_echo "$PKG_CONFIG" >&6; }
12773 { $as_echo "$as_me:$LINENO: result: no" >&5
12774 $as_echo "no" >&6; }
12779 if test -z "$ac_cv_path_PKG_CONFIG"; then
12780 ac_pt_PKG_CONFIG=$PKG_CONFIG
12781 # Extract the first word of "pkg-config", so it can be a program name with args.
12782 set dummy pkg-config; ac_word=$2
12783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12784 $as_echo_n "checking for $ac_word... " >&6; }
12785 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12786 $as_echo_n "(cached) " >&6
12788 case $ac_pt_PKG_CONFIG in
12790 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12794 for as_dir in $PATH
12797 test -z "$as_dir" && as_dir=.
12798 for ac_exec_ext in '' $ac_executable_extensions; do
12799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12800 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12801 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12812 if test -n "$ac_pt_PKG_CONFIG"; then
12813 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12814 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12816 { $as_echo "$as_me:$LINENO: result: no" >&5
12817 $as_echo "no" >&6; }
12820 if test "x$ac_pt_PKG_CONFIG" = x; then
12823 case $cross_compiling:$ac_tool_warned in
12825 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12827 ac_tool_warned=yes ;;
12829 PKG_CONFIG=$ac_pt_PKG_CONFIG
12832 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12836 if test -n "$PKG_CONFIG"; then
12837 _pkg_min_version=0.9.0
12838 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12839 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12840 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12841 { $as_echo "$as_me:$LINENO: result: yes" >&5
12842 $as_echo "yes" >&6; }
12844 { $as_echo "$as_me:$LINENO: result: no" >&5
12845 $as_echo "no" >&6; }
12852 { $as_echo "$as_me:$LINENO: checking for LIBIDN" >&5
12853 $as_echo_n "checking for LIBIDN... " >&6; }
12855 if test -n "$LIBIDN_CFLAGS"; then
12856 pkg_cv_LIBIDN_CFLAGS="$LIBIDN_CFLAGS"
12857 elif test -n "$PKG_CONFIG"; then
12858 if test -n "$PKG_CONFIG" && \
12859 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libidn >= 0.0.0\"") >&5
12860 ($PKG_CONFIG --exists --print-errors "libidn >= 0.0.0") 2>&5
12862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; then
12864 pkg_cv_LIBIDN_CFLAGS=`$PKG_CONFIG --cflags "libidn >= 0.0.0" 2>/dev
/null
`
12871 if test -n "$LIBIDN_LIBS"; then
12872 pkg_cv_LIBIDN_LIBS="$LIBIDN_LIBS"
12873 elif test -n "$PKG_CONFIG"; then
12874 if test -n "$PKG_CONFIG" && \
12875 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libidn >= 0.0.0\"") >&5
12876 ($PKG_CONFIG --exists --print-errors "libidn >= 0.0.0") 2>&5
12878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); }; then
12880 pkg_cv_LIBIDN_LIBS=`$PKG_CONFIG --libs "libidn >= 0.0.0" 2>/dev
/null
`
12890 if test $pkg_failed = yes; then
12892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12893 _pkg_short_errors_supported=yes
12895 _pkg_short_errors_supported=no
12897 if test $_pkg_short_errors_supported = yes; then
12898 LIBIDN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libidn >= 0.0.0" 2>&1`
12900 LIBIDN_PKG_ERRORS=`$PKG_CONFIG --print-errors "libidn >= 0.0.0" 2>&1`
12902 # Put the nasty error message in config.log where it belongs
12903 echo "$LIBIDN_PKG_ERRORS" >&5
12905 { $as_echo "$as_me:$LINENO: result: no" >&5
12906 $as_echo "no" >&6; }
12908 elif test $pkg_failed = untried; then
12911 LIBIDN_CFLAGS=$pkg_cv_LIBIDN_CFLAGS
12912 LIBIDN_LIBS=$pkg_cv_LIBIDN_LIBS
12913 { $as_echo "$as_me:$LINENO: result: yes" >&5
12914 $as_echo "yes" >&6; }
12917 if test "$libidn" != "yes"
12920 { $as_echo "$as_me:$LINENO: WARNING: Libidn not found" >&5
12921 $as_echo "$as_me: WARNING: Libidn not found" >&2;}
12925 cat >>confdefs.h <<\_ACEOF
12931 { $as_echo "$as_me:$LINENO: checking if Libidn should be used" >&5
12932 $as_echo_n "checking if Libidn should be used... " >&6; }
12933 { $as_echo "$as_me:$LINENO: result: $libidn" >&5
12934 $as_echo "$libidn" >&6; }
12939 for ac_func in strcasecmp strncasecmp setlocale
12941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12942 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12943 $as_echo_n "checking for $ac_func... " >&6; }
12944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12945 $as_echo_n "(cached) " >&6
12947 cat >conftest.$ac_ext <<_ACEOF
12950 cat confdefs.h >>conftest.$ac_ext
12951 cat >>conftest.$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12955 #define $ac_func innocuous_$ac_func
12957 /* System header to define __stub macros and hopefully few prototypes,
12958 which can conflict with char $ac_func (); below.
12959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12960 <limits.h> exists even on freestanding compilers. */
12963 # include <limits.h>
12965 # include <assert.h>
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12977 /* The GNU C library defines this for functions which it implements
12978 to always fail with ENOSYS. Some functions are actually named
12979 something starting with __ and the normal name is an alias. */
12980 #if defined __stub_$ac_func || defined __stub___$ac_func
12987 return $ac_func ();
12992 rm -f conftest.$ac_objext conftest$ac_exeext
12993 if { (ac_try="$ac_link"
12994 case "(($ac_try" in
12995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12996 *) ac_try_echo
=$ac_try;;
12998 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12999 $as_echo "$ac_try_echo") >&5
13000 (eval "$ac_link") 2>conftest.er1
13002 grep -v '^ *+' conftest.er1
>conftest.err
13004 cat conftest.err
>&5
13005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } && {
13007 test -z "$ac_c_werror_flag" ||
13008 test ! -s conftest.err
13009 } && test -s conftest
$ac_exeext && {
13010 test "$cross_compiling" = yes ||
13011 $as_test_x conftest
$ac_exeext
13013 eval "$as_ac_var=yes"
13015 $as_echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.
$ac_ext >&5
13018 eval "$as_ac_var=no"
13021 rm -rf conftest.dSYM
13022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13023 conftest
$ac_exeext conftest.
$ac_ext
13025 ac_res
=`eval 'as_val=${'$as_ac_var'}
13026 $as_echo "$as_val"'`
13027 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13028 $as_echo "$ac_res" >&6; }
13029 as_val
=`eval 'as_val=${'$as_ac_var'}
13030 $as_echo "$as_val"'`
13031 if test "x$as_val" = x
""yes; then
13032 cat >>confdefs.h
<<_ACEOF
13033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13040 { $as_echo "$as_me:$LINENO: checking how to calculate alternate timezone" >&5
13041 $as_echo_n "checking how to calculate alternate timezone... " >&6; }
13042 if test "${librfc822_cv_SYS_TIMEZONE+set}" = set; then
13043 $as_echo_n "(cached) " >&6
13045 cat >conftest.
$ac_ext <<_ACEOF
13048 cat confdefs.h
>>conftest.
$ac_ext
13049 cat >>conftest.
$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13069 rm -f conftest.
$ac_objext
13070 if { (ac_try
="$ac_compile"
13071 case "(($ac_try" in
13072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13073 *) ac_try_echo=$ac_try;;
13075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13076 $as_echo "$ac_try_echo") >&5
13077 (eval "$ac_compile") 2>conftest.er1
13079 grep -v '^ *+' conftest.er1 >conftest.err
13081 cat conftest.err >&5
13082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); } && {
13084 test -z "$ac_c_werror_flag" ||
13085 test ! -s conftest.err
13086 } && test -s conftest.$ac_objext; then
13087 librfc822_cv_SYS_TIMEZONE=altzone
13089 $as_echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.$ac_ext >&5
13092 cat >conftest.$ac_ext <<_ACEOF
13095 cat confdefs.h >>conftest.$ac_ext
13096 cat >>conftest.$ac_ext <<_ACEOF
13097 /* end confdefs.h. */
13116 rm -f conftest.$ac_objext
13117 if { (ac_try="$ac_compile"
13118 case "(($ac_try" in
13119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13120 *) ac_try_echo
=$ac_try;;
13122 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13123 $as_echo "$ac_try_echo") >&5
13124 (eval "$ac_compile") 2>conftest.er1
13126 grep -v '^ *+' conftest.er1
>conftest.err
13128 cat conftest.err
>&5
13129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } && {
13131 test -z "$ac_c_werror_flag" ||
13132 test ! -s conftest.err
13133 } && test -s conftest.
$ac_objext; then
13134 librfc822_cv_SYS_TIMEZONE
=daylight
13136 $as_echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.
$ac_ext >&5
13139 cat >conftest.
$ac_ext <<_ACEOF
13142 cat confdefs.h
>>conftest.
$ac_ext
13143 cat >>conftest.
$ac_ext <<_ACEOF
13144 /* end confdefs.h. */
13148 extern struct tm dummy;
13156 long n=dummy.tm_gmtoff;
13165 rm -f conftest.
$ac_objext
13166 if { (ac_try
="$ac_compile"
13167 case "(($ac_try" in
13168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13169 *) ac_try_echo=$ac_try;;
13171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13172 $as_echo "$ac_try_echo") >&5
13173 (eval "$ac_compile") 2>conftest.er1
13175 grep -v '^ *+' conftest.er1 >conftest.err
13177 cat conftest.err >&5
13178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } && {
13180 test -z "$ac_c_werror_flag" ||
13181 test ! -s conftest.err
13182 } && test -s conftest.$ac_objext; then
13183 librfc822_cv_SYS_TIMEZONE=tm_gmtoff
13185 $as_echo "$as_me: failed program was:" >&5
13186 sed 's/^/| /' conftest.$ac_ext >&5
13188 librfc822_cv_SYS_TIMEZONE=unknown
13192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13203 { $as_echo "$as_me:$LINENO: result: $librfc822_cv_SYS_TIMEZONE" >&5
13204 $as_echo "$librfc822_cv_SYS_TIMEZONE" >&6; }
13206 case $librfc822_cv_SYS_TIMEZONE in
13209 cat >>confdefs.h <<_ACEOF
13210 #define USE_TIME_GMTOFF 1
13216 cat >>confdefs.h <<_ACEOF
13217 #define USE_TIME_ALTZONE 1
13223 cat >>confdefs.h <<_ACEOF
13224 #define USE_TIME_DAYLIGHT 1
13229 { $as_echo "$as_me:$LINENO: WARNING: Cannot figure out how to calculate the alternate timezone, will use GMT" >&5
13230 $as_echo "$as_me: WARNING: Cannot figure out how to calculate the alternate timezone, will use GMT" >&2;}
13234 if test -d ${srcdir}/../docbook; then
13236 HAVE_SGML_FALSE='#'
13243 ac_config_files="$ac_config_files Makefile"
13245 cat >confcache <<\_ACEOF
13246 # This file is a shell script that caches the results of configure
13247 # tests run on this system so they can be shared between configure
13248 # scripts and configure runs, see configure's option --config-cache.
13249 # It is not useful on other systems. If it contains results you don't
13250 # want to keep, you may remove or edit it.
13252 # config.status only pays attention to the cache file if you give it
13253 # the --recheck option to rerun configure.
13255 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
13256 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13257 # following values.
13261 # The following way of writing the cache mishandles newlines in values,
13262 # but we know of no workaround that is simple, portable, and efficient.
13263 # So, we kill variables containing newlines.
13264 # Ultrix sh set writes to stderr and can't be redirected directly,
13265 # and sets the high bit in the cache file unless we assign to the vars.
13267 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13268 eval ac_val
=\$
$ac_var
13272 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13273 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13276 _ | IFS | as_nl
) ;; #(
13277 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13278 *) $as_unset $ac_var ;;
13284 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13285 *${as_nl}ac_space
=\
*)
13286 # `set' does not quote correctly, so add quotes (double-quote
13287 # substitution turns \\\\ into \\, and sed turns \\ into \).
13290 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13293 # `set' quotes correctly as required by POSIX, so do not add quotes.
13294 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13303 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13305 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13307 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13308 if test -w "$cache_file"; then
13309 test "x$cache_file" != "x/dev/null" &&
13310 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13311 $as_echo "$as_me: updating cache $cache_file" >&6;}
13312 cat confcache
>$cache_file
13314 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13315 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13320 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13321 # Let make expand exec_prefix.
13322 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13324 DEFS
=-DHAVE_CONFIG_H
13328 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13329 # 1. Remove the extension, and $U if already installed.
13330 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13331 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13332 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13333 # will be set to the directory where LIBOBJS objects are built.
13334 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13335 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13337 LIBOBJS
=$ac_libobjs
13339 LTLIBOBJS
=$ac_ltlibobjs
13342 if test -n "$EXEEXT"; then
13344 am__EXEEXT_FALSE
='#'
13346 am__EXEEXT_TRUE
='#'
13350 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13351 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13352 Usually this means the macro was only invoked conditionally." >&5
13353 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13354 Usually this means the macro was only invoked conditionally." >&2;}
13355 { (exit 1); exit 1; }; }
13357 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13358 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13359 Usually this means the macro was only invoked conditionally." >&5
13360 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13361 Usually this means the macro was only invoked conditionally." >&2;}
13362 { (exit 1); exit 1; }; }
13364 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13365 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13366 Usually this means the macro was only invoked conditionally." >&5
13367 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13368 Usually this means the macro was only invoked conditionally." >&2;}
13369 { (exit 1); exit 1; }; }
13371 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
13372 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
13373 Usually this means the macro was only invoked conditionally." >&5
13374 $as_echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
13375 Usually this means the macro was only invoked conditionally." >&2;}
13376 { (exit 1); exit 1; }; }
13379 : ${CONFIG_STATUS=./config.status}
13381 ac_clean_files_save
=$ac_clean_files
13382 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13383 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13384 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13385 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13387 # Generated by $as_me.
13388 # Run this file to recreate the current configuration.
13389 # Compiler output produced by configure, useful for debugging
13390 # configure, is in config.log if it exists.
13393 ac_cs_recheck=false
13395 SHELL=\${CONFIG_SHELL-$SHELL}
13398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13399 ## --------------------- ##
13400 ## M4sh Initialization. ##
13401 ## --------------------- ##
13403 # Be more Bourne compatible
13404 DUALCASE
=1; export DUALCASE
# for MKS sh
13405 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13408 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13409 # is contrary to our usage. Disable this feature.
13410 alias -g '${1+"$@"}'='"$@"'
13411 setopt NO_GLOB_SUBST
13413 case `(set -o) 2>/dev/null` in
13414 *posix
*) set -o posix
;;
13423 # Avoid depending upon Character Ranges.
13424 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13425 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13426 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13427 as_cr_digits
='0123456789'
13428 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13433 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13434 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13435 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13436 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13437 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13438 as_echo='printf %s
\n'
13439 as_echo_n='printf %s
'
13441 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13442 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13443 as_echo_n='/usr
/ucb
/echo -n'
13445 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13446 as_echo_n_body='eval
13450 expr "X$arg" : "X\\(.*\\)$as_nl";
13451 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13453 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13455 export as_echo_n_body
13456 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13458 export as_echo_body
13459 as_echo='sh
-c $as_echo_body as_echo
'
13462 # The user is always right.
13463 if test "${PATH_SEPARATOR+set}" != set; then
13465 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13466 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13471 # Support unset when possible.
13472 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13480 # We need space, tab and new line, in precisely that order. Quoting is
13481 # there to prevent editors from complaining about space-tab.
13482 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13483 # splitting by setting IFS to empty value.)
13486 # Find who we are. Look in the path if we contain no directory separator.
13488 *[\\/]* ) as_myself=$0 ;;
13489 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13490 for as_dir in $PATH
13493 test -z "$as_dir" && as_dir=.
13494 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13500 # We did not find ourselves, most probably we were run as `sh COMMAND'
13501 # in which case we are not to be found in the path.
13502 if test "x$as_myself" = x
; then
13505 if test ! -f "$as_myself"; then
13506 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13507 { (exit 1); exit 1; }
13510 # Work around bugs in pre-3.0 UWIN ksh.
13511 for as_var
in ENV MAIL MAILPATH
13512 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13524 # Required to use basename.
13525 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13526 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13532 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13533 as_basename
=basename
13539 # Name of the executable.
13540 as_me
=`$as_basename -- "$0" ||
13541 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13542 X"$0" : 'X\(//\)$' \| \
13543 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13545 sed '/^.*\/\([^/][^/]*\)\/*$/{
13564 as_lineno_1
=$LINENO
13565 as_lineno_2
=$LINENO
13566 test "x$as_lineno_1" != "x$as_lineno_2" &&
13567 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13569 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13570 # uniformly replaced by the line number. The first 'sed' inserts a
13571 # line-number line after each line using $LINENO; the second 'sed'
13572 # does the real work. The second script uses 'N' to pair each
13573 # line-number line with the line containing $LINENO, and appends
13574 # trailing '-' during substitution so that $LINENO is not a special
13575 # case at line end.
13576 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13577 # scripts with optimization help from Paolo Bonzini. Blame Lee
13578 # E. McMahon (1931-1989) for sed's syntax. :-)
13590 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13593 ' >$as_me.lineno
&&
13594 chmod +x
"$as_me.lineno" ||
13595 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13596 { (exit 1); exit 1; }; }
13598 # Don't try to exec as it changes $[0], causing all sort of problems
13599 # (the dirname of $[0] is not the place where we might find the
13600 # original and so on. Autoconf is especially sensitive to this).
13601 .
"./$as_me.lineno"
13602 # Exit status is that of the last command.
13607 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13613 ECHO_C
= ECHO_N
= ECHO_T
=
13614 case `echo -n x` in
13616 case `echo 'x\c'` in
13617 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13623 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13624 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13630 rm -f conf$$ conf$$.exe conf$$.
file
13631 if test -d conf$$.dir
; then
13632 rm -f conf$$.dir
/conf$$.
file
13635 mkdir conf$$.dir
2>/dev
/null
13637 if (echo >conf$$.
file) 2>/dev
/null
; then
13638 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13640 # ... but there are two gotchas:
13641 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13642 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13643 # In both cases, we have to default to `cp -p'.
13644 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13646 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13654 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13655 rmdir conf$$.dir
2>/dev
/null
13657 if mkdir
-p .
2>/dev
/null
; then
13660 test -d .
/-p && rmdir .
/-p
13664 if test -x / >/dev
/null
2>&1; then
13665 as_test_x
='test -x'
13667 if ls -dL / >/dev
/null
2>&1; then
13674 if test -d "$1"; then
13680 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13681 ???[sx]*):;;*)false;;esac;fi
13685 as_executable_p
=$as_test_x
13687 # Sed expression to map a string onto a valid CPP name.
13688 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13690 # Sed expression to map a string onto a valid variable name.
13691 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13696 # Save the log message, to keep $[0] and so on meaningful, and to
13697 # report actual input values of CONFIG_FILES etc. instead of their
13698 # values after options handling.
13700 This file was extended by rfc822lib $as_me 0.13, which was
13701 generated by GNU Autoconf 2.63. Invocation command line was
13703 CONFIG_FILES = $CONFIG_FILES
13704 CONFIG_HEADERS = $CONFIG_HEADERS
13705 CONFIG_LINKS = $CONFIG_LINKS
13706 CONFIG_COMMANDS = $CONFIG_COMMANDS
13709 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13714 case $ac_config_files in *"
13715 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13718 case $ac_config_headers in *"
13719 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13724 # Files that config.status was made for.
13725 config_files="$ac_config_files"
13726 config_headers="$ac_config_headers"
13727 config_commands="$ac_config_commands"
13731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13733 \`$as_me' instantiates files from templates according to the
13734 current configuration.
13736 Usage: $0 [OPTION]... [FILE]...
13738 -h, --help print this help, then exit
13739 -V, --version print version number and configuration settings, then exit
13740 -q, --quiet, --silent
13741 do not print progress messages
13742 -d, --debug don't remove temporary files
13743 --recheck update $as_me by reconfiguring in the same conditions
13744 --file=FILE[:TEMPLATE]
13745 instantiate the configuration file FILE
13746 --header=FILE[:TEMPLATE]
13747 instantiate the configuration header FILE
13749 Configuration files:
13752 Configuration headers:
13755 Configuration commands:
13758 Report bugs to <bug-autoconf@gnu.org>."
13761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13763 rfc822lib config.status 0.13
13764 configured by $0, generated by GNU Autoconf 2.63,
13765 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13767 Copyright (C) 2008 Free Software Foundation, Inc.
13768 This config.status script is free software; the Free Software Foundation
13769 gives unlimited permission to copy, distribute and modify it."
13776 test -n "\$AWK" || AWK=awk
13779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13780 # The default lists apply if the user does not specify any file.
13786 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13787 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13798 # Handling of the options.
13799 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13801 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13802 $as_echo "$ac_cs_version"; exit ;;
13803 --debug |
--debu |
--deb |
--de |
--d |
-d )
13805 --file |
--fil |
--fi |
--f )
13808 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13810 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13811 ac_need_defaults
=false
;;
13812 --header |
--heade |
--head |
--hea )
13815 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13817 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13818 ac_need_defaults
=false
;;
13820 # Conflict between --help and --header
13821 { $as_echo "$as_me: error: ambiguous option: $1
13822 Try \`$0 --help' for more information." >&2
13823 { (exit 1); exit 1; }; };;
13824 --help |
--hel |
-h )
13825 $as_echo "$ac_cs_usage"; exit ;;
13826 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13827 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13830 # This is an error.
13831 -*) { $as_echo "$as_me: error: unrecognized option: $1
13832 Try \`$0 --help' for more information." >&2
13833 { (exit 1); exit 1; }; } ;;
13835 *) ac_config_targets
="$ac_config_targets $1"
13836 ac_need_defaults
=false
;;
13842 ac_configure_extra_args
=
13844 if $ac_cs_silent; then
13846 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13851 if \$ac_cs_recheck; then
13852 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13854 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13855 CONFIG_SHELL='$SHELL'
13856 export CONFIG_SHELL
13861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13865 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13866 ## Running $as_me. ##
13872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13876 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13879 # The HP-UX ksh and POSIX shell print the target directory to stdout
13880 # if CDPATH is set.
13881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13883 sed_quote_subst='$sed_quote_subst'
13884 double_quote_subst='$double_quote_subst'
13885 delay_variable_subst='$delay_variable_subst'
13886 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13887 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13888 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13889 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13890 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13891 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13892 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13893 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13894 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13895 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13896 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13897 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13898 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13899 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13900 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13901 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13902 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13903 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13904 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13905 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13906 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13907 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13908 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13909 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13910 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13911 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13912 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13913 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13914 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13915 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13916 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13917 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13918 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13919 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13920 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13921 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13922 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13923 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13924 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13925 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13926 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13927 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13928 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13929 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13930 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"`'
13931 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"`'
13932 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13933 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13934 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13935 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13936 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13937 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13938 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13939 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13940 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13941 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13942 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13943 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13944 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13945 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13946 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13947 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13948 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13949 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13950 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13951 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13952 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13953 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13954 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13955 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13956 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13957 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13958 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13959 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13960 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13961 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13962 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13963 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13964 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13965 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13966 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13967 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13968 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13969 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13970 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13971 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13972 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13973 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13974 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13975 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13976 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13977 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13978 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13979 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13980 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13981 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13982 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13983 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13984 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13985 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13986 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13987 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13988 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13989 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13990 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13991 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13992 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13993 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13994 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13995 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13996 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13997 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13998 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13999 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14000 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14001 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14002 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14003 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14006 LTCFLAGS='$LTCFLAGS'
14007 compiler='$compiler_DEFAULT'
14009 # Quote evaled strings.
14021 deplibs_check_method \
14030 lt_cv_sys_global_symbol_pipe \
14031 lt_cv_sys_global_symbol_to_cdecl \
14032 lt_cv_sys_global_symbol_to_c_name_address \
14033 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14036 lt_prog_compiler_no_builtin_flag \
14037 lt_prog_compiler_wl \
14038 lt_prog_compiler_pic \
14039 lt_prog_compiler_static \
14040 lt_cv_prog_compiler_c_o \
14048 export_dynamic_flag_spec \
14049 whole_archive_flag_spec \
14050 compiler_needs_object \
14052 allow_undefined_flag \
14053 no_undefined_flag \
14054 hardcode_libdir_flag_spec \
14055 hardcode_libdir_flag_spec_ld \
14056 hardcode_libdir_separator \
14061 variables_saved_for_relink \
14063 library_names_spec \
14068 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14069 *[\\\\\\\`\\"\\\$]*)
14070 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14073 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14078 # Double-quote double-evaled strings.
14079 for var in reload_cmds \
14080 old_postinstall_cmds \
14081 old_postuninstall_cmds \
14083 extract_expsyms_cmds \
14084 old_archive_from_new_cmds \
14085 old_archive_from_expsyms_cmds \
14087 archive_expsym_cmds \
14089 module_expsym_cmds \
14090 export_symbols_cmds \
14093 postuninstall_cmds \
14095 sys_lib_search_path_spec \
14096 sys_lib_dlsearch_path_spec; do
14097 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14098 *[\\\\\\\`\\"\\\$]*)
14099 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14102 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14107 # Fix-up fallback echo if it was mangled by the above quoting rules.
14109 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14113 ac_aux_dir='$ac_aux_dir'
14114 xsi_shell='$xsi_shell'
14115 lt_shell_append='$lt_shell_append'
14117 # See if we are running on zsh, and set the options which allow our
14118 # commands through without removal of \ escapes INIT.
14119 if test -n "\${ZSH_VERSION+set}" ; then
14120 setopt NO_GLOB_SUBST
14126 TIMESTAMP='$TIMESTAMP'
14135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14137 # Handling of arguments.
14138 for ac_config_target
in $ac_config_targets
14140 case $ac_config_target in
14141 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14142 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14143 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14144 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14146 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14147 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14148 { (exit 1); exit 1; }; };;
14153 # If the user did not use the arguments to specify the items to instantiate,
14154 # then the envvar interface is used. Set only those that are not.
14155 # We use the long form for the default assignment because of an extremely
14156 # bizarre bug on SunOS 4.1.3.
14157 if $ac_need_defaults; then
14158 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14159 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14160 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14163 # Have a temporary directory for convenience. Make it in the build tree
14164 # simply because there is no reason against having it here, and in addition,
14165 # creating and moving files from /tmp can sometimes cause problems.
14166 # Hook for its removal unless debugging.
14167 # Note that there is a small window in which the directory will not be cleaned:
14168 # after its creation but before its name has been assigned to `$tmp'.
14172 trap 'exit_status=$?
14173 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14175 trap '{ (exit 1); exit 1; }' 1 2 13 15
14177 # Create a (secure) tmp directory for tmp files.
14180 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14181 test -n "$tmp" && test -d "$tmp"
14184 tmp
=.
/conf$$
-$RANDOM
14185 (umask 077 && mkdir
"$tmp")
14188 $as_echo "$as_me: cannot create a temporary directory in ." >&2
14189 { (exit 1); exit 1; }
14192 # Set up the scripts for CONFIG_FILES section.
14193 # No need to generate them if there are no CONFIG_FILES.
14194 # This happens for instance with `./config.status config.h'.
14195 if test -n "$CONFIG_FILES"; then
14199 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14200 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14203 ac_cs_awk_cr
=$ac_cr
14206 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14211 echo "cat >conf$$subs.awk <<_ACEOF" &&
14212 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14214 } >conf$$subs.sh ||
14215 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14216 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14217 { (exit 1); exit 1; }; }
14218 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14220 for ac_last_try in false false false false false :; do
14221 . ./conf$$subs.sh ||
14222 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14223 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14224 { (exit 1); exit 1; }; }
14226 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14227 if test $ac_delim_n = $ac_delim_num; then
14229 elif $ac_last_try; then
14230 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14231 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14232 { (exit 1); exit 1; }; }
14234 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14237 rm -f conf$$subs.sh
14239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14240 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14244 s/^/S["/; s
/!.
*/"]=/
14254 s/\(.\{148\}\).*/\1/
14256 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14261 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14268 s/\(.\{148\}\).*/\1/
14270 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14274 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14279 ' <conf$$subs.awk | sed '
14284 ' >>$CONFIG_STATUS || ac_write_fail=1
14285 rm -f conf$$subs.awk
14286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14288 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14289 for (key in S) S_is_set[key] = 1
14295 nfields = split(line, field, "@
")
14297 len = length(field[1])
14298 for (i = 2; i < nfields; i++) {
14300 keylen = length(key)
14301 if (S_is_set[key]) {
14303 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14304 len += length(value) + length(field[++i])
14315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14316 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14317 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14320 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14321 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14322 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14323 { (exit 1); exit 1; }; }
14326 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14327 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14328 # trailing colons and then remove the whole line if VPATH becomes empty
14329 # (actually we leave an empty line to preserve line numbers).
14330 if test "x
$srcdir" = x.; then
14331 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14332 s/:*\$(srcdir):*/:/
14333 s/:*\${srcdir}:*/:/
14335 s/^\([^=]*=[ ]*\):*/\1/
14341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14342 fi # test -n "$CONFIG_FILES"
14344 # Set up the scripts for CONFIG_HEADERS section.
14345 # No need to generate them if there are no CONFIG_HEADERS.
14346 # This happens for instance with `./config.status Makefile'.
14347 if test -n "$CONFIG_HEADERS"; then
14348 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14352 # Transform confdefs.h into an awk script `defines.awk', embedded as
14353 # here-document in config.status, that substitutes the proper values into
14354 # config.h.in to produce config.h.
14356 # Create a delimiter string that does not exist in confdefs.h, to ease
14357 # handling of long lines.
14359 for ac_last_try in false false :; do
14360 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14361 if test -z "$ac_t"; then
14363 elif $ac_last_try; then
14364 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14365 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14366 { (exit 1); exit 1; }; }
14368 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14372 # For the awk script, D is an array of macro values keyed by name,
14373 # likewise P contains macro parameters if any. Preserve backslash
14374 # newline sequences.
14376 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14378 s/.\{148\}/&'"$ac_delim"'/g
14381 s/^[ ]*#[ ]*define[ ][ ]*/ /
14388 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14390 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14395 D["\
1"]=" \
3\\\\\\n
"\\/p
14397 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14402 s/.\{148\}/&'"$ac_delim"'/g
14407 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14410 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14412 ' <confdefs.h | sed '
14413 s/'"$ac_delim"'/"\\\
14414 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14417 for (key in D) D_is_set[key] = 1
14420 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14422 split(line, arg, " ")
14423 if (arg[1] == "#") {
14427 defundef
= substr
(arg
[1], 2)
14430 split(mac1
, mac2
, "(") #)
14432 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14433 if (D_is_set
[macro
]) {
14434 # Preserve the white space surrounding the "#".
14435 print prefix
"define", macro P
[macro
] D
[macro
]
14438 # Replace #undef with comments. This is necessary, for example,
14439 # in the case of _POSIX_SOURCE, which is predefined and required
14440 # on some systems where configure will not decide to define it.
14441 if (defundef
== "undef") {
14442 print
"/*", prefix defundef
, macro
, "*/"
14450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14451 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14452 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14453 { (exit 1); exit 1; }; }
14454 fi # test -n "$CONFIG_HEADERS"
14457 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14462 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14464 case $ac_mode$ac_tag in
14466 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14467 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14468 { (exit 1); exit 1; }; };;
14469 :[FH
]-) ac_tag
=-:-;;
14470 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14487 -) ac_f
="$tmp/stdin";;
14488 *) # Look for the file first in the build tree, then in the source tree
14489 # (if the path is not absolute). The absolute path cannot be DOS-style,
14490 # because $ac_f cannot contain `:'.
14494 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14496 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14497 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14498 { (exit 1); exit 1; }; };;
14500 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14501 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14504 # Let's still pretend it is `configure' which instantiates (i.e., don't
14505 # use $as_me), people would be surprised to read:
14506 # /* config.h. Generated by config.status. */
14507 configure_input
='Generated from '`
14508 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14510 if test x
"$ac_file" != x-
; then
14511 configure_input
="$ac_file. $configure_input"
14512 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14513 $as_echo "$as_me: creating $ac_file" >&6;}
14515 # Neutralize special characters interpreted by sed in replacement strings.
14516 case $configure_input in #(
14517 *\
&* |
*\|
* |
*\\* )
14518 ac_sed_conf_input
=`$as_echo "$configure_input" |
14519 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14520 *) ac_sed_conf_input
=$configure_input;;
14524 *:-:* |
*:-) cat >"$tmp/stdin" \
14525 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14526 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14527 { (exit 1); exit 1; }; } ;;
14532 ac_dir
=`$as_dirname -- "$ac_file" ||
14533 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14534 X"$ac_file" : 'X\(//\)[^/]' \| \
14535 X"$ac_file" : 'X\(//\)$' \| \
14536 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14537 $as_echo X"$ac_file" |
14538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14542 /^X\(\/\/\)[^/].*/{
14557 -*) as_dir
=.
/$as_dir;;
14559 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14563 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14564 *) as_qdir
=$as_dir;;
14566 as_dirs
="'$as_qdir' $as_dirs"
14567 as_dir
=`$as_dirname -- "$as_dir" ||
14568 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14569 X"$as_dir" : 'X\(//\)[^/]' \| \
14570 X"$as_dir" : 'X\(//\)$' \| \
14571 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14572 $as_echo X"$as_dir" |
14573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14577 /^X\(\/\/\)[^/].*/{
14590 test -d "$as_dir" && break
14592 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14593 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14594 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14595 { (exit 1); exit 1; }; }; }
14599 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14601 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14602 # A ".." for each directory in $ac_dir_suffix.
14603 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14604 case $ac_top_builddir_sub in
14605 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14606 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14609 ac_abs_top_builddir
=$ac_pwd
14610 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14611 # for backward compatibility:
14612 ac_top_builddir
=$ac_top_build_prefix
14615 .
) # We are building in place.
14617 ac_top_srcdir
=$ac_top_builddir_sub
14618 ac_abs_top_srcdir
=$ac_pwd ;;
14619 [\\/]* | ?
:[\\/]* ) # Absolute name.
14620 ac_srcdir
=$srcdir$ac_dir_suffix;
14621 ac_top_srcdir
=$srcdir
14622 ac_abs_top_srcdir
=$srcdir ;;
14623 *) # Relative name.
14624 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14625 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14626 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14628 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14638 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14639 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14641 ac_MKDIR_P
=$MKDIR_P
14643 [\\/$
]* | ?
:[\\/]* ) ;;
14644 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14649 # If the template does not know about datarootdir, expand it.
14650 # FIXME: This hack should be removed a few years after 2.60.
14651 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14665 *datarootdir
*) ac_datarootdir_seen
=yes;;
14666 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14667 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14668 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14671 ac_datarootdir_hack='
14672 s&@datadir@&$datadir&g
14673 s&@docdir@&$docdir&g
14674 s&@infodir@&$infodir&g
14675 s&@localedir@&$localedir&g
14676 s&@mandir@&$mandir&g
14677 s&\\\${datarootdir}&$datarootdir&g' ;;
14681 # Neutralize VPATH when `$srcdir' = `.'.
14682 # Shell code in configure.ac might set extrasub.
14683 # FIXME: do we really want to maintain this feature?
14684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14685 ac_sed_extra="$ac_vpsub
14688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14690 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14691 s|@configure_input@|
$ac_sed_conf_input|
;t t
14692 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14693 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14694 s
&@srcdir@
&$ac_srcdir&;t t
14695 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14696 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14697 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14698 s
&@builddir@
&$ac_builddir&;t t
14699 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14700 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14701 s
&@INSTALL@
&$ac_INSTALL&;t t
14702 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14703 $ac_datarootdir_hack
14705 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14706 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14707 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14708 { (exit 1); exit 1; }; }
14710 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14711 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14712 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14713 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14714 which seems to be undefined. Please make sure it is defined." >&5
14715 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14716 which seems to be undefined. Please make sure it is defined." >&2;}
14720 -) cat "$tmp/out" && rm -f "$tmp/out";;
14721 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14723 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14724 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14725 { (exit 1); exit 1; }; }
14731 if test x"$ac_file" != x-; then
14733 $as_echo "/* $configure_input */" \
14734 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14735 } >"$tmp/config.h" \
14736 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14737 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14738 { (exit 1); exit 1; }; }
14739 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14740 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14741 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14744 mv "$tmp/config.h" "$ac_file" \
14745 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14746 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14747 { (exit 1); exit 1; }; }
14750 $as_echo "/* $configure_input */" \
14751 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14752 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14753 $as_echo "$as_me: error: could not create -" >&2;}
14754 { (exit 1); exit 1; }; }
14756 # Compute "$ac_file"'s index
in $config_headers.
14759 for _am_header
in $config_headers :; do
14760 case $_am_header in
14761 $_am_arg |
$_am_arg:* )
14764 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14767 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14768 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14769 X"$_am_arg" : 'X\(//\)[^/]' \| \
14770 X"$_am_arg" : 'X\(//\)$' \| \
14771 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14772 $as_echo X"$_am_arg" |
14773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14777 /^X\(\/\/\)[^/].*/{
14789 s/.*/./; q'`/stamp-h
$_am_stamp_count
14792 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14793 $as_echo "$as_me: executing $ac_file commands" >&6;}
14798 case $ac_file$ac_mode in
14799 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14800 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14801 # are listed without --file. Let's play safe and only enable the eval
14802 # if we detect the quoting.
14803 case $CONFIG_FILES in
14804 *\'*) eval set x
"$CONFIG_FILES" ;;
14805 *) set x
$CONFIG_FILES ;;
14810 # Strip MF so we end up with the name of the file.
14811 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14812 # Check whether this is an Automake generated Makefile or not.
14813 # We used to match only the files named `Makefile.in', but
14814 # some people rename them; so instead we look at the file content.
14815 # Grep'ing the first line is not enough: some people post-process
14816 # each Makefile.in and add a new line on top of each file to say so.
14817 # Grep'ing the whole file is not good either: AIX grep has a line
14818 # limit of 2048, but all sed's we know have understand at least 4000.
14819 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14820 dirpart
=`$as_dirname -- "$mf" ||
14821 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14822 X"$mf" : 'X\(//\)[^/]' \| \
14823 X"$mf" : 'X\(//\)$' \| \
14824 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14830 /^X\(\/\/\)[^/].*/{
14846 # Extract the definition of DEPDIR, am__include, and am__quote
14847 # from the Makefile without running `make'.
14848 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14849 test -z "$DEPDIR" && continue
14850 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14851 test -z "am__include" && continue
14852 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14853 # When using ansi2knr, U may be empty or an underscore; expand it
14854 U
=`sed -n 's/^U = //p' < "$mf"`
14855 # Find all dependency output files, they are included files with
14856 # $(DEPDIR) in their names. We invoke sed twice because it is the
14857 # simplest approach to changing $(DEPDIR) to its actual value in the
14859 for file in `sed -n "
14860 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14861 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14862 # Make sure the directory exists.
14863 test -f "$dirpart/$file" && continue
14864 fdir
=`$as_dirname -- "$file" ||
14865 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14866 X"$file" : 'X\(//\)[^/]' \| \
14867 X"$file" : 'X\(//\)$' \| \
14868 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14869 $as_echo X"$file" |
14870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14874 /^X\(\/\/\)[^/].*/{
14887 { as_dir
=$dirpart/$fdir
14889 -*) as_dir
=.
/$as_dir;;
14891 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14895 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14896 *) as_qdir
=$as_dir;;
14898 as_dirs
="'$as_qdir' $as_dirs"
14899 as_dir
=`$as_dirname -- "$as_dir" ||
14900 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14901 X"$as_dir" : 'X\(//\)[^/]' \| \
14902 X"$as_dir" : 'X\(//\)$' \| \
14903 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14904 $as_echo X"$as_dir" |
14905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14909 /^X\(\/\/\)[^/].*/{
14922 test -d "$as_dir" && break
14924 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14925 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14926 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14927 { (exit 1); exit 1; }; }; }
14928 # echo "creating $dirpart/$file"
14929 echo '# dummy' > "$dirpart/$file"
14936 # See if we are running on zsh, and set the options which allow our
14937 # commands through without removal of \ escapes.
14938 if test -n "${ZSH_VERSION+set}" ; then
14939 setopt NO_GLOB_SUBST
14942 cfgfile
="${ofile}T"
14943 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14946 cat <<_LT_EOF >> "$cfgfile"
14949 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14950 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14951 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14952 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14954 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14955 # 2006, 2007, 2008 Free Software Foundation, Inc.
14956 # Written by Gordon Matzigkeit, 1996
14958 # This file is part of GNU Libtool.
14960 # GNU Libtool is free software; you can redistribute it and/or
14961 # modify it under the terms of the GNU General Public License as
14962 # published by the Free Software Foundation; either version 2 of
14963 # the License, or (at your option) any later version.
14965 # As a special exception to the GNU General Public License,
14966 # if you distribute this file as part of a program or library that
14967 # is built using GNU Libtool, you may include this file under the
14968 # same distribution terms that you use for the rest of that program.
14970 # GNU Libtool is distributed in the hope that it will be useful,
14971 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14972 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14973 # GNU General Public License for more details.
14975 # You should have received a copy of the GNU General Public License
14976 # along with GNU Libtool; see the file COPYING. If not, a copy
14977 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14978 # obtained by writing to the Free Software Foundation, Inc.,
14979 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14982 # The names of the tagged configurations supported by this script.
14985 # ### BEGIN LIBTOOL CONFIG
14987 # Which release of libtool.m4 was used?
14988 macro_version=$macro_version
14989 macro_revision=$macro_revision
14991 # Whether or not to build shared libraries.
14992 build_libtool_libs=$enable_shared
14994 # Whether or not to build static libraries.
14995 build_old_libs=$enable_static
14997 # What type of objects to build.
15000 # Whether or not to optimize for fast installation.
15001 fast_install=$enable_fast_install
15004 host_alias=$host_alias
15008 # The build system.
15009 build_alias=$build_alias
15013 # A sed program that does not truncate output.
15016 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15017 Xsed="\$SED -e 1s/^X//"
15019 # A grep program that handles long lines.
15025 # A literal string matcher.
15028 # A BSD- or MS-compatible name lister.
15031 # Whether we need soft or hard links.
15034 # What is the maximum length of a command?
15035 max_cmd_len=$max_cmd_len
15037 # Object file suffix (normally "o").
15040 # Executable file suffix (normally "").
15043 # whether the shell understands "unset".
15046 # turn spaces into newlines.
15049 # turn newlines into spaces.
15052 # How to create reloadable object files.
15053 reload_flag=$lt_reload_flag
15054 reload_cmds=$lt_reload_cmds
15056 # An object symbol dumper.
15057 OBJDUMP=$lt_OBJDUMP
15059 # Method to check whether dependent libraries are shared objects.
15060 deplibs_check_method=$lt_deplibs_check_method
15062 # Command to use when deplibs_check_method == "file_magic".
15063 file_magic_cmd=$lt_file_magic_cmd
15067 AR_FLAGS=$lt_AR_FLAGS
15069 # A symbol stripping program.
15072 # Commands used to install an old-style archive.
15074 old_postinstall_cmds=$lt_old_postinstall_cmds
15075 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15080 # LTCC compiler flags.
15081 LTCFLAGS=$lt_CFLAGS
15083 # Take the output of nm and produce a listing of raw symbols and C names.
15084 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15086 # Transform the output of nm in a proper C declaration.
15087 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15089 # Transform the output of nm in a C name address pair.
15090 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15092 # Transform the output of nm in a C name address pair when lib prefix is needed.
15093 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15095 # The name of the directory that contains temporary libtool files.
15098 # Shell to use when invoking shell scripts.
15101 # An echo program that does not interpret backslashes.
15104 # Used to examine libraries when file_magic_cmd begins with "file".
15105 MAGIC_CMD=$MAGIC_CMD
15107 # Must we lock files when doing compilation?
15108 need_locks=$lt_need_locks
15110 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15111 DSYMUTIL=$lt_DSYMUTIL
15113 # Tool to change global to local symbols on Mac OS X.
15116 # Tool to manipulate fat objects and archives on Mac OS X.
15119 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15122 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15123 OTOOL64=$lt_OTOOL64
15125 # Old archive suffix (normally "a").
15128 # Shared library suffix (normally ".so").
15129 shrext_cmds=$lt_shrext_cmds
15131 # The commands to extract the exported symbol list from a shared archive.
15132 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15134 # Variables whose values should be saved in libtool wrapper scripts and
15135 # restored at link time.
15136 variables_saved_for_relink=$lt_variables_saved_for_relink
15138 # Do we need the "lib" prefix for modules?
15139 need_lib_prefix=$need_lib_prefix
15141 # Do we need a version for libraries?
15142 need_version=$need_version
15144 # Library versioning type.
15145 version_type=$version_type
15147 # Shared library runtime path variable.
15148 runpath_var=$runpath_var
15150 # Shared library path variable.
15151 shlibpath_var=$shlibpath_var
15153 # Is shlibpath searched before the hard-coded library search path?
15154 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15156 # Format of library name prefix.
15157 libname_spec=$lt_libname_spec
15159 # List of archive names. First name is the real one, the rest are links.
15160 # The last name is the one that the linker finds with -lNAME
15161 library_names_spec=$lt_library_names_spec
15163 # The coded name of the library, if different from the real name.
15164 soname_spec=$lt_soname_spec
15166 # Command to use after installation of a shared archive.
15167 postinstall_cmds=$lt_postinstall_cmds
15169 # Command to use after uninstallation of a shared archive.
15170 postuninstall_cmds=$lt_postuninstall_cmds
15172 # Commands used to finish a libtool library installation in a directory.
15173 finish_cmds=$lt_finish_cmds
15175 # As "finish_cmds", except a single script fragment to be evaled but
15177 finish_eval=$lt_finish_eval
15179 # Whether we should hardcode library paths into libraries.
15180 hardcode_into_libs=$hardcode_into_libs
15182 # Compile-time system search path for libraries.
15183 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15185 # Run-time system search path for libraries.
15186 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15188 # Whether dlopen is supported.
15189 dlopen_support=$enable_dlopen
15191 # Whether dlopen of programs is supported.
15192 dlopen_self=$enable_dlopen_self
15194 # Whether dlopen of statically linked programs is supported.
15195 dlopen_self_static=$enable_dlopen_self_static
15197 # Commands to strip libraries.
15198 old_striplib=$lt_old_striplib
15199 striplib=$lt_striplib
15202 # The linker used to build libraries.
15205 # Commands used to build an old-style archive.
15206 old_archive_cmds=$lt_old_archive_cmds
15208 # A language specific compiler.
15211 # Is the compiler the GNU compiler?
15214 # Compiler flag to turn off builtin functions.
15215 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15217 # How to pass a linker flag through the compiler.
15218 wl=$lt_lt_prog_compiler_wl
15220 # Additional compiler flags for building library objects.
15221 pic_flag=$lt_lt_prog_compiler_pic
15223 # Compiler flag to prevent dynamic linking.
15224 link_static_flag=$lt_lt_prog_compiler_static
15226 # Does compiler simultaneously support -c and -o options?
15227 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15229 # Whether or not to add -lc for building shared libraries.
15230 build_libtool_need_lc=$archive_cmds_need_lc
15232 # Whether or not to disallow shared libs when runtime libs are static.
15233 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15235 # Compiler flag to allow reflexive dlopens.
15236 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15238 # Compiler flag to generate shared objects directly from archives.
15239 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15241 # Whether the compiler copes with passing no objects directly.
15242 compiler_needs_object=$lt_compiler_needs_object
15244 # Create an old-style archive from a shared archive.
15245 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15247 # Create a temporary old-style archive to link instead of a shared archive.
15248 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15250 # Commands used to build a shared archive.
15251 archive_cmds=$lt_archive_cmds
15252 archive_expsym_cmds=$lt_archive_expsym_cmds
15254 # Commands used to build a loadable module if different from building
15255 # a shared archive.
15256 module_cmds=$lt_module_cmds
15257 module_expsym_cmds=$lt_module_expsym_cmds
15259 # Whether we are building with GNU ld or not.
15260 with_gnu_ld=$lt_with_gnu_ld
15262 # Flag that allows shared libraries with undefined symbols to be built.
15263 allow_undefined_flag=$lt_allow_undefined_flag
15265 # Flag that enforces no undefined symbols.
15266 no_undefined_flag=$lt_no_undefined_flag
15268 # Flag to hardcode \$libdir into a binary during linking.
15269 # This must work even if \$libdir does not exist
15270 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15272 # If ld is used when linking, flag to hardcode \$libdir into a binary
15273 # during linking. This must work even if \$libdir does not exist.
15274 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15276 # Whether we need a single "-rpath" flag with a separated argument.
15277 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15279 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15280 # DIR into the resulting binary.
15281 hardcode_direct=$hardcode_direct
15283 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15284 # DIR into the resulting binary and the resulting library dependency is
15285 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15286 # library is relocated.
15287 hardcode_direct_absolute=$hardcode_direct_absolute
15289 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15290 # into the resulting binary.
15291 hardcode_minus_L=$hardcode_minus_L
15293 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15294 # into the resulting binary.
15295 hardcode_shlibpath_var=$hardcode_shlibpath_var
15297 # Set to "yes" if building a shared library automatically hardcodes DIR
15298 # into the library and all subsequent libraries and executables linked
15300 hardcode_automatic=$hardcode_automatic
15302 # Set to yes if linker adds runtime paths of dependent libraries
15303 # to runtime path list.
15304 inherit_rpath=$inherit_rpath
15306 # Whether libtool must link a program against all its dependency libraries.
15307 link_all_deplibs=$link_all_deplibs
15309 # Fix the shell variable \$srcfile for the compiler.
15310 fix_srcfile_path=$lt_fix_srcfile_path
15312 # Set to "yes" if exported symbols are required.
15313 always_export_symbols=$always_export_symbols
15315 # The commands to list exported symbols.
15316 export_symbols_cmds=$lt_export_symbols_cmds
15318 # Symbols that should not be listed in the preloaded symbols.
15319 exclude_expsyms=$lt_exclude_expsyms
15321 # Symbols that must always be exported.
15322 include_expsyms=$lt_include_expsyms
15324 # Commands necessary for linking programs (against libraries) with templates.
15325 prelink_cmds=$lt_prelink_cmds
15327 # Specify filename containing input files.
15328 file_list_spec=$lt_file_list_spec
15330 # How to hardcode a shared library path into an executable.
15331 hardcode_action=$hardcode_action
15333 # ### END LIBTOOL CONFIG
15339 cat <<\_LT_EOF
>> "$cfgfile"
15340 # AIX sometimes has problems with the GCC collect2 program. For some
15341 # reason, if we set the COLLECT_NAMES environment variable, the problems
15342 # vanish in a puff of smoke.
15343 if test "X${COLLECT_NAMES+set}" != Xset
; then
15345 export COLLECT_NAMES
15352 ltmain
="$ac_aux_dir/ltmain.sh"
15355 # We use sed instead of cat because bash on DJGPP gets confused if
15356 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15357 # text mode, it properly converts lines to CR/LF. This bash problem
15358 # is reportedly fixed, but why not run on old versions too?
15359 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15360 ||
(rm -f "$cfgfile"; exit 1)
15364 cat << \_LT_EOF
>> "$cfgfile"
15366 # func_dirname file append nondir_replacement
15367 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15368 # otherwise set result to NONDIR_REPLACEMENT.
15372 */*) func_dirname_result
="${1%/*}${2}" ;;
15373 * ) func_dirname_result
="${3}" ;;
15377 # func_basename file
15380 func_basename_result
="${1##*/}"
15383 # func_dirname_and_basename file append nondir_replacement
15384 # perform func_basename and func_dirname in a single function
15386 # dirname: Compute the dirname of FILE. If nonempty,
15387 # add APPEND to the result, otherwise set result
15388 # to NONDIR_REPLACEMENT.
15389 # value returned in "$func_dirname_result"
15390 # basename: Compute filename of FILE.
15391 # value retuned in "$func_basename_result"
15392 # Implementation must be kept synchronized with func_dirname
15393 # and func_basename. For efficiency, we do not delegate to
15394 # those functions but instead duplicate the functionality here.
15395 func_dirname_and_basename
()
15398 */*) func_dirname_result
="${1%/*}${2}" ;;
15399 * ) func_dirname_result
="${3}" ;;
15401 func_basename_result
="${1##*/}"
15404 # func_stripname prefix suffix name
15405 # strip PREFIX and SUFFIX off of NAME.
15406 # PREFIX and SUFFIX must not contain globbing or regex special
15407 # characters, hashes, percent signs, but SUFFIX may contain a leading
15408 # dot (in which case that matches only a dot).
15411 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15412 # positional parameters, so assign one to ordinary parameter first.
15413 func_stripname_result
=${3}
15414 func_stripname_result
=${func_stripname_result#"${1}"}
15415 func_stripname_result
=${func_stripname_result%"${2}"}
15421 func_opt_split_opt
=${1%%=*}
15422 func_opt_split_arg
=${1#*=}
15429 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15430 *) func_lo2o_result
=${1} ;;
15434 # func_xform libobj-or-source
15437 func_xform_result
=${1%.*}.lo
15440 # func_arith arithmetic-term...
15443 func_arith_result
=$
(( $
* ))
15447 # STRING may not start with a hyphen.
15450 func_len_result
=${#1}
15455 *) # Bourne compatible functions.
15456 cat << \_LT_EOF
>> "$cfgfile"
15458 # func_dirname file append nondir_replacement
15459 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15460 # otherwise set result to NONDIR_REPLACEMENT.
15463 # Extract subdirectory from the argument.
15464 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15465 if test "X$func_dirname_result" = "X${1}"; then
15466 func_dirname_result
="${3}"
15468 func_dirname_result
="$func_dirname_result${2}"
15472 # func_basename file
15475 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15479 # func_stripname prefix suffix name
15480 # strip PREFIX and SUFFIX off of NAME.
15481 # PREFIX and SUFFIX must not contain globbing or regex special
15482 # characters, hashes, percent signs, but SUFFIX may contain a leading
15483 # dot (in which case that matches only a dot).
15484 # func_strip_suffix prefix name
15488 .
*) func_stripname_result
=`$ECHO "X${3}" \
15489 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15490 *) func_stripname_result
=`$ECHO "X${3}" \
15491 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15496 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15497 my_sed_long_arg
='1s/^-[^=]*=//'
15502 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15503 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15509 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15512 # func_xform libobj-or-source
15515 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15518 # func_arith arithmetic-term...
15521 func_arith_result
=`expr "$@"`
15525 # STRING may not start with a hyphen.
15528 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15534 case $lt_shell_append in
15536 cat << \_LT_EOF
>> "$cfgfile"
15538 # func_append var value
15539 # Append VALUE to the end of shell variable VAR.
15547 cat << \_LT_EOF
>> "$cfgfile"
15549 # func_append var value
15550 # Append VALUE to the end of shell variable VAR.
15561 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15562 ||
(rm -f "$cfgfile"; exit 1)
15564 mv -f "$cfgfile" "$ofile" ||
15565 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15574 { (exit 0); exit 0; }
15576 chmod +x
$CONFIG_STATUS
15577 ac_clean_files
=$ac_clean_files_save
15579 test $ac_write_fail = 0 ||
15580 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15581 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15582 { (exit 1); exit 1; }; }
15585 # configure is writing to config.log, and then calls config.status.
15586 # config.status does its own redirection, appending to config.log.
15587 # Unfortunately, on DOS this fails, as config.log is still kept open
15588 # by configure, so config.status won't be able to write to it; its
15589 # output is simply discarded. So we exec the FD to /dev/null,
15590 # effectively closing config.log, so it can be properly (re)opened and
15591 # appended to by config.status. When coming back to configure, we
15592 # need to make the FD available again.
15593 if test "$no_create" != yes; then
15595 ac_config_status_args
=
15596 test "$silent" = yes &&
15597 ac_config_status_args
="$ac_config_status_args --quiet"
15599 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15601 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15602 # would make configure fail if this is the last instruction.
15603 $ac_cs_success ||
{ (exit 1); exit 1; }
15605 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15606 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15607 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}