2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for libmd5 1.21.
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
='libmd5'
747 PACKAGE_TARNAME
='libmd5'
748 PACKAGE_VERSION
='1.21'
749 PACKAGE_STRING
='libmd5 1.21'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="hmac.c"
753 # Factoring default headers for most tests.
754 ac_includes_default
="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars
='am__EXEEXT_FALSE
847 INSTALL_STRIP_PROGRAM
889 program_transform_name
901 enable_option_checking
902 enable_dependency_tracking
911 ac_precious_vars
='build_alias
922 # Initialize some variables set by options.
924 ac_init_version
=false
925 ac_unrecognized_opts
=
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name
=s
,x
,x
,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir
='${exec_prefix}/bin'
951 sbindir
='${exec_prefix}/sbin'
952 libexecdir
='${exec_prefix}/libexec'
953 datarootdir
='${prefix}/share'
954 datadir
='${datarootdir}'
955 sysconfdir
='${prefix}/etc'
956 sharedstatedir
='${prefix}/com'
957 localstatedir
='${prefix}/var'
958 includedir
='${prefix}/include'
959 oldincludedir
='/usr/include'
960 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
961 infodir
='${datarootdir}/info'
966 libdir
='${exec_prefix}/lib'
967 localedir
='${datarootdir}/locale'
968 mandir
='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\
$ac_option
982 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
994 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
997 -build |
--build |
--buil |
--bui |
--bu)
998 ac_prev
=build_alias
;;
999 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1000 build_alias
=$ac_optarg ;;
1002 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1003 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1004 ac_prev
=cache_file
;;
1005 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1006 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1007 cache_file
=$ac_optarg ;;
1009 --config-cache |
-C)
1010 cache_file
=config.cache
;;
1012 -datadir |
--datadir |
--datadi |
--datad)
1014 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1015 datadir
=$ac_optarg ;;
1017 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1018 |
--dataroo |
--dataro |
--datar)
1019 ac_prev
=datarootdir
;;
1020 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1021 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1022 datarootdir
=$ac_optarg ;;
1024 -disable-* |
--disable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1029 { (exit 1); exit 1; }; }
1030 ac_useropt_orig
=$ac_useropt
1031 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_
$ac_useropt"
1036 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep
=', ';;
1039 eval enable_
$ac_useropt=no
;;
1041 -docdir |
--docdir |
--docdi |
--doc |
--do)
1043 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1044 docdir
=$ac_optarg ;;
1046 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1048 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1049 dvidir
=$ac_optarg ;;
1051 -enable-* |
--enable-*)
1052 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=\
$ac_optarg ;;
1068 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1069 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1070 |
--exec |
--exe |
--ex)
1071 ac_prev
=exec_prefix
;;
1072 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1073 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1074 |
--exec=* |
--exe=* |
--ex=*)
1075 exec_prefix
=$ac_optarg ;;
1077 -gas |
--gas |
--ga |
--g)
1078 # Obsolete; use --with-gas.
1081 -help |
--help |
--hel |
--he |
-h)
1082 ac_init_help
=long
;;
1083 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1084 ac_init_help
=recursive
;;
1085 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1086 ac_init_help
=short
;;
1088 -host |
--host |
--hos |
--ho)
1089 ac_prev
=host_alias
;;
1090 -host=* |
--host=* |
--hos=* |
--ho=*)
1091 host_alias
=$ac_optarg ;;
1093 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1095 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1097 htmldir
=$ac_optarg ;;
1099 -includedir |
--includedir |
--includedi |
--included |
--include \
1100 |
--includ |
--inclu |
--incl |
--inc)
1101 ac_prev
=includedir
;;
1102 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1103 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1104 includedir
=$ac_optarg ;;
1106 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1108 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1109 infodir
=$ac_optarg ;;
1111 -libdir |
--libdir |
--libdi |
--libd)
1113 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1114 libdir
=$ac_optarg ;;
1116 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1117 |
--libexe |
--libex |
--libe)
1118 ac_prev
=libexecdir
;;
1119 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1120 |
--libexe=* |
--libex=* |
--libe=*)
1121 libexecdir
=$ac_optarg ;;
1123 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1124 ac_prev
=localedir
;;
1125 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1126 localedir
=$ac_optarg ;;
1128 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1129 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1130 ac_prev
=localstatedir
;;
1131 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1132 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1133 localstatedir
=$ac_optarg ;;
1135 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1137 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1138 mandir
=$ac_optarg ;;
1140 -nfp |
--nfp |
--nf)
1141 # Obsolete; use --without-fp.
1144 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1145 |
--no-cr |
--no-c |
-n)
1148 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1149 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1152 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1153 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1154 |
--oldin |
--oldi |
--old |
--ol |
--o)
1155 ac_prev
=oldincludedir
;;
1156 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1157 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1158 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1159 oldincludedir
=$ac_optarg ;;
1161 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1163 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1164 prefix
=$ac_optarg ;;
1166 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1167 |
--program-pre |
--program-pr |
--program-p)
1168 ac_prev
=program_prefix
;;
1169 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1170 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1171 program_prefix
=$ac_optarg ;;
1173 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1174 |
--program-suf |
--program-su |
--program-s)
1175 ac_prev
=program_suffix
;;
1176 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1177 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1178 program_suffix
=$ac_optarg ;;
1180 -program-transform-name |
--program-transform-name \
1181 |
--program-transform-nam |
--program-transform-na \
1182 |
--program-transform-n |
--program-transform- \
1183 |
--program-transform |
--program-transfor \
1184 |
--program-transfo |
--program-transf \
1185 |
--program-trans |
--program-tran \
1186 |
--progr-tra |
--program-tr |
--program-t)
1187 ac_prev
=program_transform_name
;;
1188 -program-transform-name=* |
--program-transform-name=* \
1189 |
--program-transform-nam=* |
--program-transform-na=* \
1190 |
--program-transform-n=* |
--program-transform-=* \
1191 |
--program-transform=* |
--program-transfor=* \
1192 |
--program-transfo=* |
--program-transf=* \
1193 |
--program-trans=* |
--program-tran=* \
1194 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1195 program_transform_name
=$ac_optarg ;;
1197 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1199 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1200 pdfdir
=$ac_optarg ;;
1202 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1204 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1207 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1208 |
-silent |
--silent |
--silen |
--sile |
--sil)
1211 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1213 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1215 sbindir
=$ac_optarg ;;
1217 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1218 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1219 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1221 ac_prev
=sharedstatedir
;;
1222 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1223 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1224 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1226 sharedstatedir
=$ac_optarg ;;
1228 -site |
--site |
--sit)
1230 -site=* |
--site=* |
--sit=*)
1233 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1235 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1236 srcdir
=$ac_optarg ;;
1238 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1239 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1240 ac_prev
=sysconfdir
;;
1241 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1242 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1243 sysconfdir
=$ac_optarg ;;
1245 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1246 ac_prev
=target_alias
;;
1247 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1248 target_alias
=$ac_optarg ;;
1250 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1253 -version |
--version |
--versio |
--versi |
--vers |
-V)
1254 ac_init_version
=: ;;
1257 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1258 # Reject names that are not valid shell variable names.
1259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1260 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1261 { (exit 1); exit 1; }; }
1262 ac_useropt_orig
=$ac_useropt
1263 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1268 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1269 ac_unrecognized_sep
=', ';;
1271 eval with_
$ac_useropt=\
$ac_optarg ;;
1273 -without-* |
--without-*)
1274 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1277 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1278 { (exit 1); exit 1; }; }
1279 ac_useropt_orig
=$ac_useropt
1280 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1286 ac_unrecognized_sep
=', ';;
1288 eval with_
$ac_useropt=no
;;
1291 # Obsolete; use --with-x.
1294 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1295 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1296 ac_prev
=x_includes
;;
1297 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1298 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1299 x_includes
=$ac_optarg ;;
1301 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1302 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1303 ac_prev
=x_libraries
;;
1304 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1305 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1306 x_libraries
=$ac_optarg ;;
1308 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1309 Try \`$0 --help' for more information." >&2
1310 { (exit 1); exit 1; }; }
1314 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1317 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1318 { (exit 1); exit 1; }; }
1319 eval $ac_envvar=\
$ac_optarg
1320 export $ac_envvar ;;
1323 # FIXME: should be removed in autoconf 3.0.
1324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1333 if test -n "$ac_prev"; then
1334 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1335 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1336 { (exit 1); exit 1; }; }
1339 if test -n "$ac_unrecognized_opts"; then
1340 case $enable_option_checking in
1342 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1343 { (exit 1); exit 1; }; } ;;
1344 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1348 # Check all directory arguments for consistency.
1349 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1350 datadir sysconfdir sharedstatedir localstatedir includedir \
1351 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1352 libdir localedir mandir
1354 eval ac_val
=\$
$ac_var
1355 # Remove trailing slashes.
1358 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1359 eval $ac_var=\
$ac_val;;
1361 # Be sure to have absolute directory names.
1363 [\\/$
]* | ?
:[\\/]* ) continue;;
1364 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1366 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1367 { (exit 1); exit 1; }; }
1370 # There might be people who depend on the old broken behavior: `$host'
1371 # used to hold the argument of --host etc.
1372 # FIXME: To remove some day.
1375 target
=$target_alias
1377 # FIXME: To remove some day.
1378 if test "x$host_alias" != x
; then
1379 if test "x$build_alias" = x
; then
1380 cross_compiling
=maybe
1381 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382 If a cross compiler is detected then cross compile mode will be used." >&2
1383 elif test "x$build_alias" != "x$host_alias"; then
1389 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1391 test "$silent" = yes && exec 6>/dev
/null
1394 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1395 ac_ls_di
=`ls -di .` &&
1396 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1397 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1398 { (exit 1); exit 1; }; }
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1401 { (exit 1); exit 1; }; }
1404 # Find the source files, if location was not specified.
1405 if test -z "$srcdir"; then
1406 ac_srcdir_defaulted
=yes
1407 # Try the directory containing this script, then the parent directory.
1408 ac_confdir
=`$as_dirname -- "$as_myself" ||
1409 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1410 X"$as_myself" : 'X\(//\)[^/]' \| \
1411 X"$as_myself" : 'X\(//\)$' \| \
1412 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1413 $as_echo X"$as_myself" |
1414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1436 ac_srcdir_defaulted
=no
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1439 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1440 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1441 { (exit 1); exit 1; }; }
1443 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1445 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1446 { (exit 1); exit 1; }; }
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1456 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458 for ac_var
in $ac_precious_vars; do
1459 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1461 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1466 # Report the --help message.
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1472 \`configure' configures libmd5 1.21 to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/libmd5]
1521 --htmldir=DIR html documentation [DOCDIR]
1522 --dvidir=DIR dvi documentation [DOCDIR]
1523 --pdfdir=DIR pdf documentation [DOCDIR]
1524 --psdir=DIR ps documentation [DOCDIR]
1530 --program-prefix=PREFIX prepend PREFIX to installed program names
1531 --program-suffix=SUFFIX append SUFFIX to installed program names
1532 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1535 --build=BUILD configure
for building on BUILD
[guessed
]
1536 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1540 if test -n "$ac_init_help"; then
1541 case $ac_init_help in
1542 short | recursive
) echo "Configuration of libmd5 1.21:";;
1547 --disable-option-checking ignore unrecognized
--enable/--with options
1548 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1549 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1550 --disable-dependency-tracking speeds up one-time build
1551 --enable-dependency-tracking do not reject slow dependency extractors
1552 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1553 --enable-static[=PKGS
] build static libraries
[default
=yes]
1554 --enable-fast-install[=PKGS
]
1555 optimize
for fast installation
[default
=yes]
1556 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1559 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1560 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1561 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1563 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1564 --with-int32='type' use
'type' for an unsigned
32 bit integer
type
1565 ( default is
'unsigned')
1567 Some influential environment variables
:
1568 CC C compiler
command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1571 nonstandard directory
<lib dir
>
1572 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1573 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1574 you have headers
in a nonstandard directory
<include dir
>
1577 Use these variables to override the choices made by
`configure' or to help
1578 it to find libraries and programs with nonstandard names/locations.
1580 Report bugs to <courier-users@lists.sourceforge.net>.
1585 if test "$ac_init_help" = "recursive"; then
1586 # If there are subdirs, report their specific --help.
1587 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588 test -d "$ac_dir" ||
1589 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1597 # A ".." for each directory in $ac_dir_suffix.
1598 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1599 case $ac_top_builddir_sub in
1600 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604 ac_abs_top_builddir=$ac_pwd
1605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606 # for backward compatibility:
1607 ac_top_builddir=$ac_top_build_prefix
1610 .) # We are building in place.
1612 ac_top_srcdir=$ac_top_builddir_sub
1613 ac_abs_top_srcdir=$ac_pwd ;;
1614 [\\/]* | ?:[\\/]* ) # Absolute name.
1615 ac_srcdir=$srcdir$ac_dir_suffix;
1616 ac_top_srcdir=$srcdir
1617 ac_abs_top_srcdir=$srcdir ;;
1619 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620 ac_top_srcdir=$ac_top_build_prefix$srcdir
1621 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1625 cd "$ac_dir" || { ac_status=$?; continue; }
1626 # Check for guested configure.
1627 if test -f "$ac_srcdir/configure.gnu"; then
1629 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630 elif test -f "$ac_srcdir/configure"; then
1632 $SHELL "$ac_srcdir/configure" --help=recursive
1634 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1636 cd "$ac_pwd" || { ac_status=$?; break; }
1640 test -n "$ac_init_help" && exit $ac_status
1641 if $ac_init_version; then
1643 libmd5 configure 1.21
1644 generated by GNU Autoconf 2.63
1646 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1647 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1648 This configure script is free software; the Free Software Foundation
1649 gives unlimited permission to copy, distribute and modify it.
1653 cat >config.log <<_ACEOF
1654 This file contains any messages produced by compilers while
1655 running configure, to aid debugging if configure makes a mistake.
1657 It was created by libmd5 $as_me 1.21, which was
1658 generated by GNU Autoconf 2.63. Invocation command line was
1670 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1671 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1672 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1673 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1674 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1676 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1677 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1679 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1680 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1681 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1682 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1683 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1684 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1685 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 $as_echo "PATH: $as_dir"
1710 # Keep a trace of the command line.
1711 # Strip out --no-create and --no-recursion so they do not pile up.
1712 # Strip out --silent because we don't want to record it for future runs.
1713 # Also quote any args containing shell meta-characters.
1714 # Make two passes to allow for proper duplicate-argument suppression.
1718 ac_must_keep_next=false
1724 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1726 | -silent | --silent | --silen | --sile | --sil)
1729 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1732 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1734 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1735 if test $ac_must_keep_next = true; then
1736 ac_must_keep_next=false # Got value, back to normal.
1739 *=* | --config-cache | -C | -disable-* | --disable-* \
1740 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1741 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1742 | -with-* | --with-* | -without-* | --without-* | --x)
1743 case "$ac_configure_args0 " in
1744 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1747 -* ) ac_must_keep_next=true ;;
1750 ac_configure_args="$ac_configure_args '$ac_arg'"
1755 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1756 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1758 # When interrupted or exit'd, cleanup temporary files, and complete
1759 # config.log. We remove comments because anyway the quotes in there
1760 # would cause problems or look ugly.
1761 # WARNING: Use '\'' to represent an apostrophe within the trap.
1762 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1763 trap 'exit_status=$?
1764 # Save into config.log some information that might help in debugging.
1769 ## ---------------- ##
1770 ## Cache variables. ##
1771 ## ---------------- ##
1774 # The following way of writing the cache mishandles newlines in values,
1776 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1777 eval ac_val=\$$ac_var
1781 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1782 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1785 _ | IFS | as_nl) ;; #(
1786 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1787 *) $as_unset $ac_var ;;
1792 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1793 *${as_nl}ac_space=\ *)
1795 "s/'\''/'\''\\\\'\'''\''/g;
1796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1799 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1807 ## ----------------- ##
1808 ## Output variables. ##
1809 ## ----------------- ##
1812 for ac_var in $ac_subst_vars
1814 eval ac_val=\$$ac_var
1816 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1818 $as_echo "$ac_var='\''$ac_val'\''"
1822 if test -n "$ac_subst_files"; then
1824 ## ------------------- ##
1825 ## File substitutions. ##
1826 ## ------------------- ##
1829 for ac_var in $ac_subst_files
1831 eval ac_val=\$$ac_var
1833 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 $as_echo "$ac_var='\''$ac_val'\''"
1840 if test -s confdefs.h; then
1850 test "$ac_signal" != 0 &&
1851 $as_echo "$as_me: caught signal $ac_signal"
1852 $as_echo "$as_me: exit $exit_status"
1854 rm -f core *.core core.conftest.* &&
1855 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1858 for ac_signal in 1 2 13 15; do
1859 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1863 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1864 rm -f -r conftest* confdefs.h
1866 # Predefined preprocessor variables.
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_NAME "$PACKAGE_NAME"
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1878 cat >>confdefs.h <<_ACEOF
1879 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_STRING "$PACKAGE_STRING"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1893 # Let the site file select an alternate cache file if it wants to.
1894 # Prefer an explicitly selected file to automatically selected ones.
1897 if test -n "$CONFIG_SITE"; then
1898 ac_site_file1=$CONFIG_SITE
1899 elif test "x$prefix" != xNONE; then
1900 ac_site_file1=$prefix/share/config.site
1901 ac_site_file2=$prefix/etc/config.site
1903 ac_site_file1=$ac_default_prefix/share/config.site
1904 ac_site_file2=$ac_default_prefix/etc/config.site
1906 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1908 test "x$ac_site_file" = xNONE && continue
1909 if test -r "$ac_site_file"; then
1910 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1911 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1912 sed 's/^/| /' "$ac_site_file" >&5
1917 if test -r "$cache_file"; then
1918 # Some versions of bash will fail to source /dev/null (special
1919 # files actually), so we avoid doing that.
1920 if test -f "$cache_file"; then
1921 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1922 $as_echo "$as_me: loading cache $cache_file" >&6;}
1924 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1925 *) . "./$cache_file";;
1929 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1930 $as_echo "$as_me: creating cache $cache_file" >&6;}
1934 # Check that the precious variables saved in the cache have kept the same
1936 ac_cache_corrupted=false
1937 for ac_var in $ac_precious_vars; do
1938 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1939 eval ac_new_set=\$ac_env_${ac_var}_set
1940 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1941 eval ac_new_val=\$ac_env_${ac_var}_value
1942 case $ac_old_set,$ac_new_set in
1944 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1945 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1946 ac_cache_corrupted=: ;;
1948 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1949 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1950 ac_cache_corrupted=: ;;
1953 if test "x$ac_old_val" != "x$ac_new_val"; then
1954 # differences in whitespace do not lead to failure.
1955 ac_old_val_w=`echo x
$ac_old_val`
1956 ac_new_val_w=`echo x
$ac_new_val`
1957 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1958 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1959 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1960 ac_cache_corrupted=:
1962 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1963 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1964 eval $ac_var=\$ac_old_val
1966 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1967 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1968 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1969 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1972 # Pass precious variables to config.status.
1973 if test "$ac_new_set" = set; then
1975 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1976 *) ac_arg=$ac_var=$ac_new_val ;;
1978 case " $ac_configure_args " in
1979 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1980 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1984 if $ac_cache_corrupted; then
1985 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1987 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1988 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1989 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1990 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1991 { (exit 1); exit 1; }; }
2019 ac_cpp='$CPP $CPPFLAGS'
2020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2026 >confdefs.h # Kill PACKAGE_ macros
2029 ac_config_headers="$ac_config_headers config.h
"
2031 am__api_version='1.11'
2034 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2035 if test -f "$ac_dir/install-sh
"; then
2037 ac_install_sh="$ac_aux_dir/install-sh
-c"
2039 elif test -f "$ac_dir/install.sh
"; then
2041 ac_install_sh="$ac_aux_dir/install.sh
-c"
2043 elif test -f "$ac_dir/shtool
"; then
2045 ac_install_sh="$ac_aux_dir/shtool
install -c"
2049 if test -z "$ac_aux_dir"; then
2050 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2051 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2052 { (exit 1); exit 1; }; }
2055 # These three variables are undocumented and unsupported,
2056 # and are intended to be withdrawn in a future Autoconf release.
2057 # They can cause serious problems if a builder's source tree is in a directory
2058 # whose full name contains unusual characters.
2059 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2060 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2061 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2064 # Find a good install program. We prefer a C program (faster),
2065 # so one script is as good as another. But avoid the broken or
2066 # incompatible versions:
2067 # SysV /etc/install, /usr/sbin/install
2068 # SunOS /usr/etc/install
2069 # IRIX /sbin/install
2071 # AmigaOS /C/install, which installs bootblocks on floppy discs
2072 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2073 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2074 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2075 # OS/2's system install, which has a completely different semantic
2076 # ./install, which can be erroneously created by make from ./install.sh.
2077 # Reject install programs that cannot install multiple files.
2078 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2079 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2080 if test -z "$INSTALL"; then
2081 if test "${ac_cv_path_install+set}" = set; then
2082 $as_echo_n "(cached
) " >&6
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 test -z "$as_dir" && as_dir=.
2089 # Account for people who put trailing slashes in PATH elements.
2091 ./ | .// | /cC/* | \
2092 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2093 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2096 # OSF1 and SCO ODT 3.0 have their own names for install.
2097 # Don't use installbsd from OSF since it installs stuff as root
2099 for ac_prog in ginstall scoinst install; do
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2102 if test $ac_prog = install &&
2103 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2104 # AIX install. It has an incompatible calling convention.
2106 elif test $ac_prog = install &&
2107 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2108 # program-specific install script used by HP pwplus--don't use.
2111 rm -rf conftest.one conftest.two conftest.dir
2112 echo one > conftest.one
2113 echo two > conftest.two
2115 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2116 test -s conftest.one && test -s conftest.two &&
2117 test -s conftest.dir/conftest.one &&
2118 test -s conftest.dir/conftest.two
2120 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2133 rm -rf conftest.one conftest.two conftest.dir
2136 if test "${ac_cv_path_install+set}" = set; then
2137 INSTALL=$ac_cv_path_install
2139 # As a last resort, use the slow shell script. Don't cache a
2140 # value for INSTALL within a source directory, because that will
2141 # break other packages using the cache if that directory is
2142 # removed, or if the value is a relative name.
2143 INSTALL=$ac_install_sh
2146 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2147 $as_echo "$INSTALL" >&6; }
2149 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2150 # It thinks the first close brace ends the variable substitution.
2151 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2153 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2155 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2157 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2158 $as_echo_n "checking whether build environment is sane...
" >&6; }
2161 echo timestamp > conftest.file
2162 # Reject unsafe characters in $srcdir or the absolute working directory
2163 # name. Accept space and tab only in the latter.
2167 *[\\\"\#\$\&\'\`$am_lf]*)
2168 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2169 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2170 { (exit 1); exit 1; }; };;
2173 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2174 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2175 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2176 { (exit 1); exit 1; }; };;
2179 # Do `set' in a subshell so we don
't clobber the current shell's
2180 # arguments. Must try -L first in case configure is actually a
2181 # symlink; some systems play weird games with the mod time of symlinks
2182 # (eg FreeBSD returns the mod time of the symlink's containing
2185 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2186 if test "$*" = "X"; then
2188 set X
`ls -t "$srcdir/configure" conftest.file`
2191 if test "$*" != "X $srcdir/configure conftest.file" \
2192 && test "$*" != "X conftest.file $srcdir/configure"; then
2194 # If neither matched, then we have a broken ls. This can happen
2195 # if, for instance, CONFIG_SHELL is bash and it inherits a
2196 # broken ls alias from the environment. This has actually
2197 # happened. Such a system could not be considered "sane".
2198 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2199 alias in your environment" >&5
2200 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2201 alias in your environment" >&2;}
2202 { (exit 1); exit 1; }; }
2205 test "$2" = conftest.
file
2211 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2212 Check your system clock" >&5
2213 $as_echo "$as_me: error: newly created file is older than distributed files!
2214 Check your system clock" >&2;}
2215 { (exit 1); exit 1; }; }
2217 { $as_echo "$as_me:$LINENO: result: yes" >&5
2218 $as_echo "yes" >&6; }
2219 test "$program_prefix" != NONE
&&
2220 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2221 # Use a double $ so make ignores it.
2222 test "$program_suffix" != NONE
&&
2223 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2224 # Double any \ or $.
2225 # By default was `s,x,x', remove it if useless.
2226 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2227 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2229 # expand $ac_aux_dir to an absolute path
2230 am_aux_dir
=`cd $ac_aux_dir && pwd`
2232 if test x
"${MISSING+set}" != xset
; then
2235 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2237 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2240 # Use eval to expand $SHELL
2241 if eval "$MISSING --run true"; then
2242 am_missing_run
="$MISSING --run "
2245 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2246 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2249 if test x
"${install_sh}" != xset
; then
2252 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2254 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2258 # Installed binaries are usually stripped using `strip' when the user
2259 # run `make install-strip'. However `strip' might not be the right
2260 # tool to use in cross-compilation environments, therefore Automake
2261 # will honor the `STRIP' environment variable to overrule this program.
2262 if test "$cross_compiling" != no
; then
2263 if test -n "$ac_tool_prefix"; then
2264 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2265 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2267 $as_echo_n "checking for $ac_word... " >&6; }
2268 if test "${ac_cv_prog_STRIP+set}" = set; then
2269 $as_echo_n "(cached) " >&6
2271 if test -n "$STRIP"; then
2272 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir
=.
2279 for ac_exec_ext
in '' $ac_executable_extensions; do
2280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2282 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 STRIP
=$ac_cv_prog_STRIP
2292 if test -n "$STRIP"; then
2293 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2294 $as_echo "$STRIP" >&6; }
2296 { $as_echo "$as_me:$LINENO: result: no" >&5
2297 $as_echo "no" >&6; }
2302 if test -z "$ac_cv_prog_STRIP"; then
2304 # Extract the first word of "strip", so it can be a program name with args.
2305 set dummy strip
; ac_word
=$2
2306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2309 $as_echo_n "(cached) " >&6
2311 if test -n "$ac_ct_STRIP"; then
2312 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_ac_ct_STRIP
="strip"
2322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2332 if test -n "$ac_ct_STRIP"; then
2333 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2334 $as_echo "$ac_ct_STRIP" >&6; }
2336 { $as_echo "$as_me:$LINENO: result: no" >&5
2337 $as_echo "no" >&6; }
2340 if test "x$ac_ct_STRIP" = x
; then
2343 case $cross_compiling:$ac_tool_warned in
2345 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2347 ac_tool_warned
=yes ;;
2352 STRIP
="$ac_cv_prog_STRIP"
2356 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2358 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2359 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2360 if test -z "$MKDIR_P"; then
2361 if test "${ac_cv_path_mkdir+set}" = set; then
2362 $as_echo_n "(cached) " >&6
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2365 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_prog
in mkdir gmkdir
; do
2370 for ac_exec_ext
in '' $ac_executable_extensions; do
2371 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2372 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2373 'mkdir (GNU coreutils) '* | \
2374 'mkdir (coreutils) '* | \
2375 'mkdir (fileutils) '4.1*)
2376 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2386 if test "${ac_cv_path_mkdir+set}" = set; then
2387 MKDIR_P
="$ac_cv_path_mkdir -p"
2389 # As a last resort, use the slow shell script. Don't cache a
2390 # value for MKDIR_P within a source directory, because that will
2391 # break other packages using the cache if that directory is
2392 # removed, or if the value is a relative name.
2393 test -d .
/--version && rmdir .
/--version
2394 MKDIR_P
="$ac_install_sh -d"
2397 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2398 $as_echo "$MKDIR_P" >&6; }
2402 [\\/$
]* | ?
:[\\/]*) ;;
2403 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2406 for ac_prog
in gawk mawk nawk
awk
2408 # Extract the first word of "$ac_prog", so it can be a program name with args.
2409 set dummy
$ac_prog; ac_word
=$2
2410 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 $as_echo_n "checking for $ac_word... " >&6; }
2412 if test "${ac_cv_prog_AWK+set}" = set; then
2413 $as_echo_n "(cached) " >&6
2415 if test -n "$AWK"; then
2416 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir
=.
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_AWK
="$ac_prog"
2426 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test -n "$AWK"; then
2437 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2438 $as_echo "$AWK" >&6; }
2440 { $as_echo "$as_me:$LINENO: result: no" >&5
2441 $as_echo "no" >&6; }
2445 test -n "$AWK" && break
2448 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2449 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2451 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2452 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2453 $as_echo_n "(cached) " >&6
2455 cat >conftest.
make <<\_ACEOF
2458 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2460 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2461 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2463 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2465 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2469 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2470 { $as_echo "$as_me:$LINENO: result: yes" >&5
2471 $as_echo "yes" >&6; }
2474 { $as_echo "$as_me:$LINENO: result: no" >&5
2475 $as_echo "no" >&6; }
2476 SET_MAKE
="MAKE=${MAKE-make}"
2479 rm -rf .tst
2>/dev
/null
2480 mkdir .tst
2>/dev
/null
2481 if test -d .tst
; then
2486 rmdir .tst
2>/dev
/null
2488 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2489 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2490 # is not polluted with repeated "-I."
2491 am__isrc
=' -I$(srcdir)'
2492 # test to see if srcdir already configured
2493 if test -f $srcdir/config.status
; then
2494 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2495 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2496 { (exit 1); exit 1; }; }
2500 # test whether we have cygpath
2501 if test -z "$CYGPATH_W"; then
2502 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2503 CYGPATH_W
='cygpath -w'
2510 # Define the identity of the package.
2515 # Some tools Automake needs.
2517 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2520 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2523 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2526 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2529 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2531 # We need awk for the "check" target. The system "awk" is bad on
2533 # Always define AMTAR for backward compatibility.
2535 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2537 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2544 if test -d ${srcdir}/..
/libhmac
; then
2553 for ac_prog
in gawk mawk nawk
awk
2555 # Extract the first word of "$ac_prog", so it can be a program name with args.
2556 set dummy
$ac_prog; ac_word
=$2
2557 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_AWK+set}" = set; then
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$AWK"; then
2563 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir
=.
2570 for ac_exec_ext
in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_AWK
="$ac_prog"
2573 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 if test -n "$AWK"; then
2584 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2585 $as_echo "$AWK" >&6; }
2587 { $as_echo "$as_me:$LINENO: result: no" >&5
2588 $as_echo "no" >&6; }
2592 test -n "$AWK" && break
2595 # Find a good install program. We prefer a C program (faster),
2596 # so one script is as good as another. But avoid the broken or
2597 # incompatible versions:
2598 # SysV /etc/install, /usr/sbin/install
2599 # SunOS /usr/etc/install
2600 # IRIX /sbin/install
2602 # AmigaOS /C/install, which installs bootblocks on floppy discs
2603 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2604 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2605 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2606 # OS/2's system install, which has a completely different semantic
2607 # ./install, which can be erroneously created by make from ./install.sh.
2608 # Reject install programs that cannot install multiple files.
2609 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2610 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2611 if test -z "$INSTALL"; then
2612 if test "${ac_cv_path_install+set}" = set; then
2613 $as_echo_n "(cached) " >&6
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 # Account for people who put trailing slashes in PATH elements.
2622 .
/ | .
// |
/cC
/* | \
2623 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2624 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2627 # OSF1 and SCO ODT 3.0 have their own names for install.
2628 # Don't use installbsd from OSF since it installs stuff as root
2630 for ac_prog
in ginstall scoinst
install; do
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2633 if test $ac_prog = install &&
2634 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2635 # AIX install. It has an incompatible calling convention.
2637 elif test $ac_prog = install &&
2638 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2639 # program-specific install script used by HP pwplus--don't use.
2642 rm -rf conftest.one conftest.two conftest.dir
2643 echo one
> conftest.one
2644 echo two
> conftest.two
2646 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2647 test -s conftest.one
&& test -s conftest.two
&&
2648 test -s conftest.dir
/conftest.one
&&
2649 test -s conftest.dir
/conftest.two
2651 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2664 rm -rf conftest.one conftest.two conftest.dir
2667 if test "${ac_cv_path_install+set}" = set; then
2668 INSTALL
=$ac_cv_path_install
2670 # As a last resort, use the slow shell script. Don't cache a
2671 # value for INSTALL within a source directory, because that will
2672 # break other packages using the cache if that directory is
2673 # removed, or if the value is a relative name.
2674 INSTALL
=$ac_install_sh
2677 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2678 $as_echo "$INSTALL" >&6; }
2680 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2681 # It thinks the first close brace ends the variable substitution.
2682 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2684 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2686 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2688 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2689 $as_echo_n "checking whether ln -s works... " >&6; }
2691 if test "$LN_S" = "ln -s"; then
2692 { $as_echo "$as_me:$LINENO: result: yes" >&5
2693 $as_echo "yes" >&6; }
2695 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2696 $as_echo "no, using $LN_S" >&6; }
2700 ac_cpp
='$CPP $CPPFLAGS'
2701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2704 if test -n "$ac_tool_prefix"; then
2705 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2706 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if test "${ac_cv_prog_CC+set}" = set; then
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC
="$CC" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2723 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test -n "$CC"; then
2734 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2735 $as_echo "$CC" >&6; }
2737 { $as_echo "$as_me:$LINENO: result: no" >&5
2738 $as_echo "no" >&6; }
2743 if test -z "$ac_cv_prog_CC"; then
2745 # Extract the first word of "gcc", so it can be a program name with args.
2746 set dummy gcc
; ac_word
=$2
2747 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2748 $as_echo_n "checking for $ac_word... " >&6; }
2749 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2750 $as_echo_n "(cached) " >&6
2752 if test -n "$ac_ct_CC"; then
2753 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2759 test -z "$as_dir" && as_dir
=.
2760 for ac_exec_ext
in '' $ac_executable_extensions; do
2761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2762 ac_cv_prog_ac_ct_CC
="gcc"
2763 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2773 if test -n "$ac_ct_CC"; then
2774 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2775 $as_echo "$ac_ct_CC" >&6; }
2777 { $as_echo "$as_me:$LINENO: result: no" >&5
2778 $as_echo "no" >&6; }
2781 if test "x$ac_ct_CC" = x
; then
2784 case $cross_compiling:$ac_tool_warned in
2786 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2788 ac_tool_warned
=yes ;;
2796 if test -z "$CC"; then
2797 if test -n "$ac_tool_prefix"; then
2798 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2799 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if test "${ac_cv_prog_CC+set}" = set; then
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC
="$CC" # Let the user override the test.
2808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir
=.
2813 for ac_exec_ext
in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test -n "$CC"; then
2827 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2828 $as_echo "$CC" >&6; }
2830 { $as_echo "$as_me:$LINENO: result: no" >&5
2831 $as_echo "no" >&6; }
2837 if test -z "$CC"; then
2838 # Extract the first word of "cc", so it can be a program name with args.
2839 set dummy cc
; ac_word
=$2
2840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if test "${ac_cv_prog_CC+set}" = set; then
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$CC"; then
2846 ac_cv_prog_CC
="$CC" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2857 ac_prog_rejected
=yes
2861 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2868 if test $ac_prog_rejected = yes; then
2869 # We found a bogon in the path, so make sure we never use it.
2870 set dummy
$ac_cv_prog_CC
2872 if test $# != 0; then
2873 # We chose a different compiler from the bogus one.
2874 # However, it has the same basename, so the bogon will be chosen
2875 # first if we set CC to just the basename; use the full file name.
2877 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2887 { $as_echo "$as_me:$LINENO: result: no" >&5
2888 $as_echo "no" >&6; }
2893 if test -z "$CC"; then
2894 if test -n "$ac_tool_prefix"; then
2895 for ac_prog
in cl.exe
2897 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2898 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if test "${ac_cv_prog_CC+set}" = set; then
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC
="$CC" # Let the user override the test.
2907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir
=.
2912 for ac_exec_ext
in '' $ac_executable_extensions; do
2913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2914 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2915 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 if test -n "$CC"; then
2926 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2927 $as_echo "$CC" >&6; }
2929 { $as_echo "$as_me:$LINENO: result: no" >&5
2930 $as_echo "no" >&6; }
2934 test -n "$CC" && break
2937 if test -z "$CC"; then
2939 for ac_prog
in cl.exe
2941 # Extract the first word of "$ac_prog", so it can be a program name with args.
2942 set dummy
$ac_prog; ac_word
=$2
2943 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$ac_ct_CC"; then
2949 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_ac_ct_CC
="$ac_prog"
2959 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2969 if test -n "$ac_ct_CC"; then
2970 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2971 $as_echo "$ac_ct_CC" >&6; }
2973 { $as_echo "$as_me:$LINENO: result: no" >&5
2974 $as_echo "no" >&6; }
2978 test -n "$ac_ct_CC" && break
2981 if test "x$ac_ct_CC" = x
; then
2984 case $cross_compiling:$ac_tool_warned in
2986 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2988 ac_tool_warned
=yes ;;
2997 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2999 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3000 See \`config.log' for more details." >&5
3001 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3002 See \`config.log' for more details." >&2;}
3003 { (exit 1); exit 1; }; }; }
3005 # Provide some information about the compiler.
3006 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3009 { (ac_try
="$ac_compiler --version >&5"
3011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3015 $as_echo "$ac_try_echo") >&5
3016 (eval "$ac_compiler --version >&5") 2>&5
3018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }
3020 { (ac_try="$ac_compiler -v >&5"
3022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3023 *) ac_try_echo
=$ac_try;;
3025 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3026 $as_echo "$ac_try_echo") >&5
3027 (eval "$ac_compiler -v >&5") 2>&5
3029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }
3031 { (ac_try
="$ac_compiler -V >&5"
3033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3037 $as_echo "$ac_try_echo") >&5
3038 (eval "$ac_compiler -V >&5") 2>&5
3040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }
3043 cat >conftest.$ac_ext <<_ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3058 ac_clean_files_save=$ac_clean_files
3059 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3060 # Try to create an executable without -o first, disregard a.out.
3061 # It will help us diagnose broken compilers, and finding out an intuition
3063 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3064 $as_echo_n "checking for C compiler default output file name... " >&6; }
3065 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3067 # The possible output files:
3068 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3071 for ac_file in $ac_files
3074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3075 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3080 if { (ac_try="$ac_link_default"
3082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3083 *) ac_try_echo
=$ac_try;;
3085 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3086 $as_echo "$ac_try_echo") >&5
3087 (eval "$ac_link_default") 2>&5
3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; then
3091 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3092 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3093 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3094 # so that the user can short-circuit this test for compilers unknown to
3096 for ac_file
in $ac_files ''
3098 test -f "$ac_file" ||
continue
3100 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3103 # We found the default executable, but exeext='' is most
3107 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3109 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3111 # We set ac_cv_exeext here because the later test for it is not
3112 # safe: cross compilers may not add the suffix if given an `-o'
3113 # argument, so we may need to know it at that point already.
3114 # Even if this section looks crufty: it has the advantage of
3121 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3127 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3128 $as_echo "$ac_file" >&6; }
3129 if test -z "$ac_file"; then
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.
$ac_ext >&5
3133 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3136 See \`config.log' for more details." >&5
3137 $as_echo "$as_me: error: C compiler cannot create executables
3138 See \`config.log' for more details." >&2;}
3139 { (exit 77); exit 77; }; }; }
3142 ac_exeext
=$ac_cv_exeext
3144 # Check that the compiler produces executables we can run. If not, either
3145 # the compiler is broken, or we cross compile.
3146 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3147 $as_echo_n "checking whether the C compiler works... " >&6; }
3148 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3149 # If not cross compiling, check that we can run a simple program.
3150 if test "$cross_compiling" != yes; then
3151 if { ac_try
='./$ac_file'
3152 { (case "(($ac_try" in
3153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3157 $as_echo "$ac_try_echo") >&5
3158 (eval "$ac_try") 2>&5
3160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3164 if test "$cross_compiling" = maybe; then
3167 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3170 If you meant to cross compile
, use \
`--host'.
3171 See \`config.log
' for more details." >&5
3172 $as_echo "$as_me: error: cannot run C compiled programs.
3173 If you meant to cross compile, use \`--host'.
3174 See \
`config.log' for more details." >&2;}
3175 { (exit 1); exit 1; }; }; }
3179 { $as_echo "$as_me:$LINENO: result: yes" >&5
3180 $as_echo "yes" >&6; }
3182 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3183 ac_clean_files=$ac_clean_files_save
3184 # Check that the compiler produces executables we can run. If not, either
3185 # the compiler is broken, or we cross compile.
3186 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3187 $as_echo_n "checking whether we are cross compiling... " >&6; }
3188 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3189 $as_echo "$cross_compiling" >&6; }
3191 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3192 $as_echo_n "checking for suffix of executables... " >&6; }
3193 if { (ac_try="$ac_link"
3195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3196 *) ac_try_echo
=$ac_try;;
3198 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3199 $as_echo "$ac_try_echo") >&5
3200 (eval "$ac_link") 2>&5
3202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; then
3204 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3205 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3206 # work properly (i.e., refer to `conftest.exe'), while it won't with
3208 for ac_file
in conftest.exe conftest conftest.
*; do
3209 test -f "$ac_file" ||
continue
3211 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3212 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3218 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3221 See \`config.log' for more details." >&5
3222 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3223 See \`config.log' for more details." >&2;}
3224 { (exit 1); exit 1; }; }; }
3227 rm -f conftest
$ac_cv_exeext
3228 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3229 $as_echo "$ac_cv_exeext" >&6; }
3231 rm -f conftest.
$ac_ext
3232 EXEEXT
=$ac_cv_exeext
3234 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3235 $as_echo_n "checking for suffix of object files... " >&6; }
3236 if test "${ac_cv_objext+set}" = set; then
3237 $as_echo_n "(cached) " >&6
3239 cat >conftest.
$ac_ext <<_ACEOF
3242 cat confdefs.h
>>conftest.
$ac_ext
3243 cat >>conftest.
$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3254 rm -f conftest.o conftest.obj
3255 if { (ac_try
="$ac_compile"
3257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3261 $as_echo "$ac_try_echo") >&5
3262 (eval "$ac_compile") 2>&5
3264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; then
3266 for ac_file in conftest.o conftest.obj conftest.*; do
3267 test -f "$ac_file" || continue;
3269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3270 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3275 $as_echo "$as_me: failed program was:" >&5
3276 sed 's/^/| /' conftest.$ac_ext >&5
3278 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3280 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3281 See \
`config.log' for more details." >&5
3282 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3283 See \`config.log
' for more details." >&2;}
3284 { (exit 1); exit 1; }; }; }
3287 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3289 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3290 $as_echo "$ac_cv_objext" >&6; }
3291 OBJEXT=$ac_cv_objext
3293 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3294 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3295 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3296 $as_echo_n "(cached) " >&6
3298 cat >conftest.$ac_ext <<_ACEOF
3301 cat confdefs.h >>conftest.$ac_ext
3302 cat >>conftest.$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3316 rm -f conftest.$ac_objext
3317 if { (ac_try="$ac_compile"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3323 $as_echo "$ac_try_echo") >&5
3324 (eval "$ac_compile") 2>conftest.er1
3326 grep -v '^
*+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } && {
3331 test -z "$ac_c_werror_flag" ||
3332 test ! -s conftest.err
3333 } && test -s conftest.$ac_objext; then
3336 $as_echo "$as_me: failed program was:" >&5
3337 sed 's
/^
/|
/' conftest.$ac_ext >&5
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3346 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3347 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3348 if test $ac_compiler_gnu = yes; then
3353 ac_test_CFLAGS=${CFLAGS+set}
3354 ac_save_CFLAGS=$CFLAGS
3355 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3356 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3357 if test "${ac_cv_prog_cc_g+set}" = set; then
3358 $as_echo_n "(cached) " >&6
3360 ac_save_c_werror_flag=$ac_c_werror_flag
3361 ac_c_werror_flag=yes
3364 cat >conftest.$ac_ext <<_ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3379 rm -f conftest.$ac_objext
3380 if { (ac_try="$ac_compile"
3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383 *) ac_try_echo=$ac_try;;
3385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3386 $as_echo "$ac_try_echo") >&5
3387 (eval "$ac_compile") 2>conftest.er1
3389 grep -v '^
*+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } && {
3394 test -z "$ac_c_werror_flag" ||
3395 test ! -s conftest.err
3396 } && test -s conftest.$ac_objext; then
3399 $as_echo "$as_me: failed program was:" >&5
3400 sed 's
/^
/|
/' conftest.$ac_ext >&5
3403 cat >conftest.$ac_ext <<_ACEOF
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3418 rm -f conftest.$ac_objext
3419 if { (ac_try="$ac_compile"
3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3425 $as_echo "$ac_try_echo") >&5
3426 (eval "$ac_compile") 2>conftest.er1
3428 grep -v '^
*+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } && {
3433 test -z "$ac_c_werror_flag" ||
3434 test ! -s conftest.err
3435 } && test -s conftest.$ac_objext; then
3438 $as_echo "$as_me: failed program was:" >&5
3439 sed 's
/^
/|
/' conftest.$ac_ext >&5
3441 ac_c_werror_flag=$ac_save_c_werror_flag
3443 cat >conftest.$ac_ext <<_ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3458 rm -f conftest.$ac_objext
3459 if { (ac_try="$ac_compile"
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3465 $as_echo "$ac_try_echo") >&5
3466 (eval "$ac_compile") 2>conftest.er1
3468 grep -v '^
*+' conftest.er1 >conftest.err
3470 cat conftest.err >&5
3471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && {
3473 test -z "$ac_c_werror_flag" ||
3474 test ! -s conftest.err
3475 } && test -s conftest.$ac_objext; then
3478 $as_echo "$as_me: failed program was:" >&5
3479 sed 's
/^
/|
/' conftest.$ac_ext >&5
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 ac_c_werror_flag=$ac_save_c_werror_flag
3493 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3494 $as_echo "$ac_cv_prog_cc_g" >&6; }
3495 if test "$ac_test_CFLAGS" = set; then
3496 CFLAGS=$ac_save_CFLAGS
3497 elif test $ac_cv_prog_cc_g = yes; then
3498 if test "$GCC" = yes; then
3504 if test "$GCC" = yes; then
3510 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3511 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3512 if test "${ac_cv_prog_cc_c89+set}" = set; then
3513 $as_echo_n "(cached) " >&6
3515 ac_cv_prog_cc_c89=no
3517 cat >conftest.$ac_ext <<_ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3525 #include <sys/types.h>
3526 #include <sys/stat.h>
3527 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3528 struct buf
{ int x
; };
3529 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3530 static char
*e
(p
, i
)
3536 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3541 s
= g
(p
, va_arg
(v
,int
));
3546 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3547 function prototypes and stuff
, but not
'\xHH' hex character constants.
3548 These don
't provoke an error unfortunately, instead are silently treated
3549 as 'x
'. The following induces an error, until -std is added to get
3550 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3551 array size at least. It's necessary to
write '\x00'==0 to get something
3552 that
's true only with -std. */
3553 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3555 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3556 inside strings and character constants. */
3558 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3560 int test (int i, double x);
3561 struct s1 {int (*f) (int a);};
3562 struct s2 {int (*f) (double a);};
3563 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3569 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3574 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3575 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3577 CC="$ac_save_CC $ac_arg"
3578 rm -f conftest.$ac_objext
3579 if { (ac_try="$ac_compile"
3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3585 $as_echo "$ac_try_echo") >&5
3586 (eval "$ac_compile") 2>conftest.er1
3588 grep -v '^
*+' conftest.er1 >conftest.err
3590 cat conftest.err >&5
3591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } && {
3593 test -z "$ac_c_werror_flag" ||
3594 test ! -s conftest.err
3595 } && test -s conftest.$ac_objext; then
3596 ac_cv_prog_cc_c89=$ac_arg
3598 $as_echo "$as_me: failed program was:" >&5
3599 sed 's
/^
/|
/' conftest.$ac_ext >&5
3604 rm -f core conftest.err conftest.$ac_objext
3605 test "x$ac_cv_prog_cc_c89" != "xno" && break
3607 rm -f conftest.$ac_ext
3612 case "x$ac_cv_prog_cc_c89" in
3614 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3615 $as_echo "none needed" >&6; } ;;
3617 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3618 $as_echo "unsupported" >&6; } ;;
3620 CC="$CC $ac_cv_prog_cc_c89"
3621 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3622 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3629 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 DEPDIR="${am__leading_dot}deps"
3633 ac_config_commands="$ac_config_commands depfiles"
3636 am_make=${MAKE-make}
3637 cat > confinc << 'END
'
3639 @echo this is the am__doit target
3642 # If we don't
find an include directive
, just comment out the code.
3643 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3644 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3648 # First try GNU make style include.
3649 echo "include confinc" > confmf
3650 # Ignore all kinds of additional output from `make'.
3651 case `$am_make -s -f confmf 2> /dev/null` in #(
3652 *the\ am__doit\ target
*)
3658 # Now try BSD make style include.
3659 if test "$am__include" = "#"; then
3660 echo '.include "confinc"' > confmf
3661 case `$am_make -s -f confmf 2> /dev/null` in #(
3662 *the\ am__doit\ target
*)
3663 am__include
=.include
3671 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3672 $as_echo "$_am_result" >&6; }
3673 rm -f confinc confmf
3675 # Check whether --enable-dependency-tracking was given.
3676 if test "${enable_dependency_tracking+set}" = set; then
3677 enableval
=$enable_dependency_tracking;
3680 if test "x$enable_dependency_tracking" != xno
; then
3681 am_depcomp
="$ac_aux_dir/depcomp"
3684 if test "x$enable_dependency_tracking" != xno; then
3694 depcc
="$CC" am_compiler_list
=
3696 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3697 $as_echo_n "checking dependency style of $depcc... " >&6; }
3698 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3699 $as_echo_n "(cached) " >&6
3701 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3702 # We make a subdir and do the tests there. Otherwise we can end up
3703 # making bogus files that we don't know about and never remove. For
3704 # instance it was reported that on HP-UX the gcc test will end up
3705 # making a dummy file named `D' -- because `-MD' means `put the output
3708 # Copy depcomp to subdir because otherwise we won't find it if we're
3709 # using a relative directory.
3710 cp "$am_depcomp" conftest.dir
3712 # We will build objects and dependencies in a subdirectory because
3713 # it helps to detect inapplicable dependency modes. For instance
3714 # both Tru64's cc and ICC support -MD to output dependencies as a
3715 # side effect of compilation, but ICC will put the dependencies in
3716 # the current directory while Tru64 will put them in the object
3720 am_cv_CC_dependencies_compiler_type
=none
3721 if test "$am_compiler_list" = ""; then
3722 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3725 case " $depcc " in #(
3726 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3729 for depmode
in $am_compiler_list; do
3730 # Setup a source with many dependencies, because some compilers
3731 # like to wrap large dependency lists on column 80 (with \), and
3732 # we should not choose a depcomp mode which is confused by this.
3734 # We need to recreate these files for each test, as the compiler may
3735 # overwrite some of them when testing with obscure command lines.
3736 # This happens at least with the AIX C compiler.
3738 for i
in 1 2 3 4 5 6; do
3739 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3740 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3741 # Solaris 8's {/usr,}/bin/sh.
3742 touch sub
/conftst
$i.h
3744 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3746 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3747 # mode. It turns out that the SunPro C++ compiler does not properly
3748 # handle `-M -o', and we need to detect this. Also, some Intel
3749 # versions had trouble with output in subdirs
3750 am__obj
=sub
/conftest.
${OBJEXT-o}
3751 am__minus_obj
="-o $am__obj"
3754 # This depmode causes a compiler race in universal mode.
3755 test "$am__universal" = false ||
continue
3758 # after this tag, mechanisms are not by side-effect, so they'll
3759 # only be used when explicitly requested
3760 if test "x$enable_dependency_tracking" = xyes
; then
3766 msvisualcpp | msvcmsys
)
3767 # This compiler won't grok `-c -o', but also, the minuso test has
3768 # not run yet. These depmodes are late enough in the game, and
3769 # so weak that their functioning should not be impacted.
3770 am__obj
=conftest.
${OBJEXT-o}
3775 if depmode
=$depmode \
3776 source=sub
/conftest.c object
=$am__obj \
3777 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3778 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3779 >/dev
/null
2>conftest.err
&&
3780 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3781 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3782 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3783 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3784 # icc doesn't choke on unknown options, it will just issue warnings
3785 # or remarks (even with -Werror). So we grep stderr for any message
3786 # that says an option was ignored or not supported.
3787 # When given -MP, icc 7.0 and 7.1 complain thusly:
3788 # icc: Command line warning: ignoring option '-M'; no argument required
3789 # The diagnosis changed in icc 8.0:
3790 # icc: Command line remark: option '-MP' not supported
3791 if (grep 'ignoring option' conftest.err ||
3792 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3793 am_cv_CC_dependencies_compiler_type
=$depmode
3802 am_cv_CC_dependencies_compiler_type
=none
3806 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3807 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3808 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3811 test "x$enable_dependency_tracking" != xno \
3812 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3814 am__fastdepCC_FALSE
='#'
3816 am__fastdepCC_TRUE
='#'
3817 am__fastdepCC_FALSE
=
3823 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3824 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3829 macro_version
='2.2.6'
3830 macro_revision
='1.3012'
3844 ltmain
="$ac_aux_dir/ltmain.sh"
3846 # Make sure we can run config.sub.
3847 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3848 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3849 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3850 { (exit 1); exit 1; }; }
3852 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3853 $as_echo_n "checking build system type... " >&6; }
3854 if test "${ac_cv_build+set}" = set; then
3855 $as_echo_n "(cached) " >&6
3857 ac_build_alias
=$build_alias
3858 test "x$ac_build_alias" = x
&&
3859 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3860 test "x$ac_build_alias" = x
&&
3861 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3862 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3863 { (exit 1); exit 1; }; }
3864 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3865 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3866 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3867 { (exit 1); exit 1; }; }
3870 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3871 $as_echo "$ac_cv_build" >&6; }
3872 case $ac_cv_build in
3874 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3875 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3876 { (exit 1); exit 1; }; };;
3879 ac_save_IFS
=$IFS; IFS
='-'
3885 # Remember, the first character of IFS is used to create $*,
3886 # except with old shells:
3889 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3892 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3893 $as_echo_n "checking host system type... " >&6; }
3894 if test "${ac_cv_host+set}" = set; then
3895 $as_echo_n "(cached) " >&6
3897 if test "x$host_alias" = x
; then
3898 ac_cv_host
=$ac_cv_build
3900 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3901 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3902 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3903 { (exit 1); exit 1; }; }
3907 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3908 $as_echo "$ac_cv_host" >&6; }
3911 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3912 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3913 { (exit 1); exit 1; }; };;
3916 ac_save_IFS
=$IFS; IFS
='-'
3922 # Remember, the first character of IFS is used to create $*,
3923 # except with old shells:
3926 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3929 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3930 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3931 if test "${ac_cv_path_SED+set}" = set; then
3932 $as_echo_n "(cached) " >&6
3934 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3935 for ac_i
in 1 2 3 4 5 6 7; do
3936 ac_script
="$ac_script$as_nl$ac_script"
3938 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3939 $as_unset ac_script || ac_script
=
3940 if test -z "$SED"; then
3941 ac_path_SED_found
=false
3942 # Loop through the user's path and test for each of PROGNAME-LIST
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir
=.
3948 for ac_prog
in sed gsed
; do
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3951 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3952 # Check for GNU ac_path_SED and select it if it is found.
3953 # Check for GNU $ac_path_SED
3954 case `"$ac_path_SED" --version 2>&1` in
3956 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3959 $as_echo_n 0123456789 >"conftest.in"
3962 cat "conftest.in" "conftest.in" >"conftest.tmp"
3963 mv "conftest.tmp" "conftest.in"
3964 cp "conftest.in" "conftest.nl"
3965 $as_echo '' >> "conftest.nl"
3966 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3967 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3968 ac_count
=`expr $ac_count + 1`
3969 if test $ac_count -gt ${ac_path_SED_max-0}; then
3970 # Best one so far, save it but keep looking for a better one
3971 ac_cv_path_SED
="$ac_path_SED"
3972 ac_path_SED_max
=$ac_count
3974 # 10*(2^10) chars as input seems more than enough
3975 test $ac_count -gt 10 && break
3977 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3980 $ac_path_SED_found && break 3
3985 if test -z "$ac_cv_path_SED"; then
3986 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3987 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3988 { (exit 1); exit 1; }; }
3995 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3996 $as_echo "$ac_cv_path_SED" >&6; }
3997 SED
="$ac_cv_path_SED"
4000 test -z "$SED" && SED
=sed
4001 Xsed
="$SED -e 1s/^X//"
4013 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4014 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4015 if test "${ac_cv_path_GREP+set}" = set; then
4016 $as_echo_n "(cached) " >&6
4018 if test -z "$GREP"; then
4019 ac_path_GREP_found
=false
4020 # Loop through the user's path and test for each of PROGNAME-LIST
4021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4022 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4025 test -z "$as_dir" && as_dir
=.
4026 for ac_prog
in grep ggrep
; do
4027 for ac_exec_ext
in '' $ac_executable_extensions; do
4028 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4029 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4030 # Check for GNU ac_path_GREP and select it if it is found.
4031 # Check for GNU $ac_path_GREP
4032 case `"$ac_path_GREP" --version 2>&1` in
4034 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4037 $as_echo_n 0123456789 >"conftest.in"
4040 cat "conftest.in" "conftest.in" >"conftest.tmp"
4041 mv "conftest.tmp" "conftest.in"
4042 cp "conftest.in" "conftest.nl"
4043 $as_echo 'GREP' >> "conftest.nl"
4044 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4045 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4046 ac_count
=`expr $ac_count + 1`
4047 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4048 # Best one so far, save it but keep looking for a better one
4049 ac_cv_path_GREP
="$ac_path_GREP"
4050 ac_path_GREP_max
=$ac_count
4052 # 10*(2^10) chars as input seems more than enough
4053 test $ac_count -gt 10 && break
4055 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4058 $ac_path_GREP_found && break 3
4063 if test -z "$ac_cv_path_GREP"; then
4064 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4065 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4066 { (exit 1); exit 1; }; }
4069 ac_cv_path_GREP
=$GREP
4073 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4074 $as_echo "$ac_cv_path_GREP" >&6; }
4075 GREP
="$ac_cv_path_GREP"
4078 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4079 $as_echo_n "checking for egrep... " >&6; }
4080 if test "${ac_cv_path_EGREP+set}" = set; then
4081 $as_echo_n "(cached) " >&6
4083 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4084 then ac_cv_path_EGREP
="$GREP -E"
4086 if test -z "$EGREP"; then
4087 ac_path_EGREP_found
=false
4088 # Loop through the user's path and test for each of PROGNAME-LIST
4089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4093 test -z "$as_dir" && as_dir
=.
4094 for ac_prog
in egrep; do
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4097 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4098 # Check for GNU ac_path_EGREP and select it if it is found.
4099 # Check for GNU $ac_path_EGREP
4100 case `"$ac_path_EGREP" --version 2>&1` in
4102 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4105 $as_echo_n 0123456789 >"conftest.in"
4108 cat "conftest.in" "conftest.in" >"conftest.tmp"
4109 mv "conftest.tmp" "conftest.in"
4110 cp "conftest.in" "conftest.nl"
4111 $as_echo 'EGREP' >> "conftest.nl"
4112 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4113 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4114 ac_count
=`expr $ac_count + 1`
4115 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4116 # Best one so far, save it but keep looking for a better one
4117 ac_cv_path_EGREP
="$ac_path_EGREP"
4118 ac_path_EGREP_max
=$ac_count
4120 # 10*(2^10) chars as input seems more than enough
4121 test $ac_count -gt 10 && break
4123 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4126 $ac_path_EGREP_found && break 3
4131 if test -z "$ac_cv_path_EGREP"; then
4132 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4133 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4134 { (exit 1); exit 1; }; }
4137 ac_cv_path_EGREP
=$EGREP
4142 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4143 $as_echo "$ac_cv_path_EGREP" >&6; }
4144 EGREP
="$ac_cv_path_EGREP"
4147 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4148 $as_echo_n "checking for fgrep... " >&6; }
4149 if test "${ac_cv_path_FGREP+set}" = set; then
4150 $as_echo_n "(cached) " >&6
4152 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4153 then ac_cv_path_FGREP
="$GREP -F"
4155 if test -z "$FGREP"; then
4156 ac_path_FGREP_found
=false
4157 # Loop through the user's path and test for each of PROGNAME-LIST
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_prog
in fgrep
; do
4164 for ac_exec_ext
in '' $ac_executable_extensions; do
4165 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4166 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4167 # Check for GNU ac_path_FGREP and select it if it is found.
4168 # Check for GNU $ac_path_FGREP
4169 case `"$ac_path_FGREP" --version 2>&1` in
4171 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4174 $as_echo_n 0123456789 >"conftest.in"
4177 cat "conftest.in" "conftest.in" >"conftest.tmp"
4178 mv "conftest.tmp" "conftest.in"
4179 cp "conftest.in" "conftest.nl"
4180 $as_echo 'FGREP' >> "conftest.nl"
4181 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4183 ac_count
=`expr $ac_count + 1`
4184 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4185 # Best one so far, save it but keep looking for a better one
4186 ac_cv_path_FGREP
="$ac_path_FGREP"
4187 ac_path_FGREP_max
=$ac_count
4189 # 10*(2^10) chars as input seems more than enough
4190 test $ac_count -gt 10 && break
4192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4195 $ac_path_FGREP_found && break 3
4200 if test -z "$ac_cv_path_FGREP"; then
4201 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4202 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4203 { (exit 1); exit 1; }; }
4206 ac_cv_path_FGREP
=$FGREP
4211 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4212 $as_echo "$ac_cv_path_FGREP" >&6; }
4213 FGREP
="$ac_cv_path_FGREP"
4216 test -z "$GREP" && GREP
=grep
4236 # Check whether --with-gnu-ld was given.
4237 if test "${with_gnu_ld+set}" = set; then
4238 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4244 if test "$GCC" = yes; then
4245 # Check if gcc -print-prog-name=ld gives a path.
4246 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4247 $as_echo_n "checking for ld used by $CC... " >&6; }
4250 # gcc leaves a trailing carriage return which upsets mingw
4251 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4253 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4256 # Accept absolute paths.
4258 re_direlt
='/[^/][^/]*/\.\./'
4259 # Canonicalize the pathname of ld
4260 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4261 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4262 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4264 test -z "$LD" && LD
="$ac_prog"
4267 # If it fails, then pretend we aren't using GCC.
4271 # If it is relative, then search for the first ld in PATH.
4275 elif test "$with_gnu_ld" = yes; then
4276 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4277 $as_echo_n "checking for GNU ld... " >&6; }
4279 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4280 $as_echo_n "checking for non-GNU ld... " >&6; }
4282 if test "${lt_cv_path_LD+set}" = set; then
4283 $as_echo_n "(cached) " >&6
4285 if test -z "$LD"; then
4286 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4287 for ac_dir
in $PATH; do
4289 test -z "$ac_dir" && ac_dir
=.
4290 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4291 lt_cv_path_LD
="$ac_dir/$ac_prog"
4292 # Check to see if the program is GNU ld. I'd rather use --version,
4293 # but apparently some variants of GNU ld only accept -v.
4294 # Break only if it was the GNU/non-GNU ld that we prefer.
4295 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4296 *GNU
* |
*'with BFD'*)
4297 test "$with_gnu_ld" != no
&& break
4300 test "$with_gnu_ld" != yes && break
4307 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4312 if test -n "$LD"; then
4313 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4314 $as_echo "$LD" >&6; }
4316 { $as_echo "$as_me:$LINENO: result: no" >&5
4317 $as_echo "no" >&6; }
4319 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4320 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4321 { (exit 1); exit 1; }; }
4322 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4323 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4324 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4325 $as_echo_n "(cached) " >&6
4327 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4328 case `$LD -v 2>&1 </dev/null` in
4329 *GNU
* |
*'with BFD'*)
4330 lt_cv_prog_gnu_ld
=yes
4333 lt_cv_prog_gnu_ld
=no
4337 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4338 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4339 with_gnu_ld
=$lt_cv_prog_gnu_ld
4349 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4350 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4351 if test "${lt_cv_path_NM+set}" = set; then
4352 $as_echo_n "(cached) " >&6
4354 if test -n "$NM"; then
4355 # Let the user override the test.
4358 lt_nm_to_check
="${ac_tool_prefix}nm"
4359 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4360 lt_nm_to_check
="$lt_nm_to_check nm"
4362 for lt_tmp_nm
in $lt_nm_to_check; do
4363 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4364 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4366 test -z "$ac_dir" && ac_dir
=.
4367 tmp_nm
="$ac_dir/$lt_tmp_nm"
4368 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4369 # Check to see if the nm accepts a BSD-compat flag.
4370 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4371 # nm: unknown option "B" ignored
4372 # Tru64's nm complains that /dev/null is an invalid object file
4373 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4374 */dev
/null
* |
*'Invalid file or object type'*)
4375 lt_cv_path_NM
="$tmp_nm -B"
4379 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4381 lt_cv_path_NM
="$tmp_nm -p"
4385 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4386 continue # so that we can try to find one that supports BSD flags
4395 : ${lt_cv_path_NM=no}
4398 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4399 $as_echo "$lt_cv_path_NM" >&6; }
4400 if test "$lt_cv_path_NM" != "no"; then
4403 # Didn't find any BSD compatible name lister, look for dumpbin.
4404 if test -n "$ac_tool_prefix"; then
4405 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4407 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4408 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$DUMPBIN"; then
4415 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir
=.
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4425 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 DUMPBIN
=$ac_cv_prog_DUMPBIN
4435 if test -n "$DUMPBIN"; then
4436 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4437 $as_echo "$DUMPBIN" >&6; }
4439 { $as_echo "$as_me:$LINENO: result: no" >&5
4440 $as_echo "no" >&6; }
4444 test -n "$DUMPBIN" && break
4447 if test -z "$DUMPBIN"; then
4448 ac_ct_DUMPBIN
=$DUMPBIN
4449 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4451 # Extract the first word of "$ac_prog", so it can be a program name with args.
4452 set dummy
$ac_prog; ac_word
=$2
4453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4456 $as_echo_n "(cached) " >&6
4458 if test -n "$ac_ct_DUMPBIN"; then
4459 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4468 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4469 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4479 if test -n "$ac_ct_DUMPBIN"; then
4480 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4481 $as_echo "$ac_ct_DUMPBIN" >&6; }
4483 { $as_echo "$as_me:$LINENO: result: no" >&5
4484 $as_echo "no" >&6; }
4488 test -n "$ac_ct_DUMPBIN" && break
4491 if test "x$ac_ct_DUMPBIN" = x
; then
4494 case $cross_compiling:$ac_tool_warned in
4496 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4498 ac_tool_warned
=yes ;;
4500 DUMPBIN
=$ac_ct_DUMPBIN
4505 if test "$DUMPBIN" != ":"; then
4509 test -z "$NM" && NM
=nm
4516 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4517 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4518 if test "${lt_cv_nm_interface+set}" = set; then
4519 $as_echo_n "(cached) " >&6
4521 lt_cv_nm_interface
="BSD nm"
4522 echo "int some_variable = 0;" > conftest.
$ac_ext
4523 (eval echo "\"\$as_me:4523: $ac_compile\"" >&5)
4524 (eval "$ac_compile" 2>conftest.err
)
4525 cat conftest.err
>&5
4526 (eval echo "\"\$as_me:4526: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4527 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4528 cat conftest.err
>&5
4529 (eval echo "\"\$as_me:4529: output\"" >&5)
4530 cat conftest.out
>&5
4531 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4532 lt_cv_nm_interface
="MS dumpbin"
4536 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4537 $as_echo "$lt_cv_nm_interface" >&6; }
4539 # find the maximum length of command line arguments
4540 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4541 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4542 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4543 $as_echo_n "(cached) " >&6
4550 # On DJGPP, this test can blow up pretty badly due to problems in libc
4551 # (any single argument exceeding 2000 bytes causes a buffer overrun
4552 # during glob expansion). Even if it were fixed, the result of this
4553 # check would be larger than it should be.
4554 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4558 # Under GNU Hurd, this test is not required because there is
4559 # no limit to the length of command line arguments.
4560 # Libtool will interpret -1 as no limit whatsoever
4561 lt_cv_sys_max_cmd_len
=-1;
4564 cygwin
* | mingw
* | cegcc
*)
4565 # On Win9x/ME, this test blows up -- it succeeds, but takes
4566 # about 5 minutes as the teststring grows exponentially.
4567 # Worse, since 9x/ME are not pre-emptively multitasking,
4568 # you end up with a "frozen" computer, even though with patience
4569 # the test eventually succeeds (with a max line length of 256k).
4570 # Instead, let's just punt: use the minimum linelength reported by
4571 # all of the supported platforms: 8192 (on NT/2K/XP).
4572 lt_cv_sys_max_cmd_len
=8192;
4576 # On AmigaOS with pdksh, this test takes hours, literally.
4577 # So we just punt and use a minimum line length of 8192.
4578 lt_cv_sys_max_cmd_len
=8192;
4581 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4582 # This has been around since 386BSD, at least. Likely further.
4583 if test -x /sbin
/sysctl
; then
4584 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4585 elif test -x /usr
/sbin
/sysctl
; then
4586 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4588 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4590 # And add a safety zone
4591 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4592 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4596 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4597 lt_cv_sys_max_cmd_len
=196608
4601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4603 # nice to cause kernel panics so lets avoid the loop below.
4604 # First set a reasonable default.
4605 lt_cv_sys_max_cmd_len
=16384
4607 if test -x /sbin
/sysconfig
; then
4608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4609 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4614 lt_cv_sys_max_cmd_len
=102400
4616 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4617 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4618 if test -n "$kargmax"; then
4619 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4621 lt_cv_sys_max_cmd_len
=32768
4625 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4626 if test -n "$lt_cv_sys_max_cmd_len"; then
4627 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4628 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4630 # Make teststring a little bigger before we do anything with it.
4631 # a 1K string should be a reasonable start.
4632 for i
in 1 2 3 4 5 6 7 8 ; do
4633 teststring
=$teststring$teststring
4635 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4636 # If test is not a shell built-in, we'll probably end up computing a
4637 # maximum length that is only half of the actual maximum length, but
4639 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4640 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4641 test $i != 17 # 1/2 MB should be enough
4644 teststring
=$teststring$teststring
4646 # Only check the string length outside the loop.
4647 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4649 # Add a significant safety factor because C++ compilers can tack on
4650 # massive amounts of additional arguments before passing them to the
4651 # linker. It appears as though 1/2 is a usable value.
4652 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4659 if test -n $lt_cv_sys_max_cmd_len ; then
4660 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4661 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4663 { $as_echo "$as_me:$LINENO: result: none" >&5
4664 $as_echo "none" >&6; }
4666 max_cmd_len
=$lt_cv_sys_max_cmd_len
4677 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4678 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4679 # Try some XSI features
4682 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4684 && eval 'test $(( 1 + 1 )) -eq 2 \
4685 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4687 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4688 $as_echo "$xsi_shell" >&6; }
4691 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4692 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4694 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4696 && lt_shell_append=yes
4697 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4698 $as_echo "$lt_shell_append" >&6; }
4701 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4711 # test EBCDIC or ASCII
4712 case `echo X|tr X '\101'` in
4713 A) # ASCII based system
4714 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4715 lt_SP2NL='tr \040 \012'
4716 lt_NL2SP='tr \015\012 \040\040'
4718 *) # EBCDIC based system
4719 lt_SP2NL='tr \100 \n'
4720 lt_NL2SP='tr \r\n \100\100'
4732 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4733 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4734 if test "${lt_cv_ld_reload_flag+set}" = set; then
4735 $as_echo_n "(cached
) " >&6
4737 lt_cv_ld_reload_flag='-r'
4739 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4740 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4741 reload_flag=$lt_cv_ld_reload_flag
4742 case $reload_flag in
4744 *) reload_flag=" $reload_flag" ;;
4746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4749 if test "$GCC" = yes; then
4750 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4765 if test -n "$ac_tool_prefix"; then
4766 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4767 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4768 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4769 $as_echo_n "checking
for $ac_word...
" >&6; }
4770 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4771 $as_echo_n "(cached
) " >&6
4773 if test -n "$OBJDUMP"; then
4774 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4783 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4784 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4793 OBJDUMP=$ac_cv_prog_OBJDUMP
4794 if test -n "$OBJDUMP"; then
4795 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4796 $as_echo "$OBJDUMP" >&6; }
4798 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4799 $as_echo "no
" >&6; }
4804 if test -z "$ac_cv_prog_OBJDUMP"; then
4805 ac_ct_OBJDUMP=$OBJDUMP
4806 # Extract the first word of "objdump
", so it can be a program name with args.
4807 set dummy objdump; ac_word=$2
4808 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4809 $as_echo_n "checking
for $ac_word...
" >&6; }
4810 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4811 $as_echo_n "(cached
) " >&6
4813 if test -n "$ac_ct_OBJDUMP"; then
4814 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4824 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4833 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4834 if test -n "$ac_ct_OBJDUMP"; then
4835 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4836 $as_echo "$ac_ct_OBJDUMP" >&6; }
4838 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4839 $as_echo "no
" >&6; }
4842 if test "x
$ac_ct_OBJDUMP" = x; then
4845 case $cross_compiling:$ac_tool_warned in
4847 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4849 ac_tool_warned=yes ;;
4851 OBJDUMP=$ac_ct_OBJDUMP
4854 OBJDUMP="$ac_cv_prog_OBJDUMP"
4857 test -z "$OBJDUMP" && OBJDUMP=objdump
4867 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4868 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4869 if test "${lt_cv_deplibs_check_method+set}" = set; then
4870 $as_echo_n "(cached
) " >&6
4872 lt_cv_file_magic_cmd='$MAGIC_CMD'
4873 lt_cv_file_magic_test_file=
4874 lt_cv_deplibs_check_method='unknown'
4875 # Need to set the preceding variable on all platforms that support
4876 # interlibrary dependencies.
4877 # 'none' -- dependencies not supported.
4878 # `unknown' -- same as none, but documents that we really don't know.
4879 # 'pass_all' -- all dependencies passed with no checks.
4880 # 'test_compile' -- check by making test program.
4881 # 'file_magic [[regex]]' -- check by looking for files in library path
4882 # which responds to the $file_magic_cmd with a given extended regex.
4883 # If you have `file' or equivalent on your system and you're not sure
4884 # whether `pass_all' will *always* work, you probably want this one.
4888 lt_cv_deplibs_check_method=pass_all
4892 lt_cv_deplibs_check_method=pass_all
4896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4897 lt_cv_file_magic_cmd='/usr/bin/file -L'
4898 lt_cv_file_magic_test_file=/shlib/libc.so
4902 # func_win32_libid is a shell function defined in ltmain.sh
4903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4904 lt_cv_file_magic_cmd='func_win32_libid'
4908 # Base MSYS/MinGW do not provide the 'file' command needed by
4909 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4910 # unless we find 'file', for example because we are cross-compiling.
4911 if ( file / ) >/dev/null 2>&1; then
4912 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4913 lt_cv_file_magic_cmd='func_win32_libid'
4915 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4916 lt_cv_file_magic_cmd='$OBJDUMP -f'
4921 # use the weaker test based on 'objdump'. See mingw*.
4922 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4923 lt_cv_file_magic_cmd='$OBJDUMP -f'
4926 darwin* | rhapsody*)
4927 lt_cv_deplibs_check_method=pass_all
4930 freebsd* | dragonfly*)
4931 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4934 # Not sure whether the presence of OpenBSD here was a mistake.
4935 # Let's accept both of them until this is cleared up.
4936 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4937 lt_cv_file_magic_cmd=/usr/bin/file
4938 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4942 lt_cv_deplibs_check_method=pass_all
4947 lt_cv_deplibs_check_method=pass_all
4950 hpux10.20* | hpux11*)
4951 lt_cv_file_magic_cmd=/usr/bin/file
4954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4958 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]'
4959 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4963 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4969 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4973 irix5* | irix6* | nonstopux*)
4975 *-32|*"-32 ") libmagic=32-bit;;
4976 *-n32|*"-n32 ") libmagic=N32;;
4977 *-64|*"-64 ") libmagic=64-bit;;
4978 *) libmagic=never-match;;
4980 lt_cv_deplibs_check_method=pass_all
4983 # This must be Linux ELF.
4984 linux* | k*bsd*-gnu)
4985 lt_cv_deplibs_check_method=pass_all
4989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4992 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4997 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4998 lt_cv_file_magic_cmd=/usr/bin/file
4999 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5003 lt_cv_deplibs_check_method=pass_all
5007 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5014 osf3* | osf4* | osf5*)
5015 lt_cv_deplibs_check_method=pass_all
5019 lt_cv_deplibs_check_method=pass_all
5023 lt_cv_deplibs_check_method=pass_all
5026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5027 lt_cv_deplibs_check_method=pass_all
5031 case $host_vendor in
5033 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]'
5034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5037 lt_cv_deplibs_check_method=pass_all
5040 lt_cv_file_magic_cmd='/bin/file'
5041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5044 lt_cv_file_magic_cmd='/bin/file'
5045 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5046 lt_cv_file_magic_test_file=/lib/libc.so
5049 lt_cv_deplibs_check_method=pass_all
5052 lt_cv_deplibs_check_method=pass_all
5058 lt_cv_deplibs_check_method=pass_all
5063 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5064 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5065 file_magic_cmd=$lt_cv_file_magic_cmd
5066 deplibs_check_method=$lt_cv_deplibs_check_method
5067 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5080 if test -n "$ac_tool_prefix"; then
5081 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5082 set dummy ${ac_tool_prefix}ar; ac_word=$2
5083 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5084 $as_echo_n "checking
for $ac_word...
" >&6; }
5085 if test "${ac_cv_prog_AR+set}" = set; then
5086 $as_echo_n "(cached
) " >&6
5088 if test -n "$AR"; then
5089 ac_cv_prog_AR="$AR" # Let the user override the test.
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_AR="${ac_tool_prefix}ar"
5099 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5109 if test -n "$AR"; then
5110 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5111 $as_echo "$AR" >&6; }
5113 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5114 $as_echo "no
" >&6; }
5119 if test -z "$ac_cv_prog_AR"; then
5121 # Extract the first word of "ar", so it can be a program name with args.
5122 set dummy ar; ac_word=$2
5123 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5124 $as_echo_n "checking
for $ac_word...
" >&6; }
5125 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5126 $as_echo_n "(cached
) " >&6
5128 if test -n "$ac_ct_AR"; then
5129 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138 ac_cv_prog_ac_ct_AR="ar"
5139 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5148 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5149 if test -n "$ac_ct_AR"; then
5150 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5151 $as_echo "$ac_ct_AR" >&6; }
5153 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5154 $as_echo "no
" >&6; }
5157 if test "x
$ac_ct_AR" = x; then
5160 case $cross_compiling:$ac_tool_warned in
5162 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5164 ac_tool_warned=yes ;;
5172 test -z "$AR" && AR=ar
5173 test -z "$AR_FLAGS" && AR_FLAGS=cru
5185 if test -n "$ac_tool_prefix"; then
5186 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5187 set dummy ${ac_tool_prefix}strip; ac_word=$2
5188 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5189 $as_echo_n "checking
for $ac_word...
" >&6; }
5190 if test "${ac_cv_prog_STRIP+set}" = set; then
5191 $as_echo_n "(cached
) " >&6
5193 if test -n "$STRIP"; then
5194 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir=.
5201 for ac_exec_ext in '' $ac_executable_extensions; do
5202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5203 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5204 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5213 STRIP=$ac_cv_prog_STRIP
5214 if test -n "$STRIP"; then
5215 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5216 $as_echo "$STRIP" >&6; }
5218 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5219 $as_echo "no
" >&6; }
5224 if test -z "$ac_cv_prog_STRIP"; then
5226 # Extract the first word of "strip
", so it can be a program name with args.
5227 set dummy strip; ac_word=$2
5228 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5229 $as_echo_n "checking
for $ac_word...
" >&6; }
5230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5231 $as_echo_n "(cached
) " >&6
5233 if test -n "$ac_ct_STRIP"; then
5234 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243 ac_cv_prog_ac_ct_STRIP="strip
"
5244 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5254 if test -n "$ac_ct_STRIP"; then
5255 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5256 $as_echo "$ac_ct_STRIP" >&6; }
5258 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5259 $as_echo "no
" >&6; }
5262 if test "x
$ac_ct_STRIP" = x; then
5265 case $cross_compiling:$ac_tool_warned in
5267 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5269 ac_tool_warned=yes ;;
5274 STRIP="$ac_cv_prog_STRIP"
5277 test -z "$STRIP" && STRIP=:
5284 if test -n "$ac_tool_prefix"; then
5285 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5287 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5288 $as_echo_n "checking
for $ac_word...
" >&6; }
5289 if test "${ac_cv_prog_RANLIB+set}" = set; then
5290 $as_echo_n "(cached
) " >&6
5292 if test -n "$RANLIB"; then
5293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 test -z "$as_dir" && as_dir=.
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5303 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5312 RANLIB=$ac_cv_prog_RANLIB
5313 if test -n "$RANLIB"; then
5314 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5315 $as_echo "$RANLIB" >&6; }
5317 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5318 $as_echo "no
" >&6; }
5323 if test -z "$ac_cv_prog_RANLIB"; then
5324 ac_ct_RANLIB=$RANLIB
5325 # Extract the first word of "ranlib
", so it can be a program name with args.
5326 set dummy ranlib; ac_word=$2
5327 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5328 $as_echo_n "checking
for $ac_word...
" >&6; }
5329 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5330 $as_echo_n "(cached
) " >&6
5332 if test -n "$ac_ct_RANLIB"; then
5333 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5343 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5353 if test -n "$ac_ct_RANLIB"; then
5354 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5355 $as_echo "$ac_ct_RANLIB" >&6; }
5357 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5358 $as_echo "no
" >&6; }
5361 if test "x
$ac_ct_RANLIB" = x; then
5364 case $cross_compiling:$ac_tool_warned in
5366 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5367 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5368 ac_tool_warned=yes ;;
5370 RANLIB=$ac_ct_RANLIB
5373 RANLIB="$ac_cv_prog_RANLIB"
5376 test -z "$RANLIB" && RANLIB=:
5383 # Determine commands to create old-style static archives.
5384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5385 old_postinstall_cmds='chmod 644 $oldlib'
5386 old_postuninstall_cmds=
5388 if test -n "$RANLIB"; then
5391 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5394 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5397 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5433 # If no C compiler was specified, use CC.
5436 # If no C compiler flags were specified, use CFLAGS.
5437 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5439 # Allow CC to be a program name with arguments.
5443 # Check for command to grab the raw symbol name followed by C symbol from nm.
5444 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5445 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5446 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5447 $as_echo_n "(cached
) " >&6
5450 # These are sane defaults that work on at least a few old systems.
5451 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5453 # Character class describing NM global symbol codes.
5454 symcode='[BCDEGRST]'
5456 # Regexp to match symbols that can be accessed directly from C.
5457 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5459 # Define system-specific variables.
5464 cygwin* | mingw* | pw32* | cegcc*)
5465 symcode='[ABCDGISTW]'
5468 if test "$host_cpu" = ia64; then
5469 symcode='[ABCDEGRST]'
5473 symcode='[BCDEGRST]'
5476 symcode='[BCDEGQRST]'
5487 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5495 # If we're using GNU nm, then use its standard symbol codes.
5496 case `$NM -V 2>&1` in
5497 *GNU* | *'with BFD'*)
5498 symcode='[ABCDGIRSTW]' ;;
5501 # Transform an extracted symbol line into a proper C declaration.
5502 # Some systems (esp. on ia64) link data and code symbols differently,
5503 # so use this general approach.
5504 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5506 # Transform an extracted symbol line into symbol name and symbol address
5507 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5508 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'"
5510 # Handle CRLF in mingw tool chain
5514 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5518 # Try without a prefix underscore, then with it.
5519 for ac_symprfx in "" "_
"; do
5521 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5522 symxfrm="\\1 $ac_symprfx\\2 \\2"
5524 # Write the raw and C identifiers.
5525 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5526 # Fake it for dumpbin and say T for any non-static function
5527 # and D for any global variable.
5528 # Also find C++ and __fastcall symbols from MSVC++,
5529 # which start with @ or ?.
5530 lt_cv_sys_global_symbol_pipe="$AWK '"\
5531 " {last_section=section; section=\$ 3};"\
5532 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5533 " \$ 0!~/External *\|/{next};"\
5534 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5535 " {if(hide[section]) next};"\
5536 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5537 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5538 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5539 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5540 " ' prfx
=^
$ac_symprfx"
5542 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5545 # Check to see that the pipe works correctly.
5549 cat > conftest.$ac_ext <<_LT_EOF
5554 void nm_test_func(void);
5555 void nm_test_func(void){}
5559 int main(){nm_test_var='a';nm_test_func();return(0);}
5562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5563 (eval $ac_compile) 2>&5
5565 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5566 (exit $ac_status); }; then
5567 # Now try to grab the symbols.
5569 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5570 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5572 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5573 (exit $ac_status); } && test -s "$nlist"; then
5574 # Try sorting and uniquifying the output.
5575 if sort "$nlist" | uniq > "$nlist"T; then
5576 mv -f "$nlist"T "$nlist"
5581 # Make sure that we snagged all the symbols we need.
5582 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5583 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5584 cat <<_LT_EOF > conftest.$ac_ext
5590 # Now generate the symbol file.
5591 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5593 cat <<_LT_EOF >> conftest.$ac_ext
5595 /* The mapping between symbol names and symbols. */
5600 lt__PROGRAM__LTX_preloaded_symbols[] =
5602 { "@PROGRAM@
", (void *) 0 },
5604 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5605 cat <<\_LT_EOF >> conftest.$ac_ext
5609 /* This works around a problem in FreeBSD linker */
5610 #ifdef FREEBSD_WORKAROUND
5611 static const void *lt_preloaded_setup() {
5612 return lt__PROGRAM__LTX_preloaded_symbols;
5620 # Now try linking the two files.
5621 mv conftest.$ac_objext conftstm.$ac_objext
5622 lt_save_LIBS="$LIBS"
5623 lt_save_CFLAGS="$CFLAGS"
5624 LIBS="conftstm.
$ac_objext"
5625 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5627 (eval $ac_link) 2>&5
5629 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5630 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5633 LIBS="$lt_save_LIBS"
5634 CFLAGS="$lt_save_CFLAGS"
5636 echo "cannot
find nm_test_func
in $nlist" >&5
5639 echo "cannot
find nm_test_var
in $nlist" >&5
5642 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5645 echo "$progname: failed program was
:" >&5
5646 cat conftest.$ac_ext >&5
5648 rm -rf conftest* conftst*
5650 # Do not use the global_symbol_pipe unless it works.
5651 if test "$pipe_works" = yes; then
5654 lt_cv_sys_global_symbol_pipe=
5660 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5661 lt_cv_sys_global_symbol_to_cdecl=
5663 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5664 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5665 $as_echo "failed
" >&6; }
5667 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5668 $as_echo "ok
" >&6; }
5693 # Check whether --enable-libtool-lock was given.
5694 if test "${enable_libtool_lock+set}" = set; then
5695 enableval=$enable_libtool_lock;
5698 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5700 # Some flags need to be propagated to the compiler or linker for good
5704 # Find out which ABI we are using.
5705 echo 'int i;' > conftest.$ac_ext
5706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5707 (eval $ac_compile) 2>&5
5709 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5710 (exit $ac_status); }; then
5711 case `/usr/bin/file conftest.$ac_objext` in
5723 # Find out which ABI we are using.
5724 echo '#line 5724 "configure
"' > conftest.$ac_ext
5725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5726 (eval $ac_compile) 2>&5
5728 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5729 (exit $ac_status); }; then
5730 if test "$lt_cv_prog_gnu_ld" = yes; then
5731 case `/usr/bin/file conftest.$ac_objext` in
5733 LD="${LD-ld} -melf32bsmip"
5736 LD="${LD-ld} -melf32bmipn32"
5739 LD="${LD-ld} -melf64bmip"
5743 case `/usr/bin/file conftest.$ac_objext` in
5759 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5760 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5761 # Find out which ABI we are using.
5762 echo 'int i;' > conftest.$ac_ext
5763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5764 (eval $ac_compile) 2>&5
5766 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5767 (exit $ac_status); }; then
5768 case `/usr/bin/file conftest.o` in
5771 x86_64-*kfreebsd*-gnu)
5772 LD="${LD-ld} -m elf_i386_fbsd
"
5775 LD="${LD-ld} -m elf_i386
"
5777 ppc64-*linux*|powerpc64-*linux*)
5778 LD="${LD-ld} -m elf32ppclinux
"
5781 LD="${LD-ld} -m elf_s390
"
5784 LD="${LD-ld} -m elf32_sparc
"
5790 x86_64-*kfreebsd*-gnu)
5791 LD="${LD-ld} -m elf_x86_64_fbsd
"
5794 LD="${LD-ld} -m elf_x86_64
"
5796 ppc*-*linux*|powerpc*-*linux*)
5797 LD="${LD-ld} -m elf64ppc
"
5799 s390*-*linux*|s390*-*tpf*)
5800 LD="${LD-ld} -m elf64_s390
"
5803 LD="${LD-ld} -m elf64_sparc
"
5813 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5814 SAVE_CFLAGS="$CFLAGS"
5815 CFLAGS="$CFLAGS -belf"
5816 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5817 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5818 if test "${lt_cv_cc_needs_belf+set}" = set; then
5819 $as_echo_n "(cached
) " >&6
5822 ac_cpp='$CPP $CPPFLAGS'
5823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5827 cat >conftest.$ac_ext <<_ACEOF
5830 cat confdefs.h >>conftest.$ac_ext
5831 cat >>conftest.$ac_ext <<_ACEOF
5832 /* end confdefs.h. */
5842 rm -f conftest.$ac_objext conftest$ac_exeext
5843 if { (ac_try="$ac_link"
5845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5846 *) ac_try_echo=$ac_try;;
5848 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5849 $as_echo "$ac_try_echo") >&5
5850 (eval "$ac_link") 2>conftest.er1
5852 grep -v '^ *+' conftest.er1 >conftest.err
5854 cat conftest.err >&5
5855 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5856 (exit $ac_status); } && {
5857 test -z "$ac_c_werror_flag" ||
5858 test ! -s conftest.err
5859 } && test -s conftest$ac_exeext && {
5860 test "$cross_compiling" = yes ||
5861 $as_test_x conftest$ac_exeext
5863 lt_cv_cc_needs_belf=yes
5865 $as_echo "$as_me: failed program was
:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5868 lt_cv_cc_needs_belf=no
5871 rm -rf conftest.dSYM
5872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5873 conftest$ac_exeext conftest.$ac_ext
5875 ac_cpp='$CPP $CPPFLAGS'
5876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5881 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5882 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5883 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5884 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5885 CFLAGS="$SAVE_CFLAGS"
5889 # Find out which ABI we are using.
5890 echo 'int i;' > conftest.$ac_ext
5891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5892 (eval $ac_compile) 2>&5
5894 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5895 (exit $ac_status); }; then
5896 case `/usr/bin/file conftest.o` in
5898 case $lt_cv_prog_gnu_ld in
5899 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5901 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5913 need_locks="$enable_libtool_lock"
5917 rhapsody* | darwin*)
5918 if test -n "$ac_tool_prefix"; then
5919 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5920 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5921 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5922 $as_echo_n "checking
for $ac_word...
" >&6; }
5923 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5924 $as_echo_n "(cached
) " >&6
5926 if test -n "$DSYMUTIL"; then
5927 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5936 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5937 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5946 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5947 if test -n "$DSYMUTIL"; then
5948 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5949 $as_echo "$DSYMUTIL" >&6; }
5951 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5952 $as_echo "no
" >&6; }
5957 if test -z "$ac_cv_prog_DSYMUTIL"; then
5958 ac_ct_DSYMUTIL=$DSYMUTIL
5959 # Extract the first word of "dsymutil
", so it can be a program name with args.
5960 set dummy dsymutil; ac_word=$2
5961 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5962 $as_echo_n "checking
for $ac_word...
" >&6; }
5963 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5964 $as_echo_n "(cached
) " >&6
5966 if test -n "$ac_ct_DSYMUTIL"; then
5967 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5976 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5977 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5986 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5987 if test -n "$ac_ct_DSYMUTIL"; then
5988 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5989 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5991 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5992 $as_echo "no
" >&6; }
5995 if test "x
$ac_ct_DSYMUTIL" = x; then
5998 case $cross_compiling:$ac_tool_warned in
6000 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6001 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6002 ac_tool_warned=yes ;;
6004 DSYMUTIL=$ac_ct_DSYMUTIL
6007 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6013 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6014 $as_echo_n "checking
for $ac_word...
" >&6; }
6015 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6016 $as_echo_n "(cached
) " >&6
6018 if test -n "$NMEDIT"; then
6019 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6029 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6038 NMEDIT=$ac_cv_prog_NMEDIT
6039 if test -n "$NMEDIT"; then
6040 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6041 $as_echo "$NMEDIT" >&6; }
6043 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6044 $as_echo "no
" >&6; }
6049 if test -z "$ac_cv_prog_NMEDIT"; then
6050 ac_ct_NMEDIT=$NMEDIT
6051 # Extract the first word of "nmedit
", so it can be a program name with args.
6052 set dummy nmedit; ac_word=$2
6053 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6054 $as_echo_n "checking
for $ac_word...
" >&6; }
6055 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6056 $as_echo_n "(cached
) " >&6
6058 if test -n "$ac_ct_NMEDIT"; then
6059 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6068 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6069 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6078 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6079 if test -n "$ac_ct_NMEDIT"; then
6080 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6081 $as_echo "$ac_ct_NMEDIT" >&6; }
6083 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6084 $as_echo "no
" >&6; }
6087 if test "x
$ac_ct_NMEDIT" = x; then
6090 case $cross_compiling:$ac_tool_warned in
6092 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6093 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6094 ac_tool_warned=yes ;;
6096 NMEDIT=$ac_ct_NMEDIT
6099 NMEDIT="$ac_cv_prog_NMEDIT"
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6105 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6106 $as_echo_n "checking
for $ac_word...
" >&6; }
6107 if test "${ac_cv_prog_LIPO+set}" = set; then
6108 $as_echo_n "(cached
) " >&6
6110 if test -n "$LIPO"; then
6111 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6121 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6130 LIPO=$ac_cv_prog_LIPO
6131 if test -n "$LIPO"; then
6132 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6133 $as_echo "$LIPO" >&6; }
6135 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6136 $as_echo "no
" >&6; }
6141 if test -z "$ac_cv_prog_LIPO"; then
6143 # Extract the first word of "lipo
", so it can be a program name with args.
6144 set dummy lipo; ac_word=$2
6145 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6146 $as_echo_n "checking
for $ac_word...
" >&6; }
6147 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6148 $as_echo_n "(cached
) " >&6
6150 if test -n "$ac_ct_LIPO"; then
6151 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 ac_cv_prog_ac_ct_LIPO="lipo
"
6161 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6171 if test -n "$ac_ct_LIPO"; then
6172 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6173 $as_echo "$ac_ct_LIPO" >&6; }
6175 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6176 $as_echo "no
" >&6; }
6179 if test "x
$ac_ct_LIPO" = x; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6185 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6186 ac_tool_warned=yes ;;
6191 LIPO="$ac_cv_prog_LIPO"
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}otool; ac_word=$2
6197 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6198 $as_echo_n "checking
for $ac_word...
" >&6; }
6199 if test "${ac_cv_prog_OTOOL+set}" = set; then
6200 $as_echo_n "(cached
) " >&6
6202 if test -n "$OTOOL"; then
6203 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6212 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6213 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6222 OTOOL=$ac_cv_prog_OTOOL
6223 if test -n "$OTOOL"; then
6224 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6225 $as_echo "$OTOOL" >&6; }
6227 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6228 $as_echo "no
" >&6; }
6233 if test -z "$ac_cv_prog_OTOOL"; then
6235 # Extract the first word of "otool
", so it can be a program name with args.
6236 set dummy otool; ac_word=$2
6237 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6238 $as_echo_n "checking
for $ac_word...
" >&6; }
6239 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6240 $as_echo_n "(cached
) " >&6
6242 if test -n "$ac_ct_OTOOL"; then
6243 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6252 ac_cv_prog_ac_ct_OTOOL="otool
"
6253 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6262 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6263 if test -n "$ac_ct_OTOOL"; then
6264 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6265 $as_echo "$ac_ct_OTOOL" >&6; }
6267 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6268 $as_echo "no
" >&6; }
6271 if test "x
$ac_ct_OTOOL" = x; then
6274 case $cross_compiling:$ac_tool_warned in
6276 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6278 ac_tool_warned=yes ;;
6283 OTOOL="$ac_cv_prog_OTOOL"
6286 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6288 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6289 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6290 $as_echo_n "checking
for $ac_word...
" >&6; }
6291 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6292 $as_echo_n "(cached
) " >&6
6294 if test -n "$OTOOL64"; then
6295 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6305 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6314 OTOOL64=$ac_cv_prog_OTOOL64
6315 if test -n "$OTOOL64"; then
6316 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6317 $as_echo "$OTOOL64" >&6; }
6319 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6320 $as_echo "no
" >&6; }
6325 if test -z "$ac_cv_prog_OTOOL64"; then
6326 ac_ct_OTOOL64=$OTOOL64
6327 # Extract the first word of "otool64
", so it can be a program name with args.
6328 set dummy otool64; ac_word=$2
6329 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6330 $as_echo_n "checking
for $ac_word...
" >&6; }
6331 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6332 $as_echo_n "(cached
) " >&6
6334 if test -n "$ac_ct_OTOOL64"; then
6335 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6345 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6354 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6355 if test -n "$ac_ct_OTOOL64"; then
6356 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6357 $as_echo "$ac_ct_OTOOL64" >&6; }
6359 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6360 $as_echo "no
" >&6; }
6363 if test "x
$ac_ct_OTOOL64" = x; then
6366 case $cross_compiling:$ac_tool_warned in
6368 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6369 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6370 ac_tool_warned=yes ;;
6372 OTOOL64=$ac_ct_OTOOL64
6375 OTOOL64="$ac_cv_prog_OTOOL64"
6404 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6405 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6406 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6407 $as_echo_n "(cached
) " >&6
6409 lt_cv_apple_cc_single_mod=no
6410 if test -z "${LT_MULTI_MODULE}"; then
6411 # By default we will add the -single_module flag. You can override
6412 # by either setting the environment variable LT_MULTI_MODULE
6413 # non-empty at configure time, or by adding -multi_module to the
6415 rm -rf libconftest.dylib*
6416 echo "int foo
(void
){return 1;}" > conftest.c
6417 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6418 -dynamiclib -Wl,-single_module conftest.c
" >&5
6419 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6420 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6422 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6423 lt_cv_apple_cc_single_mod=yes
6425 cat conftest.err >&5
6427 rm -rf libconftest.dylib*
6431 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6432 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6433 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6434 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6435 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6436 $as_echo_n "(cached
) " >&6
6438 lt_cv_ld_exported_symbols_list=no
6439 save_LDFLAGS=$LDFLAGS
6440 echo "_main
" > conftest.sym
6441 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6442 cat >conftest.$ac_ext <<_ACEOF
6445 cat confdefs.h >>conftest.$ac_ext
6446 cat >>conftest.$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6457 rm -f conftest.$ac_objext conftest$ac_exeext
6458 if { (ac_try="$ac_link"
6460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6461 *) ac_try_echo=$ac_try;;
6463 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6464 $as_echo "$ac_try_echo") >&5
6465 (eval "$ac_link") 2>conftest.er1
6467 grep -v '^ *+' conftest.er1 >conftest.err
6469 cat conftest.err >&5
6470 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6471 (exit $ac_status); } && {
6472 test -z "$ac_c_werror_flag" ||
6473 test ! -s conftest.err
6474 } && test -s conftest$ac_exeext && {
6475 test "$cross_compiling" = yes ||
6476 $as_test_x conftest$ac_exeext
6478 lt_cv_ld_exported_symbols_list=yes
6480 $as_echo "$as_me: failed program was
:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6483 lt_cv_ld_exported_symbols_list=no
6486 rm -rf conftest.dSYM
6487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6488 conftest$ac_exeext conftest.$ac_ext
6489 LDFLAGS="$save_LDFLAGS"
6492 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6493 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6495 rhapsody* | darwin1.[012])
6496 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6498 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6499 darwin*) # darwin 5.x on
6500 # if running on 10.5 or later, the deployment target defaults
6501 # to the OS version, if on x86, and 10.4, the deployment
6502 # target defaults to 10.4. Don't you love it?
6503 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6504 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6505 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6509 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6513 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6514 _lt_dar_single_mod='$single_module'
6516 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6517 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6519 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6521 if test "$DSYMUTIL" != ":"; then
6522 _lt_dsymutil='~$DSYMUTIL $lib || :'
6530 ac_cpp='$CPP $CPPFLAGS'
6531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6534 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6535 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6536 # On Suns, sometimes $CPP names a directory.
6537 if test -n "$CPP" && test -d "$CPP"; then
6540 if test -z "$CPP"; then
6541 if test "${ac_cv_prog_CPP+set}" = set; then
6542 $as_echo_n "(cached
) " >&6
6544 # Double quotes because CPP needs to be expanded
6545 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6548 for ac_c_preproc_warn_flag in '' yes
6550 # Use a header file that comes with gcc, so configuring glibc
6551 # with a fresh cross-compiler works.
6552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6553 # <limits.h> exists even on freestanding compilers.
6554 # On the NeXT, cc -E runs the code through the compiler's parser,
6555 # not just through cpp. "Syntax error
" is here to catch this case.
6556 cat >conftest.$ac_ext <<_ACEOF
6559 cat confdefs.h >>conftest.$ac_ext
6560 cat >>conftest.$ac_ext <<_ACEOF
6561 /* end confdefs.h. */
6563 # include <limits.h>
6565 # include <assert.h>
6569 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6572 *) ac_try_echo=$ac_try;;
6574 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6575 $as_echo "$ac_try_echo") >&5
6576 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6578 grep -v '^ *+' conftest.er1 >conftest.err
6580 cat conftest.err >&5
6581 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6582 (exit $ac_status); } >/dev/null && {
6583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6584 test ! -s conftest.err
6588 $as_echo "$as_me: failed program was
:" >&5
6589 sed 's/^/| /' conftest.$ac_ext >&5
6591 # Broken: fails on valid input.
6595 rm -f conftest.err conftest.$ac_ext
6597 # OK, works on sane cases. Now check whether nonexistent headers
6598 # can be detected and how.
6599 cat >conftest.$ac_ext <<_ACEOF
6602 cat confdefs.h >>conftest.$ac_ext
6603 cat >>conftest.$ac_ext <<_ACEOF
6604 /* end confdefs.h. */
6605 #include <ac_nonexistent.h>
6607 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6610 *) ac_try_echo=$ac_try;;
6612 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6613 $as_echo "$ac_try_echo") >&5
6614 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6616 grep -v '^ *+' conftest.er1 >conftest.err
6618 cat conftest.err >&5
6619 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6620 (exit $ac_status); } >/dev/null && {
6621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6622 test ! -s conftest.err
6624 # Broken: success on invalid input.
6627 $as_echo "$as_me: failed program was
:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6630 # Passes both tests.
6635 rm -f conftest.err conftest.$ac_ext
6638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6639 rm -f conftest.err conftest.$ac_ext
6640 if $ac_preproc_ok; then
6652 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6653 $as_echo "$CPP" >&6; }
6655 for ac_c_preproc_warn_flag in '' yes
6657 # Use a header file that comes with gcc, so configuring glibc
6658 # with a fresh cross-compiler works.
6659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6660 # <limits.h> exists even on freestanding compilers.
6661 # On the NeXT, cc -E runs the code through the compiler's parser,
6662 # not just through cpp. "Syntax error
" is here to catch this case.
6663 cat >conftest.$ac_ext <<_ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6670 # include <limits.h>
6672 # include <assert.h>
6676 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6679 *) ac_try_echo=$ac_try;;
6681 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6682 $as_echo "$ac_try_echo") >&5
6683 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6685 grep -v '^ *+' conftest.er1 >conftest.err
6687 cat conftest.err >&5
6688 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6689 (exit $ac_status); } >/dev/null && {
6690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6695 $as_echo "$as_me: failed program was
:" >&5
6696 sed 's/^/| /' conftest.$ac_ext >&5
6698 # Broken: fails on valid input.
6702 rm -f conftest.err conftest.$ac_ext
6704 # OK, works on sane cases. Now check whether nonexistent headers
6705 # can be detected and how.
6706 cat >conftest.$ac_ext <<_ACEOF
6709 cat confdefs.h >>conftest.$ac_ext
6710 cat >>conftest.$ac_ext <<_ACEOF
6711 /* end confdefs.h. */
6712 #include <ac_nonexistent.h>
6714 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6717 *) ac_try_echo=$ac_try;;
6719 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6720 $as_echo "$ac_try_echo") >&5
6721 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6723 grep -v '^ *+' conftest.er1 >conftest.err
6725 cat conftest.err >&5
6726 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6727 (exit $ac_status); } >/dev/null && {
6728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6729 test ! -s conftest.err
6731 # Broken: success on invalid input.
6734 $as_echo "$as_me: failed program was
:" >&5
6735 sed 's/^/| /' conftest.$ac_ext >&5
6737 # Passes both tests.
6742 rm -f conftest.err conftest.$ac_ext
6745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6746 rm -f conftest.err conftest.$ac_ext
6747 if $ac_preproc_ok; then
6750 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6752 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6753 See \`config.log' for more details.
" >&5
6754 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6755 See \
`config.log' for more details." >&2;}
6756 { (exit 1); exit 1; }; }; }
6760 ac_cpp='$CPP $CPPFLAGS'
6761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6766 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6767 $as_echo_n "checking for ANSI C header files... " >&6; }
6768 if test "${ac_cv_header_stdc+set}" = set; then
6769 $as_echo_n "(cached) " >&6
6771 cat >conftest.$ac_ext <<_ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6790 rm -f conftest.$ac_objext
6791 if { (ac_try="$ac_compile"
6793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6794 *) ac_try_echo
=$ac_try;;
6796 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6797 $as_echo "$ac_try_echo") >&5
6798 (eval "$ac_compile") 2>conftest.er1
6800 grep -v '^ *+' conftest.er1
>conftest.err
6802 cat conftest.err
>&5
6803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); } && {
6805 test -z "$ac_c_werror_flag" ||
6806 test ! -s conftest.err
6807 } && test -s conftest.
$ac_objext; then
6808 ac_cv_header_stdc
=yes
6810 $as_echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.
$ac_ext >&5
6813 ac_cv_header_stdc
=no
6816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6818 if test $ac_cv_header_stdc = yes; then
6819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6820 cat >conftest.
$ac_ext <<_ACEOF
6823 cat confdefs.h
>>conftest.
$ac_ext
6824 cat >>conftest.
$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6830 $EGREP "memchr" >/dev
/null
2>&1; then
6833 ac_cv_header_stdc
=no
6839 if test $ac_cv_header_stdc = yes; then
6840 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6841 cat >conftest.
$ac_ext <<_ACEOF
6844 cat confdefs.h
>>conftest.
$ac_ext
6845 cat >>conftest.
$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6851 $EGREP "free" >/dev
/null
2>&1; then
6854 ac_cv_header_stdc
=no
6860 if test $ac_cv_header_stdc = yes; then
6861 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6862 if test "$cross_compiling" = yes; then
6865 cat >conftest.
$ac_ext <<_ACEOF
6868 cat confdefs.h
>>conftest.
$ac_ext
6869 cat >>conftest.
$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6873 #if ((' ' & 0x0FF) == 0x020)
6874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6877 # define ISLOWER(c) \
6878 (('a' <= (c) && (c) <= 'i') \
6879 || ('j' <= (c) && (c) <= 'r') \
6880 || ('s' <= (c) && (c) <= 'z'))
6881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6889 for (i = 0; i < 256; i++)
6890 if (XOR (islower (i), ISLOWER (i))
6891 || toupper (i) != TOUPPER (i))
6896 rm -f conftest
$ac_exeext
6897 if { (ac_try
="$ac_link"
6899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6900 *) ac_try_echo=$ac_try;;
6902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6903 $as_echo "$ac_try_echo") >&5
6904 (eval "$ac_link") 2>&5
6906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6908 { (case "(($ac_try" in
6909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6910 *) ac_try_echo
=$ac_try;;
6912 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6913 $as_echo "$ac_try_echo") >&5
6914 (eval "$ac_try") 2>&5
6916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); }; }; then
6920 $as_echo "$as_me: program exited with status $ac_status" >&5
6921 $as_echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.
$ac_ext >&5
6925 ac_cv_header_stdc
=no
6927 rm -rf conftest.dSYM
6928 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6934 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6935 $as_echo "$ac_cv_header_stdc" >&6; }
6936 if test $ac_cv_header_stdc = yes; then
6938 cat >>confdefs.h
<<\_ACEOF
6939 #define STDC_HEADERS 1
6944 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6954 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6955 inttypes.h stdint.h unistd.h
6957 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6958 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6959 $as_echo_n "checking for $ac_header... " >&6; }
6960 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6961 $as_echo_n "(cached) " >&6
6963 cat >conftest.
$ac_ext <<_ACEOF
6966 cat confdefs.h
>>conftest.
$ac_ext
6967 cat >>conftest.
$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6969 $ac_includes_default
6971 #include <$ac_header>
6973 rm -f conftest.
$ac_objext
6974 if { (ac_try
="$ac_compile"
6976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6977 *) ac_try_echo=$ac_try;;
6979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6980 $as_echo "$ac_try_echo") >&5
6981 (eval "$ac_compile") 2>conftest.er1
6983 grep -v '^ *+' conftest.er1 >conftest.err
6985 cat conftest.err >&5
6986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); } && {
6988 test -z "$ac_c_werror_flag" ||
6989 test ! -s conftest.err
6990 } && test -s conftest.$ac_objext; then
6991 eval "$as_ac_Header=yes"
6993 $as_echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6996 eval "$as_ac_Header=no"
6999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7001 ac_res=`eval 'as_val=${'$as_ac_Header'}
7002 $as_echo "$as_val"'`
7003 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7004 $as_echo "$ac_res" >&6; }
7005 as_val=`eval 'as_val=${'$as_ac_Header'}
7006 $as_echo "$as_val"'`
7007 if test "x$as_val" = x""yes; then
7008 cat >>confdefs.h <<_ACEOF
7009 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7018 for ac_header in dlfcn.h
7020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7021 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7022 $as_echo_n "checking for $ac_header... " >&6; }
7023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7024 $as_echo_n "(cached) " >&6
7026 cat >conftest.$ac_ext <<_ACEOF
7029 cat confdefs.h >>conftest.$ac_ext
7030 cat >>conftest.$ac_ext <<_ACEOF
7031 /* end confdefs.h. */
7032 $ac_includes_default
7034 #include <$ac_header>
7036 rm -f conftest.$ac_objext
7037 if { (ac_try="$ac_compile"
7039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7040 *) ac_try_echo
=$ac_try;;
7042 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7043 $as_echo "$ac_try_echo") >&5
7044 (eval "$ac_compile") 2>conftest.er1
7046 grep -v '^ *+' conftest.er1
>conftest.err
7048 cat conftest.err
>&5
7049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } && {
7051 test -z "$ac_c_werror_flag" ||
7052 test ! -s conftest.err
7053 } && test -s conftest.
$ac_objext; then
7054 eval "$as_ac_Header=yes"
7056 $as_echo "$as_me: failed program was:" >&5
7057 sed 's/^/| /' conftest.
$ac_ext >&5
7059 eval "$as_ac_Header=no"
7062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7064 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7065 $as_echo "$as_val"'`
7066 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7067 $as_echo "$ac_res" >&6; }
7068 as_val
=`eval 'as_val=${'$as_ac_Header'}
7069 $as_echo "$as_val"'`
7070 if test "x$as_val" = x
""yes; then
7071 cat >>confdefs.h
<<_ACEOF
7072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7091 # Check whether --enable-shared was given.
7092 if test "${enable_shared+set}" = set; then
7093 enableval
=$enable_shared; p
=${PACKAGE-default}
7095 yes) enable_shared
=yes ;;
7096 no
) enable_shared
=no
;;
7099 # Look at the argument we got. We use all the common list separators.
7100 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7101 for pkg
in $enableval; do
7103 if test "X$pkg" = "X$p"; then
7122 # Check whether --enable-static was given.
7123 if test "${enable_static+set}" = set; then
7124 enableval
=$enable_static; p
=${PACKAGE-default}
7126 yes) enable_static
=yes ;;
7127 no
) enable_static
=no
;;
7130 # Look at the argument we got. We use all the common list separators.
7131 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7132 for pkg
in $enableval; do
7134 if test "X$pkg" = "X$p"; then
7154 # Check whether --with-pic was given.
7155 if test "${with_pic+set}" = set; then
7156 withval
=$with_pic; pic_mode
="$withval"
7162 test -z "$pic_mode" && pic_mode
=default
7170 # Check whether --enable-fast-install was given.
7171 if test "${enable_fast_install+set}" = set; then
7172 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7174 yes) enable_fast_install
=yes ;;
7175 no
) enable_fast_install
=no
;;
7177 enable_fast_install
=no
7178 # Look at the argument we got. We use all the common list separators.
7179 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7180 for pkg
in $enableval; do
7182 if test "X$pkg" = "X$p"; then
7183 enable_fast_install
=yes
7190 enable_fast_install
=yes
7203 # This can be used to rebuild libtool when needed
7204 LIBTOOL_DEPS
="$ltmain"
7206 # Always use our own libtool.
7207 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7233 test -z "$LN_S" && LN_S
="ln -s"
7248 if test -n "${ZSH_VERSION+set}" ; then
7249 setopt NO_GLOB_SUBST
7252 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7253 $as_echo_n "checking for objdir... " >&6; }
7254 if test "${lt_cv_objdir+set}" = set; then
7255 $as_echo_n "(cached) " >&6
7257 rm -f .libs
2>/dev
/null
7258 mkdir .libs
2>/dev
/null
7259 if test -d .libs
; then
7262 # MS-DOS does not allow filenames that begin with a dot.
7265 rmdir .libs
2>/dev
/null
7267 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7268 $as_echo "$lt_cv_objdir" >&6; }
7269 objdir
=$lt_cv_objdir
7275 cat >>confdefs.h
<<_ACEOF
7276 #define LT_OBJDIR "$lt_cv_objdir/"
7297 # AIX sometimes has problems with the GCC collect2 program. For some
7298 # reason, if we set the COLLECT_NAMES environment variable, the problems
7299 # vanish in a puff of smoke.
7300 if test "X${COLLECT_NAMES+set}" != Xset
; then
7302 export COLLECT_NAMES
7307 # Sed substitution that helps us do robust quoting. It backslashifies
7308 # metacharacters that are still active within double-quoted strings.
7309 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7311 # Same as above, but do not quote variable references.
7312 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7314 # Sed substitution to delay expansion of an escaped shell variable in a
7315 # double_quote_subst'ed string.
7316 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7318 # Sed substitution to delay expansion of an escaped single quote.
7319 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7321 # Sed substitution to avoid accidental globbing in evaled expressions
7322 no_glob_subst
='s/\*/\\\*/g'
7326 can_build_shared
=yes
7328 # All known linkers require a `.a' archive for static linking (except MSVC,
7329 # which needs '.lib').
7332 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7335 old_CFLAGS
="$CFLAGS"
7337 # Set sane defaults for various variables
7338 test -z "$CC" && CC
=cc
7339 test -z "$LTCC" && LTCC
=$CC
7340 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7341 test -z "$LD" && LD
=ld
7342 test -z "$ac_objext" && ac_objext
=o
7344 for cc_temp
in $compiler""; do
7346 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7347 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7352 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7355 # Only perform the check for file, if the check method requires it
7356 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7357 case $deplibs_check_method in
7359 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7360 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7361 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7362 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7363 $as_echo_n "(cached) " >&6
7367 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7370 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7371 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7372 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7373 for ac_dir
in $ac_dummy; do
7375 test -z "$ac_dir" && ac_dir
=.
7376 if test -f $ac_dir/${ac_tool_prefix}file; then
7377 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7378 if test -n "$file_magic_test_file"; then
7379 case $deplibs_check_method in
7381 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7382 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7383 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7384 $EGREP "$file_magic_regex" > /dev
/null
; then
7389 *** Warning: the command libtool uses to detect shared libraries,
7390 *** $file_magic_cmd, produces output that libtool cannot recognize.
7391 *** The result is that libtool may fail to recognize shared libraries
7392 *** as such. This will affect the creation of libtool libraries that
7393 *** depend on shared libraries, but programs linked with such libtool
7394 *** libraries will work regardless of this problem. Nevertheless, you
7395 *** may want to report the problem to your system manager and/or to
7396 *** bug-libtool@gnu.org
7406 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7411 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7412 if test -n "$MAGIC_CMD"; then
7413 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7414 $as_echo "$MAGIC_CMD" >&6; }
7416 { $as_echo "$as_me:$LINENO: result: no" >&5
7417 $as_echo "no" >&6; }
7424 if test -z "$lt_cv_path_MAGIC_CMD"; then
7425 if test -n "$ac_tool_prefix"; then
7426 { $as_echo "$as_me:$LINENO: checking for file" >&5
7427 $as_echo_n "checking for file... " >&6; }
7428 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7429 $as_echo_n "(cached) " >&6
7433 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7436 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7437 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7438 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7439 for ac_dir
in $ac_dummy; do
7441 test -z "$ac_dir" && ac_dir
=.
7442 if test -f $ac_dir/file; then
7443 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7444 if test -n "$file_magic_test_file"; then
7445 case $deplibs_check_method in
7447 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7448 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7449 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7450 $EGREP "$file_magic_regex" > /dev
/null
; then
7455 *** Warning: the command libtool uses to detect shared libraries,
7456 *** $file_magic_cmd, produces output that libtool cannot recognize.
7457 *** The result is that libtool may fail to recognize shared libraries
7458 *** as such. This will affect the creation of libtool libraries that
7459 *** depend on shared libraries, but programs linked with such libtool
7460 *** libraries will work regardless of this problem. Nevertheless, you
7461 *** may want to report the problem to your system manager and/or to
7462 *** bug-libtool@gnu.org
7472 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7477 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7478 if test -n "$MAGIC_CMD"; then
7479 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7480 $as_echo "$MAGIC_CMD" >&6; }
7482 { $as_echo "$as_me:$LINENO: result: no" >&5
7483 $as_echo "no" >&6; }
7496 # Use C for the default configuration in the libtool script
7500 ac_cpp
='$CPP $CPPFLAGS'
7501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7506 # Source file extension for C test sources.
7509 # Object file extension for compiled C test sources.
7513 # Code to be used in simple compile tests
7514 lt_simple_compile_test_code
="int some_variable = 0;"
7516 # Code to be used in simple link tests
7517 lt_simple_link_test_code
='int main(){return(0);}'
7525 # If no C compiler was specified, use CC.
7528 # If no C compiler flags were specified, use CFLAGS.
7529 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7531 # Allow CC to be a program name with arguments.
7534 # Save the default compiler, since it gets overwritten when the other
7535 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7536 compiler_DEFAULT
=$CC
7538 # save warnings/boilerplate of simple test code
7539 ac_outfile
=conftest.
$ac_objext
7540 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7541 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7542 _lt_compiler_boilerplate
=`cat conftest.err`
7545 ac_outfile
=conftest.
$ac_objext
7546 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7547 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7548 _lt_linker_boilerplate
=`cat conftest.err`
7552 if test -n "$compiler"; then
7554 lt_prog_compiler_no_builtin_flag
=
7556 if test "$GCC" = yes; then
7557 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7559 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7560 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7561 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7562 $as_echo_n "(cached) " >&6
7564 lt_cv_prog_compiler_rtti_exceptions
=no
7565 ac_outfile
=conftest.
$ac_objext
7566 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7567 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7568 # Insert the option either (1) after the last *FLAGS variable, or
7569 # (2) before a word containing "conftest.", or (3) at the end.
7570 # Note that $ac_compile itself does not contain backslashes and begins
7571 # with a dollar sign (not a hyphen), so the echo should work correctly.
7572 # The option is referenced via a variable to avoid confusing sed.
7573 lt_compile
=`echo "$ac_compile" | $SED \
7574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7576 -e 's:$: $lt_compiler_flag:'`
7577 (eval echo "\"\$as_me:7577: $lt_compile\"" >&5)
7578 (eval "$lt_compile" 2>conftest.err
)
7580 cat conftest.err
>&5
7581 echo "$as_me:7581: \$? = $ac_status" >&5
7582 if (exit $ac_status) && test -s "$ac_outfile"; then
7583 # The compiler can only warn and ignore the option if not recognized
7584 # So say no if there are warnings other than the usual output.
7585 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7586 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7587 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7588 lt_cv_prog_compiler_rtti_exceptions
=yes
7594 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7595 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7597 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7598 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7610 lt_prog_compiler_wl
=
7611 lt_prog_compiler_pic
=
7612 lt_prog_compiler_static
=
7614 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7615 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7617 if test "$GCC" = yes; then
7618 lt_prog_compiler_wl
='-Wl,'
7619 lt_prog_compiler_static
='-static'
7623 # All AIX code is PIC.
7624 if test "$host_cpu" = ia64
; then
7625 # AIX 5 now supports IA64 processor
7626 lt_prog_compiler_static
='-Bstatic'
7633 # see comment about AmigaOS4 .so support
7634 lt_prog_compiler_pic
='-fPIC'
7637 # FIXME: we need at least 68020 code to build shared libraries, but
7638 # adding the `-m68020' flag to GCC prevents building anything better,
7640 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7645 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7646 # PIC is the default for these OSes.
7649 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7650 # This hack is so that the source file can tell whether it is being
7651 # built for inclusion in a dll (and should export symbols for example).
7652 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7653 # (--disable-auto-import) libraries
7654 lt_prog_compiler_pic
='-DDLL_EXPORT'
7657 darwin
* | rhapsody
*)
7658 # PIC is the default on this platform
7659 # Common symbols not allowed in MH_DYLIB files
7660 lt_prog_compiler_pic
='-fno-common'
7664 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7665 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7666 # sets the default TLS model and affects inlining.
7672 lt_prog_compiler_pic
='-fPIC'
7678 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7679 # Instead, we relocate shared libraries at runtime.
7683 # Just because we use GCC doesn't mean we suddenly get shared libraries
7684 # on systems that don't support them.
7685 lt_prog_compiler_can_build_shared
=no
7690 # QNX uses GNU C++, but need to define -shared option too, otherwise
7692 lt_prog_compiler_pic
='-fPIC -shared'
7696 if test -d /usr
/nec
; then
7697 lt_prog_compiler_pic
=-Kconform_pic
7702 lt_prog_compiler_pic
='-fPIC'
7706 # PORTME Check for flag to pass linker flags through the system compiler.
7709 lt_prog_compiler_wl
='-Wl,'
7710 if test "$host_cpu" = ia64
; then
7711 # AIX 5 now supports IA64 processor
7712 lt_prog_compiler_static
='-Bstatic'
7714 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7718 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7719 # This hack is so that the source file can tell whether it is being
7720 # built for inclusion in a dll (and should export symbols for example).
7721 lt_prog_compiler_pic
='-DDLL_EXPORT'
7724 hpux9
* | hpux10
* | hpux11
*)
7725 lt_prog_compiler_wl
='-Wl,'
7726 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7733 lt_prog_compiler_pic
='+Z'
7736 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7737 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7740 irix5
* | irix6
* | nonstopux
*)
7741 lt_prog_compiler_wl
='-Wl,'
7742 # PIC (with -KPIC) is the default.
7743 lt_prog_compiler_static
='-non_shared'
7746 linux
* | k
*bsd
*-gnu)
7747 case $cc_basename in
7748 # old Intel for x86_64 which still supported -KPIC.
7750 lt_prog_compiler_wl
='-Wl,'
7751 lt_prog_compiler_pic
='-KPIC'
7752 lt_prog_compiler_static
='-static'
7754 # icc used to be incompatible with GCC.
7755 # ICC 10 doesn't accept -KPIC any more.
7757 lt_prog_compiler_wl
='-Wl,'
7758 lt_prog_compiler_pic
='-fPIC'
7759 lt_prog_compiler_static
='-static'
7761 # Lahey Fortran 8.1.
7763 lt_prog_compiler_wl
='-Wl,'
7764 lt_prog_compiler_pic
='--shared'
7765 lt_prog_compiler_static
='--static'
7767 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7768 # Portland Group compilers (*not* the Pentium gcc compiler,
7769 # which looks to be a dead project)
7770 lt_prog_compiler_wl
='-Wl,'
7771 lt_prog_compiler_pic
='-fpic'
7772 lt_prog_compiler_static
='-Bstatic'
7775 lt_prog_compiler_wl
='-Wl,'
7776 # All Alpha code is PIC.
7777 lt_prog_compiler_static
='-non_shared'
7780 # IBM XL C 8.0/Fortran 10.1 on PPC
7781 lt_prog_compiler_wl
='-Wl,'
7782 lt_prog_compiler_pic
='-qpic'
7783 lt_prog_compiler_static
='-qstaticlink'
7786 case `$CC -V 2>&1 | sed 5q` in
7789 lt_prog_compiler_pic
='-KPIC'
7790 lt_prog_compiler_static
='-Bstatic'
7791 lt_prog_compiler_wl
='-Wl,'
7794 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7795 lt_prog_compiler_pic
='-KPIC'
7796 lt_prog_compiler_static
='-Bstatic'
7797 lt_prog_compiler_wl
=''
7805 lt_prog_compiler_pic
='-KPIC'
7806 lt_prog_compiler_static
='-Bstatic'
7810 # QNX uses GNU C++, but need to define -shared option too, otherwise
7812 lt_prog_compiler_pic
='-fPIC -shared'
7815 osf3
* | osf4
* | osf5
*)
7816 lt_prog_compiler_wl
='-Wl,'
7817 # All OSF/1 code is PIC.
7818 lt_prog_compiler_static
='-non_shared'
7822 lt_prog_compiler_static
='-non_shared'
7826 lt_prog_compiler_pic
='-KPIC'
7827 lt_prog_compiler_static
='-Bstatic'
7828 case $cc_basename in
7830 lt_prog_compiler_wl
='-Qoption ld ';;
7832 lt_prog_compiler_wl
='-Wl,';;
7837 lt_prog_compiler_wl
='-Qoption ld '
7838 lt_prog_compiler_pic
='-PIC'
7839 lt_prog_compiler_static
='-Bstatic'
7842 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7843 lt_prog_compiler_wl
='-Wl,'
7844 lt_prog_compiler_pic
='-KPIC'
7845 lt_prog_compiler_static
='-Bstatic'
7849 if test -d /usr
/nec
;then
7850 lt_prog_compiler_pic
='-Kconform_pic'
7851 lt_prog_compiler_static
='-Bstatic'
7855 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7856 lt_prog_compiler_wl
='-Wl,'
7857 lt_prog_compiler_pic
='-KPIC'
7858 lt_prog_compiler_static
='-Bstatic'
7862 lt_prog_compiler_wl
='-Wl,'
7863 lt_prog_compiler_can_build_shared
=no
7867 lt_prog_compiler_pic
='-pic'
7868 lt_prog_compiler_static
='-Bstatic'
7872 lt_prog_compiler_can_build_shared
=no
7878 # For platforms which do not support PIC, -DPIC is meaningless:
7880 lt_prog_compiler_pic
=
7883 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7886 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7887 $as_echo "$lt_prog_compiler_pic" >&6; }
7895 # Check to make sure the PIC flag actually works.
7897 if test -n "$lt_prog_compiler_pic"; then
7898 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7899 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7900 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7901 $as_echo_n "(cached) " >&6
7903 lt_cv_prog_compiler_pic_works
=no
7904 ac_outfile
=conftest.
$ac_objext
7905 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7906 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7907 # Insert the option either (1) after the last *FLAGS variable, or
7908 # (2) before a word containing "conftest.", or (3) at the end.
7909 # Note that $ac_compile itself does not contain backslashes and begins
7910 # with a dollar sign (not a hyphen), so the echo should work correctly.
7911 # The option is referenced via a variable to avoid confusing sed.
7912 lt_compile
=`echo "$ac_compile" | $SED \
7913 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7914 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7915 -e 's:$: $lt_compiler_flag:'`
7916 (eval echo "\"\$as_me:7916: $lt_compile\"" >&5)
7917 (eval "$lt_compile" 2>conftest.err
)
7919 cat conftest.err
>&5
7920 echo "$as_me:7920: \$? = $ac_status" >&5
7921 if (exit $ac_status) && test -s "$ac_outfile"; then
7922 # The compiler can only warn and ignore the option if not recognized
7923 # So say no if there are warnings other than the usual output.
7924 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7925 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7926 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7927 lt_cv_prog_compiler_pic_works
=yes
7933 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7934 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7936 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7937 case $lt_prog_compiler_pic in
7939 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7942 lt_prog_compiler_pic
=
7943 lt_prog_compiler_can_build_shared
=no
7954 # Check to make sure the static flag actually works.
7956 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7957 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7958 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7959 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7960 $as_echo_n "(cached) " >&6
7962 lt_cv_prog_compiler_static_works
=no
7963 save_LDFLAGS
="$LDFLAGS"
7964 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7965 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7966 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7967 # The linker can only warn and ignore the option if not recognized
7968 # So say no if there are warnings
7969 if test -s conftest.err
; then
7970 # Append any errors to the config.log.
7971 cat conftest.err
1>&5
7972 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7973 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7974 if diff conftest.exp conftest.er2
>/dev
/null
; then
7975 lt_cv_prog_compiler_static_works
=yes
7978 lt_cv_prog_compiler_static_works
=yes
7982 LDFLAGS
="$save_LDFLAGS"
7985 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7986 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7988 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7991 lt_prog_compiler_static
=
8000 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8001 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8002 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8003 $as_echo_n "(cached) " >&6
8005 lt_cv_prog_compiler_c_o
=no
8006 $RM -r conftest
2>/dev
/null
8010 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8012 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8013 # Insert the option either (1) after the last *FLAGS variable, or
8014 # (2) before a word containing "conftest.", or (3) at the end.
8015 # Note that $ac_compile itself does not contain backslashes and begins
8016 # with a dollar sign (not a hyphen), so the echo should work correctly.
8017 lt_compile
=`echo "$ac_compile" | $SED \
8018 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8019 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8020 -e 's:$: $lt_compiler_flag:'`
8021 (eval echo "\"\$as_me:8021: $lt_compile\"" >&5)
8022 (eval "$lt_compile" 2>out
/conftest.err
)
8024 cat out
/conftest.err
>&5
8025 echo "$as_me:8025: \$? = $ac_status" >&5
8026 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8028 # The compiler can only warn and ignore the option if not recognized
8029 # So say no if there are warnings
8030 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8031 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8032 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8033 lt_cv_prog_compiler_c_o
=yes
8038 # SGI C++ compiler will create directory out/ii_files/ for
8039 # template instantiation
8040 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8041 $RM out
/* && rmdir out
8047 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8048 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8055 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8056 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8057 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8058 $as_echo_n "(cached) " >&6
8060 lt_cv_prog_compiler_c_o
=no
8061 $RM -r conftest
2>/dev
/null
8065 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8067 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8068 # Insert the option either (1) after the last *FLAGS variable, or
8069 # (2) before a word containing "conftest.", or (3) at the end.
8070 # Note that $ac_compile itself does not contain backslashes and begins
8071 # with a dollar sign (not a hyphen), so the echo should work correctly.
8072 lt_compile
=`echo "$ac_compile" | $SED \
8073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8075 -e 's:$: $lt_compiler_flag:'`
8076 (eval echo "\"\$as_me:8076: $lt_compile\"" >&5)
8077 (eval "$lt_compile" 2>out
/conftest.err
)
8079 cat out
/conftest.err
>&5
8080 echo "$as_me:8080: \$? = $ac_status" >&5
8081 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8083 # The compiler can only warn and ignore the option if not recognized
8084 # So say no if there are warnings
8085 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8086 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8087 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8088 lt_cv_prog_compiler_c_o
=yes
8093 # SGI C++ compiler will create directory out/ii_files/ for
8094 # template instantiation
8095 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8096 $RM out
/* && rmdir out
8102 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8103 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8108 hard_links
="nottested"
8109 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8110 # do not overwrite the value of need_locks provided by the user
8111 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8112 $as_echo_n "checking if we can lock with hard links... " >&6; }
8115 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8117 ln conftest.a conftest.b
2>&5 || hard_links
=no
8118 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8119 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8120 $as_echo "$hard_links" >&6; }
8121 if test "$hard_links" = no
; then
8122 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8123 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8135 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8136 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8139 allow_undefined_flag
=
8140 always_export_symbols
=no
8142 archive_expsym_cmds
=
8143 compiler_needs_object
=no
8144 enable_shared_with_static_runtimes
=no
8145 export_dynamic_flag_spec
=
8146 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8147 hardcode_automatic
=no
8149 hardcode_direct_absolute
=no
8150 hardcode_libdir_flag_spec
=
8151 hardcode_libdir_flag_spec_ld
=
8152 hardcode_libdir_separator
=
8154 hardcode_shlibpath_var
=unsupported
8156 link_all_deplibs
=unknown
8159 old_archive_from_new_cmds
=
8160 old_archive_from_expsyms_cmds
=
8161 thread_safe_flag_spec
=
8162 whole_archive_flag_spec
=
8163 # include_expsyms should be a list of space-separated symbols to be *always*
8164 # included in the symbol list
8166 # exclude_expsyms can be an extended regexp of symbols to exclude
8167 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8168 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8169 # as well as any symbol that contains `d'.
8170 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8171 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8172 # platforms (ab)use it in PIC code, but their linkers get confused if
8173 # the symbol is explicitly referenced. Since portable code cannot
8174 # rely on this symbol name, it's probably fine to never include it in
8175 # preloaded symbol tables.
8176 # Exclude shared library initialization/finalization symbols.
8177 extract_expsyms_cmds
=
8180 cygwin
* | mingw
* | pw32
* | cegcc
*)
8181 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8182 # When not using gcc, we currently assume that we are using
8183 # Microsoft Visual C++.
8184 if test "$GCC" != yes; then
8189 # we just hope/assume this is gcc and not c89 (= MSVC++)
8198 if test "$with_gnu_ld" = yes; then
8199 # If archive_cmds runs LD, not CC, wlarc should be empty
8202 # Set some defaults for GNU ld with shared library support. These
8203 # are reset later if shared libraries are not supported. Putting them
8204 # here allows them to be overridden if necessary.
8205 runpath_var
=LD_RUN_PATH
8206 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8207 export_dynamic_flag_spec
='${wl}--export-dynamic'
8208 # ancient GNU ld didn't support --whole-archive et. al.
8209 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8210 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8212 whole_archive_flag_spec
=
8214 supports_anon_versioning
=no
8215 case `$LD -v 2>&1` in
8216 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8217 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8218 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8219 *\
2.11.
*) ;; # other 2.11 versions
8220 *) supports_anon_versioning
=yes ;;
8223 # See if GNU ld supports shared libraries.
8226 # On AIX/PPC, the GNU linker is very broken
8227 if test "$host_cpu" != ia64
; then
8231 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8232 *** to be unable to reliably create shared libraries on AIX.
8233 *** Therefore, libtool is disabling shared libraries support. If you
8234 *** really care for shared libraries, you may want to modify your PATH
8235 *** so that a non-GNU linker is found, and then restart.
8244 # see comment about AmigaOS4 .so support
8245 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246 archive_expsym_cmds
=''
8249 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)'
8250 hardcode_libdir_flag_spec
='-L$libdir'
8251 hardcode_minus_L
=yes
8257 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8258 allow_undefined_flag
=unsupported
8259 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8260 # support --undefined. This deserves some investigation. FIXME
8261 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8267 cygwin
* | mingw
* | pw32
* | cegcc
*)
8268 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8269 # as there is no search path for DLLs.
8270 hardcode_libdir_flag_spec
='-L$libdir'
8271 allow_undefined_flag
=unsupported
8272 always_export_symbols
=no
8273 enable_shared_with_static_runtimes
=yes
8274 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8276 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8277 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8278 # If the export-symbols file already is a .def file (1st line
8279 # is EXPORTS), use it as is; otherwise, prepend...
8280 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8281 cp $export_symbols $output_objdir/$soname.def;
8283 echo EXPORTS > $output_objdir/$soname.def;
8284 cat $export_symbols >> $output_objdir/$soname.def;
8286 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8294 hardcode_shlibpath_var
=no
8295 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8296 export_dynamic_flag_spec
='${wl}-E'
8297 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8298 # Instead, shared libraries are loaded at an image base (0x10000000 by
8299 # default) and relocated if they conflict, which is a slow very memory
8300 # consuming and fragmenting process. To avoid this, we pick a random,
8301 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8302 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8303 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8304 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'
8307 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8309 if test "$host_os" = linux-dietlibc
; then
8310 case $cc_basename in
8311 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8314 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8315 && test "$tmp_diet" = no
8318 tmp_sharedflag
='-shared'
8319 case $cc_basename,$host_cpu in
8320 pgcc
*) # Portland Group C compiler
8321 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'
8322 tmp_addflag
=' $pic_flag'
8324 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8325 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'
8326 tmp_addflag
=' $pic_flag -Mnomain' ;;
8327 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8328 tmp_addflag
=' -i_dynamic' ;;
8329 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8330 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8331 ifc
* | ifort
*) # Intel Fortran compiler
8332 tmp_addflag
=' -nofor_main' ;;
8333 lf95
*) # Lahey Fortran 8.1
8334 whole_archive_flag_spec
=
8335 tmp_sharedflag
='--shared' ;;
8336 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8337 tmp_sharedflag
='-qmkshrobj'
8340 case `$CC -V 2>&1 | sed 5q` in
8341 *Sun\ C
*) # Sun C 5.9
8342 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'
8343 compiler_needs_object
=yes
8344 tmp_sharedflag
='-G' ;;
8345 *Sun\ F
*) # Sun Fortran 8.3
8346 tmp_sharedflag
='-G' ;;
8348 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8350 if test "x$supports_anon_versioning" = xyes
; then
8351 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8352 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8353 echo "local: *; };" >> $output_objdir/$libname.ver~
8354 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8357 case $cc_basename in
8359 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8360 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8361 hardcode_libdir_flag_spec
=
8362 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8363 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8364 if test "x$supports_anon_versioning" = xyes
; then
8365 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8366 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8367 echo "local: *; };" >> $output_objdir/$libname.ver~
8368 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8378 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8379 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8383 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8388 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8392 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8393 *** create shared libraries on Solaris systems. Therefore, libtool
8394 *** is disabling shared libraries support. We urge you to upgrade GNU
8395 *** binutils to release 2.9.1 or newer. Another option is to modify
8396 *** your PATH or compiler configuration so that the native linker is
8397 *** used, and then restart.
8400 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8401 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8402 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8408 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8409 case `$LD -v 2>&1` in
8410 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8414 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8415 *** reliably create shared libraries on SCO systems. Therefore, libtool
8416 *** is disabling shared libraries support. We urge you to upgrade GNU
8417 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8418 *** your PATH or compiler configuration so that the native linker is
8419 *** used, and then restart.
8424 # For security reasons, it is highly recommended that you always
8425 # use absolute paths for naming shared libraries, and exclude the
8426 # DT_RUNPATH tag from executables and libraries. But doing so
8427 # requires that you compile everything twice, which is a pain.
8428 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8429 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8430 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8431 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8440 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8443 hardcode_shlibpath_var
=no
8447 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8448 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8449 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8456 if test "$ld_shlibs" = no
; then
8458 hardcode_libdir_flag_spec
=
8459 export_dynamic_flag_spec
=
8460 whole_archive_flag_spec
=
8463 # PORTME fill in a description of your system's linker (not GNU ld)
8466 allow_undefined_flag
=unsupported
8467 always_export_symbols
=yes
8468 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'
8469 # Note: this linker hardcodes the directories in LIBPATH if there
8470 # are no directories specified by -L.
8471 hardcode_minus_L
=yes
8472 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8473 # Neither direct hardcoding nor static linking is supported with a
8475 hardcode_direct
=unsupported
8480 if test "$host_cpu" = ia64
; then
8481 # On IA64, the linker does run time linking by default, so we don't
8482 # have to do anything special.
8483 aix_use_runtimelinking
=no
8484 exp_sym_flag
='-Bexport'
8487 # If we're using GNU nm, then we don't want the "-C" option.
8488 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8489 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8490 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'
8492 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'
8494 aix_use_runtimelinking
=no
8496 # Test if we are trying to use run time linking or normal
8497 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8498 # need to do runtime linking.
8499 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8500 for ld_flag
in $LDFLAGS; do
8501 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8502 aix_use_runtimelinking
=yes
8509 exp_sym_flag
='-bexport'
8510 no_entry_flag
='-bnoentry'
8513 # When large executables or shared objects are built, AIX ld can
8514 # have problems creating the table of contents. If linking a library
8515 # or program results in "error TOC overflow" add -mminimal-toc to
8516 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8517 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8521 hardcode_direct_absolute
=yes
8522 hardcode_libdir_separator
=':'
8523 link_all_deplibs
=yes
8524 file_list_spec
='${wl}-f,'
8526 if test "$GCC" = yes; then
8527 case $host_os in aix4.
[012]|aix4.
[012].
*)
8528 # We only want to do this on AIX 4.2 and lower, the check
8529 # below for broken collect2 doesn't work under 4.3+
8530 collect2name
=`${CC} -print-prog-name=collect2`
8531 if test -f "$collect2name" &&
8532 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8534 # We have reworked collect2
8537 # We have old collect2
8538 hardcode_direct
=unsupported
8539 # It fails to find uninstalled libraries when the uninstalled
8540 # path is not listed in the libpath. Setting hardcode_minus_L
8541 # to unsupported forces relinking
8542 hardcode_minus_L
=yes
8543 hardcode_libdir_flag_spec
='-L$libdir'
8544 hardcode_libdir_separator
=
8548 shared_flag
='-shared'
8549 if test "$aix_use_runtimelinking" = yes; then
8550 shared_flag
="$shared_flag "'${wl}-G'
8554 if test "$host_cpu" = ia64
; then
8555 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8556 # chokes on -Wl,-G. The following line is correct:
8559 if test "$aix_use_runtimelinking" = yes; then
8560 shared_flag
='${wl}-G'
8562 shared_flag
='${wl}-bM:SRE'
8567 export_dynamic_flag_spec
='${wl}-bexpall'
8568 # It seems that -bexpall does not export symbols beginning with
8569 # underscore (_), so it is better to generate a list of symbols to export.
8570 always_export_symbols
=yes
8571 if test "$aix_use_runtimelinking" = yes; then
8572 # Warning - without using the other runtime loading flags (-brtl),
8573 # -berok will link without error, but may produce a broken library.
8574 allow_undefined_flag
='-berok'
8575 # Determine the default libpath from the value encoded in an
8577 cat >conftest.
$ac_ext <<_ACEOF
8580 cat confdefs.h
>>conftest.
$ac_ext
8581 cat >>conftest.
$ac_ext <<_ACEOF
8582 /* end confdefs.h. */
8592 rm -f conftest.
$ac_objext conftest
$ac_exeext
8593 if { (ac_try
="$ac_link"
8595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8596 *) ac_try_echo=$ac_try;;
8598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8599 $as_echo "$ac_try_echo") >&5
8600 (eval "$ac_link") 2>conftest.er1
8602 grep -v '^ *+' conftest.er1 >conftest.err
8604 cat conftest.err >&5
8605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } && {
8607 test -z "$ac_c_werror_flag" ||
8608 test ! -s conftest.err
8609 } && test -s conftest$ac_exeext && {
8610 test "$cross_compiling" = yes ||
8611 $as_test_x conftest$ac_exeext
8614 lt_aix_libpath_sed='
8615 /Import File Strings/,/^$/ {
8621 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8622 # Check for a 64-bit object if we didn't find anything.
8623 if test -z "$aix_libpath"; then
8624 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8627 $as_echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8633 rm -rf conftest.dSYM
8634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8635 conftest$ac_exeext conftest.$ac_ext
8636 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8638 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8639 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"
8641 if test "$host_cpu" = ia64; then
8642 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8643 allow_undefined_flag="-z nodefs"
8644 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"
8646 # Determine the default libpath from the value encoded in an
8648 cat >conftest.$ac_ext <<_ACEOF
8651 cat confdefs.h >>conftest.$ac_ext
8652 cat >>conftest.$ac_ext <<_ACEOF
8653 /* end confdefs.h. */
8663 rm -f conftest.$ac_objext conftest$ac_exeext
8664 if { (ac_try="$ac_link"
8666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8667 *) ac_try_echo
=$ac_try;;
8669 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8670 $as_echo "$ac_try_echo") >&5
8671 (eval "$ac_link") 2>conftest.er1
8673 grep -v '^ *+' conftest.er1
>conftest.err
8675 cat conftest.err
>&5
8676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8677 (exit $ac_status); } && {
8678 test -z "$ac_c_werror_flag" ||
8679 test ! -s conftest.err
8680 } && test -s conftest
$ac_exeext && {
8681 test "$cross_compiling" = yes ||
8682 $as_test_x conftest
$ac_exeext
8685 lt_aix_libpath_sed
='
8686 /Import File Strings/,/^$/ {
8692 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8693 # Check for a 64-bit object if we didn't find anything.
8694 if test -z "$aix_libpath"; then
8695 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8698 $as_echo "$as_me: failed program was:" >&5
8699 sed 's/^/| /' conftest.
$ac_ext >&5
8704 rm -rf conftest.dSYM
8705 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8706 conftest
$ac_exeext conftest.
$ac_ext
8707 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8709 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8710 # Warning - without using the other run time loading flags,
8711 # -berok will link without error, but may produce a broken library.
8712 no_undefined_flag
=' ${wl}-bernotok'
8713 allow_undefined_flag
=' ${wl}-berok'
8714 # Exported symbols can be pulled into shared objects from archives
8715 whole_archive_flag_spec
='$convenience'
8716 archive_cmds_need_lc
=yes
8717 # This is similar to how AIX traditionally builds its shared libraries.
8718 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'
8726 # see comment about AmigaOS4 .so support
8727 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8728 archive_expsym_cmds
=''
8731 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)'
8732 hardcode_libdir_flag_spec
='-L$libdir'
8733 hardcode_minus_L
=yes
8739 export_dynamic_flag_spec
=-rdynamic
8742 cygwin
* | mingw
* | pw32
* | cegcc
*)
8743 # When not using gcc, we currently assume that we are using
8744 # Microsoft Visual C++.
8745 # hardcode_libdir_flag_spec is actually meaningless, as there is
8746 # no search path for DLLs.
8747 hardcode_libdir_flag_spec
=' '
8748 allow_undefined_flag
=unsupported
8749 # Tell ltmain to make .lib files, not .a files.
8751 # Tell ltmain to make .dll files, not .so files.
8753 # FIXME: Setting linknames here is a bad hack.
8754 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8755 # The linker will automatically build a .lib file if we build a DLL.
8756 old_archive_from_new_cmds
='true'
8757 # FIXME: Should let the user specify the lib program.
8758 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8759 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8760 enable_shared_with_static_runtimes
=yes
8763 darwin
* | rhapsody
*)
8766 archive_cmds_need_lc
=no
8768 hardcode_automatic
=yes
8769 hardcode_shlibpath_var
=unsupported
8770 whole_archive_flag_spec
=''
8771 link_all_deplibs
=yes
8772 allow_undefined_flag
="$_lt_dar_allow_undefined"
8773 case $cc_basename in
8774 ifort
*) _lt_dar_can_shared
=yes ;;
8775 *) _lt_dar_can_shared
=$GCC ;;
8777 if test "$_lt_dar_can_shared" = "yes"; then
8778 output_verbose_link_cmd
=echo
8779 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8780 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8781 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}"
8782 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}"
8791 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8792 hardcode_libdir_flag_spec
='-L$libdir'
8793 hardcode_shlibpath_var
=no
8800 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8801 # support. Future versions do this automatically, but an explicit c++rt0.o
8802 # does not break anything, and helps significantly (at the cost of a little
8805 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8806 hardcode_libdir_flag_spec
='-R$libdir'
8808 hardcode_shlibpath_var
=no
8811 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8813 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8815 hardcode_minus_L
=yes
8816 hardcode_shlibpath_var
=no
8819 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8820 freebsd
* | dragonfly
*)
8821 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8822 hardcode_libdir_flag_spec
='-R$libdir'
8824 hardcode_shlibpath_var
=no
8828 if test "$GCC" = yes; then
8829 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'
8831 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'
8833 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8834 hardcode_libdir_separator
=:
8837 # hardcode_minus_L: Not really in the search PATH,
8838 # but as the default location of the library.
8839 hardcode_minus_L
=yes
8840 export_dynamic_flag_spec
='${wl}-E'
8844 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8845 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8847 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8849 if test "$with_gnu_ld" = no
; then
8850 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8851 hardcode_libdir_flag_spec_ld
='+b $libdir'
8852 hardcode_libdir_separator
=:
8854 hardcode_direct_absolute
=yes
8855 export_dynamic_flag_spec
='${wl}-E'
8856 # hardcode_minus_L: Not really in the search PATH,
8857 # but as the default location of the library.
8858 hardcode_minus_L
=yes
8863 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8866 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8869 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8872 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8878 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8881 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8884 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8888 if test "$with_gnu_ld" = no
; then
8889 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8890 hardcode_libdir_separator
=:
8895 hardcode_shlibpath_var
=no
8899 hardcode_direct_absolute
=yes
8900 export_dynamic_flag_spec
='${wl}-E'
8902 # hardcode_minus_L: Not really in the search PATH,
8903 # but as the default location of the library.
8904 hardcode_minus_L
=yes
8910 irix5
* | irix6
* | nonstopux
*)
8911 if test "$GCC" = yes; then
8912 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'
8913 # Try to use the -exported_symbol ld option, if it does not
8914 # work, assume that -exports_file does not work either and
8915 # implicitly export all symbols.
8916 save_LDFLAGS
="$LDFLAGS"
8917 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8918 cat >conftest.
$ac_ext <<_ACEOF
8921 rm -f conftest.
$ac_objext conftest
$ac_exeext
8922 if { (ac_try
="$ac_link"
8924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8925 *) ac_try_echo=$ac_try;;
8927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8928 $as_echo "$ac_try_echo") >&5
8929 (eval "$ac_link") 2>conftest.er1
8931 grep -v '^ *+' conftest.er1 >conftest.err
8933 cat conftest.err >&5
8934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); } && {
8936 test -z "$ac_c_werror_flag" ||
8937 test ! -s conftest.err
8938 } && test -s conftest$ac_exeext && {
8939 test "$cross_compiling" = yes ||
8940 $as_test_x conftest$ac_exeext
8942 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'
8945 $as_echo "$as_me: failed program was:" >&5
8946 sed 's/^/| /' conftest.$ac_ext >&5
8951 rm -rf conftest.dSYM
8952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8953 conftest$ac_exeext conftest.$ac_ext
8954 LDFLAGS="$save_LDFLAGS"
8956 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'
8957 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'
8959 archive_cmds_need_lc='no'
8960 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8961 hardcode_libdir_separator=:
8963 link_all_deplibs=yes
8967 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8968 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8970 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8972 hardcode_libdir_flag_spec='-R$libdir'
8974 hardcode_shlibpath_var=no
8978 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8981 hardcode_libdir_separator=:
8982 hardcode_shlibpath_var=no
8989 if test -f /usr/libexec/ld.so; then
8991 hardcode_shlibpath_var=no
8992 hardcode_direct_absolute=yes
8993 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8994 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8995 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8996 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8997 export_dynamic_flag_spec='${wl}-E'
9000 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9001 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9002 hardcode_libdir_flag_spec='-R$libdir'
9005 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9006 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9016 hardcode_libdir_flag_spec='-L$libdir'
9017 hardcode_minus_L=yes
9018 allow_undefined_flag=unsupported
9019 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'
9020 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9024 if test "$GCC" = yes; then
9025 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9026 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'
9028 allow_undefined_flag=' -expect_unresolved \*'
9029 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'
9031 archive_cmds_need_lc='no'
9032 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9033 hardcode_libdir_separator=:
9036 osf4* | osf5*) # as osf3* with the addition of -msym flag
9037 if test "$GCC" = yes; then
9038 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9039 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'
9040 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9042 allow_undefined_flag=' -expect_unresolved \*'
9043 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'
9044 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~
9045 $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'
9047 # Both c and cxx compiler support -rpath directly
9048 hardcode_libdir_flag_spec='-rpath $libdir'
9050 archive_cmds_need_lc='no'
9051 hardcode_libdir_separator=:
9055 no_undefined_flag=' -z defs'
9056 if test "$GCC" = yes; then
9058 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9059 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9060 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9062 case `$CC -V 2>&1` in
9065 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9066 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9067 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9071 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9072 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9073 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9077 hardcode_libdir_flag_spec='-R$libdir'
9078 hardcode_shlibpath_var=no
9080 solaris2.[0-5] | solaris2.[0-5].*) ;;
9082 # The compiler driver will combine and reorder linker options,
9083 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9084 # but is careful enough not to reorder.
9085 # Supported since Solaris 2.6 (maybe 2.5.1?)
9086 if test "$GCC" = yes; then
9087 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9089 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9093 link_all_deplibs
=yes
9097 if test "x$host_vendor" = xsequent
; then
9098 # Use $CC to link under sequent, because it throws in some extra .o
9099 # files that make .init and .fini sections work.
9100 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9102 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9104 hardcode_libdir_flag_spec
='-L$libdir'
9106 hardcode_minus_L
=yes
9107 hardcode_shlibpath_var
=no
9111 case $host_vendor in
9113 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9114 hardcode_direct
=yes # is this really true???
9117 ## LD is ld it makes a PLAMLIB
9118 ## CC just makes a GrossModule.
9119 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9120 reload_cmds
='$CC -r -o $output$reload_objs'
9124 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9125 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9128 runpath_var
='LD_RUN_PATH'
9129 hardcode_shlibpath_var
=no
9133 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9134 hardcode_shlibpath_var
=no
9135 export_dynamic_flag_spec
='-Bexport'
9139 if test -d /usr
/nec
; then
9140 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9141 hardcode_shlibpath_var
=no
9142 runpath_var
=LD_RUN_PATH
9143 hardcode_runpath_var
=yes
9148 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9149 no_undefined_flag
='${wl}-z,text'
9150 archive_cmds_need_lc
=no
9151 hardcode_shlibpath_var
=no
9152 runpath_var
='LD_RUN_PATH'
9154 if test "$GCC" = yes; then
9155 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9156 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9158 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9159 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9163 sysv5
* | sco3.2v5
* | sco5v6
*)
9164 # Note: We can NOT use -z defs as we might desire, because we do not
9165 # link with -lc, and that would cause any symbols used from libc to
9166 # always be unresolved, which means just about no library would
9167 # ever link correctly. If we're not using GNU ld we use -z text
9168 # though, which does catch some bad symbols but isn't as heavy-handed
9170 no_undefined_flag
='${wl}-z,text'
9171 allow_undefined_flag
='${wl}-z,nodefs'
9172 archive_cmds_need_lc
=no
9173 hardcode_shlibpath_var
=no
9174 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9175 hardcode_libdir_separator
=':'
9176 link_all_deplibs
=yes
9177 export_dynamic_flag_spec
='${wl}-Bexport'
9178 runpath_var
='LD_RUN_PATH'
9180 if test "$GCC" = yes; then
9181 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9182 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9184 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9185 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9190 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9191 hardcode_libdir_flag_spec
='-L$libdir'
9192 hardcode_shlibpath_var
=no
9200 if test x
$host_vendor = xsni
; then
9202 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9203 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9209 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9210 $as_echo "$ld_shlibs" >&6; }
9211 test "$ld_shlibs" = no
&& can_build_shared
=no
9213 with_gnu_ld
=$with_gnu_ld
9230 # Do we need to explicitly link libc?
9232 case "x$archive_cmds_need_lc" in
9234 # Assume -lc should be added
9235 archive_cmds_need_lc
=yes
9237 if test "$enable_shared" = yes && test "$GCC" = yes; then
9238 case $archive_cmds in
9240 # FIXME: we may have to deal with multi-command sequences.
9243 # Test whether the compiler implicitly links with -lc since on some
9244 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9245 # to ld, don't add -lc before -lgcc.
9246 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9247 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9252 (eval $ac_compile) 2>&5
9254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); } 2>conftest.err
; then
9258 libobjs
=conftest.
$ac_objext
9260 wl
=$lt_prog_compiler_wl
9261 pic_flag
=$lt_prog_compiler_pic
9267 lt_save_allow_undefined_flag
=$allow_undefined_flag
9268 allow_undefined_flag
=
9269 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9270 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }
9275 archive_cmds_need_lc
=no
9277 archive_cmds_need_lc
=yes
9279 allow_undefined_flag
=$lt_save_allow_undefined_flag
9281 cat conftest.err
1>&5
9284 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9285 $as_echo "$archive_cmds_need_lc" >&6; }
9448 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9449 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9451 if test "$GCC" = yes; then
9453 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9454 *) lt_awk_arg
="/^libraries:/" ;;
9456 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9457 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9458 # if the path contains ";" then we assume it to be the separator
9459 # otherwise default to the standard path separator (i.e. ":") - it is
9460 # assumed that no part of a normal pathname contains ";" but that should
9461 # okay in the real world where ";" in dirpaths is itself problematic.
9462 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9464 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9466 # Ok, now we have the path, separated by spaces, we can step through it
9467 # and add multilib dir if necessary.
9468 lt_tmp_lt_search_path_spec
=
9469 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9470 for lt_sys_path
in $lt_search_path_spec; do
9471 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9472 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9474 test -d "$lt_sys_path" && \
9475 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9478 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9479 BEGIN {RS=" "; FS="/|\n";} {
9482 for (lt_i = NF; lt_i > 0; lt_i--) {
9483 if ($lt_i != "" && $lt_i != ".") {
9484 if ($lt_i == "..") {
9487 if (lt_count == 0) {
9488 lt_foo="/" $lt_i lt_foo;
9495 if (lt_foo != "") { lt_freq[lt_foo]++; }
9496 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9498 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9500 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9503 libname_spec
='lib$name'
9511 shlibpath_overrides_runpath
=unknown
9513 dynamic_linker
="$host_os ld.so"
9514 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9515 need_lib_prefix
=unknown
9516 hardcode_into_libs
=no
9518 # when you set need_version to no, make sure it does not cause -set_version
9519 # flags to be left without arguments
9520 need_version
=unknown
9525 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9526 shlibpath_var
=LIBPATH
9528 # AIX 3 has no versioning support, so we append a major version to the name.
9529 soname_spec
='${libname}${release}${shared_ext}$major'
9536 hardcode_into_libs
=yes
9537 if test "$host_cpu" = ia64
; then
9538 # AIX 5 supports IA64
9539 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9540 shlibpath_var
=LD_LIBRARY_PATH
9542 # With GCC up to 2.95.x, collect2 would create an import file
9543 # for dependence libraries. The import file would start with
9544 # the line `#! .'. This would cause the generated library to
9545 # depend on `.', always an invalid library. This was fixed in
9546 # development snapshots of GCC prior to 3.0.
9548 aix4 | aix4.
[01] | aix4.
[01].
*)
9549 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9551 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9558 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9559 # soname into executable. Probably we can add versioning support to
9560 # collect2, so additional links can be useful in future.
9561 if test "$aix_use_runtimelinking" = yes; then
9562 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9563 # instead of lib<name>.a to let people know that these are not
9564 # typical AIX shared libraries.
9565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9567 # We preserve .a as extension for shared libraries through AIX4.2
9568 # and later when we are not doing run time linking.
9569 library_names_spec
='${libname}${release}.a $libname.a'
9570 soname_spec
='${libname}${release}${shared_ext}$major'
9572 shlibpath_var
=LIBPATH
9579 # Since July 2007 AmigaOS4 officially supports .so libraries.
9580 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9584 library_names_spec
='$libname.ixlibrary $libname.a'
9585 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9586 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'
9592 library_names_spec
='${libname}${shared_ext}'
9593 dynamic_linker
="$host_os ld.so"
9594 shlibpath_var
=LIBRARY_PATH
9600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601 soname_spec
='${libname}${release}${shared_ext}$major'
9602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9603 shlibpath_var
=LD_LIBRARY_PATH
9604 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9605 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9606 # the default ld.so.conf also contains /usr/contrib/lib and
9607 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9608 # libtool to hard-code these into programs
9611 cygwin
* | mingw
* | pw32
* | cegcc
*)
9612 version_type
=windows
9617 case $GCC,$host_os in
9618 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9619 library_names_spec
='$libname.dll.a'
9620 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9621 postinstall_cmds
='base_file=`basename \${file}`~
9622 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9623 dldir=$destdir/`dirname \$dlpath`~
9624 test -d \$dldir || mkdir -p \$dldir~
9625 $install_prog $dir/$dlname \$dldir/$dlname~
9626 chmod a+x \$dldir/$dlname~
9627 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9628 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9630 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9631 dlpath=$dir/\$dldll~
9633 shlibpath_overrides_runpath
=yes
9637 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9638 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9639 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9642 # MinGW DLLs use traditional 'lib' prefix
9643 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9644 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9645 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9646 # It is most probably a Windows format PATH printed by
9647 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9648 # path with ; separators, and with drive letters. We can handle the
9649 # drive letters (cygwin fileutils understands them), so leave them,
9650 # especially as we might pass files found there to a mingw objdump,
9651 # which wouldn't understand a cygwinified path. Ahh.
9652 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9654 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9658 # pw32 DLLs use 'pw' prefix rather than 'lib'
9659 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9665 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9668 dynamic_linker
='Win32 ld.exe'
9669 # FIXME: first we should search . and the directory the executable is in
9673 darwin
* | rhapsody
*)
9674 dynamic_linker
="$host_os dyld"
9678 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9679 soname_spec
='${libname}${release}${major}$shared_ext'
9680 shlibpath_overrides_runpath
=yes
9681 shlibpath_var
=DYLD_LIBRARY_PATH
9682 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9684 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9685 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9693 soname_spec
='${libname}${release}${shared_ext}$major'
9694 shlibpath_var
=LD_LIBRARY_PATH
9701 freebsd
* | dragonfly
*)
9702 # DragonFly does not have aout. When/if they implement a new
9703 # versioning mechanism, adjust this.
9704 if test -x /usr
/bin
/objformat
; then
9705 objformat
=`/usr/bin/objformat`
9708 freebsd
[123]*) objformat
=aout
;;
9712 version_type
=freebsd-
$objformat
9713 case $version_type in
9715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9720 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9724 shlibpath_var
=LD_LIBRARY_PATH
9727 shlibpath_overrides_runpath
=yes
9729 freebsd3.
[01]* | freebsdelf3.
[01]*)
9730 shlibpath_overrides_runpath
=yes
9731 hardcode_into_libs
=yes
9733 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9734 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9735 shlibpath_overrides_runpath
=no
9736 hardcode_into_libs
=yes
9738 *) # from 4.6 on, and DragonFly
9739 shlibpath_overrides_runpath
=yes
9740 hardcode_into_libs
=yes
9749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9750 soname_spec
='${libname}${release}${shared_ext}$major'
9751 shlibpath_var
=LD_LIBRARY_PATH
9752 hardcode_into_libs
=yes
9755 hpux9
* | hpux10
* | hpux11
*)
9756 # Give a soname corresponding to the major version so that dld.sl refuses to
9757 # link against other versions.
9764 hardcode_into_libs
=yes
9765 dynamic_linker
="$host_os dld.so"
9766 shlibpath_var
=LD_LIBRARY_PATH
9767 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9769 soname_spec
='${libname}${release}${shared_ext}$major'
9770 if test "X$HPUX_IA64_MODE" = X32
; then
9771 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9773 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9775 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9779 hardcode_into_libs
=yes
9780 dynamic_linker
="$host_os dld.sl"
9781 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9782 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9784 soname_spec
='${libname}${release}${shared_ext}$major'
9785 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9786 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9790 dynamic_linker
="$host_os dld.sl"
9791 shlibpath_var
=SHLIB_PATH
9792 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec
='${libname}${release}${shared_ext}$major'
9797 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9798 postinstall_cmds
='chmod 555 $lib'
9805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9806 soname_spec
='${libname}${release}${shared_ext}$major'
9807 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9808 shlibpath_var
=LD_LIBRARY_PATH
9809 shlibpath_overrides_runpath
=no
9810 hardcode_into_libs
=yes
9813 irix5
* | irix6
* | nonstopux
*)
9815 nonstopux
*) version_type
=nonstopux
;;
9817 if test "$lt_cv_prog_gnu_ld" = yes; then
9825 soname_spec
='${libname}${release}${shared_ext}$major'
9826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9828 irix5
* | nonstopux
*)
9832 case $LD in # libtool.m4 will add one of these switches to LD
9833 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9834 libsuff
= shlibsuff
= libmagic
=32-bit;;
9835 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9836 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9837 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9838 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9839 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9843 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9844 shlibpath_overrides_runpath
=no
9845 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9846 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9847 hardcode_into_libs
=yes
9850 # No shared lib support for Linux oldld, aout, or coff.
9851 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9855 # This must be Linux ELF.
9856 linux
* | k
*bsd
*-gnu)
9860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9861 soname_spec
='${libname}${release}${shared_ext}$major'
9862 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9863 shlibpath_var
=LD_LIBRARY_PATH
9864 shlibpath_overrides_runpath
=no
9865 # Some binutils ld are patched to set DT_RUNPATH
9866 save_LDFLAGS
=$LDFLAGS
9868 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9869 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9870 cat >conftest.
$ac_ext <<_ACEOF
9873 cat confdefs.h
>>conftest.
$ac_ext
9874 cat >>conftest.
$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9885 rm -f conftest.
$ac_objext conftest
$ac_exeext
9886 if { (ac_try
="$ac_link"
9888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9889 *) ac_try_echo=$ac_try;;
9891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9892 $as_echo "$ac_try_echo") >&5
9893 (eval "$ac_link") 2>conftest.er1
9895 grep -v '^ *+' conftest.er1 >conftest.err
9897 cat conftest.err >&5
9898 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } && {
9900 test -z "$ac_c_werror_flag" ||
9901 test ! -s conftest.err
9902 } && test -s conftest$ac_exeext && {
9903 test "$cross_compiling" = yes ||
9904 $as_test_x conftest$ac_exeext
9906 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9907 shlibpath_overrides_runpath=yes
9911 $as_echo "$as_me: failed program was:" >&5
9912 sed 's/^/| /' conftest.$ac_ext >&5
9917 rm -rf conftest.dSYM
9918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LDFLAGS=$save_LDFLAGS
9923 # This implies no fast_install, which is unacceptable.
9924 # Some rework will be needed to allow for fast_install
9925 # before this can be enabled.
9926 hardcode_into_libs=yes
9928 # Add ABI-specific directories to the system library path.
9929 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9931 # Append ld.so.conf contents to the search path
9932 if test -f /etc/ld.so.conf; then
9933 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' ' '`
9934 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9937 # We used to test for /lib/ld.so.1 and disable shared libraries on
9938 # powerpc, because MkLinux only supported shared libraries with the
9939 # GNU dynamic linker. Since this was broken with cross compilers,
9940 # most powerpc-linux boxes support dynamic linking these days and
9941 # people can always --disable-shared, the test was removed, and we
9942 # assume the GNU/Linux dynamic linker is in use.
9943 dynamic_linker='GNU/Linux ld.so'
9950 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9953 dynamic_linker='NetBSD (a.out) ld.so'
9955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9956 soname_spec='${libname}${release}${shared_ext}$major'
9957 dynamic_linker='NetBSD ld.elf_so'
9959 shlibpath_var=LD_LIBRARY_PATH
9960 shlibpath_overrides_runpath=yes
9961 hardcode_into_libs=yes
9966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9967 shlibpath_var=LD_LIBRARY_PATH
9968 shlibpath_overrides_runpath=yes
9975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9976 soname_spec='${libname}${release}${shared_ext}$major'
9977 shlibpath_var=LD_LIBRARY_PATH
9978 shlibpath_overrides_runpath=no
9979 hardcode_into_libs=yes
9980 dynamic_linker='ldqnx.so'
9985 sys_lib_dlsearch_path_spec="/usr/lib"
9987 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9989 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9990 *) need_version=no ;;
9992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9993 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9994 shlibpath_var=LD_LIBRARY_PATH
9995 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9997 openbsd2.[89] | openbsd2.[89].*)
9998 shlibpath_overrides_runpath=no
10001 shlibpath_overrides_runpath=yes
10005 shlibpath_overrides_runpath=yes
10010 libname_spec='$name'
10013 library_names_spec='$libname${shared_ext} $libname.a'
10014 dynamic_linker='OS/2 ld.exe'
10015 shlibpath_var=LIBPATH
10018 osf3* | osf4* | osf5*)
10022 soname_spec='${libname}${release}${shared_ext}$major'
10023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10024 shlibpath_var=LD_LIBRARY_PATH
10025 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10026 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10038 soname_spec='${libname}${release}${shared_ext}$major'
10039 shlibpath_var=LD_LIBRARY_PATH
10040 shlibpath_overrides_runpath=yes
10041 hardcode_into_libs=yes
10042 # ldd complains unless libraries are executable
10043 postinstall_cmds='chmod +x $lib'
10048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10049 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10050 shlibpath_var=LD_LIBRARY_PATH
10051 shlibpath_overrides_runpath=yes
10052 if test "$with_gnu_ld" = yes; then
10060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061 soname_spec='${libname}${release}${shared_ext}$major'
10062 shlibpath_var=LD_LIBRARY_PATH
10063 case $host_vendor in
10065 shlibpath_overrides_runpath=no
10067 runpath_var=LD_RUN_PATH
10075 shlibpath_overrides_runpath=no
10076 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10082 if test -d /usr/nec ;then
10084 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10085 soname_spec='$libname${shared_ext}.$major'
10086 shlibpath_var=LD_LIBRARY_PATH
10090 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10091 version_type=freebsd-elf
10094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10095 soname_spec='${libname}${release}${shared_ext}$major'
10096 shlibpath_var=LD_LIBRARY_PATH
10097 shlibpath_overrides_runpath=yes
10098 hardcode_into_libs=yes
10099 if test "$with_gnu_ld" = yes; then
10100 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10102 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10105 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10109 sys_lib_dlsearch_path_spec='/usr/lib'
10113 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118 shlibpath_var=LD_LIBRARY_PATH
10119 shlibpath_overrides_runpath=no
10120 hardcode_into_libs=yes
10125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126 soname_spec='${libname}${release}${shared_ext}$major'
10127 shlibpath_var=LD_LIBRARY_PATH
10134 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10135 $as_echo "$dynamic_linker" >&6; }
10136 test "$dynamic_linker" = no && can_build_shared=no
10138 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10139 if test "$GCC" = yes; then
10140 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10143 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10144 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10146 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10147 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10236 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10237 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10239 if test -n "$hardcode_libdir_flag_spec" ||
10240 test -n "$runpath_var" ||
10241 test "X$hardcode_automatic" = "Xyes" ; then
10243 # We can hardcode non-existent directories.
10244 if test "$hardcode_direct" != no &&
10245 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10246 # have to relink, otherwise we might link with an installed library
10247 # when we should be linking with a yet-to-be-installed one
10248 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10249 test "$hardcode_minus_L" != no; then
10250 # Linking always hardcodes the temporary library directory.
10251 hardcode_action=relink
10253 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10254 hardcode_action=immediate
10257 # We cannot hardcode anything, or else we can only hardcode existing
10259 hardcode_action=unsupported
10261 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10262 $as_echo "$hardcode_action" >&6; }
10264 if test "$hardcode_action" = relink ||
10265 test "$inherit_rpath" = yes; then
10266 # Fast installation is not supported
10267 enable_fast_install=no
10268 elif test "$shlibpath_overrides_runpath" = yes ||
10269 test "$enable_shared" = no; then
10270 # Fast installation is not necessary
10271 enable_fast_install=needless
10279 if test "x$enable_dlopen" != xyes; then
10280 enable_dlopen=unknown
10281 enable_dlopen_self=unknown
10282 enable_dlopen_self_static=unknown
10289 lt_cv_dlopen="load_add_on"
10291 lt_cv_dlopen_self=yes
10294 mingw* | pw32* | cegcc*)
10295 lt_cv_dlopen="LoadLibrary"
10300 lt_cv_dlopen="dlopen"
10305 # if libdl is installed we need to link against it
10306 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10307 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10308 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10309 $as_echo_n "(cached) " >&6
10311 ac_check_lib_save_LIBS=$LIBS
10313 cat >conftest.$ac_ext <<_ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (ac_try="$ac_link"
10337 case "(($ac_try" in
10338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10339 *) ac_try_echo
=$ac_try;;
10341 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10342 $as_echo "$ac_try_echo") >&5
10343 (eval "$ac_link") 2>conftest.er1
10345 grep -v '^ *+' conftest.er1
>conftest.err
10347 cat conftest.err
>&5
10348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } && {
10350 test -z "$ac_c_werror_flag" ||
10351 test ! -s conftest.err
10352 } && test -s conftest
$ac_exeext && {
10353 test "$cross_compiling" = yes ||
10354 $as_test_x conftest
$ac_exeext
10356 ac_cv_lib_dl_dlopen
=yes
10358 $as_echo "$as_me: failed program was:" >&5
10359 sed 's/^/| /' conftest.
$ac_ext >&5
10361 ac_cv_lib_dl_dlopen
=no
10364 rm -rf conftest.dSYM
10365 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10366 conftest
$ac_exeext conftest.
$ac_ext
10367 LIBS
=$ac_check_lib_save_LIBS
10369 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10371 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10372 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10375 lt_cv_dlopen
="dyld"
10377 lt_cv_dlopen_self
=yes
10384 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10385 $as_echo_n "checking for shl_load... " >&6; }
10386 if test "${ac_cv_func_shl_load+set}" = set; then
10387 $as_echo_n "(cached) " >&6
10389 cat >conftest.
$ac_ext <<_ACEOF
10392 cat confdefs.h
>>conftest.
$ac_ext
10393 cat >>conftest.
$ac_ext <<_ACEOF
10394 /* end confdefs.h. */
10395 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10397 #define shl_load innocuous_shl_load
10399 /* System header to define __stub macros and hopefully few prototypes,
10400 which can conflict with char shl_load (); below.
10401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10402 <limits.h> exists even on freestanding compilers. */
10405 # include <limits.h>
10407 # include <assert.h>
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10419 /* The GNU C library defines this for functions which it implements
10420 to always fail with ENOSYS. Some functions are actually named
10421 something starting with __ and the normal name is an alias. */
10422 #if defined __stub_shl_load || defined __stub___shl_load
10429 return shl_load ();
10434 rm -f conftest.
$ac_objext conftest
$ac_exeext
10435 if { (ac_try
="$ac_link"
10436 case "(($ac_try" in
10437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10438 *) ac_try_echo=$ac_try;;
10440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10441 $as_echo "$ac_try_echo") >&5
10442 (eval "$ac_link") 2>conftest.er1
10444 grep -v '^ *+' conftest.er1 >conftest.err
10446 cat conftest.err >&5
10447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); } && {
10449 test -z "$ac_c_werror_flag" ||
10450 test ! -s conftest.err
10451 } && test -s conftest$ac_exeext && {
10452 test "$cross_compiling" = yes ||
10453 $as_test_x conftest$ac_exeext
10455 ac_cv_func_shl_load=yes
10457 $as_echo "$as_me: failed program was:" >&5
10458 sed 's/^/| /' conftest.$ac_ext >&5
10460 ac_cv_func_shl_load=no
10463 rm -rf conftest.dSYM
10464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10465 conftest$ac_exeext conftest.$ac_ext
10467 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10468 $as_echo "$ac_cv_func_shl_load" >&6; }
10469 if test "x$ac_cv_func_shl_load" = x""yes; then
10470 lt_cv_dlopen="shl_load"
10472 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10473 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10474 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10475 $as_echo_n "(cached) " >&6
10477 ac_check_lib_save_LIBS=$LIBS
10479 cat >conftest.$ac_ext <<_ACEOF
10482 cat confdefs.h >>conftest.$ac_ext
10483 cat >>conftest.$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10486 /* Override any GCC internal prototype to avoid an error.
10487 Use char because int might match the return type of a GCC
10488 builtin and then its argument prototype would still apply. */
10496 return shl_load ();
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (ac_try="$ac_link"
10503 case "(($ac_try" in
10504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10505 *) ac_try_echo
=$ac_try;;
10507 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10508 $as_echo "$ac_try_echo") >&5
10509 (eval "$ac_link") 2>conftest.er1
10511 grep -v '^ *+' conftest.er1
>conftest.err
10513 cat conftest.err
>&5
10514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); } && {
10516 test -z "$ac_c_werror_flag" ||
10517 test ! -s conftest.err
10518 } && test -s conftest
$ac_exeext && {
10519 test "$cross_compiling" = yes ||
10520 $as_test_x conftest
$ac_exeext
10522 ac_cv_lib_dld_shl_load
=yes
10524 $as_echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.
$ac_ext >&5
10527 ac_cv_lib_dld_shl_load
=no
10530 rm -rf conftest.dSYM
10531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10532 conftest
$ac_exeext conftest.
$ac_ext
10533 LIBS
=$ac_check_lib_save_LIBS
10535 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10536 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10537 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10538 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10540 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10541 $as_echo_n "checking for dlopen... " >&6; }
10542 if test "${ac_cv_func_dlopen+set}" = set; then
10543 $as_echo_n "(cached) " >&6
10545 cat >conftest.
$ac_ext <<_ACEOF
10548 cat confdefs.h
>>conftest.
$ac_ext
10549 cat >>conftest.
$ac_ext <<_ACEOF
10550 /* end confdefs.h. */
10551 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10553 #define dlopen innocuous_dlopen
10555 /* System header to define __stub macros and hopefully few prototypes,
10556 which can conflict with char dlopen (); below.
10557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10558 <limits.h> exists even on freestanding compilers. */
10561 # include <limits.h>
10563 # include <assert.h>
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10575 /* The GNU C library defines this for functions which it implements
10576 to always fail with ENOSYS. Some functions are actually named
10577 something starting with __ and the normal name is an alias. */
10578 #if defined __stub_dlopen || defined __stub___dlopen
10590 rm -f conftest.
$ac_objext conftest
$ac_exeext
10591 if { (ac_try
="$ac_link"
10592 case "(($ac_try" in
10593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10594 *) ac_try_echo=$ac_try;;
10596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10597 $as_echo "$ac_try_echo") >&5
10598 (eval "$ac_link") 2>conftest.er1
10600 grep -v '^ *+' conftest.er1 >conftest.err
10602 cat conftest.err >&5
10603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } && {
10605 test -z "$ac_c_werror_flag" ||
10606 test ! -s conftest.err
10607 } && test -s conftest$ac_exeext && {
10608 test "$cross_compiling" = yes ||
10609 $as_test_x conftest$ac_exeext
10611 ac_cv_func_dlopen=yes
10613 $as_echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.$ac_ext >&5
10616 ac_cv_func_dlopen=no
10619 rm -rf conftest.dSYM
10620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10621 conftest$ac_exeext conftest.$ac_ext
10623 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10624 $as_echo "$ac_cv_func_dlopen" >&6; }
10625 if test "x$ac_cv_func_dlopen" = x""yes; then
10626 lt_cv_dlopen="dlopen"
10628 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10629 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10630 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10631 $as_echo_n "(cached) " >&6
10633 ac_check_lib_save_LIBS=$LIBS
10635 cat >conftest.$ac_ext <<_ACEOF
10638 cat confdefs.h >>conftest.$ac_ext
10639 cat >>conftest.$ac_ext <<_ACEOF
10640 /* end confdefs.h. */
10642 /* Override any GCC internal prototype to avoid an error.
10643 Use char because int might match the return type of a GCC
10644 builtin and then its argument prototype would still apply. */
10657 rm -f conftest.$ac_objext conftest$ac_exeext
10658 if { (ac_try="$ac_link"
10659 case "(($ac_try" in
10660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10661 *) ac_try_echo
=$ac_try;;
10663 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10664 $as_echo "$ac_try_echo") >&5
10665 (eval "$ac_link") 2>conftest.er1
10667 grep -v '^ *+' conftest.er1
>conftest.err
10669 cat conftest.err
>&5
10670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } && {
10672 test -z "$ac_c_werror_flag" ||
10673 test ! -s conftest.err
10674 } && test -s conftest
$ac_exeext && {
10675 test "$cross_compiling" = yes ||
10676 $as_test_x conftest
$ac_exeext
10678 ac_cv_lib_dl_dlopen
=yes
10680 $as_echo "$as_me: failed program was:" >&5
10681 sed 's/^/| /' conftest.
$ac_ext >&5
10683 ac_cv_lib_dl_dlopen
=no
10686 rm -rf conftest.dSYM
10687 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10688 conftest
$ac_exeext conftest.
$ac_ext
10689 LIBS
=$ac_check_lib_save_LIBS
10691 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10692 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10693 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10694 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10696 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10697 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10698 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10699 $as_echo_n "(cached) " >&6
10701 ac_check_lib_save_LIBS
=$LIBS
10702 LIBS
="-lsvld $LIBS"
10703 cat >conftest.
$ac_ext <<_ACEOF
10706 cat confdefs.h
>>conftest.
$ac_ext
10707 cat >>conftest.
$ac_ext <<_ACEOF
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10725 rm -f conftest.
$ac_objext conftest
$ac_exeext
10726 if { (ac_try
="$ac_link"
10727 case "(($ac_try" in
10728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10729 *) ac_try_echo=$ac_try;;
10731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10732 $as_echo "$ac_try_echo") >&5
10733 (eval "$ac_link") 2>conftest.er1
10735 grep -v '^ *+' conftest.er1 >conftest.err
10737 cat conftest.err >&5
10738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739 (exit $ac_status); } && {
10740 test -z "$ac_c_werror_flag" ||
10741 test ! -s conftest.err
10742 } && test -s conftest$ac_exeext && {
10743 test "$cross_compiling" = yes ||
10744 $as_test_x conftest$ac_exeext
10746 ac_cv_lib_svld_dlopen=yes
10748 $as_echo "$as_me: failed program was:" >&5
10749 sed 's/^/| /' conftest.$ac_ext >&5
10751 ac_cv_lib_svld_dlopen=no
10754 rm -rf conftest.dSYM
10755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_lib_save_LIBS
10759 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10760 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10761 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10762 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10764 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10765 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10766 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10767 $as_echo_n "(cached) " >&6
10769 ac_check_lib_save_LIBS=$LIBS
10771 cat >conftest.$ac_ext <<_ACEOF
10774 cat confdefs.h >>conftest.$ac_ext
10775 cat >>conftest.$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10788 return dld_link ();
10793 rm -f conftest.$ac_objext conftest$ac_exeext
10794 if { (ac_try="$ac_link"
10795 case "(($ac_try" in
10796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10797 *) ac_try_echo
=$ac_try;;
10799 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10800 $as_echo "$ac_try_echo") >&5
10801 (eval "$ac_link") 2>conftest.er1
10803 grep -v '^ *+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } && {
10808 test -z "$ac_c_werror_flag" ||
10809 test ! -s conftest.err
10810 } && test -s conftest
$ac_exeext && {
10811 test "$cross_compiling" = yes ||
10812 $as_test_x conftest
$ac_exeext
10814 ac_cv_lib_dld_dld_link
=yes
10816 $as_echo "$as_me: failed program was:" >&5
10817 sed 's/^/| /' conftest.
$ac_ext >&5
10819 ac_cv_lib_dld_dld_link
=no
10822 rm -rf conftest.dSYM
10823 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10824 conftest
$ac_exeext conftest.
$ac_ext
10825 LIBS
=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10828 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10829 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
10830 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10851 if test "x$lt_cv_dlopen" != xno
; then
10857 case $lt_cv_dlopen in
10859 save_CPPFLAGS
="$CPPFLAGS"
10860 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10862 save_LDFLAGS
="$LDFLAGS"
10863 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10866 LIBS
="$lt_cv_dlopen_libs $LIBS"
10868 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10869 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10870 if test "${lt_cv_dlopen_self+set}" = set; then
10871 $as_echo_n "(cached) " >&6
10873 if test "$cross_compiling" = yes; then :
10874 lt_cv_dlopen_self
=cross
10876 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10877 lt_status
=$lt_dlunknown
10878 cat > conftest.
$ac_ext <<_LT_EOF
10879 #line 10879 "configure"
10880 #include "confdefs.h"
10889 # define LT_DLGLOBAL RTLD_GLOBAL
10892 # define LT_DLGLOBAL DL_GLOBAL
10894 # define LT_DLGLOBAL 0
10898 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10899 find out it does not work in some platform. */
10900 #ifndef LT_DLLAZY_OR_NOW
10902 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10905 # define LT_DLLAZY_OR_NOW DL_LAZY
10908 # define LT_DLLAZY_OR_NOW RTLD_NOW
10911 # define LT_DLLAZY_OR_NOW DL_NOW
10913 # define LT_DLLAZY_OR_NOW 0
10920 void fnord() { int i=42;}
10923 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10924 int status = $lt_dlunknown;
10928 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10929 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10930 /* dlclose (self); */
10938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10939 (eval $ac_link) 2>&5
10941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10943 (.
/conftest
; exit; ) >&5 2>/dev
/null
10945 case x
$lt_status in
10946 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10947 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10948 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10951 # compilation failed
10952 lt_cv_dlopen_self
=no
10959 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10960 $as_echo "$lt_cv_dlopen_self" >&6; }
10962 if test "x$lt_cv_dlopen_self" = xyes
; then
10963 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10964 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10965 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10966 if test "${lt_cv_dlopen_self_static+set}" = set; then
10967 $as_echo_n "(cached) " >&6
10969 if test "$cross_compiling" = yes; then :
10970 lt_cv_dlopen_self_static
=cross
10972 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10973 lt_status
=$lt_dlunknown
10974 cat > conftest.
$ac_ext <<_LT_EOF
10975 #line 10975 "configure"
10976 #include "confdefs.h"
10985 # define LT_DLGLOBAL RTLD_GLOBAL
10988 # define LT_DLGLOBAL DL_GLOBAL
10990 # define LT_DLGLOBAL 0
10994 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10995 find out it does not work in some platform. */
10996 #ifndef LT_DLLAZY_OR_NOW
10998 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11001 # define LT_DLLAZY_OR_NOW DL_LAZY
11004 # define LT_DLLAZY_OR_NOW RTLD_NOW
11007 # define LT_DLLAZY_OR_NOW DL_NOW
11009 # define LT_DLLAZY_OR_NOW 0
11016 void fnord() { int i=42;}
11019 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11020 int status = $lt_dlunknown;
11024 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11025 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11026 /* dlclose (self); */
11034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11035 (eval $ac_link) 2>&5
11037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11039 (.
/conftest
; exit; ) >&5 2>/dev
/null
11041 case x
$lt_status in
11042 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11043 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11044 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11047 # compilation failed
11048 lt_cv_dlopen_self_static
=no
11055 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11056 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11059 CPPFLAGS
="$save_CPPFLAGS"
11060 LDFLAGS
="$save_LDFLAGS"
11065 case $lt_cv_dlopen_self in
11066 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11067 *) enable_dlopen_self
=unknown
;;
11070 case $lt_cv_dlopen_self_static in
11071 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11072 *) enable_dlopen_self_static
=unknown
;;
11094 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11095 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11096 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11097 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11098 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11099 { $as_echo "$as_me:$LINENO: result: yes" >&5
11100 $as_echo "yes" >&6; }
11102 # FIXME - insert some real tests, host_os isn't really good enough
11105 if test -n "$STRIP" ; then
11106 striplib
="$STRIP -x"
11107 old_striplib
="$STRIP -S"
11108 { $as_echo "$as_me:$LINENO: result: yes" >&5
11109 $as_echo "yes" >&6; }
11111 { $as_echo "$as_me:$LINENO: result: no" >&5
11112 $as_echo "no" >&6; }
11116 { $as_echo "$as_me:$LINENO: result: no" >&5
11117 $as_echo "no" >&6; }
11133 # Report which library types will actually be built
11134 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11135 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11136 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11137 $as_echo "$can_build_shared" >&6; }
11139 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11140 $as_echo_n "checking whether to build shared libraries... " >&6; }
11141 test "$can_build_shared" = "no" && enable_shared
=no
11143 # On AIX, shared libraries and static libraries use the same namespace, and
11144 # are all built from PIC.
11147 test "$enable_shared" = yes && enable_static
=no
11148 if test -n "$RANLIB"; then
11149 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11150 postinstall_cmds
='$RANLIB $lib'
11155 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11156 test "$enable_shared" = yes && enable_static
=no
11160 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11161 $as_echo "$enable_shared" >&6; }
11163 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11164 $as_echo_n "checking whether to build static libraries... " >&6; }
11165 # Make sure either enable_shared or enable_static is yes.
11166 test "$enable_shared" = yes || enable_static
=yes
11167 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11168 $as_echo "$enable_static" >&6; }
11175 ac_cpp
='$CPP $CPPFLAGS'
11176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11194 ac_config_commands
="$ac_config_commands libtool"
11199 # Only expand once:
11203 if test "$GCC" = yes
11205 CFLAGS
="-Wall $CFLAGS"
11208 CFLAGS
="$CFLAGS -I$srcdir/.. -I.."
11211 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11212 $as_echo_n "checking for ANSI C header files... " >&6; }
11213 if test "${ac_cv_header_stdc+set}" = set; then
11214 $as_echo_n "(cached) " >&6
11216 cat >conftest.
$ac_ext <<_ACEOF
11219 cat confdefs.h
>>conftest.
$ac_ext
11220 cat >>conftest.
$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11222 #include <stdlib.h>
11223 #include <stdarg.h>
11224 #include <string.h>
11235 rm -f conftest.
$ac_objext
11236 if { (ac_try
="$ac_compile"
11237 case "(($ac_try" in
11238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11239 *) ac_try_echo=$ac_try;;
11241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11242 $as_echo "$ac_try_echo") >&5
11243 (eval "$ac_compile") 2>conftest.er1
11245 grep -v '^ *+' conftest.er1 >conftest.err
11247 cat conftest.err >&5
11248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } && {
11250 test -z "$ac_c_werror_flag" ||
11251 test ! -s conftest.err
11252 } && test -s conftest.$ac_objext; then
11253 ac_cv_header_stdc=yes
11255 $as_echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.$ac_ext >&5
11258 ac_cv_header_stdc=no
11261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11263 if test $ac_cv_header_stdc = yes; then
11264 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11265 cat >conftest.$ac_ext <<_ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271 #include <string.h>
11274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11275 $EGREP "memchr" >/dev/null 2>&1; then
11278 ac_cv_header_stdc=no
11284 if test $ac_cv_header_stdc = yes; then
11285 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11286 cat >conftest.$ac_ext <<_ACEOF
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11292 #include <stdlib.h>
11295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11296 $EGREP "free" >/dev/null 2>&1; then
11299 ac_cv_header_stdc=no
11305 if test $ac_cv_header_stdc = yes; then
11306 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11307 if test "$cross_compiling" = yes; then
11310 cat >conftest.$ac_ext <<_ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11317 #include <stdlib.h>
11318 #if ((' ' & 0x0FF) == 0x020)
11319 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11320 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11322 # define ISLOWER(c) \
11323 (('a' <= (c) && (c) <= 'i') \
11324 || ('j' <= (c) && (c) <= 'r') \
11325 || ('s' <= (c) && (c) <= 'z'))
11326 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11329 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11334 for (i = 0; i < 256; i++)
11335 if (XOR (islower (i), ISLOWER (i))
11336 || toupper (i) != TOUPPER (i))
11341 rm -f conftest$ac_exeext
11342 if { (ac_try="$ac_link"
11343 case "(($ac_try" in
11344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11345 *) ac_try_echo
=$ac_try;;
11347 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11348 $as_echo "$ac_try_echo") >&5
11349 (eval "$ac_link") 2>&5
11351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11353 { (case "(($ac_try" in
11354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11355 *) ac_try_echo=$ac_try;;
11357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11358 $as_echo "$ac_try_echo") >&5
11359 (eval "$ac_try") 2>&5
11361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); }; }; then
11365 $as_echo "$as_me: program exited with status $ac_status" >&5
11366 $as_echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.$ac_ext >&5
11369 ( exit $ac_status )
11370 ac_cv_header_stdc=no
11372 rm -rf conftest.dSYM
11373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11379 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11380 $as_echo "$ac_cv_header_stdc" >&6; }
11381 if test $ac_cv_header_stdc = yes; then
11383 cat >>confdefs.h <<\_ACEOF
11384 #define STDC_HEADERS 1
11391 for ac_header in sys/types.h
11393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11395 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11396 $as_echo_n "checking for $ac_header... " >&6; }
11397 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11398 $as_echo_n "(cached) " >&6
11400 ac_res=`eval 'as_val=${'$as_ac_Header'}
11401 $as_echo "$as_val"'`
11402 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11403 $as_echo "$ac_res" >&6; }
11405 # Is the header compilable?
11406 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11407 $as_echo_n "checking $ac_header usability... " >&6; }
11408 cat >conftest.$ac_ext <<_ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11414 $ac_includes_default
11415 #include <$ac_header>
11417 rm -f conftest.$ac_objext
11418 if { (ac_try="$ac_compile"
11419 case "(($ac_try" in
11420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11421 *) ac_try_echo
=$ac_try;;
11423 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11424 $as_echo "$ac_try_echo") >&5
11425 (eval "$ac_compile") 2>conftest.er1
11427 grep -v '^ *+' conftest.er1
>conftest.err
11429 cat conftest.err
>&5
11430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } && {
11432 test -z "$ac_c_werror_flag" ||
11433 test ! -s conftest.err
11434 } && test -s conftest.
$ac_objext; then
11435 ac_header_compiler
=yes
11437 $as_echo "$as_me: failed program was:" >&5
11438 sed 's/^/| /' conftest.
$ac_ext >&5
11440 ac_header_compiler
=no
11443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11444 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11445 $as_echo "$ac_header_compiler" >&6; }
11447 # Is the header present?
11448 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11449 $as_echo_n "checking $ac_header presence... " >&6; }
11450 cat >conftest.
$ac_ext <<_ACEOF
11453 cat confdefs.h
>>conftest.
$ac_ext
11454 cat >>conftest.
$ac_ext <<_ACEOF
11455 /* end confdefs.h. */
11456 #include <$ac_header>
11458 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11459 case "(($ac_try" in
11460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11461 *) ac_try_echo=$ac_try;;
11463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11464 $as_echo "$ac_try_echo") >&5
11465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11467 grep -v '^ *+' conftest.er1 >conftest.err
11469 cat conftest.err >&5
11470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } >/dev/null && {
11472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11473 test ! -s conftest.err
11475 ac_header_preproc=yes
11477 $as_echo "$as_me: failed program was:" >&5
11478 sed 's/^/| /' conftest.$ac_ext >&5
11480 ac_header_preproc=no
11483 rm -f conftest.err conftest.$ac_ext
11484 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11485 $as_echo "$ac_header_preproc" >&6; }
11487 # So? What about this header?
11488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11490 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11491 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11492 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11493 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11494 ac_header_preproc=yes
11497 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11498 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11500 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11502 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11503 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11504 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11505 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11506 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11507 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11508 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11510 ## -------------------------------------------------- ##
11511 ## Report this to courier-users@lists.sourceforge.net ##
11512 ## -------------------------------------------------- ##
11514 ) | sed "s/^/$as_me: WARNING: /" >&2
11517 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11518 $as_echo_n "checking for $ac_header... " >&6; }
11519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11520 $as_echo_n "(cached) " >&6
11522 eval "$as_ac_Header=\$ac_header_preproc"
11524 ac_res=`eval 'as_val=${'$as_ac_Header'}
11525 $as_echo "$as_val"'`
11526 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11527 $as_echo "$ac_res" >&6; }
11530 as_val=`eval 'as_val=${'$as_ac_Header'}
11531 $as_echo "$as_val"'`
11532 if test "x$as_val" = x""yes; then
11533 cat >>confdefs.h <<_ACEOF
11534 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11544 # Check whether --with-int32 was given.
11545 if test "${with_int32+set}" = set; then
11546 withval=$with_int32; int32="$withval"
11550 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
11551 $as_echo_n "checking for uint32_t... " >&6; }
11553 cat >conftest.$ac_ext <<_ACEOF
11556 cat confdefs.h >>conftest.$ac_ext
11557 cat >>conftest.$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11560 #if HAVE_SYS_TYPES_H
11561 #include <sys/types.h>
11574 rm -f conftest.$ac_objext
11575 if { (ac_try="$ac_compile"
11576 case "(($ac_try" in
11577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11578 *) ac_try_echo
=$ac_try;;
11580 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11581 $as_echo "$ac_try_echo") >&5
11582 (eval "$ac_compile") 2>conftest.er1
11584 grep -v '^ *+' conftest.er1
>conftest.err
11586 cat conftest.err
>&5
11587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); } && {
11589 test -z "$ac_c_werror_flag" ||
11590 test ! -s conftest.err
11591 } && test -s conftest.
$ac_objext; then
11592 { $as_echo "$as_me:$LINENO: result: yes" >&5
11593 $as_echo "yes" >&6; } ; int32
="uint32_t"
11595 $as_echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.
$ac_ext >&5
11600 { $as_echo "$as_me:$LINENO: result: no" >&5
11601 $as_echo "no" >&6; }
11602 { $as_echo "$as_me:$LINENO: checking for u_int_32_t" >&5
11603 $as_echo_n "checking for u_int_32_t... " >&6; }
11605 cat >conftest.
$ac_ext <<_ACEOF
11608 cat confdefs.h
>>conftest.
$ac_ext
11609 cat >>conftest.
$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11612 #if HAVE_SYS_TYPES_H
11613 #include <sys/types.h>
11626 rm -f conftest.
$ac_objext
11627 if { (ac_try
="$ac_compile"
11628 case "(($ac_try" in
11629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11630 *) ac_try_echo=$ac_try;;
11632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11633 $as_echo "$ac_try_echo") >&5
11634 (eval "$ac_compile") 2>conftest.er1
11636 grep -v '^ *+' conftest.er1 >conftest.err
11638 cat conftest.err >&5
11639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); } && {
11641 test -z "$ac_c_werror_flag" ||
11642 test ! -s conftest.err
11643 } && test -s conftest.$ac_objext; then
11644 { $as_echo "$as_me:$LINENO: result: yes" >&5
11645 $as_echo "yes" >&6; }; int32="u_int32_t"
11647 $as_echo "$as_me: failed program was:" >&5
11648 sed 's/^/| /' conftest.$ac_ext >&5
11652 { $as_echo "$as_me:$LINENO: result: no" >&5
11653 $as_echo "no" >&6; }
11655 # The cast to long int works around a bug in the HP C Compiler
11656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11657 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
11658 # This bug is HP SR number 8606223364.
11659 { $as_echo "$as_me:$LINENO: checking size of unsigned" >&5
11660 $as_echo_n "checking size of unsigned... " >&6; }
11661 if test "${ac_cv_sizeof_unsigned+set}" = set; then
11662 $as_echo_n "(cached) " >&6
11664 if test "$cross_compiling" = yes; then
11665 # Depending upon the size, compute the lo and hi bounds.
11666 cat >conftest.$ac_ext <<_ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 $ac_includes_default
11676 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) >= 0)];
11683 rm -f conftest.$ac_objext
11684 if { (ac_try="$ac_compile"
11685 case "(($ac_try" in
11686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11687 *) ac_try_echo=$ac_try;;
11689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11690 $as_echo "$ac_try_echo") >&5
11691 (eval "$ac_compile") 2>conftest.er1
11693 grep -v '^
*+' conftest.er1 >conftest.err
11695 cat conftest.err >&5
11696 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } && {
11698 test -z "$ac_c_werror_flag" ||
11699 test ! -s conftest.err
11700 } && test -s conftest.$ac_objext; then
11703 cat >conftest.$ac_ext <<_ACEOF
11706 cat confdefs.h >>conftest.$ac_ext
11707 cat >>conftest.$ac_ext <<_ACEOF
11708 /* end confdefs.h. */
11709 $ac_includes_default
11713 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) <= $ac_mid)];
11720 rm -f conftest.$ac_objext
11721 if { (ac_try="$ac_compile"
11722 case "(($ac_try" in
11723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11724 *) ac_try_echo=$ac_try;;
11726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11727 $as_echo "$ac_try_echo") >&5
11728 (eval "$ac_compile") 2>conftest.er1
11730 grep -v '^
*+' conftest.er1 >conftest.err
11732 cat conftest.err >&5
11733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } && {
11735 test -z "$ac_c_werror_flag" ||
11736 test ! -s conftest.err
11737 } && test -s conftest.$ac_objext; then
11738 ac_hi=$ac_mid; break
11740 $as_echo "$as_me: failed program was:" >&5
11741 sed 's
/^
/|
/' conftest.$ac_ext >&5
11743 ac_lo=`expr $ac_mid + 1`
11744 if test $ac_lo -le $ac_mid; then
11748 ac_mid=`expr 2 '*' $ac_mid + 1`
11751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11754 $as_echo "$as_me: failed program was:" >&5
11755 sed 's
/^
/|
/' conftest.$ac_ext >&5
11757 cat >conftest.$ac_ext <<_ACEOF
11760 cat confdefs.h >>conftest.$ac_ext
11761 cat >>conftest.$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11763 $ac_includes_default
11767 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) < 0)];
11774 rm -f conftest.$ac_objext
11775 if { (ac_try="$ac_compile"
11776 case "(($ac_try" in
11777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11778 *) ac_try_echo=$ac_try;;
11780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11781 $as_echo "$ac_try_echo") >&5
11782 (eval "$ac_compile") 2>conftest.er1
11784 grep -v '^
*+' conftest.er1 >conftest.err
11786 cat conftest.err >&5
11787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } && {
11789 test -z "$ac_c_werror_flag" ||
11790 test ! -s conftest.err
11791 } && test -s conftest.$ac_objext; then
11794 cat >conftest.$ac_ext <<_ACEOF
11797 cat confdefs.h >>conftest.$ac_ext
11798 cat >>conftest.$ac_ext <<_ACEOF
11799 /* end confdefs.h. */
11800 $ac_includes_default
11804 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) >= $ac_mid)];
11811 rm -f conftest.$ac_objext
11812 if { (ac_try="$ac_compile"
11813 case "(($ac_try" in
11814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11815 *) ac_try_echo=$ac_try;;
11817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11818 $as_echo "$ac_try_echo") >&5
11819 (eval "$ac_compile") 2>conftest.er1
11821 grep -v '^
*+' conftest.er1 >conftest.err
11823 cat conftest.err >&5
11824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } && {
11826 test -z "$ac_c_werror_flag" ||
11827 test ! -s conftest.err
11828 } && test -s conftest.$ac_objext; then
11829 ac_lo=$ac_mid; break
11831 $as_echo "$as_me: failed program was:" >&5
11832 sed 's
/^
/|
/' conftest.$ac_ext >&5
11834 ac_hi=`expr '(' $ac_mid ')' - 1`
11835 if test $ac_mid -le $ac_hi; then
11839 ac_mid=`expr 2 '*' $ac_mid`
11842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11845 $as_echo "$as_me: failed program was:" >&5
11846 sed 's
/^
/|
/' conftest.$ac_ext >&5
11851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11855 # Binary search between lo and hi bounds.
11856 while test "x$ac_lo" != "x$ac_hi"; do
11857 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11858 cat >conftest.$ac_ext <<_ACEOF
11861 cat confdefs.h >>conftest.$ac_ext
11862 cat >>conftest.$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 $ac_includes_default
11868 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned))) <= $ac_mid)];
11875 rm -f conftest.$ac_objext
11876 if { (ac_try="$ac_compile"
11877 case "(($ac_try" in
11878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11879 *) ac_try_echo=$ac_try;;
11881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11882 $as_echo "$ac_try_echo") >&5
11883 (eval "$ac_compile") 2>conftest.er1
11885 grep -v '^
*+' conftest.er1 >conftest.err
11887 cat conftest.err >&5
11888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } && {
11890 test -z "$ac_c_werror_flag" ||
11891 test ! -s conftest.err
11892 } && test -s conftest.$ac_objext; then
11895 $as_echo "$as_me: failed program was:" >&5
11896 sed 's
/^
/|
/' conftest.$ac_ext >&5
11898 ac_lo=`expr '(' $ac_mid ')' + 1`
11901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11904 ?*) ac_cv_sizeof_unsigned=$ac_lo;;
11905 '') if test "$ac_cv_type_unsigned" = yes; then
11906 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11907 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
11908 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
11909 See \`config.log
' for more details." >&5
11910 $as_echo "$as_me: error: cannot compute sizeof (unsigned)
11911 See \`config.log' for more details.
" >&2;}
11912 { (exit 77); exit 77; }; }; }
11914 ac_cv_sizeof_unsigned=0
11918 cat >conftest.$ac_ext <<_ACEOF
11921 cat confdefs.h >>conftest.$ac_ext
11922 cat >>conftest.$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11924 $ac_includes_default
11925 static long int longval () { return (long int) (sizeof (unsigned)); }
11926 static unsigned long int ulongval () { return (long int) (sizeof (unsigned)); }
11928 #include <stdlib.h>
11933 FILE *f = fopen ("conftest.val
", "w
");
11936 if (((long int) (sizeof (unsigned))) < 0)
11938 long int i = longval ();
11939 if (i != ((long int) (sizeof (unsigned))))
11941 fprintf (f, "%ld
", i);
11945 unsigned long int i = ulongval ();
11946 if (i != ((long int) (sizeof (unsigned))))
11948 fprintf (f, "%lu
", i);
11950 /* Do not output a trailing newline, as this causes \r\n confusion
11951 on some platforms. */
11952 return ferror (f) || fclose (f) != 0;
11958 rm -f conftest$ac_exeext
11959 if { (ac_try="$ac_link"
11960 case "(($ac_try" in
11961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11962 *) ac_try_echo=$ac_try;;
11964 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11965 $as_echo "$ac_try_echo") >&5
11966 (eval "$ac_link") 2>&5
11968 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11970 { (case "(($ac_try" in
11971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11972 *) ac_try_echo=$ac_try;;
11974 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
11975 $as_echo "$ac_try_echo") >&5
11976 (eval "$ac_try") 2>&5
11978 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11979 (exit $ac_status); }; }; then
11980 ac_cv_sizeof_unsigned=`cat conftest.val`
11982 $as_echo "$as_me: program exited with status
$ac_status" >&5
11983 $as_echo "$as_me: failed program was
:" >&5
11984 sed 's/^/| /' conftest.$ac_ext >&5
11986 ( exit $ac_status )
11987 if test "$ac_cv_type_unsigned" = yes; then
11988 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
11989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11990 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned)
11991 See \`config.log' for more details.
" >&5
11992 $as_echo "$as_me: error
: cannot compute sizeof
(unsigned
)
11993 See \
`config.log' for more details." >&2;}
11994 { (exit 77); exit 77; }; }; }
11996 ac_cv_sizeof_unsigned=0
11999 rm -rf conftest.dSYM
12000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12004 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned" >&5
12005 $as_echo "$ac_cv_sizeof_unsigned" >&6; }
12009 cat >>confdefs.h <<_ACEOF
12010 #define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned
12014 if test "$ac_cv_sizeof_unsigned" != 4
12016 # The cast to long int works around a bug in the HP C Compiler
12017 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12018 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
12019 # This bug is HP SR number 8606223364.
12020 { $as_echo "$as_me:$LINENO: checking size of unsigned long" >&5
12021 $as_echo_n "checking size of unsigned long... " >&6; }
12022 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
12023 $as_echo_n "(cached) " >&6
12025 if test "$cross_compiling" = yes; then
12026 # Depending upon the size, compute the lo and hi bounds.
12027 cat >conftest.$ac_ext <<_ACEOF
12030 cat confdefs.h >>conftest.$ac_ext
12031 cat >>conftest.$ac_ext <<_ACEOF
12032 /* end confdefs.h. */
12033 $ac_includes_default
12037 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= 0)];
12044 rm -f conftest.$ac_objext
12045 if { (ac_try="$ac_compile"
12046 case "(($ac_try" in
12047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12048 *) ac_try_echo=$ac_try;;
12050 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12051 $as_echo "$ac_try_echo") >&5
12052 (eval "$ac_compile") 2>conftest.er1
12054 grep -v '^
*+' conftest.er1 >conftest.err
12056 cat conftest.err >&5
12057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } && {
12059 test -z "$ac_c_werror_flag" ||
12060 test ! -s conftest.err
12061 } && test -s conftest.$ac_objext; then
12064 cat >conftest.$ac_ext <<_ACEOF
12067 cat confdefs.h >>conftest.$ac_ext
12068 cat >>conftest.$ac_ext <<_ACEOF
12069 /* end confdefs.h. */
12070 $ac_includes_default
12074 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
12081 rm -f conftest.$ac_objext
12082 if { (ac_try="$ac_compile"
12083 case "(($ac_try" in
12084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12085 *) ac_try_echo=$ac_try;;
12087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12088 $as_echo "$ac_try_echo") >&5
12089 (eval "$ac_compile") 2>conftest.er1
12091 grep -v '^
*+' conftest.er1 >conftest.err
12093 cat conftest.err >&5
12094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); } && {
12096 test -z "$ac_c_werror_flag" ||
12097 test ! -s conftest.err
12098 } && test -s conftest.$ac_objext; then
12099 ac_hi=$ac_mid; break
12101 $as_echo "$as_me: failed program was:" >&5
12102 sed 's
/^
/|
/' conftest.$ac_ext >&5
12104 ac_lo=`expr $ac_mid + 1`
12105 if test $ac_lo -le $ac_mid; then
12109 ac_mid=`expr 2 '*' $ac_mid + 1`
12112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12115 $as_echo "$as_me: failed program was:" >&5
12116 sed 's
/^
/|
/' conftest.$ac_ext >&5
12118 cat >conftest.$ac_ext <<_ACEOF
12121 cat confdefs.h >>conftest.$ac_ext
12122 cat >>conftest.$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 $ac_includes_default
12128 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) < 0)];
12135 rm -f conftest.$ac_objext
12136 if { (ac_try="$ac_compile"
12137 case "(($ac_try" in
12138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12139 *) ac_try_echo=$ac_try;;
12141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12142 $as_echo "$ac_try_echo") >&5
12143 (eval "$ac_compile") 2>conftest.er1
12145 grep -v '^
*+' conftest.er1 >conftest.err
12147 cat conftest.err >&5
12148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); } && {
12150 test -z "$ac_c_werror_flag" ||
12151 test ! -s conftest.err
12152 } && test -s conftest.$ac_objext; then
12155 cat >conftest.$ac_ext <<_ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 $ac_includes_default
12165 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= $ac_mid)];
12172 rm -f conftest.$ac_objext
12173 if { (ac_try="$ac_compile"
12174 case "(($ac_try" in
12175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12176 *) ac_try_echo=$ac_try;;
12178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12179 $as_echo "$ac_try_echo") >&5
12180 (eval "$ac_compile") 2>conftest.er1
12182 grep -v '^
*+' conftest.er1 >conftest.err
12184 cat conftest.err >&5
12185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } && {
12187 test -z "$ac_c_werror_flag" ||
12188 test ! -s conftest.err
12189 } && test -s conftest.$ac_objext; then
12190 ac_lo=$ac_mid; break
12192 $as_echo "$as_me: failed program was:" >&5
12193 sed 's
/^
/|
/' conftest.$ac_ext >&5
12195 ac_hi=`expr '(' $ac_mid ')' - 1`
12196 if test $ac_mid -le $ac_hi; then
12200 ac_mid=`expr 2 '*' $ac_mid`
12203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12206 $as_echo "$as_me: failed program was:" >&5
12207 sed 's
/^
/|
/' conftest.$ac_ext >&5
12212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12216 # Binary search between lo and hi bounds.
12217 while test "x$ac_lo" != "x$ac_hi"; do
12218 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12219 cat >conftest.$ac_ext <<_ACEOF
12222 cat confdefs.h >>conftest.$ac_ext
12223 cat >>conftest.$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12225 $ac_includes_default
12229 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)];
12236 rm -f conftest.$ac_objext
12237 if { (ac_try="$ac_compile"
12238 case "(($ac_try" in
12239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12240 *) ac_try_echo=$ac_try;;
12242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12243 $as_echo "$ac_try_echo") >&5
12244 (eval "$ac_compile") 2>conftest.er1
12246 grep -v '^
*+' conftest.er1 >conftest.err
12248 cat conftest.err >&5
12249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } && {
12251 test -z "$ac_c_werror_flag" ||
12252 test ! -s conftest.err
12253 } && test -s conftest.$ac_objext; then
12256 $as_echo "$as_me: failed program was:" >&5
12257 sed 's
/^
/|
/' conftest.$ac_ext >&5
12259 ac_lo=`expr '(' $ac_mid ')' + 1`
12262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12265 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
12266 '') if test "$ac_cv_type_unsigned_long" = yes; then
12267 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12268 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
12269 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
12270 See \`config.log
' for more details." >&5
12271 $as_echo "$as_me: error: cannot compute sizeof (unsigned long)
12272 See \`config.log' for more details.
" >&2;}
12273 { (exit 77); exit 77; }; }; }
12275 ac_cv_sizeof_unsigned_long=0
12279 cat >conftest.$ac_ext <<_ACEOF
12282 cat confdefs.h >>conftest.$ac_ext
12283 cat >>conftest.$ac_ext <<_ACEOF
12284 /* end confdefs.h. */
12285 $ac_includes_default
12286 static long int longval () { return (long int) (sizeof (unsigned long)); }
12287 static unsigned long int ulongval () { return (long int) (sizeof (unsigned long)); }
12289 #include <stdlib.h>
12294 FILE *f = fopen ("conftest.val
", "w
");
12297 if (((long int) (sizeof (unsigned long))) < 0)
12299 long int i = longval ();
12300 if (i != ((long int) (sizeof (unsigned long))))
12302 fprintf (f, "%ld
", i);
12306 unsigned long int i = ulongval ();
12307 if (i != ((long int) (sizeof (unsigned long))))
12309 fprintf (f, "%lu
", i);
12311 /* Do not output a trailing newline, as this causes \r\n confusion
12312 on some platforms. */
12313 return ferror (f) || fclose (f) != 0;
12319 rm -f conftest$ac_exeext
12320 if { (ac_try="$ac_link"
12321 case "(($ac_try" in
12322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12323 *) ac_try_echo=$ac_try;;
12325 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12326 $as_echo "$ac_try_echo") >&5
12327 (eval "$ac_link") 2>&5
12329 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12330 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12331 { (case "(($ac_try" in
12332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12333 *) ac_try_echo=$ac_try;;
12335 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12336 $as_echo "$ac_try_echo") >&5
12337 (eval "$ac_try") 2>&5
12339 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_cv_sizeof_unsigned_long=`cat conftest.val`
12343 $as_echo "$as_me: program exited with status
$ac_status" >&5
12344 $as_echo "$as_me: failed program was
:" >&5
12345 sed 's/^/| /' conftest.$ac_ext >&5
12347 ( exit $ac_status )
12348 if test "$ac_cv_type_unsigned_long" = yes; then
12349 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
12350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12351 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
12352 See \`config.log' for more details.
" >&5
12353 $as_echo "$as_me: error
: cannot compute sizeof
(unsigned long
)
12354 See \
`config.log' for more details." >&2;}
12355 { (exit 77); exit 77; }; }; }
12357 ac_cv_sizeof_unsigned_long=0
12360 rm -rf conftest.dSYM
12361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12365 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
12366 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
12370 cat >>confdefs.h <<_ACEOF
12371 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
12375 if test "$ac_cv_sizeof_unsigned_long" != 4
12377 # The cast to long int works around a bug in the HP C Compiler
12378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12379 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
12380 # This bug is HP SR number 8606223364.
12381 { $as_echo "$as_me:$LINENO: checking size of unsigned short" >&5
12382 $as_echo_n "checking size of unsigned short... " >&6; }
12383 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
12384 $as_echo_n "(cached) " >&6
12386 if test "$cross_compiling" = yes; then
12387 # Depending upon the size, compute the lo and hi bounds.
12388 cat >conftest.$ac_ext <<_ACEOF
12391 cat confdefs.h >>conftest.$ac_ext
12392 cat >>conftest.$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12394 $ac_includes_default
12398 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= 0)];
12405 rm -f conftest.$ac_objext
12406 if { (ac_try="$ac_compile"
12407 case "(($ac_try" in
12408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12409 *) ac_try_echo=$ac_try;;
12411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12412 $as_echo "$ac_try_echo") >&5
12413 (eval "$ac_compile") 2>conftest.er1
12415 grep -v '^
*+' conftest.er1 >conftest.err
12417 cat conftest.err >&5
12418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } && {
12420 test -z "$ac_c_werror_flag" ||
12421 test ! -s conftest.err
12422 } && test -s conftest.$ac_objext; then
12425 cat >conftest.$ac_ext <<_ACEOF
12428 cat confdefs.h >>conftest.$ac_ext
12429 cat >>conftest.$ac_ext <<_ACEOF
12430 /* end confdefs.h. */
12431 $ac_includes_default
12435 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
12442 rm -f conftest.$ac_objext
12443 if { (ac_try="$ac_compile"
12444 case "(($ac_try" in
12445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12446 *) ac_try_echo=$ac_try;;
12448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12449 $as_echo "$ac_try_echo") >&5
12450 (eval "$ac_compile") 2>conftest.er1
12452 grep -v '^
*+' conftest.er1 >conftest.err
12454 cat conftest.err >&5
12455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } && {
12457 test -z "$ac_c_werror_flag" ||
12458 test ! -s conftest.err
12459 } && test -s conftest.$ac_objext; then
12460 ac_hi=$ac_mid; break
12462 $as_echo "$as_me: failed program was:" >&5
12463 sed 's
/^
/|
/' conftest.$ac_ext >&5
12465 ac_lo=`expr $ac_mid + 1`
12466 if test $ac_lo -le $ac_mid; then
12470 ac_mid=`expr 2 '*' $ac_mid + 1`
12473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12476 $as_echo "$as_me: failed program was:" >&5
12477 sed 's
/^
/|
/' conftest.$ac_ext >&5
12479 cat >conftest.$ac_ext <<_ACEOF
12482 cat confdefs.h >>conftest.$ac_ext
12483 cat >>conftest.$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12485 $ac_includes_default
12489 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) < 0)];
12496 rm -f conftest.$ac_objext
12497 if { (ac_try="$ac_compile"
12498 case "(($ac_try" in
12499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12500 *) ac_try_echo=$ac_try;;
12502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12503 $as_echo "$ac_try_echo") >&5
12504 (eval "$ac_compile") 2>conftest.er1
12506 grep -v '^
*+' conftest.er1 >conftest.err
12508 cat conftest.err >&5
12509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); } && {
12511 test -z "$ac_c_werror_flag" ||
12512 test ! -s conftest.err
12513 } && test -s conftest.$ac_objext; then
12516 cat >conftest.$ac_ext <<_ACEOF
12519 cat confdefs.h >>conftest.$ac_ext
12520 cat >>conftest.$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522 $ac_includes_default
12526 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) >= $ac_mid)];
12533 rm -f conftest.$ac_objext
12534 if { (ac_try="$ac_compile"
12535 case "(($ac_try" in
12536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12537 *) ac_try_echo=$ac_try;;
12539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12540 $as_echo "$ac_try_echo") >&5
12541 (eval "$ac_compile") 2>conftest.er1
12543 grep -v '^
*+' conftest.er1 >conftest.err
12545 cat conftest.err >&5
12546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } && {
12548 test -z "$ac_c_werror_flag" ||
12549 test ! -s conftest.err
12550 } && test -s conftest.$ac_objext; then
12551 ac_lo=$ac_mid; break
12553 $as_echo "$as_me: failed program was:" >&5
12554 sed 's
/^
/|
/' conftest.$ac_ext >&5
12556 ac_hi=`expr '(' $ac_mid ')' - 1`
12557 if test $ac_mid -le $ac_hi; then
12561 ac_mid=`expr 2 '*' $ac_mid`
12564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12567 $as_echo "$as_me: failed program was:" >&5
12568 sed 's
/^
/|
/' conftest.$ac_ext >&5
12573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12577 # Binary search between lo and hi bounds.
12578 while test "x$ac_lo" != "x$ac_hi"; do
12579 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12580 cat >conftest.$ac_ext <<_ACEOF
12583 cat confdefs.h >>conftest.$ac_ext
12584 cat >>conftest.$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12586 $ac_includes_default
12590 static int test_array [1 - 2 * !(((long int) (sizeof (unsigned short))) <= $ac_mid)];
12597 rm -f conftest.$ac_objext
12598 if { (ac_try="$ac_compile"
12599 case "(($ac_try" in
12600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12601 *) ac_try_echo=$ac_try;;
12603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12604 $as_echo "$ac_try_echo") >&5
12605 (eval "$ac_compile") 2>conftest.er1
12607 grep -v '^
*+' conftest.er1 >conftest.err
12609 cat conftest.err >&5
12610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } && {
12612 test -z "$ac_c_werror_flag" ||
12613 test ! -s conftest.err
12614 } && test -s conftest.$ac_objext; then
12617 $as_echo "$as_me: failed program was:" >&5
12618 sed 's
/^
/|
/' conftest.$ac_ext >&5
12620 ac_lo=`expr '(' $ac_mid ')' + 1`
12623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12626 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
12627 '') if test "$ac_cv_type_unsigned_short" = yes; then
12628 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12629 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
12630 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
12631 See \`config.log
' for more details." >&5
12632 $as_echo "$as_me: error: cannot compute sizeof (unsigned short)
12633 See \`config.log' for more details.
" >&2;}
12634 { (exit 77); exit 77; }; }; }
12636 ac_cv_sizeof_unsigned_short=0
12640 cat >conftest.$ac_ext <<_ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12646 $ac_includes_default
12647 static long int longval () { return (long int) (sizeof (unsigned short)); }
12648 static unsigned long int ulongval () { return (long int) (sizeof (unsigned short)); }
12650 #include <stdlib.h>
12655 FILE *f = fopen ("conftest.val
", "w
");
12658 if (((long int) (sizeof (unsigned short))) < 0)
12660 long int i = longval ();
12661 if (i != ((long int) (sizeof (unsigned short))))
12663 fprintf (f, "%ld
", i);
12667 unsigned long int i = ulongval ();
12668 if (i != ((long int) (sizeof (unsigned short))))
12670 fprintf (f, "%lu
", i);
12672 /* Do not output a trailing newline, as this causes \r\n confusion
12673 on some platforms. */
12674 return ferror (f) || fclose (f) != 0;
12680 rm -f conftest$ac_exeext
12681 if { (ac_try="$ac_link"
12682 case "(($ac_try" in
12683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12684 *) ac_try_echo=$ac_try;;
12686 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12687 $as_echo "$ac_try_echo") >&5
12688 (eval "$ac_link") 2>&5
12690 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12692 { (case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12696 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
12697 $as_echo "$ac_try_echo") >&5
12698 (eval "$ac_try") 2>&5
12700 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12701 (exit $ac_status); }; }; then
12702 ac_cv_sizeof_unsigned_short=`cat conftest.val`
12704 $as_echo "$as_me: program exited with status
$ac_status" >&5
12705 $as_echo "$as_me: failed program was
:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12708 ( exit $ac_status )
12709 if test "$ac_cv_type_unsigned_short" = yes; then
12710 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
12711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12712 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
12713 See \`config.log' for more details.
" >&5
12714 $as_echo "$as_me: error
: cannot compute sizeof
(unsigned short
)
12715 See \
`config.log' for more details." >&2;}
12716 { (exit 77); exit 77; }; }; }
12718 ac_cv_sizeof_unsigned_short=0
12721 rm -rf conftest.dSYM
12722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12726 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
12727 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
12731 cat >>confdefs.h <<_ACEOF
12732 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
12736 if test "$ac_cv_sizeof_unsigned_short" != 4
12738 { { $as_echo "$as_me:$LINENO: error: --with-int32 option is required" >&5
12739 $as_echo "$as_me: error: --with-int32 option is required" >&2;}
12740 { (exit 1); exit 1; }; }
12742 int32="unsigned short"
12744 int32="unsigned long"
12751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12763 cat >>confdefs.h <<_ACEOF
12764 #define MD5_WORD $UINT32
12768 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12769 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12770 if test "${ac_cv_c_const+set}" = set; then
12771 $as_echo_n "(cached) " >&6
12773 cat >conftest.$ac_ext <<_ACEOF
12776 cat confdefs.h >>conftest.$ac_ext
12777 cat >>conftest.$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12783 /* FIXME: Include the comments suggested by Paul. */
12784 #ifndef __cplusplus
12785 /* Ultrix mips cc rejects this. */
12786 typedef int charset[2];
12788 /* SunOS 4.1.1 cc rejects this. */
12789 char const *const *pcpcc;
12791 /* NEC SVR4.0.2 mips cc rejects this. */
12792 struct point {int x, y;};
12793 static struct point const zero = {0,0};
12794 /* AIX XL C 1.02.0.0 rejects this.
12795 It does not let you subtract one const X* pointer from another in
12796 an arm of an if-expression whose if-part is not a constant
12798 const char *g = "string";
12799 pcpcc = &g + (g ? g-g : 0);
12800 /* HPUX 7.0 cc rejects these. */
12802 ppc = (char**) pcpcc;
12803 pcpcc = (char const *const *) ppc;
12804 { /* SCO 3.2v4 cc rejects this. */
12806 char const *s = 0 ? (char *) 0 : (char const *) 0;
12811 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12812 int x[] = {25, 17};
12813 const int *foo = &x[0];
12816 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12817 typedef const int *iptr;
12821 { /* AIX XL C 1.02.0.0 rejects this saying
12822 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12823 struct s { int j; const int *ap[3]; };
12824 struct s *b; b->j = 5;
12826 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12827 const int foo = 10;
12828 if (!foo) return 0;
12830 return !cs[0] && !zero.x;
12837 rm -f conftest.$ac_objext
12838 if { (ac_try="$ac_compile"
12839 case "(($ac_try" in
12840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12841 *) ac_try_echo
=$ac_try;;
12843 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12844 $as_echo "$ac_try_echo") >&5
12845 (eval "$ac_compile") 2>conftest.er1
12847 grep -v '^ *+' conftest.er1
>conftest.err
12849 cat conftest.err
>&5
12850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } && {
12852 test -z "$ac_c_werror_flag" ||
12853 test ! -s conftest.err
12854 } && test -s conftest.
$ac_objext; then
12857 $as_echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.
$ac_ext >&5
12863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12865 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12866 $as_echo "$ac_cv_c_const" >&6; }
12867 if test $ac_cv_c_const = no
; then
12869 cat >>confdefs.h
<<\_ACEOF
12877 ac_config_files
="$ac_config_files Makefile"
12879 cat >confcache
<<\_ACEOF
12880 # This file is a shell script that caches the results of configure
12881 # tests run on this system so they can be shared between configure
12882 # scripts and configure runs, see configure's option --config-cache.
12883 # It is not useful on other systems. If it contains results you don't
12884 # want to keep, you may remove or edit it.
12886 # config.status only pays attention to the cache file if you give it
12887 # the --recheck option to rerun configure.
12889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12891 # following values.
12895 # The following way of writing the cache mishandles newlines in values,
12896 # but we know of no workaround that is simple, portable, and efficient.
12897 # So, we kill variables containing newlines.
12898 # Ultrix sh set writes to stderr and can't be redirected directly,
12899 # and sets the high bit in the cache file unless we assign to the vars.
12901 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12902 eval ac_val
=\$
$ac_var
12906 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12907 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12910 _ | IFS | as_nl
) ;; #(
12911 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12912 *) $as_unset $ac_var ;;
12918 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12919 *${as_nl}ac_space
=\
*)
12920 # `set' does not quote correctly, so add quotes (double-quote
12921 # substitution turns \\\\ into \\, and sed turns \\ into \).
12924 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12927 # `set' quotes correctly as required by POSIX, so do not add quotes.
12928 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12937 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12939 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12941 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12942 if test -w "$cache_file"; then
12943 test "x$cache_file" != "x/dev/null" &&
12944 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12945 $as_echo "$as_me: updating cache $cache_file" >&6;}
12946 cat confcache
>$cache_file
12948 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12949 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12954 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12955 # Let make expand exec_prefix.
12956 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12958 DEFS
=-DHAVE_CONFIG_H
12962 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12963 # 1. Remove the extension, and $U if already installed.
12964 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12965 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12966 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12967 # will be set to the directory where LIBOBJS objects are built.
12968 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12969 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12971 LIBOBJS
=$ac_libobjs
12973 LTLIBOBJS
=$ac_ltlibobjs
12976 if test -n "$EXEEXT"; then
12978 am__EXEEXT_FALSE
='#'
12980 am__EXEEXT_TRUE
='#'
12984 if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then
12985 { { $as_echo "$as_me:$LINENO: error: conditional \"HMACC\" was never defined.
12986 Usually this means the macro was only invoked conditionally." >&5
12987 $as_echo "$as_me: error: conditional \"HMACC\" was never defined.
12988 Usually this means the macro was only invoked conditionally." >&2;}
12989 { (exit 1); exit 1; }; }
12991 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12992 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12993 Usually this means the macro was only invoked conditionally." >&5
12994 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12995 Usually this means the macro was only invoked conditionally." >&2;}
12996 { (exit 1); exit 1; }; }
12998 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12999 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13000 Usually this means the macro was only invoked conditionally." >&5
13001 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13002 Usually this means the macro was only invoked conditionally." >&2;}
13003 { (exit 1); exit 1; }; }
13006 : ${CONFIG_STATUS=./config.status}
13008 ac_clean_files_save
=$ac_clean_files
13009 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13010 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13011 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13012 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13014 # Generated by $as_me.
13015 # Run this file to recreate the current configuration.
13016 # Compiler output produced by configure, useful for debugging
13017 # configure, is in config.log if it exists.
13020 ac_cs_recheck=false
13022 SHELL=\${CONFIG_SHELL-$SHELL}
13025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13026 ## --------------------- ##
13027 ## M4sh Initialization. ##
13028 ## --------------------- ##
13030 # Be more Bourne compatible
13031 DUALCASE
=1; export DUALCASE
# for MKS sh
13032 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13035 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13036 # is contrary to our usage. Disable this feature.
13037 alias -g '${1+"$@"}'='"$@"'
13038 setopt NO_GLOB_SUBST
13040 case `(set -o) 2>/dev/null` in
13041 *posix
*) set -o posix
;;
13050 # Avoid depending upon Character Ranges.
13051 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13052 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13053 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13054 as_cr_digits
='0123456789'
13055 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13060 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13061 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13062 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13063 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13064 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13065 as_echo='printf %s
\n'
13066 as_echo_n='printf %s
'
13068 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13069 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13070 as_echo_n='/usr
/ucb
/echo -n'
13072 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13073 as_echo_n_body='eval
13077 expr "X$arg" : "X\\(.*\\)$as_nl";
13078 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13080 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13082 export as_echo_n_body
13083 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13085 export as_echo_body
13086 as_echo='sh
-c $as_echo_body as_echo
'
13089 # The user is always right.
13090 if test "${PATH_SEPARATOR+set}" != set; then
13092 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13093 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13098 # Support unset when possible.
13099 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13107 # We need space, tab and new line, in precisely that order. Quoting is
13108 # there to prevent editors from complaining about space-tab.
13109 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13110 # splitting by setting IFS to empty value.)
13113 # Find who we are. Look in the path if we contain no directory separator.
13115 *[\\/]* ) as_myself=$0 ;;
13116 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13117 for as_dir in $PATH
13120 test -z "$as_dir" && as_dir=.
13121 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13127 # We did not find ourselves, most probably we were run as `sh COMMAND'
13128 # in which case we are not to be found in the path.
13129 if test "x$as_myself" = x
; then
13132 if test ! -f "$as_myself"; then
13133 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13134 { (exit 1); exit 1; }
13137 # Work around bugs in pre-3.0 UWIN ksh.
13138 for as_var
in ENV MAIL MAILPATH
13139 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13151 # Required to use basename.
13152 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13153 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13159 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13160 as_basename
=basename
13166 # Name of the executable.
13167 as_me
=`$as_basename -- "$0" ||
13168 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13169 X"$0" : 'X\(//\)$' \| \
13170 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13172 sed '/^.*\/\([^/][^/]*\)\/*$/{
13191 as_lineno_1
=$LINENO
13192 as_lineno_2
=$LINENO
13193 test "x$as_lineno_1" != "x$as_lineno_2" &&
13194 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13196 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13197 # uniformly replaced by the line number. The first 'sed' inserts a
13198 # line-number line after each line using $LINENO; the second 'sed'
13199 # does the real work. The second script uses 'N' to pair each
13200 # line-number line with the line containing $LINENO, and appends
13201 # trailing '-' during substitution so that $LINENO is not a special
13202 # case at line end.
13203 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13204 # scripts with optimization help from Paolo Bonzini. Blame Lee
13205 # E. McMahon (1931-1989) for sed's syntax. :-)
13217 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13220 ' >$as_me.lineno
&&
13221 chmod +x
"$as_me.lineno" ||
13222 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13223 { (exit 1); exit 1; }; }
13225 # Don't try to exec as it changes $[0], causing all sort of problems
13226 # (the dirname of $[0] is not the place where we might find the
13227 # original and so on. Autoconf is especially sensitive to this).
13228 .
"./$as_me.lineno"
13229 # Exit status is that of the last command.
13234 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13240 ECHO_C
= ECHO_N
= ECHO_T
=
13241 case `echo -n x` in
13243 case `echo 'x\c'` in
13244 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13250 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13251 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13257 rm -f conf$$ conf$$.exe conf$$.
file
13258 if test -d conf$$.dir
; then
13259 rm -f conf$$.dir
/conf$$.
file
13262 mkdir conf$$.dir
2>/dev
/null
13264 if (echo >conf$$.
file) 2>/dev
/null
; then
13265 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13267 # ... but there are two gotchas:
13268 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13269 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13270 # In both cases, we have to default to `cp -p'.
13271 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13273 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13281 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13282 rmdir conf$$.dir
2>/dev
/null
13284 if mkdir
-p .
2>/dev
/null
; then
13287 test -d .
/-p && rmdir .
/-p
13291 if test -x / >/dev
/null
2>&1; then
13292 as_test_x
='test -x'
13294 if ls -dL / >/dev
/null
2>&1; then
13301 if test -d "$1"; then
13307 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13308 ???[sx]*):;;*)false;;esac;fi
13312 as_executable_p
=$as_test_x
13314 # Sed expression to map a string onto a valid CPP name.
13315 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13317 # Sed expression to map a string onto a valid variable name.
13318 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13323 # Save the log message, to keep $[0] and so on meaningful, and to
13324 # report actual input values of CONFIG_FILES etc. instead of their
13325 # values after options handling.
13327 This file was extended by libmd5 $as_me 1.21, which was
13328 generated by GNU Autoconf 2.63. Invocation command line was
13330 CONFIG_FILES = $CONFIG_FILES
13331 CONFIG_HEADERS = $CONFIG_HEADERS
13332 CONFIG_LINKS = $CONFIG_LINKS
13333 CONFIG_COMMANDS = $CONFIG_COMMANDS
13336 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13341 case $ac_config_files in *"
13342 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13345 case $ac_config_headers in *"
13346 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13351 # Files that config.status was made for.
13352 config_files="$ac_config_files"
13353 config_headers="$ac_config_headers"
13354 config_commands="$ac_config_commands"
13358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13360 \`$as_me' instantiates files from templates according to the
13361 current configuration.
13363 Usage: $0 [OPTION]... [FILE]...
13365 -h, --help print this help, then exit
13366 -V, --version print version number and configuration settings, then exit
13367 -q, --quiet, --silent
13368 do not print progress messages
13369 -d, --debug don't remove temporary files
13370 --recheck update $as_me by reconfiguring in the same conditions
13371 --file=FILE[:TEMPLATE]
13372 instantiate the configuration file FILE
13373 --header=FILE[:TEMPLATE]
13374 instantiate the configuration header FILE
13376 Configuration files:
13379 Configuration headers:
13382 Configuration commands:
13385 Report bugs to <bug-autoconf@gnu.org>."
13388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13390 libmd5 config.status 1.21
13391 configured by $0, generated by GNU Autoconf 2.63,
13392 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13394 Copyright (C) 2008 Free Software Foundation, Inc.
13395 This config.status script is free software; the Free Software Foundation
13396 gives unlimited permission to copy, distribute and modify it."
13403 test -n "\$AWK" || AWK=awk
13406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13407 # The default lists apply if the user does not specify any file.
13413 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13414 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13425 # Handling of the options.
13426 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13428 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13429 $as_echo "$ac_cs_version"; exit ;;
13430 --debug |
--debu |
--deb |
--de |
--d |
-d )
13432 --file |
--fil |
--fi |
--f )
13435 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13437 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13438 ac_need_defaults
=false
;;
13439 --header |
--heade |
--head |
--hea )
13442 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13444 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13445 ac_need_defaults
=false
;;
13447 # Conflict between --help and --header
13448 { $as_echo "$as_me: error: ambiguous option: $1
13449 Try \`$0 --help' for more information." >&2
13450 { (exit 1); exit 1; }; };;
13451 --help |
--hel |
-h )
13452 $as_echo "$ac_cs_usage"; exit ;;
13453 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13454 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13457 # This is an error.
13458 -*) { $as_echo "$as_me: error: unrecognized option: $1
13459 Try \`$0 --help' for more information." >&2
13460 { (exit 1); exit 1; }; } ;;
13462 *) ac_config_targets
="$ac_config_targets $1"
13463 ac_need_defaults
=false
;;
13469 ac_configure_extra_args
=
13471 if $ac_cs_silent; then
13473 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13478 if \$ac_cs_recheck; then
13479 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13481 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13482 CONFIG_SHELL='$SHELL'
13483 export CONFIG_SHELL
13488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13492 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13493 ## Running $as_me. ##
13499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13503 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13506 # The HP-UX ksh and POSIX shell print the target directory to stdout
13507 # if CDPATH is set.
13508 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13510 sed_quote_subst='$sed_quote_subst'
13511 double_quote_subst='$double_quote_subst'
13512 delay_variable_subst='$delay_variable_subst'
13513 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13514 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13515 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13516 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13517 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13518 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13519 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13520 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13521 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13522 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13523 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13524 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13525 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13526 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13527 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13528 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13529 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13530 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13531 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13532 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13533 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13534 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13535 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13536 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13537 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13538 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13539 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13540 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13541 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13542 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13543 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13544 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13545 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13546 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13547 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13548 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13549 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13550 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13551 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13552 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13553 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13554 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13555 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13556 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13557 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"`'
13558 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"`'
13559 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13560 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13561 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13562 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13563 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13564 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13565 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13566 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13567 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13568 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13569 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13570 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13571 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13572 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13573 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13574 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13575 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13576 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13577 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13578 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13579 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13580 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13581 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13582 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13583 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13584 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13585 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13586 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13587 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13588 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13589 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13590 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13591 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13592 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13593 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13594 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13595 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13596 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13597 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13598 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13599 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13600 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13601 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13602 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13603 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13604 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13605 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13606 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13607 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13608 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13609 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13610 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13611 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13612 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13613 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13614 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13615 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13616 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13617 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13618 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13619 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13620 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13621 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13622 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13623 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13624 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13625 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13626 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13627 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13628 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13629 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13630 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13633 LTCFLAGS='$LTCFLAGS'
13634 compiler='$compiler_DEFAULT'
13636 # Quote evaled strings.
13648 deplibs_check_method \
13657 lt_cv_sys_global_symbol_pipe \
13658 lt_cv_sys_global_symbol_to_cdecl \
13659 lt_cv_sys_global_symbol_to_c_name_address \
13660 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13663 lt_prog_compiler_no_builtin_flag \
13664 lt_prog_compiler_wl \
13665 lt_prog_compiler_pic \
13666 lt_prog_compiler_static \
13667 lt_cv_prog_compiler_c_o \
13675 export_dynamic_flag_spec \
13676 whole_archive_flag_spec \
13677 compiler_needs_object \
13679 allow_undefined_flag \
13680 no_undefined_flag \
13681 hardcode_libdir_flag_spec \
13682 hardcode_libdir_flag_spec_ld \
13683 hardcode_libdir_separator \
13688 variables_saved_for_relink \
13690 library_names_spec \
13695 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13696 *[\\\\\\\`\\"\\\$]*)
13697 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13700 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13705 # Double-quote double-evaled strings.
13706 for var in reload_cmds \
13707 old_postinstall_cmds \
13708 old_postuninstall_cmds \
13710 extract_expsyms_cmds \
13711 old_archive_from_new_cmds \
13712 old_archive_from_expsyms_cmds \
13714 archive_expsym_cmds \
13716 module_expsym_cmds \
13717 export_symbols_cmds \
13720 postuninstall_cmds \
13722 sys_lib_search_path_spec \
13723 sys_lib_dlsearch_path_spec; do
13724 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13725 *[\\\\\\\`\\"\\\$]*)
13726 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13729 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13734 # Fix-up fallback echo if it was mangled by the above quoting rules.
13736 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13740 ac_aux_dir='$ac_aux_dir'
13741 xsi_shell='$xsi_shell'
13742 lt_shell_append='$lt_shell_append'
13744 # See if we are running on zsh, and set the options which allow our
13745 # commands through without removal of \ escapes INIT.
13746 if test -n "\${ZSH_VERSION+set}" ; then
13747 setopt NO_GLOB_SUBST
13753 TIMESTAMP='$TIMESTAMP'
13762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13764 # Handling of arguments.
13765 for ac_config_target
in $ac_config_targets
13767 case $ac_config_target in
13768 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13769 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13770 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13771 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13773 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13774 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13775 { (exit 1); exit 1; }; };;
13780 # If the user did not use the arguments to specify the items to instantiate,
13781 # then the envvar interface is used. Set only those that are not.
13782 # We use the long form for the default assignment because of an extremely
13783 # bizarre bug on SunOS 4.1.3.
13784 if $ac_need_defaults; then
13785 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13786 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13787 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13790 # Have a temporary directory for convenience. Make it in the build tree
13791 # simply because there is no reason against having it here, and in addition,
13792 # creating and moving files from /tmp can sometimes cause problems.
13793 # Hook for its removal unless debugging.
13794 # Note that there is a small window in which the directory will not be cleaned:
13795 # after its creation but before its name has been assigned to `$tmp'.
13799 trap 'exit_status=$?
13800 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13802 trap '{ (exit 1); exit 1; }' 1 2 13 15
13804 # Create a (secure) tmp directory for tmp files.
13807 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13808 test -n "$tmp" && test -d "$tmp"
13811 tmp
=.
/conf$$
-$RANDOM
13812 (umask 077 && mkdir
"$tmp")
13815 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13816 { (exit 1); exit 1; }
13819 # Set up the scripts for CONFIG_FILES section.
13820 # No need to generate them if there are no CONFIG_FILES.
13821 # This happens for instance with `./config.status config.h'.
13822 if test -n "$CONFIG_FILES"; then
13826 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13827 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13830 ac_cs_awk_cr
=$ac_cr
13833 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13838 echo "cat >conf$$subs.awk <<_ACEOF" &&
13839 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13841 } >conf$$subs.sh ||
13842 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13843 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13844 { (exit 1); exit 1; }; }
13845 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13847 for ac_last_try in false false false false false :; do
13848 . ./conf$$subs.sh ||
13849 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13850 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13851 { (exit 1); exit 1; }; }
13853 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13854 if test $ac_delim_n = $ac_delim_num; then
13856 elif $ac_last_try; then
13857 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13858 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13859 { (exit 1); exit 1; }; }
13861 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13864 rm -f conf$$subs.sh
13866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13867 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13871 s/^/S["/; s
/!.
*/"]=/
13881 s/\(.\{148\}\).*/\1/
13883 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13888 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13895 s/\(.\{148\}\).*/\1/
13897 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13901 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13906 ' <conf$$subs.awk | sed '
13911 ' >>$CONFIG_STATUS || ac_write_fail=1
13912 rm -f conf$$subs.awk
13913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13915 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13916 for (key in S) S_is_set[key] = 1
13922 nfields = split(line, field, "@
")
13924 len = length(field[1])
13925 for (i = 2; i < nfields; i++) {
13927 keylen = length(key)
13928 if (S_is_set[key]) {
13930 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13931 len += length(value) + length(field[++i])
13942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13943 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13944 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13947 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13948 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13949 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13950 { (exit 1); exit 1; }; }
13953 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13954 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13955 # trailing colons and then remove the whole line if VPATH becomes empty
13956 # (actually we leave an empty line to preserve line numbers).
13957 if test "x
$srcdir" = x.; then
13958 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13959 s/:*\$(srcdir):*/:/
13960 s/:*\${srcdir}:*/:/
13962 s/^\([^=]*=[ ]*\):*/\1/
13968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13969 fi # test -n "$CONFIG_FILES"
13971 # Set up the scripts for CONFIG_HEADERS section.
13972 # No need to generate them if there are no CONFIG_HEADERS.
13973 # This happens for instance with `./config.status Makefile'.
13974 if test -n "$CONFIG_HEADERS"; then
13975 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13979 # Transform confdefs.h into an awk script `defines.awk', embedded as
13980 # here-document in config.status, that substitutes the proper values into
13981 # config.h.in to produce config.h.
13983 # Create a delimiter string that does not exist in confdefs.h, to ease
13984 # handling of long lines.
13986 for ac_last_try in false false :; do
13987 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13988 if test -z "$ac_t"; then
13990 elif $ac_last_try; then
13991 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13992 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13993 { (exit 1); exit 1; }; }
13995 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13999 # For the awk script, D is an array of macro values keyed by name,
14000 # likewise P contains macro parameters if any. Preserve backslash
14001 # newline sequences.
14003 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14005 s/.\{148\}/&'"$ac_delim"'/g
14008 s/^[ ]*#[ ]*define[ ][ ]*/ /
14015 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14017 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14021 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14022 D["\
1"]=" \
3\\\\\\n
"\\/p
14024 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14029 s/.\{148\}/&'"$ac_delim"'/g
14034 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14037 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14039 ' <confdefs.h | sed '
14040 s/'"$ac_delim"'/"\\\
14041 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14044 for (key in D) D_is_set[key] = 1
14047 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14049 split(line, arg, " ")
14050 if (arg[1] == "#") {
14054 defundef
= substr
(arg
[1], 2)
14057 split(mac1
, mac2
, "(") #)
14059 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14060 if (D_is_set
[macro
]) {
14061 # Preserve the white space surrounding the "#".
14062 print prefix
"define", macro P
[macro
] D
[macro
]
14065 # Replace #undef with comments. This is necessary, for example,
14066 # in the case of _POSIX_SOURCE, which is predefined and required
14067 # on some systems where configure will not decide to define it.
14068 if (defundef
== "undef") {
14069 print
"/*", prefix defundef
, macro
, "*/"
14077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14078 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14079 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14080 { (exit 1); exit 1; }; }
14081 fi # test -n "$CONFIG_HEADERS"
14084 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14089 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14091 case $ac_mode$ac_tag in
14093 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14094 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14095 { (exit 1); exit 1; }; };;
14096 :[FH
]-) ac_tag
=-:-;;
14097 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14114 -) ac_f
="$tmp/stdin";;
14115 *) # Look for the file first in the build tree, then in the source tree
14116 # (if the path is not absolute). The absolute path cannot be DOS-style,
14117 # because $ac_f cannot contain `:'.
14121 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14123 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14124 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14125 { (exit 1); exit 1; }; };;
14127 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14128 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14131 # Let's still pretend it is `configure' which instantiates (i.e., don't
14132 # use $as_me), people would be surprised to read:
14133 # /* config.h. Generated by config.status. */
14134 configure_input
='Generated from '`
14135 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14137 if test x
"$ac_file" != x-
; then
14138 configure_input
="$ac_file. $configure_input"
14139 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14140 $as_echo "$as_me: creating $ac_file" >&6;}
14142 # Neutralize special characters interpreted by sed in replacement strings.
14143 case $configure_input in #(
14144 *\
&* |
*\|
* |
*\\* )
14145 ac_sed_conf_input
=`$as_echo "$configure_input" |
14146 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14147 *) ac_sed_conf_input
=$configure_input;;
14151 *:-:* |
*:-) cat >"$tmp/stdin" \
14152 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14153 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14154 { (exit 1); exit 1; }; } ;;
14159 ac_dir
=`$as_dirname -- "$ac_file" ||
14160 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14161 X"$ac_file" : 'X\(//\)[^/]' \| \
14162 X"$ac_file" : 'X\(//\)$' \| \
14163 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14164 $as_echo X"$ac_file" |
14165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14169 /^X\(\/\/\)[^/].*/{
14184 -*) as_dir
=.
/$as_dir;;
14186 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14190 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14191 *) as_qdir
=$as_dir;;
14193 as_dirs
="'$as_qdir' $as_dirs"
14194 as_dir
=`$as_dirname -- "$as_dir" ||
14195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14196 X"$as_dir" : 'X\(//\)[^/]' \| \
14197 X"$as_dir" : 'X\(//\)$' \| \
14198 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14199 $as_echo X"$as_dir" |
14200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14204 /^X\(\/\/\)[^/].*/{
14217 test -d "$as_dir" && break
14219 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14220 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14221 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14222 { (exit 1); exit 1; }; }; }
14226 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14228 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14229 # A ".." for each directory in $ac_dir_suffix.
14230 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14231 case $ac_top_builddir_sub in
14232 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14233 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14236 ac_abs_top_builddir
=$ac_pwd
14237 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14238 # for backward compatibility:
14239 ac_top_builddir
=$ac_top_build_prefix
14242 .
) # We are building in place.
14244 ac_top_srcdir
=$ac_top_builddir_sub
14245 ac_abs_top_srcdir
=$ac_pwd ;;
14246 [\\/]* | ?
:[\\/]* ) # Absolute name.
14247 ac_srcdir
=$srcdir$ac_dir_suffix;
14248 ac_top_srcdir
=$srcdir
14249 ac_abs_top_srcdir
=$srcdir ;;
14250 *) # Relative name.
14251 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14252 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14253 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14255 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14265 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14266 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14268 ac_MKDIR_P
=$MKDIR_P
14270 [\\/$
]* | ?
:[\\/]* ) ;;
14271 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14276 # If the template does not know about datarootdir, expand it.
14277 # FIXME: This hack should be removed a few years after 2.60.
14278 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14291 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14292 *datarootdir
*) ac_datarootdir_seen
=yes;;
14293 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14294 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14295 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14298 ac_datarootdir_hack='
14299 s&@datadir@&$datadir&g
14300 s&@docdir@&$docdir&g
14301 s&@infodir@&$infodir&g
14302 s&@localedir@&$localedir&g
14303 s&@mandir@&$mandir&g
14304 s&\\\${datarootdir}&$datarootdir&g' ;;
14308 # Neutralize VPATH when `$srcdir' = `.'.
14309 # Shell code in configure.ac might set extrasub.
14310 # FIXME: do we really want to maintain this feature?
14311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14312 ac_sed_extra="$ac_vpsub
14315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14317 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14318 s|@configure_input@|
$ac_sed_conf_input|
;t t
14319 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14320 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14321 s
&@srcdir@
&$ac_srcdir&;t t
14322 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14323 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14324 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14325 s
&@builddir@
&$ac_builddir&;t t
14326 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14327 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14328 s
&@INSTALL@
&$ac_INSTALL&;t t
14329 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14330 $ac_datarootdir_hack
14332 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14333 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14334 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14335 { (exit 1); exit 1; }; }
14337 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14338 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14339 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14340 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14341 which seems to be undefined. Please make sure it is defined." >&5
14342 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14343 which seems to be undefined. Please make sure it is defined." >&2;}
14347 -) cat "$tmp/out" && rm -f "$tmp/out";;
14348 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14350 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14351 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14352 { (exit 1); exit 1; }; }
14358 if test x"$ac_file" != x-; then
14360 $as_echo "/* $configure_input */" \
14361 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14362 } >"$tmp/config.h" \
14363 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14364 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14365 { (exit 1); exit 1; }; }
14366 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14367 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14368 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14371 mv "$tmp/config.h" "$ac_file" \
14372 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14373 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14374 { (exit 1); exit 1; }; }
14377 $as_echo "/* $configure_input */" \
14378 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14379 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14380 $as_echo "$as_me: error: could not create -" >&2;}
14381 { (exit 1); exit 1; }; }
14383 # Compute "$ac_file"'s index
in $config_headers.
14386 for _am_header
in $config_headers :; do
14387 case $_am_header in
14388 $_am_arg |
$_am_arg:* )
14391 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14394 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14395 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14396 X"$_am_arg" : 'X\(//\)[^/]' \| \
14397 X"$_am_arg" : 'X\(//\)$' \| \
14398 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14399 $as_echo X"$_am_arg" |
14400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14404 /^X\(\/\/\)[^/].*/{
14416 s/.*/./; q'`/stamp-h
$_am_stamp_count
14419 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14420 $as_echo "$as_me: executing $ac_file commands" >&6;}
14425 case $ac_file$ac_mode in
14426 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14427 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14428 # are listed without --file. Let's play safe and only enable the eval
14429 # if we detect the quoting.
14430 case $CONFIG_FILES in
14431 *\'*) eval set x
"$CONFIG_FILES" ;;
14432 *) set x
$CONFIG_FILES ;;
14437 # Strip MF so we end up with the name of the file.
14438 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14439 # Check whether this is an Automake generated Makefile or not.
14440 # We used to match only the files named `Makefile.in', but
14441 # some people rename them; so instead we look at the file content.
14442 # Grep'ing the first line is not enough: some people post-process
14443 # each Makefile.in and add a new line on top of each file to say so.
14444 # Grep'ing the whole file is not good either: AIX grep has a line
14445 # limit of 2048, but all sed's we know have understand at least 4000.
14446 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14447 dirpart
=`$as_dirname -- "$mf" ||
14448 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14449 X"$mf" : 'X\(//\)[^/]' \| \
14450 X"$mf" : 'X\(//\)$' \| \
14451 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14457 /^X\(\/\/\)[^/].*/{
14473 # Extract the definition of DEPDIR, am__include, and am__quote
14474 # from the Makefile without running `make'.
14475 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14476 test -z "$DEPDIR" && continue
14477 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14478 test -z "am__include" && continue
14479 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14480 # When using ansi2knr, U may be empty or an underscore; expand it
14481 U
=`sed -n 's/^U = //p' < "$mf"`
14482 # Find all dependency output files, they are included files with
14483 # $(DEPDIR) in their names. We invoke sed twice because it is the
14484 # simplest approach to changing $(DEPDIR) to its actual value in the
14486 for file in `sed -n "
14487 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14488 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14489 # Make sure the directory exists.
14490 test -f "$dirpart/$file" && continue
14491 fdir
=`$as_dirname -- "$file" ||
14492 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14493 X"$file" : 'X\(//\)[^/]' \| \
14494 X"$file" : 'X\(//\)$' \| \
14495 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14496 $as_echo X"$file" |
14497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14501 /^X\(\/\/\)[^/].*/{
14514 { as_dir
=$dirpart/$fdir
14516 -*) as_dir
=.
/$as_dir;;
14518 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14522 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14523 *) as_qdir
=$as_dir;;
14525 as_dirs
="'$as_qdir' $as_dirs"
14526 as_dir
=`$as_dirname -- "$as_dir" ||
14527 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14528 X"$as_dir" : 'X\(//\)[^/]' \| \
14529 X"$as_dir" : 'X\(//\)$' \| \
14530 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14531 $as_echo X"$as_dir" |
14532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14536 /^X\(\/\/\)[^/].*/{
14549 test -d "$as_dir" && break
14551 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14552 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14553 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14554 { (exit 1); exit 1; }; }; }
14555 # echo "creating $dirpart/$file"
14556 echo '# dummy' > "$dirpart/$file"
14563 # See if we are running on zsh, and set the options which allow our
14564 # commands through without removal of \ escapes.
14565 if test -n "${ZSH_VERSION+set}" ; then
14566 setopt NO_GLOB_SUBST
14569 cfgfile
="${ofile}T"
14570 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14573 cat <<_LT_EOF >> "$cfgfile"
14576 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14577 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14578 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14579 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14581 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14582 # 2006, 2007, 2008 Free Software Foundation, Inc.
14583 # Written by Gordon Matzigkeit, 1996
14585 # This file is part of GNU Libtool.
14587 # GNU Libtool is free software; you can redistribute it and/or
14588 # modify it under the terms of the GNU General Public License as
14589 # published by the Free Software Foundation; either version 2 of
14590 # the License, or (at your option) any later version.
14592 # As a special exception to the GNU General Public License,
14593 # if you distribute this file as part of a program or library that
14594 # is built using GNU Libtool, you may include this file under the
14595 # same distribution terms that you use for the rest of that program.
14597 # GNU Libtool is distributed in the hope that it will be useful,
14598 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14599 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14600 # GNU General Public License for more details.
14602 # You should have received a copy of the GNU General Public License
14603 # along with GNU Libtool; see the file COPYING. If not, a copy
14604 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14605 # obtained by writing to the Free Software Foundation, Inc.,
14606 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14609 # The names of the tagged configurations supported by this script.
14612 # ### BEGIN LIBTOOL CONFIG
14614 # Which release of libtool.m4 was used?
14615 macro_version=$macro_version
14616 macro_revision=$macro_revision
14618 # Whether or not to build shared libraries.
14619 build_libtool_libs=$enable_shared
14621 # Whether or not to build static libraries.
14622 build_old_libs=$enable_static
14624 # What type of objects to build.
14627 # Whether or not to optimize for fast installation.
14628 fast_install=$enable_fast_install
14631 host_alias=$host_alias
14635 # The build system.
14636 build_alias=$build_alias
14640 # A sed program that does not truncate output.
14643 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14644 Xsed="\$SED -e 1s/^X//"
14646 # A grep program that handles long lines.
14652 # A literal string matcher.
14655 # A BSD- or MS-compatible name lister.
14658 # Whether we need soft or hard links.
14661 # What is the maximum length of a command?
14662 max_cmd_len=$max_cmd_len
14664 # Object file suffix (normally "o").
14667 # Executable file suffix (normally "").
14670 # whether the shell understands "unset".
14673 # turn spaces into newlines.
14676 # turn newlines into spaces.
14679 # How to create reloadable object files.
14680 reload_flag=$lt_reload_flag
14681 reload_cmds=$lt_reload_cmds
14683 # An object symbol dumper.
14684 OBJDUMP=$lt_OBJDUMP
14686 # Method to check whether dependent libraries are shared objects.
14687 deplibs_check_method=$lt_deplibs_check_method
14689 # Command to use when deplibs_check_method == "file_magic".
14690 file_magic_cmd=$lt_file_magic_cmd
14694 AR_FLAGS=$lt_AR_FLAGS
14696 # A symbol stripping program.
14699 # Commands used to install an old-style archive.
14701 old_postinstall_cmds=$lt_old_postinstall_cmds
14702 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14707 # LTCC compiler flags.
14708 LTCFLAGS=$lt_CFLAGS
14710 # Take the output of nm and produce a listing of raw symbols and C names.
14711 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14713 # Transform the output of nm in a proper C declaration.
14714 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14716 # Transform the output of nm in a C name address pair.
14717 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14719 # Transform the output of nm in a C name address pair when lib prefix is needed.
14720 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14722 # The name of the directory that contains temporary libtool files.
14725 # Shell to use when invoking shell scripts.
14728 # An echo program that does not interpret backslashes.
14731 # Used to examine libraries when file_magic_cmd begins with "file".
14732 MAGIC_CMD=$MAGIC_CMD
14734 # Must we lock files when doing compilation?
14735 need_locks=$lt_need_locks
14737 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14738 DSYMUTIL=$lt_DSYMUTIL
14740 # Tool to change global to local symbols on Mac OS X.
14743 # Tool to manipulate fat objects and archives on Mac OS X.
14746 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14749 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14750 OTOOL64=$lt_OTOOL64
14752 # Old archive suffix (normally "a").
14755 # Shared library suffix (normally ".so").
14756 shrext_cmds=$lt_shrext_cmds
14758 # The commands to extract the exported symbol list from a shared archive.
14759 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14761 # Variables whose values should be saved in libtool wrapper scripts and
14762 # restored at link time.
14763 variables_saved_for_relink=$lt_variables_saved_for_relink
14765 # Do we need the "lib" prefix for modules?
14766 need_lib_prefix=$need_lib_prefix
14768 # Do we need a version for libraries?
14769 need_version=$need_version
14771 # Library versioning type.
14772 version_type=$version_type
14774 # Shared library runtime path variable.
14775 runpath_var=$runpath_var
14777 # Shared library path variable.
14778 shlibpath_var=$shlibpath_var
14780 # Is shlibpath searched before the hard-coded library search path?
14781 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14783 # Format of library name prefix.
14784 libname_spec=$lt_libname_spec
14786 # List of archive names. First name is the real one, the rest are links.
14787 # The last name is the one that the linker finds with -lNAME
14788 library_names_spec=$lt_library_names_spec
14790 # The coded name of the library, if different from the real name.
14791 soname_spec=$lt_soname_spec
14793 # Command to use after installation of a shared archive.
14794 postinstall_cmds=$lt_postinstall_cmds
14796 # Command to use after uninstallation of a shared archive.
14797 postuninstall_cmds=$lt_postuninstall_cmds
14799 # Commands used to finish a libtool library installation in a directory.
14800 finish_cmds=$lt_finish_cmds
14802 # As "finish_cmds", except a single script fragment to be evaled but
14804 finish_eval=$lt_finish_eval
14806 # Whether we should hardcode library paths into libraries.
14807 hardcode_into_libs=$hardcode_into_libs
14809 # Compile-time system search path for libraries.
14810 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14812 # Run-time system search path for libraries.
14813 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14815 # Whether dlopen is supported.
14816 dlopen_support=$enable_dlopen
14818 # Whether dlopen of programs is supported.
14819 dlopen_self=$enable_dlopen_self
14821 # Whether dlopen of statically linked programs is supported.
14822 dlopen_self_static=$enable_dlopen_self_static
14824 # Commands to strip libraries.
14825 old_striplib=$lt_old_striplib
14826 striplib=$lt_striplib
14829 # The linker used to build libraries.
14832 # Commands used to build an old-style archive.
14833 old_archive_cmds=$lt_old_archive_cmds
14835 # A language specific compiler.
14838 # Is the compiler the GNU compiler?
14841 # Compiler flag to turn off builtin functions.
14842 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14844 # How to pass a linker flag through the compiler.
14845 wl=$lt_lt_prog_compiler_wl
14847 # Additional compiler flags for building library objects.
14848 pic_flag=$lt_lt_prog_compiler_pic
14850 # Compiler flag to prevent dynamic linking.
14851 link_static_flag=$lt_lt_prog_compiler_static
14853 # Does compiler simultaneously support -c and -o options?
14854 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14856 # Whether or not to add -lc for building shared libraries.
14857 build_libtool_need_lc=$archive_cmds_need_lc
14859 # Whether or not to disallow shared libs when runtime libs are static.
14860 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14862 # Compiler flag to allow reflexive dlopens.
14863 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14865 # Compiler flag to generate shared objects directly from archives.
14866 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14868 # Whether the compiler copes with passing no objects directly.
14869 compiler_needs_object=$lt_compiler_needs_object
14871 # Create an old-style archive from a shared archive.
14872 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14874 # Create a temporary old-style archive to link instead of a shared archive.
14875 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14877 # Commands used to build a shared archive.
14878 archive_cmds=$lt_archive_cmds
14879 archive_expsym_cmds=$lt_archive_expsym_cmds
14881 # Commands used to build a loadable module if different from building
14882 # a shared archive.
14883 module_cmds=$lt_module_cmds
14884 module_expsym_cmds=$lt_module_expsym_cmds
14886 # Whether we are building with GNU ld or not.
14887 with_gnu_ld=$lt_with_gnu_ld
14889 # Flag that allows shared libraries with undefined symbols to be built.
14890 allow_undefined_flag=$lt_allow_undefined_flag
14892 # Flag that enforces no undefined symbols.
14893 no_undefined_flag=$lt_no_undefined_flag
14895 # Flag to hardcode \$libdir into a binary during linking.
14896 # This must work even if \$libdir does not exist
14897 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14899 # If ld is used when linking, flag to hardcode \$libdir into a binary
14900 # during linking. This must work even if \$libdir does not exist.
14901 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14903 # Whether we need a single "-rpath" flag with a separated argument.
14904 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14906 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14907 # DIR into the resulting binary.
14908 hardcode_direct=$hardcode_direct
14910 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14911 # DIR into the resulting binary and the resulting library dependency is
14912 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14913 # library is relocated.
14914 hardcode_direct_absolute=$hardcode_direct_absolute
14916 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14917 # into the resulting binary.
14918 hardcode_minus_L=$hardcode_minus_L
14920 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14921 # into the resulting binary.
14922 hardcode_shlibpath_var=$hardcode_shlibpath_var
14924 # Set to "yes" if building a shared library automatically hardcodes DIR
14925 # into the library and all subsequent libraries and executables linked
14927 hardcode_automatic=$hardcode_automatic
14929 # Set to yes if linker adds runtime paths of dependent libraries
14930 # to runtime path list.
14931 inherit_rpath=$inherit_rpath
14933 # Whether libtool must link a program against all its dependency libraries.
14934 link_all_deplibs=$link_all_deplibs
14936 # Fix the shell variable \$srcfile for the compiler.
14937 fix_srcfile_path=$lt_fix_srcfile_path
14939 # Set to "yes" if exported symbols are required.
14940 always_export_symbols=$always_export_symbols
14942 # The commands to list exported symbols.
14943 export_symbols_cmds=$lt_export_symbols_cmds
14945 # Symbols that should not be listed in the preloaded symbols.
14946 exclude_expsyms=$lt_exclude_expsyms
14948 # Symbols that must always be exported.
14949 include_expsyms=$lt_include_expsyms
14951 # Commands necessary for linking programs (against libraries) with templates.
14952 prelink_cmds=$lt_prelink_cmds
14954 # Specify filename containing input files.
14955 file_list_spec=$lt_file_list_spec
14957 # How to hardcode a shared library path into an executable.
14958 hardcode_action=$hardcode_action
14960 # ### END LIBTOOL CONFIG
14966 cat <<\_LT_EOF
>> "$cfgfile"
14967 # AIX sometimes has problems with the GCC collect2 program. For some
14968 # reason, if we set the COLLECT_NAMES environment variable, the problems
14969 # vanish in a puff of smoke.
14970 if test "X${COLLECT_NAMES+set}" != Xset
; then
14972 export COLLECT_NAMES
14979 ltmain
="$ac_aux_dir/ltmain.sh"
14982 # We use sed instead of cat because bash on DJGPP gets confused if
14983 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14984 # text mode, it properly converts lines to CR/LF. This bash problem
14985 # is reportedly fixed, but why not run on old versions too?
14986 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14987 ||
(rm -f "$cfgfile"; exit 1)
14991 cat << \_LT_EOF
>> "$cfgfile"
14993 # func_dirname file append nondir_replacement
14994 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14995 # otherwise set result to NONDIR_REPLACEMENT.
14999 */*) func_dirname_result
="${1%/*}${2}" ;;
15000 * ) func_dirname_result
="${3}" ;;
15004 # func_basename file
15007 func_basename_result
="${1##*/}"
15010 # func_dirname_and_basename file append nondir_replacement
15011 # perform func_basename and func_dirname in a single function
15013 # dirname: Compute the dirname of FILE. If nonempty,
15014 # add APPEND to the result, otherwise set result
15015 # to NONDIR_REPLACEMENT.
15016 # value returned in "$func_dirname_result"
15017 # basename: Compute filename of FILE.
15018 # value retuned in "$func_basename_result"
15019 # Implementation must be kept synchronized with func_dirname
15020 # and func_basename. For efficiency, we do not delegate to
15021 # those functions but instead duplicate the functionality here.
15022 func_dirname_and_basename
()
15025 */*) func_dirname_result
="${1%/*}${2}" ;;
15026 * ) func_dirname_result
="${3}" ;;
15028 func_basename_result
="${1##*/}"
15031 # func_stripname prefix suffix name
15032 # strip PREFIX and SUFFIX off of NAME.
15033 # PREFIX and SUFFIX must not contain globbing or regex special
15034 # characters, hashes, percent signs, but SUFFIX may contain a leading
15035 # dot (in which case that matches only a dot).
15038 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15039 # positional parameters, so assign one to ordinary parameter first.
15040 func_stripname_result
=${3}
15041 func_stripname_result
=${func_stripname_result#"${1}"}
15042 func_stripname_result
=${func_stripname_result%"${2}"}
15048 func_opt_split_opt
=${1%%=*}
15049 func_opt_split_arg
=${1#*=}
15056 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15057 *) func_lo2o_result
=${1} ;;
15061 # func_xform libobj-or-source
15064 func_xform_result
=${1%.*}.lo
15067 # func_arith arithmetic-term...
15070 func_arith_result
=$
(( $
* ))
15074 # STRING may not start with a hyphen.
15077 func_len_result
=${#1}
15082 *) # Bourne compatible functions.
15083 cat << \_LT_EOF
>> "$cfgfile"
15085 # func_dirname file append nondir_replacement
15086 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15087 # otherwise set result to NONDIR_REPLACEMENT.
15090 # Extract subdirectory from the argument.
15091 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15092 if test "X$func_dirname_result" = "X${1}"; then
15093 func_dirname_result
="${3}"
15095 func_dirname_result
="$func_dirname_result${2}"
15099 # func_basename file
15102 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15106 # func_stripname prefix suffix name
15107 # strip PREFIX and SUFFIX off of NAME.
15108 # PREFIX and SUFFIX must not contain globbing or regex special
15109 # characters, hashes, percent signs, but SUFFIX may contain a leading
15110 # dot (in which case that matches only a dot).
15111 # func_strip_suffix prefix name
15115 .
*) func_stripname_result
=`$ECHO "X${3}" \
15116 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15117 *) func_stripname_result
=`$ECHO "X${3}" \
15118 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15123 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15124 my_sed_long_arg
='1s/^-[^=]*=//'
15129 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15130 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15136 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15139 # func_xform libobj-or-source
15142 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15145 # func_arith arithmetic-term...
15148 func_arith_result
=`expr "$@"`
15152 # STRING may not start with a hyphen.
15155 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15161 case $lt_shell_append in
15163 cat << \_LT_EOF
>> "$cfgfile"
15165 # func_append var value
15166 # Append VALUE to the end of shell variable VAR.
15174 cat << \_LT_EOF
>> "$cfgfile"
15176 # func_append var value
15177 # Append VALUE to the end of shell variable VAR.
15188 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15189 ||
(rm -f "$cfgfile"; exit 1)
15191 mv -f "$cfgfile" "$ofile" ||
15192 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15201 { (exit 0); exit 0; }
15203 chmod +x
$CONFIG_STATUS
15204 ac_clean_files
=$ac_clean_files_save
15206 test $ac_write_fail = 0 ||
15207 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15208 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15209 { (exit 1); exit 1; }; }
15212 # configure is writing to config.log, and then calls config.status.
15213 # config.status does its own redirection, appending to config.log.
15214 # Unfortunately, on DOS this fails, as config.log is still kept open
15215 # by configure, so config.status won't be able to write to it; its
15216 # output is simply discarded. So we exec the FD to /dev/null,
15217 # effectively closing config.log, so it can be properly (re)opened and
15218 # appended to by config.status. When coming back to configure, we
15219 # need to make the FD available again.
15220 if test "$no_create" != yes; then
15222 ac_config_status_args
=
15223 test "$silent" = yes &&
15224 ac_config_status_args
="$ac_config_status_args --quiet"
15226 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15228 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15229 # would make configure fail if this is the last instruction.
15230 $ac_cs_success ||
{ (exit 1); exit 1; }
15232 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15233 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15234 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}