2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for courierlogger 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 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
='courierlogger'
747 PACKAGE_TARNAME
='courierlogger'
748 PACKAGE_VERSION
='0.10'
749 PACKAGE_STRING
='courierlogger 0.10'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="logger.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 courierlogger 0.10 to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/courierlogger]
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 courierlogger 0.10:";;
1547 --disable-option-checking ignore unrecognized
--enable/--with options
1548 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1549 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1550 --disable-dependency-tracking speeds up one-time build
1551 --enable-dependency-tracking do not reject slow dependency extractors
1552 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1553 --enable-static[=PKGS
] build static libraries
[default
=yes]
1554 --enable-fast-install[=PKGS
]
1555 optimize
for fast installation
[default
=yes]
1556 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1559 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1560 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1561 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1563 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1564 --with-syslog=XXX syslog facility
[MAIL
]
1566 Some influential environment variables
:
1567 CC C compiler
command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1570 nonstandard directory
<lib dir
>
1571 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1572 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1573 you have headers
in a nonstandard directory
<include dir
>
1576 Use these variables to override the choices made by
`configure' or to help
1577 it to find libraries and programs with nonstandard names/locations.
1579 Report bugs to <courier-users@lists.sourceforge.net>.
1584 if test "$ac_init_help" = "recursive"; then
1585 # If there are subdirs, report their specific --help.
1586 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1587 test -d "$ac_dir" ||
1588 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1593 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1596 # A ".." for each directory in $ac_dir_suffix.
1597 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1598 case $ac_top_builddir_sub in
1599 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1603 ac_abs_top_builddir=$ac_pwd
1604 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1605 # for backward compatibility:
1606 ac_top_builddir=$ac_top_build_prefix
1609 .) # We are building in place.
1611 ac_top_srcdir=$ac_top_builddir_sub
1612 ac_abs_top_srcdir=$ac_pwd ;;
1613 [\\/]* | ?:[\\/]* ) # Absolute name.
1614 ac_srcdir=$srcdir$ac_dir_suffix;
1615 ac_top_srcdir=$srcdir
1616 ac_abs_top_srcdir=$srcdir ;;
1618 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1619 ac_top_srcdir=$ac_top_build_prefix$srcdir
1620 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1622 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1624 cd "$ac_dir" || { ac_status=$?; continue; }
1625 # Check for guested configure.
1626 if test -f "$ac_srcdir/configure.gnu"; then
1628 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1629 elif test -f "$ac_srcdir/configure"; then
1631 $SHELL "$ac_srcdir/configure" --help=recursive
1633 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1635 cd "$ac_pwd" || { ac_status=$?; break; }
1639 test -n "$ac_init_help" && exit $ac_status
1640 if $ac_init_version; then
1642 courierlogger configure 0.10
1643 generated by GNU Autoconf 2.63
1645 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1646 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1647 This configure script is free software; the Free Software Foundation
1648 gives unlimited permission to copy, distribute and modify it.
1652 cat >config.log <<_ACEOF
1653 This file contains any messages produced by compilers while
1654 running configure, to aid debugging if configure makes a mistake.
1656 It was created by courierlogger $as_me 0.10, which was
1657 generated by GNU Autoconf 2.63. Invocation command line was
1669 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1670 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1671 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1672 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1673 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1675 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1676 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1678 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1679 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1680 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1681 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1682 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1683 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1684 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 $as_echo "PATH: $as_dir"
1709 # Keep a trace of the command line.
1710 # Strip out --no-create and --no-recursion so they do not pile up.
1711 # Strip out --silent because we don't want to record it for future runs.
1712 # Also quote any args containing shell meta-characters.
1713 # Make two passes to allow for proper duplicate-argument suppression.
1717 ac_must_keep_next=false
1723 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1725 | -silent | --silent | --silen | --sile | --sil)
1728 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1731 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1733 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1734 if test $ac_must_keep_next = true; then
1735 ac_must_keep_next=false # Got value, back to normal.
1738 *=* | --config-cache | -C | -disable-* | --disable-* \
1739 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1740 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1741 | -with-* | --with-* | -without-* | --without-* | --x)
1742 case "$ac_configure_args0 " in
1743 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1746 -* ) ac_must_keep_next=true ;;
1749 ac_configure_args="$ac_configure_args '$ac_arg'"
1754 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1755 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1757 # When interrupted or exit'd, cleanup temporary files, and complete
1758 # config.log. We remove comments because anyway the quotes in there
1759 # would cause problems or look ugly.
1760 # WARNING: Use '\'' to represent an apostrophe within the trap.
1761 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1762 trap 'exit_status=$?
1763 # Save into config.log some information that might help in debugging.
1768 ## ---------------- ##
1769 ## Cache variables. ##
1770 ## ---------------- ##
1773 # The following way of writing the cache mishandles newlines in values,
1775 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1776 eval ac_val=\$$ac_var
1780 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1781 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1784 _ | IFS | as_nl) ;; #(
1785 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1786 *) $as_unset $ac_var ;;
1791 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1792 *${as_nl}ac_space=\ *)
1794 "s/'\''/'\''\\\\'\'''\''/g;
1795 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1806 ## ----------------- ##
1807 ## Output variables. ##
1808 ## ----------------- ##
1811 for ac_var in $ac_subst_vars
1813 eval ac_val=\$$ac_var
1815 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1817 $as_echo "$ac_var='\''$ac_val'\''"
1821 if test -n "$ac_subst_files"; then
1823 ## ------------------- ##
1824 ## File substitutions. ##
1825 ## ------------------- ##
1828 for ac_var in $ac_subst_files
1830 eval ac_val=\$$ac_var
1832 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1834 $as_echo "$ac_var='\''$ac_val'\''"
1839 if test -s confdefs.h; then
1849 test "$ac_signal" != 0 &&
1850 $as_echo "$as_me: caught signal $ac_signal"
1851 $as_echo "$as_me: exit $exit_status"
1853 rm -f core *.core core.conftest.* &&
1854 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1857 for ac_signal in 1 2 13 15; do
1858 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1862 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1863 rm -f -r conftest* confdefs.h
1865 # Predefined preprocessor variables.
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_NAME "$PACKAGE_NAME"
1872 cat >>confdefs.h <<_ACEOF
1873 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1882 cat >>confdefs.h <<_ACEOF
1883 #define PACKAGE_STRING "$PACKAGE_STRING"
1887 cat >>confdefs.h <<_ACEOF
1888 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1892 # Let the site file select an alternate cache file if it wants to.
1893 # Prefer an explicitly selected file to automatically selected ones.
1896 if test -n "$CONFIG_SITE"; then
1897 ac_site_file1=$CONFIG_SITE
1898 elif test "x$prefix" != xNONE; then
1899 ac_site_file1=$prefix/share/config.site
1900 ac_site_file2=$prefix/etc/config.site
1902 ac_site_file1=$ac_default_prefix/share/config.site
1903 ac_site_file2=$ac_default_prefix/etc/config.site
1905 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1907 test "x$ac_site_file" = xNONE && continue
1908 if test -r "$ac_site_file"; then
1909 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1910 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1911 sed 's/^/| /' "$ac_site_file" >&5
1916 if test -r "$cache_file"; then
1917 # Some versions of bash will fail to source /dev/null (special
1918 # files actually), so we avoid doing that.
1919 if test -f "$cache_file"; then
1920 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1921 $as_echo "$as_me: loading cache $cache_file" >&6;}
1923 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1924 *) . "./$cache_file";;
1928 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1929 $as_echo "$as_me: creating cache $cache_file" >&6;}
1933 # Check that the precious variables saved in the cache have kept the same
1935 ac_cache_corrupted=false
1936 for ac_var in $ac_precious_vars; do
1937 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1938 eval ac_new_set=\$ac_env_${ac_var}_set
1939 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1940 eval ac_new_val=\$ac_env_${ac_var}_value
1941 case $ac_old_set,$ac_new_set in
1943 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1944 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1945 ac_cache_corrupted=: ;;
1947 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1948 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1949 ac_cache_corrupted=: ;;
1952 if test "x$ac_old_val" != "x$ac_new_val"; then
1953 # differences in whitespace do not lead to failure.
1954 ac_old_val_w=`echo x
$ac_old_val`
1955 ac_new_val_w=`echo x
$ac_new_val`
1956 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1957 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1958 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1959 ac_cache_corrupted=:
1961 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1962 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1963 eval $ac_var=\$ac_old_val
1965 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1966 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1967 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1968 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1971 # Pass precious variables to config.status.
1972 if test "$ac_new_set" = set; then
1974 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1975 *) ac_arg=$ac_var=$ac_new_val ;;
1977 case " $ac_configure_args " in
1978 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1979 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1983 if $ac_cache_corrupted; then
1984 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1986 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1987 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1988 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1989 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1990 { (exit 1); exit 1; }; }
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2025 >confdefs.h # Kill PACKAGE_ macros.
2026 LPATH="$PATH:/usr
/local
/bin
"
2028 am__api_version='1.11'
2031 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2032 if test -f "$ac_dir/install-sh
"; then
2034 ac_install_sh="$ac_aux_dir/install-sh
-c"
2036 elif test -f "$ac_dir/install.sh
"; then
2038 ac_install_sh="$ac_aux_dir/install.sh
-c"
2040 elif test -f "$ac_dir/shtool
"; then
2042 ac_install_sh="$ac_aux_dir/shtool
install -c"
2046 if test -z "$ac_aux_dir"; then
2047 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2048 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2049 { (exit 1); exit 1; }; }
2052 # These three variables are undocumented and unsupported,
2053 # and are intended to be withdrawn in a future Autoconf release.
2054 # They can cause serious problems if a builder's source tree is in a directory
2055 # whose full name contains unusual characters.
2056 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2057 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2058 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2061 # Find a good install program. We prefer a C program (faster),
2062 # so one script is as good as another. But avoid the broken or
2063 # incompatible versions:
2064 # SysV /etc/install, /usr/sbin/install
2065 # SunOS /usr/etc/install
2066 # IRIX /sbin/install
2068 # AmigaOS /C/install, which installs bootblocks on floppy discs
2069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2072 # OS/2's system install, which has a completely different semantic
2073 # ./install, which can be erroneously created by make from ./install.sh.
2074 # Reject install programs that cannot install multiple files.
2075 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2076 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2077 if test -z "$INSTALL"; then
2078 if test "${ac_cv_path_install+set}" = set; then
2079 $as_echo_n "(cached
) " >&6
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir=.
2086 # Account for people who put trailing slashes in PATH elements.
2088 ./ | .// | /cC/* | \
2089 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2090 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2093 # OSF1 and SCO ODT 3.0 have their own names for install.
2094 # Don't use installbsd from OSF since it installs stuff as root
2096 for ac_prog in ginstall scoinst install; do
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2099 if test $ac_prog = install &&
2100 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2101 # AIX install. It has an incompatible calling convention.
2103 elif test $ac_prog = install &&
2104 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2105 # program-specific install script used by HP pwplus--don't use.
2108 rm -rf conftest.one conftest.two conftest.dir
2109 echo one > conftest.one
2110 echo two > conftest.two
2112 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2113 test -s conftest.one && test -s conftest.two &&
2114 test -s conftest.dir/conftest.one &&
2115 test -s conftest.dir/conftest.two
2117 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2130 rm -rf conftest.one conftest.two conftest.dir
2133 if test "${ac_cv_path_install+set}" = set; then
2134 INSTALL=$ac_cv_path_install
2136 # As a last resort, use the slow shell script. Don't cache a
2137 # value for INSTALL within a source directory, because that will
2138 # break other packages using the cache if that directory is
2139 # removed, or if the value is a relative name.
2140 INSTALL=$ac_install_sh
2143 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2144 $as_echo "$INSTALL" >&6; }
2146 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2147 # It thinks the first close brace ends the variable substitution.
2148 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2150 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2152 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2154 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2155 $as_echo_n "checking whether build environment is sane...
" >&6; }
2158 echo timestamp > conftest.file
2159 # Reject unsafe characters in $srcdir or the absolute working directory
2160 # name. Accept space and tab only in the latter.
2164 *[\\\"\#\$\&\'\`$am_lf]*)
2165 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2166 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2167 { (exit 1); exit 1; }; };;
2170 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2171 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2172 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2173 { (exit 1); exit 1; }; };;
2176 # Do `set' in a subshell so we don
't clobber the current shell's
2177 # arguments. Must try -L first in case configure is actually a
2178 # symlink; some systems play weird games with the mod time of symlinks
2179 # (eg FreeBSD returns the mod time of the symlink's containing
2182 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2183 if test "$*" = "X"; then
2185 set X
`ls -t "$srcdir/configure" conftest.file`
2188 if test "$*" != "X $srcdir/configure conftest.file" \
2189 && test "$*" != "X conftest.file $srcdir/configure"; then
2191 # If neither matched, then we have a broken ls. This can happen
2192 # if, for instance, CONFIG_SHELL is bash and it inherits a
2193 # broken ls alias from the environment. This has actually
2194 # happened. Such a system could not be considered "sane".
2195 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2196 alias in your environment" >&5
2197 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2198 alias in your environment" >&2;}
2199 { (exit 1); exit 1; }; }
2202 test "$2" = conftest.
file
2208 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2209 Check your system clock" >&5
2210 $as_echo "$as_me: error: newly created file is older than distributed files!
2211 Check your system clock" >&2;}
2212 { (exit 1); exit 1; }; }
2214 { $as_echo "$as_me:$LINENO: result: yes" >&5
2215 $as_echo "yes" >&6; }
2216 test "$program_prefix" != NONE
&&
2217 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2218 # Use a double $ so make ignores it.
2219 test "$program_suffix" != NONE
&&
2220 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2221 # Double any \ or $.
2222 # By default was `s,x,x', remove it if useless.
2223 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2224 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2226 # expand $ac_aux_dir to an absolute path
2227 am_aux_dir
=`cd $ac_aux_dir && pwd`
2229 if test x
"${MISSING+set}" != xset
; then
2232 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2234 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2237 # Use eval to expand $SHELL
2238 if eval "$MISSING --run true"; then
2239 am_missing_run
="$MISSING --run "
2242 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2243 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2246 if test x
"${install_sh}" != xset
; then
2249 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2251 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2255 # Installed binaries are usually stripped using `strip' when the user
2256 # run `make install-strip'. However `strip' might not be the right
2257 # tool to use in cross-compilation environments, therefore Automake
2258 # will honor the `STRIP' environment variable to overrule this program.
2259 if test "$cross_compiling" != no
; then
2260 if test -n "$ac_tool_prefix"; then
2261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2262 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 $as_echo_n "checking for $ac_word... " >&6; }
2265 if test "${ac_cv_prog_STRIP+set}" = set; then
2266 $as_echo_n "(cached) " >&6
2268 if test -n "$STRIP"; then
2269 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2279 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 STRIP
=$ac_cv_prog_STRIP
2289 if test -n "$STRIP"; then
2290 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2291 $as_echo "$STRIP" >&6; }
2293 { $as_echo "$as_me:$LINENO: result: no" >&5
2294 $as_echo "no" >&6; }
2299 if test -z "$ac_cv_prog_STRIP"; then
2301 # Extract the first word of "strip", so it can be a program name with args.
2302 set dummy strip
; ac_word
=$2
2303 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2306 $as_echo_n "(cached) " >&6
2308 if test -n "$ac_ct_STRIP"; then
2309 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir
=.
2316 for ac_exec_ext
in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 ac_cv_prog_ac_ct_STRIP
="strip"
2319 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2329 if test -n "$ac_ct_STRIP"; then
2330 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2331 $as_echo "$ac_ct_STRIP" >&6; }
2333 { $as_echo "$as_me:$LINENO: result: no" >&5
2334 $as_echo "no" >&6; }
2337 if test "x$ac_ct_STRIP" = x
; then
2340 case $cross_compiling:$ac_tool_warned in
2342 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2344 ac_tool_warned
=yes ;;
2349 STRIP
="$ac_cv_prog_STRIP"
2353 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2355 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2357 if test -z "$MKDIR_P"; then
2358 if test "${ac_cv_path_mkdir+set}" = set; then
2359 $as_echo_n "(cached) " >&6
2361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2362 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2365 test -z "$as_dir" && as_dir
=.
2366 for ac_prog
in mkdir gmkdir
; do
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2369 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2370 'mkdir (GNU coreutils) '* | \
2371 'mkdir (coreutils) '* | \
2372 'mkdir (fileutils) '4.1*)
2373 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2383 if test "${ac_cv_path_mkdir+set}" = set; then
2384 MKDIR_P
="$ac_cv_path_mkdir -p"
2386 # As a last resort, use the slow shell script. Don't cache a
2387 # value for MKDIR_P within a source directory, because that will
2388 # break other packages using the cache if that directory is
2389 # removed, or if the value is a relative name.
2390 test -d .
/--version && rmdir .
/--version
2391 MKDIR_P
="$ac_install_sh -d"
2394 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2395 $as_echo "$MKDIR_P" >&6; }
2399 [\\/$
]* | ?
:[\\/]*) ;;
2400 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2403 for ac_prog
in gawk mawk nawk
awk
2405 # Extract the first word of "$ac_prog", so it can be a program name with args.
2406 set dummy
$ac_prog; ac_word
=$2
2407 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2408 $as_echo_n "checking for $ac_word... " >&6; }
2409 if test "${ac_cv_prog_AWK+set}" = set; then
2410 $as_echo_n "(cached) " >&6
2412 if test -n "$AWK"; then
2413 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir
=.
2420 for ac_exec_ext
in '' $ac_executable_extensions; do
2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2422 ac_cv_prog_AWK
="$ac_prog"
2423 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 if test -n "$AWK"; then
2434 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2435 $as_echo "$AWK" >&6; }
2437 { $as_echo "$as_me:$LINENO: result: no" >&5
2438 $as_echo "no" >&6; }
2442 test -n "$AWK" && break
2445 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2446 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2448 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2449 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2450 $as_echo_n "(cached) " >&6
2452 cat >conftest.
make <<\_ACEOF
2455 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2457 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2458 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2460 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2462 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2466 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2467 { $as_echo "$as_me:$LINENO: result: yes" >&5
2468 $as_echo "yes" >&6; }
2471 { $as_echo "$as_me:$LINENO: result: no" >&5
2472 $as_echo "no" >&6; }
2473 SET_MAKE
="MAKE=${MAKE-make}"
2476 rm -rf .tst
2>/dev
/null
2477 mkdir .tst
2>/dev
/null
2478 if test -d .tst
; then
2483 rmdir .tst
2>/dev
/null
2485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2486 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2487 # is not polluted with repeated "-I."
2488 am__isrc
=' -I$(srcdir)'
2489 # test to see if srcdir already configured
2490 if test -f $srcdir/config.status
; then
2491 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2492 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2493 { (exit 1); exit 1; }; }
2497 # test whether we have cygpath
2498 if test -z "$CYGPATH_W"; then
2499 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2500 CYGPATH_W
='cygpath -w'
2507 # Define the identity of the package.
2508 PACKAGE
='courierlogger'
2512 # Some tools Automake needs.
2514 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2517 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2520 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2523 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2526 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2528 # We need awk for the "check" target. The system "awk" is bad on
2530 # Always define AMTAR for backward compatibility.
2532 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2534 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2540 ac_config_headers
="$ac_config_headers config.h"
2544 ac_cpp
='$CPP $CPPFLAGS'
2545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2548 if test -n "$ac_tool_prefix"; then
2549 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2550 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2551 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2552 $as_echo_n "checking for $ac_word... " >&6; }
2553 if test "${ac_cv_prog_CC+set}" = set; then
2554 $as_echo_n "(cached) " >&6
2556 if test -n "$CC"; then
2557 ac_cv_prog_CC
="$CC" # Let the user override the test.
2559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir
=.
2564 for ac_exec_ext
in '' $ac_executable_extensions; do
2565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2567 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 if test -n "$CC"; then
2578 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2579 $as_echo "$CC" >&6; }
2581 { $as_echo "$as_me:$LINENO: result: no" >&5
2582 $as_echo "no" >&6; }
2587 if test -z "$ac_cv_prog_CC"; then
2589 # Extract the first word of "gcc", so it can be a program name with args.
2590 set dummy gcc
; ac_word
=$2
2591 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$ac_ct_CC"; then
2597 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 ac_cv_prog_ac_ct_CC
="gcc"
2607 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2617 if test -n "$ac_ct_CC"; then
2618 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2619 $as_echo "$ac_ct_CC" >&6; }
2621 { $as_echo "$as_me:$LINENO: result: no" >&5
2622 $as_echo "no" >&6; }
2625 if test "x$ac_ct_CC" = x
; then
2628 case $cross_compiling:$ac_tool_warned in
2630 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2632 ac_tool_warned
=yes ;;
2640 if test -z "$CC"; then
2641 if test -n "$ac_tool_prefix"; then
2642 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2643 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2644 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if test "${ac_cv_prog_CC+set}" = set; then
2647 $as_echo_n "(cached) " >&6
2649 if test -n "$CC"; then
2650 ac_cv_prog_CC
="$CC" # Let the user override the test.
2652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir
=.
2657 for ac_exec_ext
in '' $ac_executable_extensions; do
2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2660 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 if test -n "$CC"; then
2671 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2672 $as_echo "$CC" >&6; }
2674 { $as_echo "$as_me:$LINENO: result: no" >&5
2675 $as_echo "no" >&6; }
2681 if test -z "$CC"; then
2682 # Extract the first word of "cc", so it can be a program name with args.
2683 set dummy cc
; ac_word
=$2
2684 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if test "${ac_cv_prog_CC+set}" = set; then
2687 $as_echo_n "(cached) " >&6
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC
="$CC" # Let the user override the test.
2693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir
=.
2698 for ac_exec_ext
in '' $ac_executable_extensions; do
2699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701 ac_prog_rejected
=yes
2705 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 if test $ac_prog_rejected = yes; then
2713 # We found a bogon in the path, so make sure we never use it.
2714 set dummy
$ac_cv_prog_CC
2716 if test $# != 0; then
2717 # We chose a different compiler from the bogus one.
2718 # However, it has the same basename, so the bogon will be chosen
2719 # first if we set CC to just the basename; use the full file name.
2721 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2727 if test -n "$CC"; then
2728 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2729 $as_echo "$CC" >&6; }
2731 { $as_echo "$as_me:$LINENO: result: no" >&5
2732 $as_echo "no" >&6; }
2737 if test -z "$CC"; then
2738 if test -n "$ac_tool_prefix"; then
2739 for ac_prog
in cl.exe
2741 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2742 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2743 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2744 $as_echo_n "checking for $ac_word... " >&6; }
2745 if test "${ac_cv_prog_CC+set}" = set; then
2746 $as_echo_n "(cached) " >&6
2748 if test -n "$CC"; then
2749 ac_cv_prog_CC
="$CC" # Let the user override the test.
2751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir
=.
2756 for ac_exec_ext
in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2759 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 if test -n "$CC"; then
2770 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2771 $as_echo "$CC" >&6; }
2773 { $as_echo "$as_me:$LINENO: result: no" >&5
2774 $as_echo "no" >&6; }
2778 test -n "$CC" && break
2781 if test -z "$CC"; then
2783 for ac_prog
in cl.exe
2785 # Extract the first word of "$ac_prog", so it can be a program name with args.
2786 set dummy
$ac_prog; ac_word
=$2
2787 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2790 $as_echo_n "(cached) " >&6
2792 if test -n "$ac_ct_CC"; then
2793 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir
=.
2800 for ac_exec_ext
in '' $ac_executable_extensions; do
2801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2802 ac_cv_prog_ac_ct_CC
="$ac_prog"
2803 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2813 if test -n "$ac_ct_CC"; then
2814 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2815 $as_echo "$ac_ct_CC" >&6; }
2817 { $as_echo "$as_me:$LINENO: result: no" >&5
2818 $as_echo "no" >&6; }
2822 test -n "$ac_ct_CC" && break
2825 if test "x$ac_ct_CC" = x
; then
2828 case $cross_compiling:$ac_tool_warned in
2830 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2832 ac_tool_warned
=yes ;;
2841 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2843 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2844 See \`config.log' for more details." >&5
2845 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2846 See \`config.log' for more details." >&2;}
2847 { (exit 1); exit 1; }; }; }
2849 # Provide some information about the compiler.
2850 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2853 { (ac_try
="$ac_compiler --version >&5"
2855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2859 $as_echo "$ac_try_echo") >&5
2860 (eval "$ac_compiler --version >&5") 2>&5
2862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }
2864 { (ac_try="$ac_compiler -v >&5"
2866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2867 *) ac_try_echo
=$ac_try;;
2869 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2870 $as_echo "$ac_try_echo") >&5
2871 (eval "$ac_compiler -v >&5") 2>&5
2873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }
2875 { (ac_try
="$ac_compiler -V >&5"
2877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2881 $as_echo "$ac_try_echo") >&5
2882 (eval "$ac_compiler -V >&5") 2>&5
2884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }
2887 cat >conftest.$ac_ext <<_ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2902 ac_clean_files_save=$ac_clean_files
2903 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2904 # Try to create an executable without -o first, disregard a.out.
2905 # It will help us diagnose broken compilers, and finding out an intuition
2907 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2908 $as_echo_n "checking for C compiler default output file name... " >&6; }
2909 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2911 # The possible output files:
2912 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2915 for ac_file in $ac_files
2918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2919 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2924 if { (ac_try="$ac_link_default"
2926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2927 *) ac_try_echo
=$ac_try;;
2929 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2930 $as_echo "$ac_try_echo") >&5
2931 (eval "$ac_link_default") 2>&5
2933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; then
2935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2936 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2937 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2938 # so that the user can short-circuit this test for compilers unknown to
2940 for ac_file
in $ac_files ''
2942 test -f "$ac_file" ||
continue
2944 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2947 # We found the default executable, but exeext='' is most
2951 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2953 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2955 # We set ac_cv_exeext here because the later test for it is not
2956 # safe: cross compilers may not add the suffix if given an `-o'
2957 # argument, so we may need to know it at that point already.
2958 # Even if this section looks crufty: it has the advantage of
2965 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2971 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2972 $as_echo "$ac_file" >&6; }
2973 if test -z "$ac_file"; then
2974 $as_echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.
$ac_ext >&5
2977 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2980 See \`config.log' for more details." >&5
2981 $as_echo "$as_me: error: C compiler cannot create executables
2982 See \`config.log' for more details." >&2;}
2983 { (exit 77); exit 77; }; }; }
2986 ac_exeext
=$ac_cv_exeext
2988 # Check that the compiler produces executables we can run. If not, either
2989 # the compiler is broken, or we cross compile.
2990 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2991 $as_echo_n "checking whether the C compiler works... " >&6; }
2992 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2993 # If not cross compiling, check that we can run a simple program.
2994 if test "$cross_compiling" != yes; then
2995 if { ac_try
='./$ac_file'
2996 { (case "(($ac_try" in
2997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3001 $as_echo "$ac_try_echo") >&5
3002 (eval "$ac_try") 2>&5
3004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; }; then
3008 if test "$cross_compiling" = maybe; then
3011 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3013 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3014 If you meant to cross compile
, use \
`--host'.
3015 See \`config.log
' for more details." >&5
3016 $as_echo "$as_me: error: cannot run C compiled programs.
3017 If you meant to cross compile, use \`--host'.
3018 See \
`config.log' for more details." >&2;}
3019 { (exit 1); exit 1; }; }; }
3023 { $as_echo "$as_me:$LINENO: result: yes" >&5
3024 $as_echo "yes" >&6; }
3026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3027 ac_clean_files=$ac_clean_files_save
3028 # Check that the compiler produces executables we can run. If not, either
3029 # the compiler is broken, or we cross compile.
3030 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3031 $as_echo_n "checking whether we are cross compiling... " >&6; }
3032 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3033 $as_echo "$cross_compiling" >&6; }
3035 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3036 $as_echo_n "checking for suffix of executables... " >&6; }
3037 if { (ac_try="$ac_link"
3039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3040 *) ac_try_echo
=$ac_try;;
3042 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3043 $as_echo "$ac_try_echo") >&5
3044 (eval "$ac_link") 2>&5
3046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; then
3048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3050 # work properly (i.e., refer to `conftest.exe'), while it won't with
3052 for ac_file
in conftest.exe conftest conftest.
*; do
3053 test -f "$ac_file" ||
continue
3055 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3056 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3062 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3064 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3065 See \`config.log' for more details." >&5
3066 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3067 See \`config.log' for more details." >&2;}
3068 { (exit 1); exit 1; }; }; }
3071 rm -f conftest
$ac_cv_exeext
3072 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3073 $as_echo "$ac_cv_exeext" >&6; }
3075 rm -f conftest.
$ac_ext
3076 EXEEXT
=$ac_cv_exeext
3078 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3079 $as_echo_n "checking for suffix of object files... " >&6; }
3080 if test "${ac_cv_objext+set}" = set; then
3081 $as_echo_n "(cached) " >&6
3083 cat >conftest.
$ac_ext <<_ACEOF
3086 cat confdefs.h
>>conftest.
$ac_ext
3087 cat >>conftest.
$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3098 rm -f conftest.o conftest.obj
3099 if { (ac_try
="$ac_compile"
3101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3105 $as_echo "$ac_try_echo") >&5
3106 (eval "$ac_compile") 2>&5
3108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; then
3110 for ac_file in conftest.o conftest.obj conftest.*; do
3111 test -f "$ac_file" || continue;
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3119 $as_echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5
3122 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3125 See \
`config.log' for more details." >&5
3126 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3127 See \`config.log
' for more details." >&2;}
3128 { (exit 1); exit 1; }; }; }
3131 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3133 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3134 $as_echo "$ac_cv_objext" >&6; }
3135 OBJEXT=$ac_cv_objext
3137 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3138 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3139 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3140 $as_echo_n "(cached) " >&6
3142 cat >conftest.$ac_ext <<_ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3160 rm -f conftest.$ac_objext
3161 if { (ac_try="$ac_compile"
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3167 $as_echo "$ac_try_echo") >&5
3168 (eval "$ac_compile") 2>conftest.er1
3170 grep -v '^
*+' conftest.er1 >conftest.err
3172 cat conftest.err >&5
3173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); } && {
3175 test -z "$ac_c_werror_flag" ||
3176 test ! -s conftest.err
3177 } && test -s conftest.$ac_objext; then
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's
/^
/|
/' conftest.$ac_ext >&5
3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3187 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3190 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3191 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3192 if test $ac_compiler_gnu = yes; then
3197 ac_test_CFLAGS=${CFLAGS+set}
3198 ac_save_CFLAGS=$CFLAGS
3199 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3200 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3201 if test "${ac_cv_prog_cc_g+set}" = set; then
3202 $as_echo_n "(cached) " >&6
3204 ac_save_c_werror_flag=$ac_c_werror_flag
3205 ac_c_werror_flag=yes
3208 cat >conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3223 rm -f conftest.$ac_objext
3224 if { (ac_try="$ac_compile"
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3230 $as_echo "$ac_try_echo") >&5
3231 (eval "$ac_compile") 2>conftest.er1
3233 grep -v '^
*+' conftest.er1 >conftest.err
3235 cat conftest.err >&5
3236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); } && {
3238 test -z "$ac_c_werror_flag" ||
3239 test ! -s conftest.err
3240 } && test -s conftest.$ac_objext; then
3243 $as_echo "$as_me: failed program was:" >&5
3244 sed 's
/^
/|
/' conftest.$ac_ext >&5
3247 cat >conftest.$ac_ext <<_ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3262 rm -f conftest.$ac_objext
3263 if { (ac_try="$ac_compile"
3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3269 $as_echo "$ac_try_echo") >&5
3270 (eval "$ac_compile") 2>conftest.er1
3272 grep -v '^
*+' conftest.er1 >conftest.err
3274 cat conftest.err >&5
3275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); } && {
3277 test -z "$ac_c_werror_flag" ||
3278 test ! -s conftest.err
3279 } && test -s conftest.$ac_objext; then
3282 $as_echo "$as_me: failed program was:" >&5
3283 sed 's
/^
/|
/' conftest.$ac_ext >&5
3285 ac_c_werror_flag=$ac_save_c_werror_flag
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3302 rm -f conftest.$ac_objext
3303 if { (ac_try="$ac_compile"
3305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3309 $as_echo "$ac_try_echo") >&5
3310 (eval "$ac_compile") 2>conftest.er1
3312 grep -v '^
*+' conftest.er1 >conftest.err
3314 cat conftest.err >&5
3315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } && {
3317 test -z "$ac_c_werror_flag" ||
3318 test ! -s conftest.err
3319 } && test -s conftest.$ac_objext; then
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's
/^
/|
/' conftest.$ac_ext >&5
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3335 ac_c_werror_flag=$ac_save_c_werror_flag
3337 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3338 $as_echo "$ac_cv_prog_cc_g" >&6; }
3339 if test "$ac_test_CFLAGS" = set; then
3340 CFLAGS=$ac_save_CFLAGS
3341 elif test $ac_cv_prog_cc_g = yes; then
3342 if test "$GCC" = yes; then
3348 if test "$GCC" = yes; then
3354 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3355 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3356 if test "${ac_cv_prog_cc_c89+set}" = set; then
3357 $as_echo_n "(cached) " >&6
3359 ac_cv_prog_cc_c89=no
3361 cat >conftest.$ac_ext <<_ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3369 #include <sys/types.h>
3370 #include <sys/stat.h>
3371 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3372 struct buf
{ int x
; };
3373 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3374 static char
*e
(p
, i
)
3380 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3385 s
= g
(p
, va_arg
(v
,int
));
3390 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3391 function prototypes and stuff
, but not
'\xHH' hex character constants.
3392 These don
't provoke an error unfortunately, instead are silently treated
3393 as 'x
'. The following induces an error, until -std is added to get
3394 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3395 array size at least. It's necessary to
write '\x00'==0 to get something
3396 that
's true only with -std. */
3397 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3399 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3400 inside strings and character constants. */
3402 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3404 int test (int i, double x);
3405 struct s1 {int (*f) (int a);};
3406 struct s2 {int (*f) (double a);};
3407 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3413 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3418 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3419 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3421 CC="$ac_save_CC $ac_arg"
3422 rm -f conftest.$ac_objext
3423 if { (ac_try="$ac_compile"
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3429 $as_echo "$ac_try_echo") >&5
3430 (eval "$ac_compile") 2>conftest.er1
3432 grep -v '^
*+' conftest.er1 >conftest.err
3434 cat conftest.err >&5
3435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); } && {
3437 test -z "$ac_c_werror_flag" ||
3438 test ! -s conftest.err
3439 } && test -s conftest.$ac_objext; then
3440 ac_cv_prog_cc_c89=$ac_arg
3442 $as_echo "$as_me: failed program was:" >&5
3443 sed 's
/^
/|
/' conftest.$ac_ext >&5
3448 rm -f core conftest.err conftest.$ac_objext
3449 test "x$ac_cv_prog_cc_c89" != "xno" && break
3451 rm -f conftest.$ac_ext
3456 case "x$ac_cv_prog_cc_c89" in
3458 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3459 $as_echo "none needed" >&6; } ;;
3461 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3462 $as_echo "unsupported" >&6; } ;;
3464 CC="$CC $ac_cv_prog_cc_c89"
3465 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3466 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3473 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 DEPDIR="${am__leading_dot}deps"
3477 ac_config_commands="$ac_config_commands depfiles"
3480 am_make=${MAKE-make}
3481 cat > confinc << 'END
'
3483 @echo this is the am__doit target
3486 # If we don't
find an include directive
, just comment out the code.
3487 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3488 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3492 # First try GNU make style include.
3493 echo "include confinc" > confmf
3494 # Ignore all kinds of additional output from `make'.
3495 case `$am_make -s -f confmf 2> /dev/null` in #(
3496 *the\ am__doit\ target
*)
3502 # Now try BSD make style include.
3503 if test "$am__include" = "#"; then
3504 echo '.include "confinc"' > confmf
3505 case `$am_make -s -f confmf 2> /dev/null` in #(
3506 *the\ am__doit\ target
*)
3507 am__include
=.include
3515 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3516 $as_echo "$_am_result" >&6; }
3517 rm -f confinc confmf
3519 # Check whether --enable-dependency-tracking was given.
3520 if test "${enable_dependency_tracking+set}" = set; then
3521 enableval
=$enable_dependency_tracking;
3524 if test "x$enable_dependency_tracking" != xno
; then
3525 am_depcomp
="$ac_aux_dir/depcomp"
3528 if test "x$enable_dependency_tracking" != xno; then
3538 depcc
="$CC" am_compiler_list
=
3540 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3541 $as_echo_n "checking dependency style of $depcc... " >&6; }
3542 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3543 $as_echo_n "(cached) " >&6
3545 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3546 # We make a subdir and do the tests there. Otherwise we can end up
3547 # making bogus files that we don't know about and never remove. For
3548 # instance it was reported that on HP-UX the gcc test will end up
3549 # making a dummy file named `D' -- because `-MD' means `put the output
3552 # Copy depcomp to subdir because otherwise we won't find it if we're
3553 # using a relative directory.
3554 cp "$am_depcomp" conftest.dir
3556 # We will build objects and dependencies in a subdirectory because
3557 # it helps to detect inapplicable dependency modes. For instance
3558 # both Tru64's cc and ICC support -MD to output dependencies as a
3559 # side effect of compilation, but ICC will put the dependencies in
3560 # the current directory while Tru64 will put them in the object
3564 am_cv_CC_dependencies_compiler_type
=none
3565 if test "$am_compiler_list" = ""; then
3566 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3569 case " $depcc " in #(
3570 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3573 for depmode
in $am_compiler_list; do
3574 # Setup a source with many dependencies, because some compilers
3575 # like to wrap large dependency lists on column 80 (with \), and
3576 # we should not choose a depcomp mode which is confused by this.
3578 # We need to recreate these files for each test, as the compiler may
3579 # overwrite some of them when testing with obscure command lines.
3580 # This happens at least with the AIX C compiler.
3582 for i
in 1 2 3 4 5 6; do
3583 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3584 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3585 # Solaris 8's {/usr,}/bin/sh.
3586 touch sub
/conftst
$i.h
3588 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3590 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3591 # mode. It turns out that the SunPro C++ compiler does not properly
3592 # handle `-M -o', and we need to detect this. Also, some Intel
3593 # versions had trouble with output in subdirs
3594 am__obj
=sub
/conftest.
${OBJEXT-o}
3595 am__minus_obj
="-o $am__obj"
3598 # This depmode causes a compiler race in universal mode.
3599 test "$am__universal" = false ||
continue
3602 # after this tag, mechanisms are not by side-effect, so they'll
3603 # only be used when explicitly requested
3604 if test "x$enable_dependency_tracking" = xyes
; then
3610 msvisualcpp | msvcmsys
)
3611 # This compiler won't grok `-c -o', but also, the minuso test has
3612 # not run yet. These depmodes are late enough in the game, and
3613 # so weak that their functioning should not be impacted.
3614 am__obj
=conftest.
${OBJEXT-o}
3619 if depmode
=$depmode \
3620 source=sub
/conftest.c object
=$am__obj \
3621 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3622 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3623 >/dev
/null
2>conftest.err
&&
3624 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3625 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3626 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3627 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3628 # icc doesn't choke on unknown options, it will just issue warnings
3629 # or remarks (even with -Werror). So we grep stderr for any message
3630 # that says an option was ignored or not supported.
3631 # When given -MP, icc 7.0 and 7.1 complain thusly:
3632 # icc: Command line warning: ignoring option '-M'; no argument required
3633 # The diagnosis changed in icc 8.0:
3634 # icc: Command line remark: option '-MP' not supported
3635 if (grep 'ignoring option' conftest.err ||
3636 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3637 am_cv_CC_dependencies_compiler_type
=$depmode
3646 am_cv_CC_dependencies_compiler_type
=none
3650 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3651 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3652 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3655 test "x$enable_dependency_tracking" != xno \
3656 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3658 am__fastdepCC_FALSE
='#'
3660 am__fastdepCC_TRUE
='#'
3661 am__fastdepCC_FALSE
=
3665 # Find a good install program. We prefer a C program (faster),
3666 # so one script is as good as another. But avoid the broken or
3667 # incompatible versions:
3668 # SysV /etc/install, /usr/sbin/install
3669 # SunOS /usr/etc/install
3670 # IRIX /sbin/install
3672 # AmigaOS /C/install, which installs bootblocks on floppy discs
3673 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3674 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3675 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3676 # OS/2's system install, which has a completely different semantic
3677 # ./install, which can be erroneously created by make from ./install.sh.
3678 # Reject install programs that cannot install multiple files.
3679 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3680 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3681 if test -z "$INSTALL"; then
3682 if test "${ac_cv_path_install+set}" = set; then
3683 $as_echo_n "(cached) " >&6
3685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3689 test -z "$as_dir" && as_dir
=.
3690 # Account for people who put trailing slashes in PATH elements.
3692 .
/ | .
// |
/cC
/* | \
3693 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3694 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3697 # OSF1 and SCO ODT 3.0 have their own names for install.
3698 # Don't use installbsd from OSF since it installs stuff as root
3700 for ac_prog
in ginstall scoinst
install; do
3701 for ac_exec_ext
in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3703 if test $ac_prog = install &&
3704 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3705 # AIX install. It has an incompatible calling convention.
3707 elif test $ac_prog = install &&
3708 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3709 # program-specific install script used by HP pwplus--don't use.
3712 rm -rf conftest.one conftest.two conftest.dir
3713 echo one
> conftest.one
3714 echo two
> conftest.two
3716 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3717 test -s conftest.one
&& test -s conftest.two
&&
3718 test -s conftest.dir
/conftest.one
&&
3719 test -s conftest.dir
/conftest.two
3721 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3734 rm -rf conftest.one conftest.two conftest.dir
3737 if test "${ac_cv_path_install+set}" = set; then
3738 INSTALL
=$ac_cv_path_install
3740 # As a last resort, use the slow shell script. Don't cache a
3741 # value for INSTALL within a source directory, because that will
3742 # break other packages using the cache if that directory is
3743 # removed, or if the value is a relative name.
3744 INSTALL
=$ac_install_sh
3747 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3748 $as_echo "$INSTALL" >&6; }
3750 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3751 # It thinks the first close brace ends the variable substitution.
3752 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3754 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3756 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3758 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3759 $as_echo_n "checking whether ln -s works... " >&6; }
3761 if test "$LN_S" = "ln -s"; then
3762 { $as_echo "$as_me:$LINENO: result: yes" >&5
3763 $as_echo "yes" >&6; }
3765 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3766 $as_echo "no, using $LN_S" >&6; }
3771 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3772 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3777 macro_version
='2.2.6'
3778 macro_revision
='1.3012'
3792 ltmain
="$ac_aux_dir/ltmain.sh"
3794 # Make sure we can run config.sub.
3795 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3796 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3797 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3798 { (exit 1); exit 1; }; }
3800 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3801 $as_echo_n "checking build system type... " >&6; }
3802 if test "${ac_cv_build+set}" = set; then
3803 $as_echo_n "(cached) " >&6
3805 ac_build_alias
=$build_alias
3806 test "x$ac_build_alias" = x
&&
3807 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3808 test "x$ac_build_alias" = x
&&
3809 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3810 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3811 { (exit 1); exit 1; }; }
3812 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3813 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3814 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3815 { (exit 1); exit 1; }; }
3818 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3819 $as_echo "$ac_cv_build" >&6; }
3820 case $ac_cv_build in
3822 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3823 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3824 { (exit 1); exit 1; }; };;
3827 ac_save_IFS
=$IFS; IFS
='-'
3833 # Remember, the first character of IFS is used to create $*,
3834 # except with old shells:
3837 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3840 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3841 $as_echo_n "checking host system type... " >&6; }
3842 if test "${ac_cv_host+set}" = set; then
3843 $as_echo_n "(cached) " >&6
3845 if test "x$host_alias" = x
; then
3846 ac_cv_host
=$ac_cv_build
3848 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3849 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3850 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3851 { (exit 1); exit 1; }; }
3855 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3856 $as_echo "$ac_cv_host" >&6; }
3859 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3860 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3861 { (exit 1); exit 1; }; };;
3864 ac_save_IFS
=$IFS; IFS
='-'
3870 # Remember, the first character of IFS is used to create $*,
3871 # except with old shells:
3874 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3877 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3878 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3879 if test "${ac_cv_path_SED+set}" = set; then
3880 $as_echo_n "(cached) " >&6
3882 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3883 for ac_i
in 1 2 3 4 5 6 7; do
3884 ac_script
="$ac_script$as_nl$ac_script"
3886 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3887 $as_unset ac_script || ac_script
=
3888 if test -z "$SED"; then
3889 ac_path_SED_found
=false
3890 # Loop through the user's path and test for each of PROGNAME-LIST
3891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir
=.
3896 for ac_prog
in sed gsed
; do
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3899 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3900 # Check for GNU ac_path_SED and select it if it is found.
3901 # Check for GNU $ac_path_SED
3902 case `"$ac_path_SED" --version 2>&1` in
3904 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3907 $as_echo_n 0123456789 >"conftest.in"
3910 cat "conftest.in" "conftest.in" >"conftest.tmp"
3911 mv "conftest.tmp" "conftest.in"
3912 cp "conftest.in" "conftest.nl"
3913 $as_echo '' >> "conftest.nl"
3914 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3915 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3916 ac_count
=`expr $ac_count + 1`
3917 if test $ac_count -gt ${ac_path_SED_max-0}; then
3918 # Best one so far, save it but keep looking for a better one
3919 ac_cv_path_SED
="$ac_path_SED"
3920 ac_path_SED_max
=$ac_count
3922 # 10*(2^10) chars as input seems more than enough
3923 test $ac_count -gt 10 && break
3925 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3928 $ac_path_SED_found && break 3
3933 if test -z "$ac_cv_path_SED"; then
3934 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3935 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3936 { (exit 1); exit 1; }; }
3943 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3944 $as_echo "$ac_cv_path_SED" >&6; }
3945 SED
="$ac_cv_path_SED"
3948 test -z "$SED" && SED
=sed
3949 Xsed
="$SED -e 1s/^X//"
3961 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3962 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3963 if test "${ac_cv_path_GREP+set}" = set; then
3964 $as_echo_n "(cached) " >&6
3966 if test -z "$GREP"; then
3967 ac_path_GREP_found
=false
3968 # Loop through the user's path and test for each of PROGNAME-LIST
3969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3970 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3973 test -z "$as_dir" && as_dir
=.
3974 for ac_prog
in grep ggrep
; do
3975 for ac_exec_ext
in '' $ac_executable_extensions; do
3976 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3977 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3978 # Check for GNU ac_path_GREP and select it if it is found.
3979 # Check for GNU $ac_path_GREP
3980 case `"$ac_path_GREP" --version 2>&1` in
3982 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3985 $as_echo_n 0123456789 >"conftest.in"
3988 cat "conftest.in" "conftest.in" >"conftest.tmp"
3989 mv "conftest.tmp" "conftest.in"
3990 cp "conftest.in" "conftest.nl"
3991 $as_echo 'GREP' >> "conftest.nl"
3992 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3993 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3994 ac_count
=`expr $ac_count + 1`
3995 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3996 # Best one so far, save it but keep looking for a better one
3997 ac_cv_path_GREP
="$ac_path_GREP"
3998 ac_path_GREP_max
=$ac_count
4000 # 10*(2^10) chars as input seems more than enough
4001 test $ac_count -gt 10 && break
4003 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4006 $ac_path_GREP_found && break 3
4011 if test -z "$ac_cv_path_GREP"; then
4012 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4013 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4014 { (exit 1); exit 1; }; }
4017 ac_cv_path_GREP
=$GREP
4021 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4022 $as_echo "$ac_cv_path_GREP" >&6; }
4023 GREP
="$ac_cv_path_GREP"
4026 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4027 $as_echo_n "checking for egrep... " >&6; }
4028 if test "${ac_cv_path_EGREP+set}" = set; then
4029 $as_echo_n "(cached) " >&6
4031 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4032 then ac_cv_path_EGREP
="$GREP -E"
4034 if test -z "$EGREP"; then
4035 ac_path_EGREP_found
=false
4036 # Loop through the user's path and test for each of PROGNAME-LIST
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4038 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_prog
in egrep; do
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4045 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4046 # Check for GNU ac_path_EGREP and select it if it is found.
4047 # Check for GNU $ac_path_EGREP
4048 case `"$ac_path_EGREP" --version 2>&1` in
4050 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4053 $as_echo_n 0123456789 >"conftest.in"
4056 cat "conftest.in" "conftest.in" >"conftest.tmp"
4057 mv "conftest.tmp" "conftest.in"
4058 cp "conftest.in" "conftest.nl"
4059 $as_echo 'EGREP' >> "conftest.nl"
4060 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4061 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4062 ac_count
=`expr $ac_count + 1`
4063 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4064 # Best one so far, save it but keep looking for a better one
4065 ac_cv_path_EGREP
="$ac_path_EGREP"
4066 ac_path_EGREP_max
=$ac_count
4068 # 10*(2^10) chars as input seems more than enough
4069 test $ac_count -gt 10 && break
4071 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4074 $ac_path_EGREP_found && break 3
4079 if test -z "$ac_cv_path_EGREP"; then
4080 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4081 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4082 { (exit 1); exit 1; }; }
4085 ac_cv_path_EGREP
=$EGREP
4090 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4091 $as_echo "$ac_cv_path_EGREP" >&6; }
4092 EGREP
="$ac_cv_path_EGREP"
4095 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4096 $as_echo_n "checking for fgrep... " >&6; }
4097 if test "${ac_cv_path_FGREP+set}" = set; then
4098 $as_echo_n "(cached) " >&6
4100 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4101 then ac_cv_path_FGREP
="$GREP -F"
4103 if test -z "$FGREP"; then
4104 ac_path_FGREP_found
=false
4105 # Loop through the user's path and test for each of PROGNAME-LIST
4106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4107 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4110 test -z "$as_dir" && as_dir
=.
4111 for ac_prog
in fgrep
; do
4112 for ac_exec_ext
in '' $ac_executable_extensions; do
4113 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4114 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4115 # Check for GNU ac_path_FGREP and select it if it is found.
4116 # Check for GNU $ac_path_FGREP
4117 case `"$ac_path_FGREP" --version 2>&1` in
4119 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4122 $as_echo_n 0123456789 >"conftest.in"
4125 cat "conftest.in" "conftest.in" >"conftest.tmp"
4126 mv "conftest.tmp" "conftest.in"
4127 cp "conftest.in" "conftest.nl"
4128 $as_echo 'FGREP' >> "conftest.nl"
4129 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4130 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4131 ac_count
=`expr $ac_count + 1`
4132 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4133 # Best one so far, save it but keep looking for a better one
4134 ac_cv_path_FGREP
="$ac_path_FGREP"
4135 ac_path_FGREP_max
=$ac_count
4137 # 10*(2^10) chars as input seems more than enough
4138 test $ac_count -gt 10 && break
4140 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4143 $ac_path_FGREP_found && break 3
4148 if test -z "$ac_cv_path_FGREP"; then
4149 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4150 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4151 { (exit 1); exit 1; }; }
4154 ac_cv_path_FGREP
=$FGREP
4159 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4160 $as_echo "$ac_cv_path_FGREP" >&6; }
4161 FGREP
="$ac_cv_path_FGREP"
4164 test -z "$GREP" && GREP
=grep
4184 # Check whether --with-gnu-ld was given.
4185 if test "${with_gnu_ld+set}" = set; then
4186 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4192 if test "$GCC" = yes; then
4193 # Check if gcc -print-prog-name=ld gives a path.
4194 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4195 $as_echo_n "checking for ld used by $CC... " >&6; }
4198 # gcc leaves a trailing carriage return which upsets mingw
4199 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4201 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4204 # Accept absolute paths.
4206 re_direlt
='/[^/][^/]*/\.\./'
4207 # Canonicalize the pathname of ld
4208 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4209 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4210 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4212 test -z "$LD" && LD
="$ac_prog"
4215 # If it fails, then pretend we aren't using GCC.
4219 # If it is relative, then search for the first ld in PATH.
4223 elif test "$with_gnu_ld" = yes; then
4224 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4225 $as_echo_n "checking for GNU ld... " >&6; }
4227 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4228 $as_echo_n "checking for non-GNU ld... " >&6; }
4230 if test "${lt_cv_path_LD+set}" = set; then
4231 $as_echo_n "(cached) " >&6
4233 if test -z "$LD"; then
4234 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4235 for ac_dir
in $PATH; do
4237 test -z "$ac_dir" && ac_dir
=.
4238 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4239 lt_cv_path_LD
="$ac_dir/$ac_prog"
4240 # Check to see if the program is GNU ld. I'd rather use --version,
4241 # but apparently some variants of GNU ld only accept -v.
4242 # Break only if it was the GNU/non-GNU ld that we prefer.
4243 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4244 *GNU
* |
*'with BFD'*)
4245 test "$with_gnu_ld" != no
&& break
4248 test "$with_gnu_ld" != yes && break
4255 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4260 if test -n "$LD"; then
4261 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4262 $as_echo "$LD" >&6; }
4264 { $as_echo "$as_me:$LINENO: result: no" >&5
4265 $as_echo "no" >&6; }
4267 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4268 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4269 { (exit 1); exit 1; }; }
4270 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4272 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4273 $as_echo_n "(cached) " >&6
4275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4276 case `$LD -v 2>&1 </dev/null` in
4277 *GNU
* |
*'with BFD'*)
4278 lt_cv_prog_gnu_ld
=yes
4281 lt_cv_prog_gnu_ld
=no
4285 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4287 with_gnu_ld
=$lt_cv_prog_gnu_ld
4297 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4298 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4299 if test "${lt_cv_path_NM+set}" = set; then
4300 $as_echo_n "(cached) " >&6
4302 if test -n "$NM"; then
4303 # Let the user override the test.
4306 lt_nm_to_check
="${ac_tool_prefix}nm"
4307 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4308 lt_nm_to_check
="$lt_nm_to_check nm"
4310 for lt_tmp_nm
in $lt_nm_to_check; do
4311 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4312 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4314 test -z "$ac_dir" && ac_dir
=.
4315 tmp_nm
="$ac_dir/$lt_tmp_nm"
4316 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4317 # Check to see if the nm accepts a BSD-compat flag.
4318 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4319 # nm: unknown option "B" ignored
4320 # Tru64's nm complains that /dev/null is an invalid object file
4321 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4322 */dev
/null
* |
*'Invalid file or object type'*)
4323 lt_cv_path_NM
="$tmp_nm -B"
4327 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4329 lt_cv_path_NM
="$tmp_nm -p"
4333 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4334 continue # so that we can try to find one that supports BSD flags
4343 : ${lt_cv_path_NM=no}
4346 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4347 $as_echo "$lt_cv_path_NM" >&6; }
4348 if test "$lt_cv_path_NM" != "no"; then
4351 # Didn't find any BSD compatible name lister, look for dumpbin.
4352 if test -n "$ac_tool_prefix"; then
4353 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4355 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4356 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$DUMPBIN"; then
4363 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 DUMPBIN
=$ac_cv_prog_DUMPBIN
4383 if test -n "$DUMPBIN"; then
4384 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4385 $as_echo "$DUMPBIN" >&6; }
4387 { $as_echo "$as_me:$LINENO: result: no" >&5
4388 $as_echo "no" >&6; }
4392 test -n "$DUMPBIN" && break
4395 if test -z "$DUMPBIN"; then
4396 ac_ct_DUMPBIN
=$DUMPBIN
4397 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4399 # Extract the first word of "$ac_prog", so it can be a program name with args.
4400 set dummy
$ac_prog; ac_word
=$2
4401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$ac_ct_DUMPBIN"; then
4407 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir
=.
4414 for ac_exec_ext
in '' $ac_executable_extensions; do
4415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4417 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4427 if test -n "$ac_ct_DUMPBIN"; then
4428 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4429 $as_echo "$ac_ct_DUMPBIN" >&6; }
4431 { $as_echo "$as_me:$LINENO: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$ac_ct_DUMPBIN" && break
4439 if test "x$ac_ct_DUMPBIN" = x
; then
4442 case $cross_compiling:$ac_tool_warned in
4444 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4446 ac_tool_warned
=yes ;;
4448 DUMPBIN
=$ac_ct_DUMPBIN
4453 if test "$DUMPBIN" != ":"; then
4457 test -z "$NM" && NM
=nm
4464 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4465 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4466 if test "${lt_cv_nm_interface+set}" = set; then
4467 $as_echo_n "(cached) " >&6
4469 lt_cv_nm_interface
="BSD nm"
4470 echo "int some_variable = 0;" > conftest.
$ac_ext
4471 (eval echo "\"\$as_me:4471: $ac_compile\"" >&5)
4472 (eval "$ac_compile" 2>conftest.err
)
4473 cat conftest.err
>&5
4474 (eval echo "\"\$as_me:4474: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4475 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4476 cat conftest.err
>&5
4477 (eval echo "\"\$as_me:4477: output\"" >&5)
4478 cat conftest.out
>&5
4479 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4480 lt_cv_nm_interface
="MS dumpbin"
4484 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4485 $as_echo "$lt_cv_nm_interface" >&6; }
4487 # find the maximum length of command line arguments
4488 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4489 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4490 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4491 $as_echo_n "(cached) " >&6
4498 # On DJGPP, this test can blow up pretty badly due to problems in libc
4499 # (any single argument exceeding 2000 bytes causes a buffer overrun
4500 # during glob expansion). Even if it were fixed, the result of this
4501 # check would be larger than it should be.
4502 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4506 # Under GNU Hurd, this test is not required because there is
4507 # no limit to the length of command line arguments.
4508 # Libtool will interpret -1 as no limit whatsoever
4509 lt_cv_sys_max_cmd_len
=-1;
4512 cygwin
* | mingw
* | cegcc
*)
4513 # On Win9x/ME, this test blows up -- it succeeds, but takes
4514 # about 5 minutes as the teststring grows exponentially.
4515 # Worse, since 9x/ME are not pre-emptively multitasking,
4516 # you end up with a "frozen" computer, even though with patience
4517 # the test eventually succeeds (with a max line length of 256k).
4518 # Instead, let's just punt: use the minimum linelength reported by
4519 # all of the supported platforms: 8192 (on NT/2K/XP).
4520 lt_cv_sys_max_cmd_len
=8192;
4524 # On AmigaOS with pdksh, this test takes hours, literally.
4525 # So we just punt and use a minimum line length of 8192.
4526 lt_cv_sys_max_cmd_len
=8192;
4529 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4530 # This has been around since 386BSD, at least. Likely further.
4531 if test -x /sbin
/sysctl
; then
4532 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4533 elif test -x /usr
/sbin
/sysctl
; then
4534 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4536 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4538 # And add a safety zone
4539 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4540 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4544 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4545 lt_cv_sys_max_cmd_len
=196608
4549 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4550 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4551 # nice to cause kernel panics so lets avoid the loop below.
4552 # First set a reasonable default.
4553 lt_cv_sys_max_cmd_len
=16384
4555 if test -x /sbin
/sysconfig
; then
4556 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4557 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4562 lt_cv_sys_max_cmd_len
=102400
4564 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4565 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4566 if test -n "$kargmax"; then
4567 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4569 lt_cv_sys_max_cmd_len
=32768
4573 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4574 if test -n "$lt_cv_sys_max_cmd_len"; then
4575 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4576 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4578 # Make teststring a little bigger before we do anything with it.
4579 # a 1K string should be a reasonable start.
4580 for i
in 1 2 3 4 5 6 7 8 ; do
4581 teststring
=$teststring$teststring
4583 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4584 # If test is not a shell built-in, we'll probably end up computing a
4585 # maximum length that is only half of the actual maximum length, but
4587 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4588 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4589 test $i != 17 # 1/2 MB should be enough
4592 teststring
=$teststring$teststring
4594 # Only check the string length outside the loop.
4595 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4597 # Add a significant safety factor because C++ compilers can tack on
4598 # massive amounts of additional arguments before passing them to the
4599 # linker. It appears as though 1/2 is a usable value.
4600 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4607 if test -n $lt_cv_sys_max_cmd_len ; then
4608 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4609 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4611 { $as_echo "$as_me:$LINENO: result: none" >&5
4612 $as_echo "none" >&6; }
4614 max_cmd_len
=$lt_cv_sys_max_cmd_len
4625 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4626 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4627 # Try some XSI features
4630 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4632 && eval 'test $(( 1 + 1 )) -eq 2 \
4633 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4635 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4636 $as_echo "$xsi_shell" >&6; }
4639 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4640 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4642 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4644 && lt_shell_append=yes
4645 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4646 $as_echo "$lt_shell_append" >&6; }
4649 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4659 # test EBCDIC or ASCII
4660 case `echo X|tr X '\101'` in
4661 A) # ASCII based system
4662 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4663 lt_SP2NL='tr \040 \012'
4664 lt_NL2SP='tr \015\012 \040\040'
4666 *) # EBCDIC based system
4667 lt_SP2NL='tr \100 \n'
4668 lt_NL2SP='tr \r\n \100\100'
4680 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4681 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4682 if test "${lt_cv_ld_reload_flag+set}" = set; then
4683 $as_echo_n "(cached
) " >&6
4685 lt_cv_ld_reload_flag='-r'
4687 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4688 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4689 reload_flag=$lt_cv_ld_reload_flag
4690 case $reload_flag in
4692 *) reload_flag=" $reload_flag" ;;
4694 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4697 if test "$GCC" = yes; then
4698 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4700 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4713 if test -n "$ac_tool_prefix"; then
4714 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4715 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4716 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4717 $as_echo_n "checking
for $ac_word...
" >&6; }
4718 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4719 $as_echo_n "(cached
) " >&6
4721 if test -n "$OBJDUMP"; then
4722 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir=.
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4731 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4732 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4741 OBJDUMP=$ac_cv_prog_OBJDUMP
4742 if test -n "$OBJDUMP"; then
4743 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4744 $as_echo "$OBJDUMP" >&6; }
4746 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4747 $as_echo "no
" >&6; }
4752 if test -z "$ac_cv_prog_OBJDUMP"; then
4753 ac_ct_OBJDUMP=$OBJDUMP
4754 # Extract the first word of "objdump
", so it can be a program name with args.
4755 set dummy objdump; ac_word=$2
4756 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4757 $as_echo_n "checking
for $ac_word...
" >&6; }
4758 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4759 $as_echo_n "(cached
) " >&6
4761 if test -n "$ac_ct_OBJDUMP"; then
4762 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4771 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4772 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4781 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4782 if test -n "$ac_ct_OBJDUMP"; then
4783 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4784 $as_echo "$ac_ct_OBJDUMP" >&6; }
4786 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4787 $as_echo "no
" >&6; }
4790 if test "x
$ac_ct_OBJDUMP" = x; then
4793 case $cross_compiling:$ac_tool_warned in
4795 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4796 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4797 ac_tool_warned=yes ;;
4799 OBJDUMP=$ac_ct_OBJDUMP
4802 OBJDUMP="$ac_cv_prog_OBJDUMP"
4805 test -z "$OBJDUMP" && OBJDUMP=objdump
4815 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4816 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4817 if test "${lt_cv_deplibs_check_method+set}" = set; then
4818 $as_echo_n "(cached
) " >&6
4820 lt_cv_file_magic_cmd='$MAGIC_CMD'
4821 lt_cv_file_magic_test_file=
4822 lt_cv_deplibs_check_method='unknown'
4823 # Need to set the preceding variable on all platforms that support
4824 # interlibrary dependencies.
4825 # 'none' -- dependencies not supported.
4826 # `unknown' -- same as none, but documents that we really don't know.
4827 # 'pass_all' -- all dependencies passed with no checks.
4828 # 'test_compile' -- check by making test program.
4829 # 'file_magic [[regex]]' -- check by looking for files in library path
4830 # which responds to the $file_magic_cmd with a given extended regex.
4831 # If you have `file' or equivalent on your system and you're not sure
4832 # whether `pass_all' will *always* work, you probably want this one.
4836 lt_cv_deplibs_check_method=pass_all
4840 lt_cv_deplibs_check_method=pass_all
4844 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4845 lt_cv_file_magic_cmd='/usr/bin/file -L'
4846 lt_cv_file_magic_test_file=/shlib/libc.so
4850 # func_win32_libid is a shell function defined in ltmain.sh
4851 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4852 lt_cv_file_magic_cmd='func_win32_libid'
4856 # Base MSYS/MinGW do not provide the 'file' command needed by
4857 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4858 # unless we find 'file', for example because we are cross-compiling.
4859 if ( file / ) >/dev/null 2>&1; then
4860 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4861 lt_cv_file_magic_cmd='func_win32_libid'
4863 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4864 lt_cv_file_magic_cmd='$OBJDUMP -f'
4869 # use the weaker test based on 'objdump'. See mingw*.
4870 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4871 lt_cv_file_magic_cmd='$OBJDUMP -f'
4874 darwin* | rhapsody*)
4875 lt_cv_deplibs_check_method=pass_all
4878 freebsd* | dragonfly*)
4879 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4882 # Not sure whether the presence of OpenBSD here was a mistake.
4883 # Let's accept both of them until this is cleared up.
4884 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4885 lt_cv_file_magic_cmd=/usr/bin/file
4886 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4890 lt_cv_deplibs_check_method=pass_all
4895 lt_cv_deplibs_check_method=pass_all
4898 hpux10.20* | hpux11*)
4899 lt_cv_file_magic_cmd=/usr/bin/file
4902 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4903 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4906 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]'
4907 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4910 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4911 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4917 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4918 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4921 irix5* | irix6* | nonstopux*)
4923 *-32|*"-32 ") libmagic=32-bit;;
4924 *-n32|*"-n32 ") libmagic=N32;;
4925 *-64|*"-64 ") libmagic=64-bit;;
4926 *) libmagic=never-match;;
4928 lt_cv_deplibs_check_method=pass_all
4931 # This must be Linux ELF.
4932 linux* | k*bsd*-gnu)
4933 lt_cv_deplibs_check_method=pass_all
4937 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4938 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4940 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4945 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4946 lt_cv_file_magic_cmd=/usr/bin/file
4947 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4951 lt_cv_deplibs_check_method=pass_all
4955 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4956 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4962 osf3* | osf4* | osf5*)
4963 lt_cv_deplibs_check_method=pass_all
4967 lt_cv_deplibs_check_method=pass_all
4971 lt_cv_deplibs_check_method=pass_all
4974 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4975 lt_cv_deplibs_check_method=pass_all
4979 case $host_vendor in
4981 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]'
4982 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4985 lt_cv_deplibs_check_method=pass_all
4988 lt_cv_file_magic_cmd='/bin/file'
4989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4992 lt_cv_file_magic_cmd='/bin/file'
4993 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4994 lt_cv_file_magic_test_file=/lib/libc.so
4997 lt_cv_deplibs_check_method=pass_all
5000 lt_cv_deplibs_check_method=pass_all
5006 lt_cv_deplibs_check_method=pass_all
5011 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5012 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5013 file_magic_cmd=$lt_cv_file_magic_cmd
5014 deplibs_check_method=$lt_cv_deplibs_check_method
5015 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5030 set dummy ${ac_tool_prefix}ar; ac_word=$2
5031 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5032 $as_echo_n "checking
for $ac_word...
" >&6; }
5033 if test "${ac_cv_prog_AR+set}" = set; then
5034 $as_echo_n "(cached
) " >&6
5036 if test -n "$AR"; then
5037 ac_cv_prog_AR="$AR" # Let the user override the test.
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_AR="${ac_tool_prefix}ar"
5047 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5057 if test -n "$AR"; then
5058 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5059 $as_echo "$AR" >&6; }
5061 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5062 $as_echo "no
" >&6; }
5067 if test -z "$ac_cv_prog_AR"; then
5069 # Extract the first word of "ar", so it can be a program name with args.
5070 set dummy ar; ac_word=$2
5071 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5072 $as_echo_n "checking
for $ac_word...
" >&6; }
5073 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5074 $as_echo_n "(cached
) " >&6
5076 if test -n "$ac_ct_AR"; then
5077 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_ac_ct_AR="ar"
5087 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5096 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5097 if test -n "$ac_ct_AR"; then
5098 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5099 $as_echo "$ac_ct_AR" >&6; }
5101 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5102 $as_echo "no
" >&6; }
5105 if test "x
$ac_ct_AR" = x; then
5108 case $cross_compiling:$ac_tool_warned in
5110 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5111 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5112 ac_tool_warned=yes ;;
5120 test -z "$AR" && AR=ar
5121 test -z "$AR_FLAGS" && AR_FLAGS=cru
5133 if test -n "$ac_tool_prefix"; then
5134 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5135 set dummy ${ac_tool_prefix}strip; ac_word=$2
5136 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5137 $as_echo_n "checking
for $ac_word...
" >&6; }
5138 if test "${ac_cv_prog_STRIP+set}" = set; then
5139 $as_echo_n "(cached
) " >&6
5141 if test -n "$STRIP"; then
5142 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5151 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5152 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5161 STRIP=$ac_cv_prog_STRIP
5162 if test -n "$STRIP"; then
5163 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5164 $as_echo "$STRIP" >&6; }
5166 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5167 $as_echo "no
" >&6; }
5172 if test -z "$ac_cv_prog_STRIP"; then
5174 # Extract the first word of "strip
", so it can be a program name with args.
5175 set dummy strip; ac_word=$2
5176 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5177 $as_echo_n "checking
for $ac_word...
" >&6; }
5178 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5179 $as_echo_n "(cached
) " >&6
5181 if test -n "$ac_ct_STRIP"; then
5182 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 ac_cv_prog_ac_ct_STRIP="strip
"
5192 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5201 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5202 if test -n "$ac_ct_STRIP"; then
5203 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5204 $as_echo "$ac_ct_STRIP" >&6; }
5206 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5207 $as_echo "no
" >&6; }
5210 if test "x
$ac_ct_STRIP" = x; then
5213 case $cross_compiling:$ac_tool_warned in
5215 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5216 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5217 ac_tool_warned=yes ;;
5222 STRIP="$ac_cv_prog_STRIP"
5225 test -z "$STRIP" && STRIP=:
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5234 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5235 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5236 $as_echo_n "checking
for $ac_word...
" >&6; }
5237 if test "${ac_cv_prog_RANLIB+set}" = set; then
5238 $as_echo_n "(cached
) " >&6
5240 if test -n "$RANLIB"; then
5241 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5251 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5260 RANLIB=$ac_cv_prog_RANLIB
5261 if test -n "$RANLIB"; then
5262 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5263 $as_echo "$RANLIB" >&6; }
5265 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5266 $as_echo "no
" >&6; }
5271 if test -z "$ac_cv_prog_RANLIB"; then
5272 ac_ct_RANLIB=$RANLIB
5273 # Extract the first word of "ranlib
", so it can be a program name with args.
5274 set dummy ranlib; ac_word=$2
5275 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5276 $as_echo_n "checking
for $ac_word...
" >&6; }
5277 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5278 $as_echo_n "(cached
) " >&6
5280 if test -n "$ac_ct_RANLIB"; then
5281 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5291 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5300 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5301 if test -n "$ac_ct_RANLIB"; then
5302 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5303 $as_echo "$ac_ct_RANLIB" >&6; }
5305 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5306 $as_echo "no
" >&6; }
5309 if test "x
$ac_ct_RANLIB" = x; then
5312 case $cross_compiling:$ac_tool_warned in
5314 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5315 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5316 ac_tool_warned=yes ;;
5318 RANLIB=$ac_ct_RANLIB
5321 RANLIB="$ac_cv_prog_RANLIB"
5324 test -z "$RANLIB" && RANLIB=:
5331 # Determine commands to create old-style static archives.
5332 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5333 old_postinstall_cmds='chmod 644 $oldlib'
5334 old_postuninstall_cmds=
5336 if test -n "$RANLIB"; then
5339 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5342 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5345 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5381 # If no C compiler was specified, use CC.
5384 # If no C compiler flags were specified, use CFLAGS.
5385 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5387 # Allow CC to be a program name with arguments.
5391 # Check for command to grab the raw symbol name followed by C symbol from nm.
5392 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5393 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5394 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5395 $as_echo_n "(cached
) " >&6
5398 # These are sane defaults that work on at least a few old systems.
5399 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5401 # Character class describing NM global symbol codes.
5402 symcode='[BCDEGRST]'
5404 # Regexp to match symbols that can be accessed directly from C.
5405 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5407 # Define system-specific variables.
5412 cygwin* | mingw* | pw32* | cegcc*)
5413 symcode='[ABCDGISTW]'
5416 if test "$host_cpu" = ia64; then
5417 symcode='[ABCDEGRST]'
5421 symcode='[BCDEGRST]'
5424 symcode='[BCDEGQRST]'
5435 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5443 # If we're using GNU nm, then use its standard symbol codes.
5444 case `$NM -V 2>&1` in
5445 *GNU* | *'with BFD'*)
5446 symcode='[ABCDGIRSTW]' ;;
5449 # Transform an extracted symbol line into a proper C declaration.
5450 # Some systems (esp. on ia64) link data and code symbols differently,
5451 # so use this general approach.
5452 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5454 # Transform an extracted symbol line into symbol name and symbol address
5455 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5456 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'"
5458 # Handle CRLF in mingw tool chain
5462 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5466 # Try without a prefix underscore, then with it.
5467 for ac_symprfx in "" "_
"; do
5469 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5470 symxfrm="\\1 $ac_symprfx\\2 \\2"
5472 # Write the raw and C identifiers.
5473 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5474 # Fake it for dumpbin and say T for any non-static function
5475 # and D for any global variable.
5476 # Also find C++ and __fastcall symbols from MSVC++,
5477 # which start with @ or ?.
5478 lt_cv_sys_global_symbol_pipe="$AWK '"\
5479 " {last_section=section; section=\$ 3};"\
5480 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5481 " \$ 0!~/External *\|/{next};"\
5482 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5483 " {if(hide[section]) next};"\
5484 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5485 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5486 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5487 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5488 " ' prfx
=^
$ac_symprfx"
5490 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5493 # Check to see that the pipe works correctly.
5497 cat > conftest.$ac_ext <<_LT_EOF
5502 void nm_test_func(void);
5503 void nm_test_func(void){}
5507 int main(){nm_test_var='a';nm_test_func();return(0);}
5510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5511 (eval $ac_compile) 2>&5
5513 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5514 (exit $ac_status); }; then
5515 # Now try to grab the symbols.
5517 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5518 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5520 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5521 (exit $ac_status); } && test -s "$nlist"; then
5522 # Try sorting and uniquifying the output.
5523 if sort "$nlist" | uniq > "$nlist"T; then
5524 mv -f "$nlist"T "$nlist"
5529 # Make sure that we snagged all the symbols we need.
5530 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5531 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5532 cat <<_LT_EOF > conftest.$ac_ext
5538 # Now generate the symbol file.
5539 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5541 cat <<_LT_EOF >> conftest.$ac_ext
5543 /* The mapping between symbol names and symbols. */
5548 lt__PROGRAM__LTX_preloaded_symbols[] =
5550 { "@PROGRAM@
", (void *) 0 },
5552 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5553 cat <<\_LT_EOF >> conftest.$ac_ext
5557 /* This works around a problem in FreeBSD linker */
5558 #ifdef FREEBSD_WORKAROUND
5559 static const void *lt_preloaded_setup() {
5560 return lt__PROGRAM__LTX_preloaded_symbols;
5568 # Now try linking the two files.
5569 mv conftest.$ac_objext conftstm.$ac_objext
5570 lt_save_LIBS="$LIBS"
5571 lt_save_CFLAGS="$CFLAGS"
5572 LIBS="conftstm.
$ac_objext"
5573 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5575 (eval $ac_link) 2>&5
5577 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5578 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5581 LIBS="$lt_save_LIBS"
5582 CFLAGS="$lt_save_CFLAGS"
5584 echo "cannot
find nm_test_func
in $nlist" >&5
5587 echo "cannot
find nm_test_var
in $nlist" >&5
5590 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5593 echo "$progname: failed program was
:" >&5
5594 cat conftest.$ac_ext >&5
5596 rm -rf conftest* conftst*
5598 # Do not use the global_symbol_pipe unless it works.
5599 if test "$pipe_works" = yes; then
5602 lt_cv_sys_global_symbol_pipe=
5608 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5609 lt_cv_sys_global_symbol_to_cdecl=
5611 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5612 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5613 $as_echo "failed
" >&6; }
5615 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5616 $as_echo "ok
" >&6; }
5641 # Check whether --enable-libtool-lock was given.
5642 if test "${enable_libtool_lock+set}" = set; then
5643 enableval=$enable_libtool_lock;
5646 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5648 # Some flags need to be propagated to the compiler or linker for good
5652 # Find out which ABI we are using.
5653 echo 'int i;' > conftest.$ac_ext
5654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5655 (eval $ac_compile) 2>&5
5657 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5658 (exit $ac_status); }; then
5659 case `/usr/bin/file conftest.$ac_objext` in
5671 # Find out which ABI we are using.
5672 echo '#line 5672 "configure
"' > conftest.$ac_ext
5673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5674 (eval $ac_compile) 2>&5
5676 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5677 (exit $ac_status); }; then
5678 if test "$lt_cv_prog_gnu_ld" = yes; then
5679 case `/usr/bin/file conftest.$ac_objext` in
5681 LD="${LD-ld} -melf32bsmip"
5684 LD="${LD-ld} -melf32bmipn32"
5687 LD="${LD-ld} -melf64bmip"
5691 case `/usr/bin/file conftest.$ac_objext` in
5707 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5708 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5709 # Find out which ABI we are using.
5710 echo 'int i;' > conftest.$ac_ext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>&5
5714 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5715 (exit $ac_status); }; then
5716 case `/usr/bin/file conftest.o` in
5719 x86_64-*kfreebsd*-gnu)
5720 LD="${LD-ld} -m elf_i386_fbsd
"
5723 LD="${LD-ld} -m elf_i386
"
5725 ppc64-*linux*|powerpc64-*linux*)
5726 LD="${LD-ld} -m elf32ppclinux
"
5729 LD="${LD-ld} -m elf_s390
"
5732 LD="${LD-ld} -m elf32_sparc
"
5738 x86_64-*kfreebsd*-gnu)
5739 LD="${LD-ld} -m elf_x86_64_fbsd
"
5742 LD="${LD-ld} -m elf_x86_64
"
5744 ppc*-*linux*|powerpc*-*linux*)
5745 LD="${LD-ld} -m elf64ppc
"
5747 s390*-*linux*|s390*-*tpf*)
5748 LD="${LD-ld} -m elf64_s390
"
5751 LD="${LD-ld} -m elf64_sparc
"
5761 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5762 SAVE_CFLAGS="$CFLAGS"
5763 CFLAGS="$CFLAGS -belf"
5764 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5765 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5766 if test "${lt_cv_cc_needs_belf+set}" = set; then
5767 $as_echo_n "(cached
) " >&6
5770 ac_cpp='$CPP $CPPFLAGS'
5771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5775 cat >conftest.$ac_ext <<_ACEOF
5778 cat confdefs.h >>conftest.$ac_ext
5779 cat >>conftest.$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5790 rm -f conftest.$ac_objext conftest$ac_exeext
5791 if { (ac_try="$ac_link"
5793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5794 *) ac_try_echo=$ac_try;;
5796 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5797 $as_echo "$ac_try_echo") >&5
5798 (eval "$ac_link") 2>conftest.er1
5800 grep -v '^ *+' conftest.er1 >conftest.err
5802 cat conftest.err >&5
5803 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5804 (exit $ac_status); } && {
5805 test -z "$ac_c_werror_flag" ||
5806 test ! -s conftest.err
5807 } && test -s conftest$ac_exeext && {
5808 test "$cross_compiling" = yes ||
5809 $as_test_x conftest$ac_exeext
5811 lt_cv_cc_needs_belf=yes
5813 $as_echo "$as_me: failed program was
:" >&5
5814 sed 's/^/| /' conftest.$ac_ext >&5
5816 lt_cv_cc_needs_belf=no
5819 rm -rf conftest.dSYM
5820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5821 conftest$ac_exeext conftest.$ac_ext
5823 ac_cpp='$CPP $CPPFLAGS'
5824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5829 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5830 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5831 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5832 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5833 CFLAGS="$SAVE_CFLAGS"
5837 # Find out which ABI we are using.
5838 echo 'int i;' > conftest.$ac_ext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5840 (eval $ac_compile) 2>&5
5842 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5843 (exit $ac_status); }; then
5844 case `/usr/bin/file conftest.o` in
5846 case $lt_cv_prog_gnu_ld in
5847 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5849 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5861 need_locks="$enable_libtool_lock"
5865 rhapsody* | darwin*)
5866 if test -n "$ac_tool_prefix"; then
5867 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5868 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5869 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5870 $as_echo_n "checking
for $ac_word...
" >&6; }
5871 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5872 $as_echo_n "(cached
) " >&6
5874 if test -n "$DSYMUTIL"; then
5875 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5884 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5885 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5894 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5895 if test -n "$DSYMUTIL"; then
5896 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5897 $as_echo "$DSYMUTIL" >&6; }
5899 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5900 $as_echo "no
" >&6; }
5905 if test -z "$ac_cv_prog_DSYMUTIL"; then
5906 ac_ct_DSYMUTIL=$DSYMUTIL
5907 # Extract the first word of "dsymutil
", so it can be a program name with args.
5908 set dummy dsymutil; ac_word=$2
5909 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5910 $as_echo_n "checking
for $ac_word...
" >&6; }
5911 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5912 $as_echo_n "(cached
) " >&6
5914 if test -n "$ac_ct_DSYMUTIL"; then
5915 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5924 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5925 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5934 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5935 if test -n "$ac_ct_DSYMUTIL"; then
5936 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5937 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5939 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5940 $as_echo "no
" >&6; }
5943 if test "x
$ac_ct_DSYMUTIL" = x; then
5946 case $cross_compiling:$ac_tool_warned in
5948 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5949 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5950 ac_tool_warned=yes ;;
5952 DSYMUTIL=$ac_ct_DSYMUTIL
5955 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5960 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+set}" = set; then
5964 $as_echo_n "(cached
) " >&6
5966 if test -n "$NMEDIT"; then
5967 ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit
"
5977 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5986 NMEDIT=$ac_cv_prog_NMEDIT
5987 if test -n "$NMEDIT"; then
5988 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5989 $as_echo "$NMEDIT" >&6; }
5991 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5992 $as_echo "no
" >&6; }
5997 if test -z "$ac_cv_prog_NMEDIT"; then
5998 ac_ct_NMEDIT=$NMEDIT
5999 # Extract the first word of "nmedit
", so it can be a program name with args.
6000 set dummy nmedit; ac_word=$2
6001 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6002 $as_echo_n "checking
for $ac_word...
" >&6; }
6003 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6004 $as_echo_n "(cached
) " >&6
6006 if test -n "$ac_ct_NMEDIT"; then
6007 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6017 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6026 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6027 if test -n "$ac_ct_NMEDIT"; then
6028 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6029 $as_echo "$ac_ct_NMEDIT" >&6; }
6031 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6032 $as_echo "no
" >&6; }
6035 if test "x
$ac_ct_NMEDIT" = x; then
6038 case $cross_compiling:$ac_tool_warned in
6040 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6041 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6042 ac_tool_warned=yes ;;
6044 NMEDIT=$ac_ct_NMEDIT
6047 NMEDIT="$ac_cv_prog_NMEDIT"
6050 if test -n "$ac_tool_prefix"; then
6051 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6052 set dummy ${ac_tool_prefix}lipo; 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_LIPO+set}" = set; then
6056 $as_echo_n "(cached
) " >&6
6058 if test -n "$LIPO"; then
6059 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo
"
6069 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6078 LIPO=$ac_cv_prog_LIPO
6079 if test -n "$LIPO"; then
6080 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6081 $as_echo "$LIPO" >&6; }
6083 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6084 $as_echo "no
" >&6; }
6089 if test -z "$ac_cv_prog_LIPO"; then
6091 # Extract the first word of "lipo
", so it can be a program name with args.
6092 set dummy lipo; ac_word=$2
6093 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6094 $as_echo_n "checking
for $ac_word...
" >&6; }
6095 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6096 $as_echo_n "(cached
) " >&6
6098 if test -n "$ac_ct_LIPO"; then
6099 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_ac_ct_LIPO="lipo
"
6109 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6118 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6119 if test -n "$ac_ct_LIPO"; then
6120 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6121 $as_echo "$ac_ct_LIPO" >&6; }
6123 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6124 $as_echo "no
" >&6; }
6127 if test "x
$ac_ct_LIPO" = x; then
6130 case $cross_compiling:$ac_tool_warned in
6132 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6133 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6134 ac_tool_warned=yes ;;
6139 LIPO="$ac_cv_prog_LIPO"
6142 if test -n "$ac_tool_prefix"; then
6143 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6144 set dummy ${ac_tool_prefix}otool; 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_OTOOL+set}" = set; then
6148 $as_echo_n "(cached
) " >&6
6150 if test -n "$OTOOL"; then
6151 ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool
"
6161 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6170 OTOOL=$ac_cv_prog_OTOOL
6171 if test -n "$OTOOL"; then
6172 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6173 $as_echo "$OTOOL" >&6; }
6175 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6176 $as_echo "no
" >&6; }
6181 if test -z "$ac_cv_prog_OTOOL"; then
6183 # Extract the first word of "otool
", so it can be a program name with args.
6184 set dummy otool; ac_word=$2
6185 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6186 $as_echo_n "checking
for $ac_word...
" >&6; }
6187 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6188 $as_echo_n "(cached
) " >&6
6190 if test -n "$ac_ct_OTOOL"; then
6191 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_ac_ct_OTOOL="otool
"
6201 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6210 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6211 if test -n "$ac_ct_OTOOL"; then
6212 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6213 $as_echo "$ac_ct_OTOOL" >&6; }
6215 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6216 $as_echo "no
" >&6; }
6219 if test "x
$ac_ct_OTOOL" = x; then
6222 case $cross_compiling:$ac_tool_warned in
6224 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6225 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6226 ac_tool_warned=yes ;;
6231 OTOOL="$ac_cv_prog_OTOOL"
6234 if test -n "$ac_tool_prefix"; then
6235 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6236 set dummy ${ac_tool_prefix}otool64; 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_OTOOL64+set}" = set; then
6240 $as_echo_n "(cached
) " >&6
6242 if test -n "$OTOOL64"; then
6243 ac_cv_prog_OTOOL64="$OTOOL64" # 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_OTOOL64="${ac_tool_prefix}otool64
"
6253 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6262 OTOOL64=$ac_cv_prog_OTOOL64
6263 if test -n "$OTOOL64"; then
6264 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6265 $as_echo "$OTOOL64" >&6; }
6267 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6268 $as_echo "no
" >&6; }
6273 if test -z "$ac_cv_prog_OTOOL64"; then
6274 ac_ct_OTOOL64=$OTOOL64
6275 # Extract the first word of "otool64
", so it can be a program name with args.
6276 set dummy otool64; ac_word=$2
6277 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6278 $as_echo_n "checking
for $ac_word...
" >&6; }
6279 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6280 $as_echo_n "(cached
) " >&6
6282 if test -n "$ac_ct_OTOOL64"; then
6283 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6292 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6293 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6302 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6303 if test -n "$ac_ct_OTOOL64"; then
6304 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6305 $as_echo "$ac_ct_OTOOL64" >&6; }
6307 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6308 $as_echo "no
" >&6; }
6311 if test "x
$ac_ct_OTOOL64" = x; then
6314 case $cross_compiling:$ac_tool_warned in
6316 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6317 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6318 ac_tool_warned=yes ;;
6320 OTOOL64=$ac_ct_OTOOL64
6323 OTOOL64="$ac_cv_prog_OTOOL64"
6352 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6353 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6354 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6355 $as_echo_n "(cached
) " >&6
6357 lt_cv_apple_cc_single_mod=no
6358 if test -z "${LT_MULTI_MODULE}"; then
6359 # By default we will add the -single_module flag. You can override
6360 # by either setting the environment variable LT_MULTI_MODULE
6361 # non-empty at configure time, or by adding -multi_module to the
6363 rm -rf libconftest.dylib*
6364 echo "int foo
(void
){return 1;}" > conftest.c
6365 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6366 -dynamiclib -Wl,-single_module conftest.c
" >&5
6367 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6368 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6370 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6371 lt_cv_apple_cc_single_mod=yes
6373 cat conftest.err >&5
6375 rm -rf libconftest.dylib*
6379 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6380 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6381 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6382 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6383 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6384 $as_echo_n "(cached
) " >&6
6386 lt_cv_ld_exported_symbols_list=no
6387 save_LDFLAGS=$LDFLAGS
6388 echo "_main
" > conftest.sym
6389 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6390 cat >conftest.$ac_ext <<_ACEOF
6393 cat confdefs.h >>conftest.$ac_ext
6394 cat >>conftest.$ac_ext <<_ACEOF
6395 /* end confdefs.h. */
6405 rm -f conftest.$ac_objext conftest$ac_exeext
6406 if { (ac_try="$ac_link"
6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409 *) ac_try_echo=$ac_try;;
6411 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6412 $as_echo "$ac_try_echo") >&5
6413 (eval "$ac_link") 2>conftest.er1
6415 grep -v '^ *+' conftest.er1 >conftest.err
6417 cat conftest.err >&5
6418 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6419 (exit $ac_status); } && {
6420 test -z "$ac_c_werror_flag" ||
6421 test ! -s conftest.err
6422 } && test -s conftest$ac_exeext && {
6423 test "$cross_compiling" = yes ||
6424 $as_test_x conftest$ac_exeext
6426 lt_cv_ld_exported_symbols_list=yes
6428 $as_echo "$as_me: failed program was
:" >&5
6429 sed 's/^/| /' conftest.$ac_ext >&5
6431 lt_cv_ld_exported_symbols_list=no
6434 rm -rf conftest.dSYM
6435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6436 conftest$ac_exeext conftest.$ac_ext
6437 LDFLAGS="$save_LDFLAGS"
6440 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6441 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6443 rhapsody* | darwin1.[012])
6444 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6446 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6447 darwin*) # darwin 5.x on
6448 # if running on 10.5 or later, the deployment target defaults
6449 # to the OS version, if on x86, and 10.4, the deployment
6450 # target defaults to 10.4. Don't you love it?
6451 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6452 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6453 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6455 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6457 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6461 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6462 _lt_dar_single_mod='$single_module'
6464 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6465 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6467 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6469 if test "$DSYMUTIL" != ":"; then
6470 _lt_dsymutil='~$DSYMUTIL $lib || :'
6478 ac_cpp='$CPP $CPPFLAGS'
6479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6482 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6483 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6484 # On Suns, sometimes $CPP names a directory.
6485 if test -n "$CPP" && test -d "$CPP"; then
6488 if test -z "$CPP"; then
6489 if test "${ac_cv_prog_CPP+set}" = set; then
6490 $as_echo_n "(cached
) " >&6
6492 # Double quotes because CPP needs to be expanded
6493 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6496 for ac_c_preproc_warn_flag in '' yes
6498 # Use a header file that comes with gcc, so configuring glibc
6499 # with a fresh cross-compiler works.
6500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6501 # <limits.h> exists even on freestanding compilers.
6502 # On the NeXT, cc -E runs the code through the compiler's parser,
6503 # not just through cpp. "Syntax error
" is here to catch this case.
6504 cat >conftest.$ac_ext <<_ACEOF
6507 cat confdefs.h >>conftest.$ac_ext
6508 cat >>conftest.$ac_ext <<_ACEOF
6509 /* end confdefs.h. */
6511 # include <limits.h>
6513 # include <assert.h>
6517 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520 *) ac_try_echo=$ac_try;;
6522 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6523 $as_echo "$ac_try_echo") >&5
6524 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6526 grep -v '^ *+' conftest.er1 >conftest.err
6528 cat conftest.err >&5
6529 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6530 (exit $ac_status); } >/dev/null && {
6531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6532 test ! -s conftest.err
6536 $as_echo "$as_me: failed program was
:" >&5
6537 sed 's/^/| /' conftest.$ac_ext >&5
6539 # Broken: fails on valid input.
6543 rm -f conftest.err conftest.$ac_ext
6545 # OK, works on sane cases. Now check whether nonexistent headers
6546 # can be detected and how.
6547 cat >conftest.$ac_ext <<_ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 #include <ac_nonexistent.h>
6555 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6558 *) ac_try_echo=$ac_try;;
6560 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6561 $as_echo "$ac_try_echo") >&5
6562 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6564 grep -v '^ *+' conftest.er1 >conftest.err
6566 cat conftest.err >&5
6567 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6568 (exit $ac_status); } >/dev/null && {
6569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6570 test ! -s conftest.err
6572 # Broken: success on invalid input.
6575 $as_echo "$as_me: failed program was
:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 # Passes both tests.
6583 rm -f conftest.err conftest.$ac_ext
6586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6587 rm -f conftest.err conftest.$ac_ext
6588 if $ac_preproc_ok; then
6600 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6601 $as_echo "$CPP" >&6; }
6603 for ac_c_preproc_warn_flag in '' yes
6605 # Use a header file that comes with gcc, so configuring glibc
6606 # with a fresh cross-compiler works.
6607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6608 # <limits.h> exists even on freestanding compilers.
6609 # On the NeXT, cc -E runs the code through the compiler's parser,
6610 # not just through cpp. "Syntax error
" is here to catch this case.
6611 cat >conftest.$ac_ext <<_ACEOF
6614 cat confdefs.h >>conftest.$ac_ext
6615 cat >>conftest.$ac_ext <<_ACEOF
6616 /* end confdefs.h. */
6618 # include <limits.h>
6620 # include <assert.h>
6624 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6627 *) ac_try_echo=$ac_try;;
6629 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6630 $as_echo "$ac_try_echo") >&5
6631 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6633 grep -v '^ *+' conftest.er1 >conftest.err
6635 cat conftest.err >&5
6636 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6637 (exit $ac_status); } >/dev/null && {
6638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6639 test ! -s conftest.err
6643 $as_echo "$as_me: failed program was
:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 # Broken: fails on valid input.
6650 rm -f conftest.err conftest.$ac_ext
6652 # OK, works on sane cases. Now check whether nonexistent headers
6653 # can be detected and how.
6654 cat >conftest.$ac_ext <<_ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6660 #include <ac_nonexistent.h>
6662 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6665 *) ac_try_echo=$ac_try;;
6667 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6668 $as_echo "$ac_try_echo") >&5
6669 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6671 grep -v '^ *+' conftest.er1 >conftest.err
6673 cat conftest.err >&5
6674 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6675 (exit $ac_status); } >/dev/null && {
6676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6677 test ! -s conftest.err
6679 # Broken: success on invalid input.
6682 $as_echo "$as_me: failed program was
:" >&5
6683 sed 's/^/| /' conftest.$ac_ext >&5
6685 # Passes both tests.
6690 rm -f conftest.err conftest.$ac_ext
6693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6694 rm -f conftest.err conftest.$ac_ext
6695 if $ac_preproc_ok; then
6698 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6700 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6701 See \`config.log' for more details.
" >&5
6702 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6703 See \
`config.log' for more details." >&2;}
6704 { (exit 1); exit 1; }; }; }
6708 ac_cpp='$CPP $CPPFLAGS'
6709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6714 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6715 $as_echo_n "checking for ANSI C header files... " >&6; }
6716 if test "${ac_cv_header_stdc+set}" = set; then
6717 $as_echo_n "(cached) " >&6
6719 cat >conftest.$ac_ext <<_ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6738 rm -f conftest.$ac_objext
6739 if { (ac_try="$ac_compile"
6741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6742 *) ac_try_echo
=$ac_try;;
6744 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6745 $as_echo "$ac_try_echo") >&5
6746 (eval "$ac_compile") 2>conftest.er1
6748 grep -v '^ *+' conftest.er1
>conftest.err
6750 cat conftest.err
>&5
6751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); } && {
6753 test -z "$ac_c_werror_flag" ||
6754 test ! -s conftest.err
6755 } && test -s conftest.
$ac_objext; then
6756 ac_cv_header_stdc
=yes
6758 $as_echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.
$ac_ext >&5
6761 ac_cv_header_stdc
=no
6764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6766 if test $ac_cv_header_stdc = yes; then
6767 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6768 cat >conftest.
$ac_ext <<_ACEOF
6771 cat confdefs.h
>>conftest.
$ac_ext
6772 cat >>conftest.
$ac_ext <<_ACEOF
6773 /* end confdefs.h. */
6777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6778 $EGREP "memchr" >/dev
/null
2>&1; then
6781 ac_cv_header_stdc
=no
6787 if test $ac_cv_header_stdc = yes; then
6788 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6789 cat >conftest.
$ac_ext <<_ACEOF
6792 cat confdefs.h
>>conftest.
$ac_ext
6793 cat >>conftest.
$ac_ext <<_ACEOF
6794 /* end confdefs.h. */
6798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6799 $EGREP "free" >/dev
/null
2>&1; then
6802 ac_cv_header_stdc
=no
6808 if test $ac_cv_header_stdc = yes; then
6809 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6810 if test "$cross_compiling" = yes; then
6813 cat >conftest.
$ac_ext <<_ACEOF
6816 cat confdefs.h
>>conftest.
$ac_ext
6817 cat >>conftest.
$ac_ext <<_ACEOF
6818 /* end confdefs.h. */
6821 #if ((' ' & 0x0FF) == 0x020)
6822 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6823 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6825 # define ISLOWER(c) \
6826 (('a' <= (c) && (c) <= 'i') \
6827 || ('j' <= (c) && (c) <= 'r') \
6828 || ('s' <= (c) && (c) <= 'z'))
6829 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6832 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6837 for (i = 0; i < 256; i++)
6838 if (XOR (islower (i), ISLOWER (i))
6839 || toupper (i) != TOUPPER (i))
6844 rm -f conftest
$ac_exeext
6845 if { (ac_try
="$ac_link"
6847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6848 *) ac_try_echo=$ac_try;;
6850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6851 $as_echo "$ac_try_echo") >&5
6852 (eval "$ac_link") 2>&5
6854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6856 { (case "(($ac_try" in
6857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6858 *) ac_try_echo
=$ac_try;;
6860 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6861 $as_echo "$ac_try_echo") >&5
6862 (eval "$ac_try") 2>&5
6864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; }; then
6868 $as_echo "$as_me: program exited with status $ac_status" >&5
6869 $as_echo "$as_me: failed program was:" >&5
6870 sed 's/^/| /' conftest.
$ac_ext >&5
6873 ac_cv_header_stdc
=no
6875 rm -rf conftest.dSYM
6876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6882 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6883 $as_echo "$ac_cv_header_stdc" >&6; }
6884 if test $ac_cv_header_stdc = yes; then
6886 cat >>confdefs.h
<<\_ACEOF
6887 #define STDC_HEADERS 1
6892 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6902 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6903 inttypes.h stdint.h unistd.h
6905 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6906 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6907 $as_echo_n "checking for $ac_header... " >&6; }
6908 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6909 $as_echo_n "(cached) " >&6
6911 cat >conftest.
$ac_ext <<_ACEOF
6914 cat confdefs.h
>>conftest.
$ac_ext
6915 cat >>conftest.
$ac_ext <<_ACEOF
6916 /* end confdefs.h. */
6917 $ac_includes_default
6919 #include <$ac_header>
6921 rm -f conftest.
$ac_objext
6922 if { (ac_try
="$ac_compile"
6924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6925 *) ac_try_echo=$ac_try;;
6927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6928 $as_echo "$ac_try_echo") >&5
6929 (eval "$ac_compile") 2>conftest.er1
6931 grep -v '^ *+' conftest.er1 >conftest.err
6933 cat conftest.err >&5
6934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } && {
6936 test -z "$ac_c_werror_flag" ||
6937 test ! -s conftest.err
6938 } && test -s conftest.$ac_objext; then
6939 eval "$as_ac_Header=yes"
6941 $as_echo "$as_me: failed program was:" >&5
6942 sed 's/^/| /' conftest.$ac_ext >&5
6944 eval "$as_ac_Header=no"
6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6949 ac_res=`eval 'as_val=${'$as_ac_Header'}
6950 $as_echo "$as_val"'`
6951 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6952 $as_echo "$ac_res" >&6; }
6953 as_val=`eval 'as_val=${'$as_ac_Header'}
6954 $as_echo "$as_val"'`
6955 if test "x$as_val" = x""yes; then
6956 cat >>confdefs.h <<_ACEOF
6957 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6966 for ac_header in dlfcn.h
6968 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6969 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6970 $as_echo_n "checking for $ac_header... " >&6; }
6971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6972 $as_echo_n "(cached) " >&6
6974 cat >conftest.$ac_ext <<_ACEOF
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6982 #include <$ac_header>
6984 rm -f conftest.$ac_objext
6985 if { (ac_try="$ac_compile"
6987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6988 *) ac_try_echo
=$ac_try;;
6990 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6991 $as_echo "$ac_try_echo") >&5
6992 (eval "$ac_compile") 2>conftest.er1
6994 grep -v '^ *+' conftest.er1
>conftest.err
6996 cat conftest.err
>&5
6997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } && {
6999 test -z "$ac_c_werror_flag" ||
7000 test ! -s conftest.err
7001 } && test -s conftest.
$ac_objext; then
7002 eval "$as_ac_Header=yes"
7004 $as_echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.
$ac_ext >&5
7007 eval "$as_ac_Header=no"
7010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7012 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7013 $as_echo "$as_val"'`
7014 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7015 $as_echo "$ac_res" >&6; }
7016 as_val
=`eval 'as_val=${'$as_ac_Header'}
7017 $as_echo "$as_val"'`
7018 if test "x$as_val" = x
""yes; then
7019 cat >>confdefs.h
<<_ACEOF
7020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7039 # Check whether --enable-shared was given.
7040 if test "${enable_shared+set}" = set; then
7041 enableval
=$enable_shared; p
=${PACKAGE-default}
7043 yes) enable_shared
=yes ;;
7044 no
) enable_shared
=no
;;
7047 # Look at the argument we got. We use all the common list separators.
7048 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7049 for pkg
in $enableval; do
7051 if test "X$pkg" = "X$p"; then
7070 # Check whether --enable-static was given.
7071 if test "${enable_static+set}" = set; then
7072 enableval
=$enable_static; p
=${PACKAGE-default}
7074 yes) enable_static
=yes ;;
7075 no
) enable_static
=no
;;
7078 # Look at the argument we got. We use all the common list separators.
7079 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7080 for pkg
in $enableval; do
7082 if test "X$pkg" = "X$p"; then
7102 # Check whether --with-pic was given.
7103 if test "${with_pic+set}" = set; then
7104 withval
=$with_pic; pic_mode
="$withval"
7110 test -z "$pic_mode" && pic_mode
=default
7118 # Check whether --enable-fast-install was given.
7119 if test "${enable_fast_install+set}" = set; then
7120 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7122 yes) enable_fast_install
=yes ;;
7123 no
) enable_fast_install
=no
;;
7125 enable_fast_install
=no
7126 # Look at the argument we got. We use all the common list separators.
7127 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7128 for pkg
in $enableval; do
7130 if test "X$pkg" = "X$p"; then
7131 enable_fast_install
=yes
7138 enable_fast_install
=yes
7151 # This can be used to rebuild libtool when needed
7152 LIBTOOL_DEPS
="$ltmain"
7154 # Always use our own libtool.
7155 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7181 test -z "$LN_S" && LN_S
="ln -s"
7196 if test -n "${ZSH_VERSION+set}" ; then
7197 setopt NO_GLOB_SUBST
7200 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7201 $as_echo_n "checking for objdir... " >&6; }
7202 if test "${lt_cv_objdir+set}" = set; then
7203 $as_echo_n "(cached) " >&6
7205 rm -f .libs
2>/dev
/null
7206 mkdir .libs
2>/dev
/null
7207 if test -d .libs
; then
7210 # MS-DOS does not allow filenames that begin with a dot.
7213 rmdir .libs
2>/dev
/null
7215 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7216 $as_echo "$lt_cv_objdir" >&6; }
7217 objdir
=$lt_cv_objdir
7223 cat >>confdefs.h
<<_ACEOF
7224 #define LT_OBJDIR "$lt_cv_objdir/"
7245 # AIX sometimes has problems with the GCC collect2 program. For some
7246 # reason, if we set the COLLECT_NAMES environment variable, the problems
7247 # vanish in a puff of smoke.
7248 if test "X${COLLECT_NAMES+set}" != Xset
; then
7250 export COLLECT_NAMES
7255 # Sed substitution that helps us do robust quoting. It backslashifies
7256 # metacharacters that are still active within double-quoted strings.
7257 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7259 # Same as above, but do not quote variable references.
7260 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7262 # Sed substitution to delay expansion of an escaped shell variable in a
7263 # double_quote_subst'ed string.
7264 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7266 # Sed substitution to delay expansion of an escaped single quote.
7267 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7269 # Sed substitution to avoid accidental globbing in evaled expressions
7270 no_glob_subst
='s/\*/\\\*/g'
7274 can_build_shared
=yes
7276 # All known linkers require a `.a' archive for static linking (except MSVC,
7277 # which needs '.lib').
7280 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7283 old_CFLAGS
="$CFLAGS"
7285 # Set sane defaults for various variables
7286 test -z "$CC" && CC
=cc
7287 test -z "$LTCC" && LTCC
=$CC
7288 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7289 test -z "$LD" && LD
=ld
7290 test -z "$ac_objext" && ac_objext
=o
7292 for cc_temp
in $compiler""; do
7294 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7295 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7300 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7303 # Only perform the check for file, if the check method requires it
7304 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7305 case $deplibs_check_method in
7307 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7308 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7309 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7310 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7311 $as_echo_n "(cached) " >&6
7315 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7318 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7319 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7320 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7321 for ac_dir
in $ac_dummy; do
7323 test -z "$ac_dir" && ac_dir
=.
7324 if test -f $ac_dir/${ac_tool_prefix}file; then
7325 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7326 if test -n "$file_magic_test_file"; then
7327 case $deplibs_check_method in
7329 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7330 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7331 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7332 $EGREP "$file_magic_regex" > /dev
/null
; then
7337 *** Warning: the command libtool uses to detect shared libraries,
7338 *** $file_magic_cmd, produces output that libtool cannot recognize.
7339 *** The result is that libtool may fail to recognize shared libraries
7340 *** as such. This will affect the creation of libtool libraries that
7341 *** depend on shared libraries, but programs linked with such libtool
7342 *** libraries will work regardless of this problem. Nevertheless, you
7343 *** may want to report the problem to your system manager and/or to
7344 *** bug-libtool@gnu.org
7354 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7359 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7360 if test -n "$MAGIC_CMD"; then
7361 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7362 $as_echo "$MAGIC_CMD" >&6; }
7364 { $as_echo "$as_me:$LINENO: result: no" >&5
7365 $as_echo "no" >&6; }
7372 if test -z "$lt_cv_path_MAGIC_CMD"; then
7373 if test -n "$ac_tool_prefix"; then
7374 { $as_echo "$as_me:$LINENO: checking for file" >&5
7375 $as_echo_n "checking for file... " >&6; }
7376 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7377 $as_echo_n "(cached) " >&6
7381 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7384 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7385 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7386 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7387 for ac_dir
in $ac_dummy; do
7389 test -z "$ac_dir" && ac_dir
=.
7390 if test -f $ac_dir/file; then
7391 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7392 if test -n "$file_magic_test_file"; then
7393 case $deplibs_check_method in
7395 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7396 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7397 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7398 $EGREP "$file_magic_regex" > /dev
/null
; then
7403 *** Warning: the command libtool uses to detect shared libraries,
7404 *** $file_magic_cmd, produces output that libtool cannot recognize.
7405 *** The result is that libtool may fail to recognize shared libraries
7406 *** as such. This will affect the creation of libtool libraries that
7407 *** depend on shared libraries, but programs linked with such libtool
7408 *** libraries will work regardless of this problem. Nevertheless, you
7409 *** may want to report the problem to your system manager and/or to
7410 *** bug-libtool@gnu.org
7420 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7425 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7426 if test -n "$MAGIC_CMD"; then
7427 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7428 $as_echo "$MAGIC_CMD" >&6; }
7430 { $as_echo "$as_me:$LINENO: result: no" >&5
7431 $as_echo "no" >&6; }
7444 # Use C for the default configuration in the libtool script
7448 ac_cpp
='$CPP $CPPFLAGS'
7449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7454 # Source file extension for C test sources.
7457 # Object file extension for compiled C test sources.
7461 # Code to be used in simple compile tests
7462 lt_simple_compile_test_code
="int some_variable = 0;"
7464 # Code to be used in simple link tests
7465 lt_simple_link_test_code
='int main(){return(0);}'
7473 # If no C compiler was specified, use CC.
7476 # If no C compiler flags were specified, use CFLAGS.
7477 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7479 # Allow CC to be a program name with arguments.
7482 # Save the default compiler, since it gets overwritten when the other
7483 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7484 compiler_DEFAULT
=$CC
7486 # save warnings/boilerplate of simple test code
7487 ac_outfile
=conftest.
$ac_objext
7488 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7489 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7490 _lt_compiler_boilerplate
=`cat conftest.err`
7493 ac_outfile
=conftest.
$ac_objext
7494 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7495 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7496 _lt_linker_boilerplate
=`cat conftest.err`
7500 if test -n "$compiler"; then
7502 lt_prog_compiler_no_builtin_flag
=
7504 if test "$GCC" = yes; then
7505 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7507 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7508 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7509 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7510 $as_echo_n "(cached) " >&6
7512 lt_cv_prog_compiler_rtti_exceptions
=no
7513 ac_outfile
=conftest.
$ac_objext
7514 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7515 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7516 # Insert the option either (1) after the last *FLAGS variable, or
7517 # (2) before a word containing "conftest.", or (3) at the end.
7518 # Note that $ac_compile itself does not contain backslashes and begins
7519 # with a dollar sign (not a hyphen), so the echo should work correctly.
7520 # The option is referenced via a variable to avoid confusing sed.
7521 lt_compile
=`echo "$ac_compile" | $SED \
7522 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7523 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7524 -e 's:$: $lt_compiler_flag:'`
7525 (eval echo "\"\$as_me:7525: $lt_compile\"" >&5)
7526 (eval "$lt_compile" 2>conftest.err
)
7528 cat conftest.err
>&5
7529 echo "$as_me:7529: \$? = $ac_status" >&5
7530 if (exit $ac_status) && test -s "$ac_outfile"; then
7531 # The compiler can only warn and ignore the option if not recognized
7532 # So say no if there are warnings other than the usual output.
7533 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7534 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7535 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7536 lt_cv_prog_compiler_rtti_exceptions
=yes
7542 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7543 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7545 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7546 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7558 lt_prog_compiler_wl
=
7559 lt_prog_compiler_pic
=
7560 lt_prog_compiler_static
=
7562 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7563 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7565 if test "$GCC" = yes; then
7566 lt_prog_compiler_wl
='-Wl,'
7567 lt_prog_compiler_static
='-static'
7571 # All AIX code is PIC.
7572 if test "$host_cpu" = ia64
; then
7573 # AIX 5 now supports IA64 processor
7574 lt_prog_compiler_static
='-Bstatic'
7581 # see comment about AmigaOS4 .so support
7582 lt_prog_compiler_pic
='-fPIC'
7585 # FIXME: we need at least 68020 code to build shared libraries, but
7586 # adding the `-m68020' flag to GCC prevents building anything better,
7588 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7593 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7594 # PIC is the default for these OSes.
7597 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7598 # This hack is so that the source file can tell whether it is being
7599 # built for inclusion in a dll (and should export symbols for example).
7600 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7601 # (--disable-auto-import) libraries
7602 lt_prog_compiler_pic
='-DDLL_EXPORT'
7605 darwin
* | rhapsody
*)
7606 # PIC is the default on this platform
7607 # Common symbols not allowed in MH_DYLIB files
7608 lt_prog_compiler_pic
='-fno-common'
7612 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7613 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7614 # sets the default TLS model and affects inlining.
7620 lt_prog_compiler_pic
='-fPIC'
7626 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7627 # Instead, we relocate shared libraries at runtime.
7631 # Just because we use GCC doesn't mean we suddenly get shared libraries
7632 # on systems that don't support them.
7633 lt_prog_compiler_can_build_shared
=no
7638 # QNX uses GNU C++, but need to define -shared option too, otherwise
7640 lt_prog_compiler_pic
='-fPIC -shared'
7644 if test -d /usr
/nec
; then
7645 lt_prog_compiler_pic
=-Kconform_pic
7650 lt_prog_compiler_pic
='-fPIC'
7654 # PORTME Check for flag to pass linker flags through the system compiler.
7657 lt_prog_compiler_wl
='-Wl,'
7658 if test "$host_cpu" = ia64
; then
7659 # AIX 5 now supports IA64 processor
7660 lt_prog_compiler_static
='-Bstatic'
7662 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7666 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7667 # This hack is so that the source file can tell whether it is being
7668 # built for inclusion in a dll (and should export symbols for example).
7669 lt_prog_compiler_pic
='-DDLL_EXPORT'
7672 hpux9
* | hpux10
* | hpux11
*)
7673 lt_prog_compiler_wl
='-Wl,'
7674 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7681 lt_prog_compiler_pic
='+Z'
7684 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7685 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7688 irix5
* | irix6
* | nonstopux
*)
7689 lt_prog_compiler_wl
='-Wl,'
7690 # PIC (with -KPIC) is the default.
7691 lt_prog_compiler_static
='-non_shared'
7694 linux
* | k
*bsd
*-gnu)
7695 case $cc_basename in
7696 # old Intel for x86_64 which still supported -KPIC.
7698 lt_prog_compiler_wl
='-Wl,'
7699 lt_prog_compiler_pic
='-KPIC'
7700 lt_prog_compiler_static
='-static'
7702 # icc used to be incompatible with GCC.
7703 # ICC 10 doesn't accept -KPIC any more.
7705 lt_prog_compiler_wl
='-Wl,'
7706 lt_prog_compiler_pic
='-fPIC'
7707 lt_prog_compiler_static
='-static'
7709 # Lahey Fortran 8.1.
7711 lt_prog_compiler_wl
='-Wl,'
7712 lt_prog_compiler_pic
='--shared'
7713 lt_prog_compiler_static
='--static'
7715 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7716 # Portland Group compilers (*not* the Pentium gcc compiler,
7717 # which looks to be a dead project)
7718 lt_prog_compiler_wl
='-Wl,'
7719 lt_prog_compiler_pic
='-fpic'
7720 lt_prog_compiler_static
='-Bstatic'
7723 lt_prog_compiler_wl
='-Wl,'
7724 # All Alpha code is PIC.
7725 lt_prog_compiler_static
='-non_shared'
7728 # IBM XL C 8.0/Fortran 10.1 on PPC
7729 lt_prog_compiler_wl
='-Wl,'
7730 lt_prog_compiler_pic
='-qpic'
7731 lt_prog_compiler_static
='-qstaticlink'
7734 case `$CC -V 2>&1 | sed 5q` in
7737 lt_prog_compiler_pic
='-KPIC'
7738 lt_prog_compiler_static
='-Bstatic'
7739 lt_prog_compiler_wl
='-Wl,'
7742 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7743 lt_prog_compiler_pic
='-KPIC'
7744 lt_prog_compiler_static
='-Bstatic'
7745 lt_prog_compiler_wl
=''
7753 lt_prog_compiler_pic
='-KPIC'
7754 lt_prog_compiler_static
='-Bstatic'
7758 # QNX uses GNU C++, but need to define -shared option too, otherwise
7760 lt_prog_compiler_pic
='-fPIC -shared'
7763 osf3
* | osf4
* | osf5
*)
7764 lt_prog_compiler_wl
='-Wl,'
7765 # All OSF/1 code is PIC.
7766 lt_prog_compiler_static
='-non_shared'
7770 lt_prog_compiler_static
='-non_shared'
7774 lt_prog_compiler_pic
='-KPIC'
7775 lt_prog_compiler_static
='-Bstatic'
7776 case $cc_basename in
7778 lt_prog_compiler_wl
='-Qoption ld ';;
7780 lt_prog_compiler_wl
='-Wl,';;
7785 lt_prog_compiler_wl
='-Qoption ld '
7786 lt_prog_compiler_pic
='-PIC'
7787 lt_prog_compiler_static
='-Bstatic'
7790 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7791 lt_prog_compiler_wl
='-Wl,'
7792 lt_prog_compiler_pic
='-KPIC'
7793 lt_prog_compiler_static
='-Bstatic'
7797 if test -d /usr
/nec
;then
7798 lt_prog_compiler_pic
='-Kconform_pic'
7799 lt_prog_compiler_static
='-Bstatic'
7803 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7804 lt_prog_compiler_wl
='-Wl,'
7805 lt_prog_compiler_pic
='-KPIC'
7806 lt_prog_compiler_static
='-Bstatic'
7810 lt_prog_compiler_wl
='-Wl,'
7811 lt_prog_compiler_can_build_shared
=no
7815 lt_prog_compiler_pic
='-pic'
7816 lt_prog_compiler_static
='-Bstatic'
7820 lt_prog_compiler_can_build_shared
=no
7826 # For platforms which do not support PIC, -DPIC is meaningless:
7828 lt_prog_compiler_pic
=
7831 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7834 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7835 $as_echo "$lt_prog_compiler_pic" >&6; }
7843 # Check to make sure the PIC flag actually works.
7845 if test -n "$lt_prog_compiler_pic"; then
7846 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7847 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7848 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7849 $as_echo_n "(cached) " >&6
7851 lt_cv_prog_compiler_pic_works
=no
7852 ac_outfile
=conftest.
$ac_objext
7853 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7854 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7855 # Insert the option either (1) after the last *FLAGS variable, or
7856 # (2) before a word containing "conftest.", or (3) at the end.
7857 # Note that $ac_compile itself does not contain backslashes and begins
7858 # with a dollar sign (not a hyphen), so the echo should work correctly.
7859 # The option is referenced via a variable to avoid confusing sed.
7860 lt_compile
=`echo "$ac_compile" | $SED \
7861 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7862 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7863 -e 's:$: $lt_compiler_flag:'`
7864 (eval echo "\"\$as_me:7864: $lt_compile\"" >&5)
7865 (eval "$lt_compile" 2>conftest.err
)
7867 cat conftest.err
>&5
7868 echo "$as_me:7868: \$? = $ac_status" >&5
7869 if (exit $ac_status) && test -s "$ac_outfile"; then
7870 # The compiler can only warn and ignore the option if not recognized
7871 # So say no if there are warnings other than the usual output.
7872 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7873 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7874 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7875 lt_cv_prog_compiler_pic_works
=yes
7881 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7882 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7884 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7885 case $lt_prog_compiler_pic in
7887 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7890 lt_prog_compiler_pic
=
7891 lt_prog_compiler_can_build_shared
=no
7902 # Check to make sure the static flag actually works.
7904 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7905 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7906 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7907 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7908 $as_echo_n "(cached) " >&6
7910 lt_cv_prog_compiler_static_works
=no
7911 save_LDFLAGS
="$LDFLAGS"
7912 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7913 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7914 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7915 # The linker can only warn and ignore the option if not recognized
7916 # So say no if there are warnings
7917 if test -s conftest.err
; then
7918 # Append any errors to the config.log.
7919 cat conftest.err
1>&5
7920 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7921 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7922 if diff conftest.exp conftest.er2
>/dev
/null
; then
7923 lt_cv_prog_compiler_static_works
=yes
7926 lt_cv_prog_compiler_static_works
=yes
7930 LDFLAGS
="$save_LDFLAGS"
7933 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7934 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7936 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7939 lt_prog_compiler_static
=
7948 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7949 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7950 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7951 $as_echo_n "(cached) " >&6
7953 lt_cv_prog_compiler_c_o
=no
7954 $RM -r conftest
2>/dev
/null
7958 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7960 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7961 # Insert the option either (1) after the last *FLAGS variable, or
7962 # (2) before a word containing "conftest.", or (3) at the end.
7963 # Note that $ac_compile itself does not contain backslashes and begins
7964 # with a dollar sign (not a hyphen), so the echo should work correctly.
7965 lt_compile
=`echo "$ac_compile" | $SED \
7966 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7967 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7968 -e 's:$: $lt_compiler_flag:'`
7969 (eval echo "\"\$as_me:7969: $lt_compile\"" >&5)
7970 (eval "$lt_compile" 2>out
/conftest.err
)
7972 cat out
/conftest.err
>&5
7973 echo "$as_me:7973: \$? = $ac_status" >&5
7974 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7976 # The compiler can only warn and ignore the option if not recognized
7977 # So say no if there are warnings
7978 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7979 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7980 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7981 lt_cv_prog_compiler_c_o
=yes
7986 # SGI C++ compiler will create directory out/ii_files/ for
7987 # template instantiation
7988 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7989 $RM out
/* && rmdir out
7995 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7996 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8003 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8004 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8005 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8006 $as_echo_n "(cached) " >&6
8008 lt_cv_prog_compiler_c_o
=no
8009 $RM -r conftest
2>/dev
/null
8013 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8015 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8016 # Insert the option either (1) after the last *FLAGS variable, or
8017 # (2) before a word containing "conftest.", or (3) at the end.
8018 # Note that $ac_compile itself does not contain backslashes and begins
8019 # with a dollar sign (not a hyphen), so the echo should work correctly.
8020 lt_compile
=`echo "$ac_compile" | $SED \
8021 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8023 -e 's:$: $lt_compiler_flag:'`
8024 (eval echo "\"\$as_me:8024: $lt_compile\"" >&5)
8025 (eval "$lt_compile" 2>out
/conftest.err
)
8027 cat out
/conftest.err
>&5
8028 echo "$as_me:8028: \$? = $ac_status" >&5
8029 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8031 # The compiler can only warn and ignore the option if not recognized
8032 # So say no if there are warnings
8033 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8034 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8035 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8036 lt_cv_prog_compiler_c_o
=yes
8041 # SGI C++ compiler will create directory out/ii_files/ for
8042 # template instantiation
8043 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8044 $RM out
/* && rmdir out
8050 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8051 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8056 hard_links
="nottested"
8057 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8058 # do not overwrite the value of need_locks provided by the user
8059 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8060 $as_echo_n "checking if we can lock with hard links... " >&6; }
8063 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8065 ln conftest.a conftest.b
2>&5 || hard_links
=no
8066 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8067 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8068 $as_echo "$hard_links" >&6; }
8069 if test "$hard_links" = no
; then
8070 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8071 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8083 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8084 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8087 allow_undefined_flag
=
8088 always_export_symbols
=no
8090 archive_expsym_cmds
=
8091 compiler_needs_object
=no
8092 enable_shared_with_static_runtimes
=no
8093 export_dynamic_flag_spec
=
8094 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8095 hardcode_automatic
=no
8097 hardcode_direct_absolute
=no
8098 hardcode_libdir_flag_spec
=
8099 hardcode_libdir_flag_spec_ld
=
8100 hardcode_libdir_separator
=
8102 hardcode_shlibpath_var
=unsupported
8104 link_all_deplibs
=unknown
8107 old_archive_from_new_cmds
=
8108 old_archive_from_expsyms_cmds
=
8109 thread_safe_flag_spec
=
8110 whole_archive_flag_spec
=
8111 # include_expsyms should be a list of space-separated symbols to be *always*
8112 # included in the symbol list
8114 # exclude_expsyms can be an extended regexp of symbols to exclude
8115 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8116 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8117 # as well as any symbol that contains `d'.
8118 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8119 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8120 # platforms (ab)use it in PIC code, but their linkers get confused if
8121 # the symbol is explicitly referenced. Since portable code cannot
8122 # rely on this symbol name, it's probably fine to never include it in
8123 # preloaded symbol tables.
8124 # Exclude shared library initialization/finalization symbols.
8125 extract_expsyms_cmds
=
8128 cygwin
* | mingw
* | pw32
* | cegcc
*)
8129 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8130 # When not using gcc, we currently assume that we are using
8131 # Microsoft Visual C++.
8132 if test "$GCC" != yes; then
8137 # we just hope/assume this is gcc and not c89 (= MSVC++)
8146 if test "$with_gnu_ld" = yes; then
8147 # If archive_cmds runs LD, not CC, wlarc should be empty
8150 # Set some defaults for GNU ld with shared library support. These
8151 # are reset later if shared libraries are not supported. Putting them
8152 # here allows them to be overridden if necessary.
8153 runpath_var
=LD_RUN_PATH
8154 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8155 export_dynamic_flag_spec
='${wl}--export-dynamic'
8156 # ancient GNU ld didn't support --whole-archive et. al.
8157 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8158 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8160 whole_archive_flag_spec
=
8162 supports_anon_versioning
=no
8163 case `$LD -v 2>&1` in
8164 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8165 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8166 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8167 *\
2.11.
*) ;; # other 2.11 versions
8168 *) supports_anon_versioning
=yes ;;
8171 # See if GNU ld supports shared libraries.
8174 # On AIX/PPC, the GNU linker is very broken
8175 if test "$host_cpu" != ia64
; then
8179 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8180 *** to be unable to reliably create shared libraries on AIX.
8181 *** Therefore, libtool is disabling shared libraries support. If you
8182 *** really care for shared libraries, you may want to modify your PATH
8183 *** so that a non-GNU linker is found, and then restart.
8192 # see comment about AmigaOS4 .so support
8193 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8194 archive_expsym_cmds
=''
8197 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)'
8198 hardcode_libdir_flag_spec
='-L$libdir'
8199 hardcode_minus_L
=yes
8205 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8206 allow_undefined_flag
=unsupported
8207 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8208 # support --undefined. This deserves some investigation. FIXME
8209 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8215 cygwin
* | mingw
* | pw32
* | cegcc
*)
8216 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8217 # as there is no search path for DLLs.
8218 hardcode_libdir_flag_spec
='-L$libdir'
8219 allow_undefined_flag
=unsupported
8220 always_export_symbols
=no
8221 enable_shared_with_static_runtimes
=yes
8222 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8224 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8225 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8226 # If the export-symbols file already is a .def file (1st line
8227 # is EXPORTS), use it as is; otherwise, prepend...
8228 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8229 cp $export_symbols $output_objdir/$soname.def;
8231 echo EXPORTS > $output_objdir/$soname.def;
8232 cat $export_symbols >> $output_objdir/$soname.def;
8234 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8242 hardcode_shlibpath_var
=no
8243 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8244 export_dynamic_flag_spec
='${wl}-E'
8245 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8246 # Instead, shared libraries are loaded at an image base (0x10000000 by
8247 # default) and relocated if they conflict, which is a slow very memory
8248 # consuming and fragmenting process. To avoid this, we pick a random,
8249 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8250 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8251 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8252 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'
8255 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8257 if test "$host_os" = linux-dietlibc
; then
8258 case $cc_basename in
8259 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8262 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8263 && test "$tmp_diet" = no
8266 tmp_sharedflag
='-shared'
8267 case $cc_basename,$host_cpu in
8268 pgcc
*) # Portland Group C compiler
8269 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'
8270 tmp_addflag
=' $pic_flag'
8272 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8273 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'
8274 tmp_addflag
=' $pic_flag -Mnomain' ;;
8275 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8276 tmp_addflag
=' -i_dynamic' ;;
8277 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8278 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8279 ifc
* | ifort
*) # Intel Fortran compiler
8280 tmp_addflag
=' -nofor_main' ;;
8281 lf95
*) # Lahey Fortran 8.1
8282 whole_archive_flag_spec
=
8283 tmp_sharedflag
='--shared' ;;
8284 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8285 tmp_sharedflag
='-qmkshrobj'
8288 case `$CC -V 2>&1 | sed 5q` in
8289 *Sun\ C
*) # Sun C 5.9
8290 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'
8291 compiler_needs_object
=yes
8292 tmp_sharedflag
='-G' ;;
8293 *Sun\ F
*) # Sun Fortran 8.3
8294 tmp_sharedflag
='-G' ;;
8296 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8298 if test "x$supports_anon_versioning" = xyes
; then
8299 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8300 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8301 echo "local: *; };" >> $output_objdir/$libname.ver~
8302 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8305 case $cc_basename in
8307 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8308 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8309 hardcode_libdir_flag_spec
=
8310 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8311 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8312 if test "x$supports_anon_versioning" = xyes
; then
8313 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8314 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8315 echo "local: *; };" >> $output_objdir/$libname.ver~
8316 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8326 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8327 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8330 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8331 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8336 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8340 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8341 *** create shared libraries on Solaris systems. Therefore, libtool
8342 *** is disabling shared libraries support. We urge you to upgrade GNU
8343 *** binutils to release 2.9.1 or newer. Another option is to modify
8344 *** your PATH or compiler configuration so that the native linker is
8345 *** used, and then restart.
8348 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8350 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8356 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8357 case `$LD -v 2>&1` in
8358 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8362 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8363 *** reliably create shared libraries on SCO systems. Therefore, libtool
8364 *** is disabling shared libraries support. We urge you to upgrade GNU
8365 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8366 *** your PATH or compiler configuration so that the native linker is
8367 *** used, and then restart.
8372 # For security reasons, it is highly recommended that you always
8373 # use absolute paths for naming shared libraries, and exclude the
8374 # DT_RUNPATH tag from executables and libraries. But doing so
8375 # requires that you compile everything twice, which is a pain.
8376 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8377 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8378 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8379 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8388 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8391 hardcode_shlibpath_var
=no
8395 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8396 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8397 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8404 if test "$ld_shlibs" = no
; then
8406 hardcode_libdir_flag_spec
=
8407 export_dynamic_flag_spec
=
8408 whole_archive_flag_spec
=
8411 # PORTME fill in a description of your system's linker (not GNU ld)
8414 allow_undefined_flag
=unsupported
8415 always_export_symbols
=yes
8416 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'
8417 # Note: this linker hardcodes the directories in LIBPATH if there
8418 # are no directories specified by -L.
8419 hardcode_minus_L
=yes
8420 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8421 # Neither direct hardcoding nor static linking is supported with a
8423 hardcode_direct
=unsupported
8428 if test "$host_cpu" = ia64
; then
8429 # On IA64, the linker does run time linking by default, so we don't
8430 # have to do anything special.
8431 aix_use_runtimelinking
=no
8432 exp_sym_flag
='-Bexport'
8435 # If we're using GNU nm, then we don't want the "-C" option.
8436 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8437 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8438 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'
8440 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'
8442 aix_use_runtimelinking
=no
8444 # Test if we are trying to use run time linking or normal
8445 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8446 # need to do runtime linking.
8447 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8448 for ld_flag
in $LDFLAGS; do
8449 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8450 aix_use_runtimelinking
=yes
8457 exp_sym_flag
='-bexport'
8458 no_entry_flag
='-bnoentry'
8461 # When large executables or shared objects are built, AIX ld can
8462 # have problems creating the table of contents. If linking a library
8463 # or program results in "error TOC overflow" add -mminimal-toc to
8464 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8465 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8469 hardcode_direct_absolute
=yes
8470 hardcode_libdir_separator
=':'
8471 link_all_deplibs
=yes
8472 file_list_spec
='${wl}-f,'
8474 if test "$GCC" = yes; then
8475 case $host_os in aix4.
[012]|aix4.
[012].
*)
8476 # We only want to do this on AIX 4.2 and lower, the check
8477 # below for broken collect2 doesn't work under 4.3+
8478 collect2name
=`${CC} -print-prog-name=collect2`
8479 if test -f "$collect2name" &&
8480 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8482 # We have reworked collect2
8485 # We have old collect2
8486 hardcode_direct
=unsupported
8487 # It fails to find uninstalled libraries when the uninstalled
8488 # path is not listed in the libpath. Setting hardcode_minus_L
8489 # to unsupported forces relinking
8490 hardcode_minus_L
=yes
8491 hardcode_libdir_flag_spec
='-L$libdir'
8492 hardcode_libdir_separator
=
8496 shared_flag
='-shared'
8497 if test "$aix_use_runtimelinking" = yes; then
8498 shared_flag
="$shared_flag "'${wl}-G'
8502 if test "$host_cpu" = ia64
; then
8503 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8504 # chokes on -Wl,-G. The following line is correct:
8507 if test "$aix_use_runtimelinking" = yes; then
8508 shared_flag
='${wl}-G'
8510 shared_flag
='${wl}-bM:SRE'
8515 export_dynamic_flag_spec
='${wl}-bexpall'
8516 # It seems that -bexpall does not export symbols beginning with
8517 # underscore (_), so it is better to generate a list of symbols to export.
8518 always_export_symbols
=yes
8519 if test "$aix_use_runtimelinking" = yes; then
8520 # Warning - without using the other runtime loading flags (-brtl),
8521 # -berok will link without error, but may produce a broken library.
8522 allow_undefined_flag
='-berok'
8523 # Determine the default libpath from the value encoded in an
8525 cat >conftest.
$ac_ext <<_ACEOF
8528 cat confdefs.h
>>conftest.
$ac_ext
8529 cat >>conftest.
$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8540 rm -f conftest.
$ac_objext conftest
$ac_exeext
8541 if { (ac_try
="$ac_link"
8543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8544 *) ac_try_echo=$ac_try;;
8546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8547 $as_echo "$ac_try_echo") >&5
8548 (eval "$ac_link") 2>conftest.er1
8550 grep -v '^ *+' conftest.er1 >conftest.err
8552 cat conftest.err >&5
8553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } && {
8555 test -z "$ac_c_werror_flag" ||
8556 test ! -s conftest.err
8557 } && test -s conftest$ac_exeext && {
8558 test "$cross_compiling" = yes ||
8559 $as_test_x conftest$ac_exeext
8562 lt_aix_libpath_sed='
8563 /Import File Strings/,/^$/ {
8569 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8570 # Check for a 64-bit object if we didn't find anything.
8571 if test -z "$aix_libpath"; then
8572 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8575 $as_echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.$ac_ext >&5
8581 rm -rf conftest.dSYM
8582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8583 conftest$ac_exeext conftest.$ac_ext
8584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8586 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8587 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"
8589 if test "$host_cpu" = ia64; then
8590 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8591 allow_undefined_flag="-z nodefs"
8592 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"
8594 # Determine the default libpath from the value encoded in an
8596 cat >conftest.$ac_ext <<_ACEOF
8599 cat confdefs.h >>conftest.$ac_ext
8600 cat >>conftest.$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8611 rm -f conftest.$ac_objext conftest$ac_exeext
8612 if { (ac_try="$ac_link"
8614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8615 *) ac_try_echo
=$ac_try;;
8617 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8618 $as_echo "$ac_try_echo") >&5
8619 (eval "$ac_link") 2>conftest.er1
8621 grep -v '^ *+' conftest.er1
>conftest.err
8623 cat conftest.err
>&5
8624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } && {
8626 test -z "$ac_c_werror_flag" ||
8627 test ! -s conftest.err
8628 } && test -s conftest
$ac_exeext && {
8629 test "$cross_compiling" = yes ||
8630 $as_test_x conftest
$ac_exeext
8633 lt_aix_libpath_sed
='
8634 /Import File Strings/,/^$/ {
8640 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8641 # Check for a 64-bit object if we didn't find anything.
8642 if test -z "$aix_libpath"; then
8643 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8646 $as_echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.
$ac_ext >&5
8652 rm -rf conftest.dSYM
8653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8654 conftest
$ac_exeext conftest.
$ac_ext
8655 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8657 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8658 # Warning - without using the other run time loading flags,
8659 # -berok will link without error, but may produce a broken library.
8660 no_undefined_flag
=' ${wl}-bernotok'
8661 allow_undefined_flag
=' ${wl}-berok'
8662 # Exported symbols can be pulled into shared objects from archives
8663 whole_archive_flag_spec
='$convenience'
8664 archive_cmds_need_lc
=yes
8665 # This is similar to how AIX traditionally builds its shared libraries.
8666 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'
8674 # see comment about AmigaOS4 .so support
8675 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8676 archive_expsym_cmds
=''
8679 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)'
8680 hardcode_libdir_flag_spec
='-L$libdir'
8681 hardcode_minus_L
=yes
8687 export_dynamic_flag_spec
=-rdynamic
8690 cygwin
* | mingw
* | pw32
* | cegcc
*)
8691 # When not using gcc, we currently assume that we are using
8692 # Microsoft Visual C++.
8693 # hardcode_libdir_flag_spec is actually meaningless, as there is
8694 # no search path for DLLs.
8695 hardcode_libdir_flag_spec
=' '
8696 allow_undefined_flag
=unsupported
8697 # Tell ltmain to make .lib files, not .a files.
8699 # Tell ltmain to make .dll files, not .so files.
8701 # FIXME: Setting linknames here is a bad hack.
8702 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8703 # The linker will automatically build a .lib file if we build a DLL.
8704 old_archive_from_new_cmds
='true'
8705 # FIXME: Should let the user specify the lib program.
8706 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8707 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8708 enable_shared_with_static_runtimes
=yes
8711 darwin
* | rhapsody
*)
8714 archive_cmds_need_lc
=no
8716 hardcode_automatic
=yes
8717 hardcode_shlibpath_var
=unsupported
8718 whole_archive_flag_spec
=''
8719 link_all_deplibs
=yes
8720 allow_undefined_flag
="$_lt_dar_allow_undefined"
8721 case $cc_basename in
8722 ifort
*) _lt_dar_can_shared
=yes ;;
8723 *) _lt_dar_can_shared
=$GCC ;;
8725 if test "$_lt_dar_can_shared" = "yes"; then
8726 output_verbose_link_cmd
=echo
8727 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8728 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8729 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}"
8730 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}"
8739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740 hardcode_libdir_flag_spec
='-L$libdir'
8741 hardcode_shlibpath_var
=no
8748 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8749 # support. Future versions do this automatically, but an explicit c++rt0.o
8750 # does not break anything, and helps significantly (at the cost of a little
8753 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8754 hardcode_libdir_flag_spec
='-R$libdir'
8756 hardcode_shlibpath_var
=no
8759 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8761 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8763 hardcode_minus_L
=yes
8764 hardcode_shlibpath_var
=no
8767 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8768 freebsd
* | dragonfly
*)
8769 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8770 hardcode_libdir_flag_spec
='-R$libdir'
8772 hardcode_shlibpath_var
=no
8776 if test "$GCC" = yes; then
8777 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'
8779 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'
8781 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8782 hardcode_libdir_separator
=:
8785 # hardcode_minus_L: Not really in the search PATH,
8786 # but as the default location of the library.
8787 hardcode_minus_L
=yes
8788 export_dynamic_flag_spec
='${wl}-E'
8792 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8793 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8795 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8797 if test "$with_gnu_ld" = no
; then
8798 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8799 hardcode_libdir_flag_spec_ld
='+b $libdir'
8800 hardcode_libdir_separator
=:
8802 hardcode_direct_absolute
=yes
8803 export_dynamic_flag_spec
='${wl}-E'
8804 # hardcode_minus_L: Not really in the search PATH,
8805 # but as the default location of the library.
8806 hardcode_minus_L
=yes
8811 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8814 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8817 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8820 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8826 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8829 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8832 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8836 if test "$with_gnu_ld" = no
; then
8837 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8838 hardcode_libdir_separator
=:
8843 hardcode_shlibpath_var
=no
8847 hardcode_direct_absolute
=yes
8848 export_dynamic_flag_spec
='${wl}-E'
8850 # hardcode_minus_L: Not really in the search PATH,
8851 # but as the default location of the library.
8852 hardcode_minus_L
=yes
8858 irix5
* | irix6
* | nonstopux
*)
8859 if test "$GCC" = yes; then
8860 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'
8861 # Try to use the -exported_symbol ld option, if it does not
8862 # work, assume that -exports_file does not work either and
8863 # implicitly export all symbols.
8864 save_LDFLAGS
="$LDFLAGS"
8865 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8866 cat >conftest.
$ac_ext <<_ACEOF
8869 rm -f conftest.
$ac_objext conftest
$ac_exeext
8870 if { (ac_try
="$ac_link"
8872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8873 *) ac_try_echo=$ac_try;;
8875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8876 $as_echo "$ac_try_echo") >&5
8877 (eval "$ac_link") 2>conftest.er1
8879 grep -v '^ *+' conftest.er1 >conftest.err
8881 cat conftest.err >&5
8882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } && {
8884 test -z "$ac_c_werror_flag" ||
8885 test ! -s conftest.err
8886 } && test -s conftest$ac_exeext && {
8887 test "$cross_compiling" = yes ||
8888 $as_test_x conftest$ac_exeext
8890 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'
8893 $as_echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.$ac_ext >&5
8899 rm -rf conftest.dSYM
8900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8901 conftest$ac_exeext conftest.$ac_ext
8902 LDFLAGS="$save_LDFLAGS"
8904 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'
8905 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'
8907 archive_cmds_need_lc='no'
8908 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8909 hardcode_libdir_separator=:
8911 link_all_deplibs=yes
8915 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8916 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8918 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8920 hardcode_libdir_flag_spec='-R$libdir'
8922 hardcode_shlibpath_var=no
8926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8928 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8929 hardcode_libdir_separator=:
8930 hardcode_shlibpath_var=no
8937 if test -f /usr/libexec/ld.so; then
8939 hardcode_shlibpath_var=no
8940 hardcode_direct_absolute=yes
8941 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8942 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8943 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8944 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8945 export_dynamic_flag_spec='${wl}-E'
8948 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8949 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8950 hardcode_libdir_flag_spec='-R$libdir'
8953 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8954 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8964 hardcode_libdir_flag_spec='-L$libdir'
8965 hardcode_minus_L=yes
8966 allow_undefined_flag=unsupported
8967 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'
8968 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8972 if test "$GCC" = yes; then
8973 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8974 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'
8976 allow_undefined_flag=' -expect_unresolved \*'
8977 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'
8979 archive_cmds_need_lc='no'
8980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8981 hardcode_libdir_separator=:
8984 osf4* | osf5*) # as osf3* with the addition of -msym flag
8985 if test "$GCC" = yes; then
8986 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8987 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'
8988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8990 allow_undefined_flag=' -expect_unresolved \*'
8991 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'
8992 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~
8993 $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'
8995 # Both c and cxx compiler support -rpath directly
8996 hardcode_libdir_flag_spec='-rpath $libdir'
8998 archive_cmds_need_lc='no'
8999 hardcode_libdir_separator=:
9003 no_undefined_flag=' -z defs'
9004 if test "$GCC" = yes; then
9006 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9007 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9008 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9010 case `$CC -V 2>&1` in
9013 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9014 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9015 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9019 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9020 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9021 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9025 hardcode_libdir_flag_spec='-R$libdir'
9026 hardcode_shlibpath_var=no
9028 solaris2.[0-5] | solaris2.[0-5].*) ;;
9030 # The compiler driver will combine and reorder linker options,
9031 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9032 # but is careful enough not to reorder.
9033 # Supported since Solaris 2.6 (maybe 2.5.1?)
9034 if test "$GCC" = yes; then
9035 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9037 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9041 link_all_deplibs
=yes
9045 if test "x$host_vendor" = xsequent
; then
9046 # Use $CC to link under sequent, because it throws in some extra .o
9047 # files that make .init and .fini sections work.
9048 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9050 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9052 hardcode_libdir_flag_spec
='-L$libdir'
9054 hardcode_minus_L
=yes
9055 hardcode_shlibpath_var
=no
9059 case $host_vendor in
9061 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9062 hardcode_direct
=yes # is this really true???
9065 ## LD is ld it makes a PLAMLIB
9066 ## CC just makes a GrossModule.
9067 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9068 reload_cmds
='$CC -r -o $output$reload_objs'
9072 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9076 runpath_var
='LD_RUN_PATH'
9077 hardcode_shlibpath_var
=no
9081 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9082 hardcode_shlibpath_var
=no
9083 export_dynamic_flag_spec
='-Bexport'
9087 if test -d /usr
/nec
; then
9088 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9089 hardcode_shlibpath_var
=no
9090 runpath_var
=LD_RUN_PATH
9091 hardcode_runpath_var
=yes
9096 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9097 no_undefined_flag
='${wl}-z,text'
9098 archive_cmds_need_lc
=no
9099 hardcode_shlibpath_var
=no
9100 runpath_var
='LD_RUN_PATH'
9102 if test "$GCC" = yes; then
9103 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9104 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9106 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9107 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9111 sysv5
* | sco3.2v5
* | sco5v6
*)
9112 # Note: We can NOT use -z defs as we might desire, because we do not
9113 # link with -lc, and that would cause any symbols used from libc to
9114 # always be unresolved, which means just about no library would
9115 # ever link correctly. If we're not using GNU ld we use -z text
9116 # though, which does catch some bad symbols but isn't as heavy-handed
9118 no_undefined_flag
='${wl}-z,text'
9119 allow_undefined_flag
='${wl}-z,nodefs'
9120 archive_cmds_need_lc
=no
9121 hardcode_shlibpath_var
=no
9122 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9123 hardcode_libdir_separator
=':'
9124 link_all_deplibs
=yes
9125 export_dynamic_flag_spec
='${wl}-Bexport'
9126 runpath_var
='LD_RUN_PATH'
9128 if test "$GCC" = yes; then
9129 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9130 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9133 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9138 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9139 hardcode_libdir_flag_spec
='-L$libdir'
9140 hardcode_shlibpath_var
=no
9148 if test x
$host_vendor = xsni
; then
9150 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9151 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9157 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9158 $as_echo "$ld_shlibs" >&6; }
9159 test "$ld_shlibs" = no
&& can_build_shared
=no
9161 with_gnu_ld
=$with_gnu_ld
9178 # Do we need to explicitly link libc?
9180 case "x$archive_cmds_need_lc" in
9182 # Assume -lc should be added
9183 archive_cmds_need_lc
=yes
9185 if test "$enable_shared" = yes && test "$GCC" = yes; then
9186 case $archive_cmds in
9188 # FIXME: we may have to deal with multi-command sequences.
9191 # Test whether the compiler implicitly links with -lc since on some
9192 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9193 # to ld, don't add -lc before -lgcc.
9194 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9195 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9197 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9200 (eval $ac_compile) 2>&5
9202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } 2>conftest.err
; then
9206 libobjs
=conftest.
$ac_objext
9208 wl
=$lt_prog_compiler_wl
9209 pic_flag
=$lt_prog_compiler_pic
9215 lt_save_allow_undefined_flag
=$allow_undefined_flag
9216 allow_undefined_flag
=
9217 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9218 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }
9223 archive_cmds_need_lc
=no
9225 archive_cmds_need_lc
=yes
9227 allow_undefined_flag
=$lt_save_allow_undefined_flag
9229 cat conftest.err
1>&5
9232 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9233 $as_echo "$archive_cmds_need_lc" >&6; }
9396 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9397 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9399 if test "$GCC" = yes; then
9401 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9402 *) lt_awk_arg
="/^libraries:/" ;;
9404 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9405 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9406 # if the path contains ";" then we assume it to be the separator
9407 # otherwise default to the standard path separator (i.e. ":") - it is
9408 # assumed that no part of a normal pathname contains ";" but that should
9409 # okay in the real world where ";" in dirpaths is itself problematic.
9410 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9412 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9414 # Ok, now we have the path, separated by spaces, we can step through it
9415 # and add multilib dir if necessary.
9416 lt_tmp_lt_search_path_spec
=
9417 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9418 for lt_sys_path
in $lt_search_path_spec; do
9419 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9420 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9422 test -d "$lt_sys_path" && \
9423 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9426 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9427 BEGIN {RS=" "; FS="/|\n";} {
9430 for (lt_i = NF; lt_i > 0; lt_i--) {
9431 if ($lt_i != "" && $lt_i != ".") {
9432 if ($lt_i == "..") {
9435 if (lt_count == 0) {
9436 lt_foo="/" $lt_i lt_foo;
9443 if (lt_foo != "") { lt_freq[lt_foo]++; }
9444 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9446 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9448 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9451 libname_spec
='lib$name'
9459 shlibpath_overrides_runpath
=unknown
9461 dynamic_linker
="$host_os ld.so"
9462 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9463 need_lib_prefix
=unknown
9464 hardcode_into_libs
=no
9466 # when you set need_version to no, make sure it does not cause -set_version
9467 # flags to be left without arguments
9468 need_version
=unknown
9473 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9474 shlibpath_var
=LIBPATH
9476 # AIX 3 has no versioning support, so we append a major version to the name.
9477 soname_spec
='${libname}${release}${shared_ext}$major'
9484 hardcode_into_libs
=yes
9485 if test "$host_cpu" = ia64
; then
9486 # AIX 5 supports IA64
9487 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9488 shlibpath_var
=LD_LIBRARY_PATH
9490 # With GCC up to 2.95.x, collect2 would create an import file
9491 # for dependence libraries. The import file would start with
9492 # the line `#! .'. This would cause the generated library to
9493 # depend on `.', always an invalid library. This was fixed in
9494 # development snapshots of GCC prior to 3.0.
9496 aix4 | aix4.
[01] | aix4.
[01].
*)
9497 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9499 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9506 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9507 # soname into executable. Probably we can add versioning support to
9508 # collect2, so additional links can be useful in future.
9509 if test "$aix_use_runtimelinking" = yes; then
9510 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9511 # instead of lib<name>.a to let people know that these are not
9512 # typical AIX shared libraries.
9513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9515 # We preserve .a as extension for shared libraries through AIX4.2
9516 # and later when we are not doing run time linking.
9517 library_names_spec
='${libname}${release}.a $libname.a'
9518 soname_spec
='${libname}${release}${shared_ext}$major'
9520 shlibpath_var
=LIBPATH
9527 # Since July 2007 AmigaOS4 officially supports .so libraries.
9528 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9532 library_names_spec
='$libname.ixlibrary $libname.a'
9533 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9534 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'
9540 library_names_spec
='${libname}${shared_ext}'
9541 dynamic_linker
="$host_os ld.so"
9542 shlibpath_var
=LIBRARY_PATH
9548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9549 soname_spec
='${libname}${release}${shared_ext}$major'
9550 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9551 shlibpath_var
=LD_LIBRARY_PATH
9552 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9553 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9554 # the default ld.so.conf also contains /usr/contrib/lib and
9555 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9556 # libtool to hard-code these into programs
9559 cygwin
* | mingw
* | pw32
* | cegcc
*)
9560 version_type
=windows
9565 case $GCC,$host_os in
9566 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9567 library_names_spec
='$libname.dll.a'
9568 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9569 postinstall_cmds
='base_file=`basename \${file}`~
9570 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9571 dldir=$destdir/`dirname \$dlpath`~
9572 test -d \$dldir || mkdir -p \$dldir~
9573 $install_prog $dir/$dlname \$dldir/$dlname~
9574 chmod a+x \$dldir/$dlname~
9575 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9576 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9578 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9579 dlpath=$dir/\$dldll~
9581 shlibpath_overrides_runpath
=yes
9585 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9586 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9587 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9590 # MinGW DLLs use traditional 'lib' prefix
9591 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9592 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9593 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9594 # It is most probably a Windows format PATH printed by
9595 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9596 # path with ; separators, and with drive letters. We can handle the
9597 # drive letters (cygwin fileutils understands them), so leave them,
9598 # especially as we might pass files found there to a mingw objdump,
9599 # which wouldn't understand a cygwinified path. Ahh.
9600 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9602 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9606 # pw32 DLLs use 'pw' prefix rather than 'lib'
9607 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9613 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9616 dynamic_linker
='Win32 ld.exe'
9617 # FIXME: first we should search . and the directory the executable is in
9621 darwin
* | rhapsody
*)
9622 dynamic_linker
="$host_os dyld"
9626 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9627 soname_spec
='${libname}${release}${major}$shared_ext'
9628 shlibpath_overrides_runpath
=yes
9629 shlibpath_var
=DYLD_LIBRARY_PATH
9630 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9632 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9633 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9641 soname_spec
='${libname}${release}${shared_ext}$major'
9642 shlibpath_var
=LD_LIBRARY_PATH
9649 freebsd
* | dragonfly
*)
9650 # DragonFly does not have aout. When/if they implement a new
9651 # versioning mechanism, adjust this.
9652 if test -x /usr
/bin
/objformat
; then
9653 objformat
=`/usr/bin/objformat`
9656 freebsd
[123]*) objformat
=aout
;;
9660 version_type
=freebsd-
$objformat
9661 case $version_type in
9663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9668 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9672 shlibpath_var
=LD_LIBRARY_PATH
9675 shlibpath_overrides_runpath
=yes
9677 freebsd3.
[01]* | freebsdelf3.
[01]*)
9678 shlibpath_overrides_runpath
=yes
9679 hardcode_into_libs
=yes
9681 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9682 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9683 shlibpath_overrides_runpath
=no
9684 hardcode_into_libs
=yes
9686 *) # from 4.6 on, and DragonFly
9687 shlibpath_overrides_runpath
=yes
9688 hardcode_into_libs
=yes
9697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9698 soname_spec
='${libname}${release}${shared_ext}$major'
9699 shlibpath_var
=LD_LIBRARY_PATH
9700 hardcode_into_libs
=yes
9703 hpux9
* | hpux10
* | hpux11
*)
9704 # Give a soname corresponding to the major version so that dld.sl refuses to
9705 # link against other versions.
9712 hardcode_into_libs
=yes
9713 dynamic_linker
="$host_os dld.so"
9714 shlibpath_var
=LD_LIBRARY_PATH
9715 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9717 soname_spec
='${libname}${release}${shared_ext}$major'
9718 if test "X$HPUX_IA64_MODE" = X32
; then
9719 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9721 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9723 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9727 hardcode_into_libs
=yes
9728 dynamic_linker
="$host_os dld.sl"
9729 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9730 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9732 soname_spec
='${libname}${release}${shared_ext}$major'
9733 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9734 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9738 dynamic_linker
="$host_os dld.sl"
9739 shlibpath_var
=SHLIB_PATH
9740 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9742 soname_spec
='${libname}${release}${shared_ext}$major'
9745 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9746 postinstall_cmds
='chmod 555 $lib'
9753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9754 soname_spec
='${libname}${release}${shared_ext}$major'
9755 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9756 shlibpath_var
=LD_LIBRARY_PATH
9757 shlibpath_overrides_runpath
=no
9758 hardcode_into_libs
=yes
9761 irix5
* | irix6
* | nonstopux
*)
9763 nonstopux
*) version_type
=nonstopux
;;
9765 if test "$lt_cv_prog_gnu_ld" = yes; then
9773 soname_spec
='${libname}${release}${shared_ext}$major'
9774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9776 irix5
* | nonstopux
*)
9780 case $LD in # libtool.m4 will add one of these switches to LD
9781 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9782 libsuff
= shlibsuff
= libmagic
=32-bit;;
9783 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9784 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9785 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9786 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9787 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9791 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9792 shlibpath_overrides_runpath
=no
9793 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9794 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9795 hardcode_into_libs
=yes
9798 # No shared lib support for Linux oldld, aout, or coff.
9799 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9803 # This must be Linux ELF.
9804 linux
* | k
*bsd
*-gnu)
9808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9809 soname_spec
='${libname}${release}${shared_ext}$major'
9810 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9811 shlibpath_var
=LD_LIBRARY_PATH
9812 shlibpath_overrides_runpath
=no
9813 # Some binutils ld are patched to set DT_RUNPATH
9814 save_LDFLAGS
=$LDFLAGS
9816 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9817 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9818 cat >conftest.
$ac_ext <<_ACEOF
9821 cat confdefs.h
>>conftest.
$ac_ext
9822 cat >>conftest.
$ac_ext <<_ACEOF
9823 /* end confdefs.h. */
9833 rm -f conftest.
$ac_objext conftest
$ac_exeext
9834 if { (ac_try
="$ac_link"
9836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;;
9839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9840 $as_echo "$ac_try_echo") >&5
9841 (eval "$ac_link") 2>conftest.er1
9843 grep -v '^ *+' conftest.er1 >conftest.err
9845 cat conftest.err >&5
9846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); } && {
9848 test -z "$ac_c_werror_flag" ||
9849 test ! -s conftest.err
9850 } && test -s conftest$ac_exeext && {
9851 test "$cross_compiling" = yes ||
9852 $as_test_x conftest$ac_exeext
9854 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9855 shlibpath_overrides_runpath=yes
9859 $as_echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.$ac_ext >&5
9865 rm -rf conftest.dSYM
9866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9867 conftest$ac_exeext conftest.$ac_ext
9868 LDFLAGS=$save_LDFLAGS
9871 # This implies no fast_install, which is unacceptable.
9872 # Some rework will be needed to allow for fast_install
9873 # before this can be enabled.
9874 hardcode_into_libs=yes
9876 # Add ABI-specific directories to the system library path.
9877 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9879 # Append ld.so.conf contents to the search path
9880 if test -f /etc/ld.so.conf; then
9881 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' ' '`
9882 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9885 # We used to test for /lib/ld.so.1 and disable shared libraries on
9886 # powerpc, because MkLinux only supported shared libraries with the
9887 # GNU dynamic linker. Since this was broken with cross compilers,
9888 # most powerpc-linux boxes support dynamic linking these days and
9889 # people can always --disable-shared, the test was removed, and we
9890 # assume the GNU/Linux dynamic linker is in use.
9891 dynamic_linker='GNU/Linux ld.so'
9898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9901 dynamic_linker='NetBSD (a.out) ld.so'
9903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9904 soname_spec='${libname}${release}${shared_ext}$major'
9905 dynamic_linker='NetBSD ld.elf_so'
9907 shlibpath_var=LD_LIBRARY_PATH
9908 shlibpath_overrides_runpath=yes
9909 hardcode_into_libs=yes
9914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9915 shlibpath_var=LD_LIBRARY_PATH
9916 shlibpath_overrides_runpath=yes
9923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9924 soname_spec='${libname}${release}${shared_ext}$major'
9925 shlibpath_var=LD_LIBRARY_PATH
9926 shlibpath_overrides_runpath=no
9927 hardcode_into_libs=yes
9928 dynamic_linker='ldqnx.so'
9933 sys_lib_dlsearch_path_spec="/usr/lib"
9935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9938 *) need_version=no ;;
9940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9942 shlibpath_var=LD_LIBRARY_PATH
9943 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9945 openbsd2.[89] | openbsd2.[89].*)
9946 shlibpath_overrides_runpath=no
9949 shlibpath_overrides_runpath=yes
9953 shlibpath_overrides_runpath=yes
9958 libname_spec='$name'
9961 library_names_spec='$libname${shared_ext} $libname.a'
9962 dynamic_linker='OS/2 ld.exe'
9963 shlibpath_var=LIBPATH
9966 osf3* | osf4* | osf5*)
9970 soname_spec='${libname}${release}${shared_ext}$major'
9971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9972 shlibpath_var=LD_LIBRARY_PATH
9973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9986 soname_spec='${libname}${release}${shared_ext}$major'
9987 shlibpath_var=LD_LIBRARY_PATH
9988 shlibpath_overrides_runpath=yes
9989 hardcode_into_libs=yes
9990 # ldd complains unless libraries are executable
9991 postinstall_cmds='chmod +x $lib'
9996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9998 shlibpath_var=LD_LIBRARY_PATH
9999 shlibpath_overrides_runpath=yes
10000 if test "$with_gnu_ld" = yes; then
10008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10009 soname_spec='${libname}${release}${shared_ext}$major'
10010 shlibpath_var=LD_LIBRARY_PATH
10011 case $host_vendor in
10013 shlibpath_overrides_runpath=no
10015 runpath_var=LD_RUN_PATH
10023 shlibpath_overrides_runpath=no
10024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10030 if test -d /usr/nec ;then
10032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10033 soname_spec='$libname${shared_ext}.$major'
10034 shlibpath_var=LD_LIBRARY_PATH
10038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10039 version_type=freebsd-elf
10042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10043 soname_spec='${libname}${release}${shared_ext}$major'
10044 shlibpath_var=LD_LIBRARY_PATH
10045 shlibpath_overrides_runpath=yes
10046 hardcode_into_libs=yes
10047 if test "$with_gnu_ld" = yes; then
10048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10057 sys_lib_dlsearch_path_spec='/usr/lib'
10061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10066 shlibpath_var=LD_LIBRARY_PATH
10067 shlibpath_overrides_runpath=no
10068 hardcode_into_libs=yes
10073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10074 soname_spec='${libname}${release}${shared_ext}$major'
10075 shlibpath_var=LD_LIBRARY_PATH
10082 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10083 $as_echo "$dynamic_linker" >&6; }
10084 test "$dynamic_linker" = no && can_build_shared=no
10086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10087 if test "$GCC" = yes; then
10088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10184 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10187 if test -n "$hardcode_libdir_flag_spec" ||
10188 test -n "$runpath_var" ||
10189 test "X$hardcode_automatic" = "Xyes" ; then
10191 # We can hardcode non-existent directories.
10192 if test "$hardcode_direct" != no &&
10193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10194 # have to relink, otherwise we might link with an installed library
10195 # when we should be linking with a yet-to-be-installed one
10196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10197 test "$hardcode_minus_L" != no; then
10198 # Linking always hardcodes the temporary library directory.
10199 hardcode_action=relink
10201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10202 hardcode_action=immediate
10205 # We cannot hardcode anything, or else we can only hardcode existing
10207 hardcode_action=unsupported
10209 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10210 $as_echo "$hardcode_action" >&6; }
10212 if test "$hardcode_action" = relink ||
10213 test "$inherit_rpath" = yes; then
10214 # Fast installation is not supported
10215 enable_fast_install=no
10216 elif test "$shlibpath_overrides_runpath" = yes ||
10217 test "$enable_shared" = no; then
10218 # Fast installation is not necessary
10219 enable_fast_install=needless
10227 if test "x$enable_dlopen" != xyes; then
10228 enable_dlopen=unknown
10229 enable_dlopen_self=unknown
10230 enable_dlopen_self_static=unknown
10237 lt_cv_dlopen="load_add_on"
10239 lt_cv_dlopen_self=yes
10242 mingw* | pw32* | cegcc*)
10243 lt_cv_dlopen="LoadLibrary"
10248 lt_cv_dlopen="dlopen"
10253 # if libdl is installed we need to link against it
10254 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10257 $as_echo_n "(cached) " >&6
10259 ac_check_lib_save_LIBS=$LIBS
10261 cat >conftest.$ac_ext <<_ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10283 rm -f conftest.$ac_objext conftest$ac_exeext
10284 if { (ac_try="$ac_link"
10285 case "(($ac_try" in
10286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10287 *) ac_try_echo
=$ac_try;;
10289 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10290 $as_echo "$ac_try_echo") >&5
10291 (eval "$ac_link") 2>conftest.er1
10293 grep -v '^ *+' conftest.er1
>conftest.err
10295 cat conftest.err
>&5
10296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } && {
10298 test -z "$ac_c_werror_flag" ||
10299 test ! -s conftest.err
10300 } && test -s conftest
$ac_exeext && {
10301 test "$cross_compiling" = yes ||
10302 $as_test_x conftest
$ac_exeext
10304 ac_cv_lib_dl_dlopen
=yes
10306 $as_echo "$as_me: failed program was:" >&5
10307 sed 's/^/| /' conftest.
$ac_ext >&5
10309 ac_cv_lib_dl_dlopen
=no
10312 rm -rf conftest.dSYM
10313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10314 conftest
$ac_exeext conftest.
$ac_ext
10315 LIBS
=$ac_check_lib_save_LIBS
10317 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10318 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10319 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10320 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10323 lt_cv_dlopen
="dyld"
10325 lt_cv_dlopen_self
=yes
10332 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10333 $as_echo_n "checking for shl_load... " >&6; }
10334 if test "${ac_cv_func_shl_load+set}" = set; then
10335 $as_echo_n "(cached) " >&6
10337 cat >conftest.
$ac_ext <<_ACEOF
10340 cat confdefs.h
>>conftest.
$ac_ext
10341 cat >>conftest.
$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10343 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10345 #define shl_load innocuous_shl_load
10347 /* System header to define __stub macros and hopefully few prototypes,
10348 which can conflict with char shl_load (); below.
10349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10350 <limits.h> exists even on freestanding compilers. */
10353 # include <limits.h>
10355 # include <assert.h>
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10367 /* The GNU C library defines this for functions which it implements
10368 to always fail with ENOSYS. Some functions are actually named
10369 something starting with __ and the normal name is an alias. */
10370 #if defined __stub_shl_load || defined __stub___shl_load
10377 return shl_load ();
10382 rm -f conftest.
$ac_objext conftest
$ac_exeext
10383 if { (ac_try
="$ac_link"
10384 case "(($ac_try" in
10385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10386 *) ac_try_echo=$ac_try;;
10388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10389 $as_echo "$ac_try_echo") >&5
10390 (eval "$ac_link") 2>conftest.er1
10392 grep -v '^ *+' conftest.er1 >conftest.err
10394 cat conftest.err >&5
10395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } && {
10397 test -z "$ac_c_werror_flag" ||
10398 test ! -s conftest.err
10399 } && test -s conftest$ac_exeext && {
10400 test "$cross_compiling" = yes ||
10401 $as_test_x conftest$ac_exeext
10403 ac_cv_func_shl_load=yes
10405 $as_echo "$as_me: failed program was:" >&5
10406 sed 's/^/| /' conftest.$ac_ext >&5
10408 ac_cv_func_shl_load=no
10411 rm -rf conftest.dSYM
10412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10413 conftest$ac_exeext conftest.$ac_ext
10415 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10416 $as_echo "$ac_cv_func_shl_load" >&6; }
10417 if test "x$ac_cv_func_shl_load" = x""yes; then
10418 lt_cv_dlopen="shl_load"
10420 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10421 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10422 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10423 $as_echo_n "(cached) " >&6
10425 ac_check_lib_save_LIBS=$LIBS
10427 cat >conftest.$ac_ext <<_ACEOF
10430 cat confdefs.h >>conftest.$ac_ext
10431 cat >>conftest.$ac_ext <<_ACEOF
10432 /* end confdefs.h. */
10434 /* Override any GCC internal prototype to avoid an error.
10435 Use char because int might match the return type of a GCC
10436 builtin and then its argument prototype would still apply. */
10444 return shl_load ();
10449 rm -f conftest.$ac_objext conftest$ac_exeext
10450 if { (ac_try="$ac_link"
10451 case "(($ac_try" in
10452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10453 *) ac_try_echo
=$ac_try;;
10455 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10456 $as_echo "$ac_try_echo") >&5
10457 (eval "$ac_link") 2>conftest.er1
10459 grep -v '^ *+' conftest.er1
>conftest.err
10461 cat conftest.err
>&5
10462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } && {
10464 test -z "$ac_c_werror_flag" ||
10465 test ! -s conftest.err
10466 } && test -s conftest
$ac_exeext && {
10467 test "$cross_compiling" = yes ||
10468 $as_test_x conftest
$ac_exeext
10470 ac_cv_lib_dld_shl_load
=yes
10472 $as_echo "$as_me: failed program was:" >&5
10473 sed 's/^/| /' conftest.
$ac_ext >&5
10475 ac_cv_lib_dld_shl_load
=no
10478 rm -rf conftest.dSYM
10479 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10480 conftest
$ac_exeext conftest.
$ac_ext
10481 LIBS
=$ac_check_lib_save_LIBS
10483 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10484 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10485 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10486 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10488 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10489 $as_echo_n "checking for dlopen... " >&6; }
10490 if test "${ac_cv_func_dlopen+set}" = set; then
10491 $as_echo_n "(cached) " >&6
10493 cat >conftest.
$ac_ext <<_ACEOF
10496 cat confdefs.h
>>conftest.
$ac_ext
10497 cat >>conftest.
$ac_ext <<_ACEOF
10498 /* end confdefs.h. */
10499 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10501 #define dlopen innocuous_dlopen
10503 /* System header to define __stub macros and hopefully few prototypes,
10504 which can conflict with char dlopen (); below.
10505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10506 <limits.h> exists even on freestanding compilers. */
10509 # include <limits.h>
10511 # include <assert.h>
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10523 /* The GNU C library defines this for functions which it implements
10524 to always fail with ENOSYS. Some functions are actually named
10525 something starting with __ and the normal name is an alias. */
10526 #if defined __stub_dlopen || defined __stub___dlopen
10538 rm -f conftest.
$ac_objext conftest
$ac_exeext
10539 if { (ac_try
="$ac_link"
10540 case "(($ac_try" in
10541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10545 $as_echo "$ac_try_echo") >&5
10546 (eval "$ac_link") 2>conftest.er1
10548 grep -v '^ *+' conftest.er1 >conftest.err
10550 cat conftest.err >&5
10551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } && {
10553 test -z "$ac_c_werror_flag" ||
10554 test ! -s conftest.err
10555 } && test -s conftest$ac_exeext && {
10556 test "$cross_compiling" = yes ||
10557 $as_test_x conftest$ac_exeext
10559 ac_cv_func_dlopen=yes
10561 $as_echo "$as_me: failed program was:" >&5
10562 sed 's/^/| /' conftest.$ac_ext >&5
10564 ac_cv_func_dlopen=no
10567 rm -rf conftest.dSYM
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10571 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10572 $as_echo "$ac_cv_func_dlopen" >&6; }
10573 if test "x$ac_cv_func_dlopen" = x""yes; then
10574 lt_cv_dlopen="dlopen"
10576 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10577 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10578 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10579 $as_echo_n "(cached) " >&6
10581 ac_check_lib_save_LIBS=$LIBS
10583 cat >conftest.$ac_ext <<_ACEOF
10586 cat confdefs.h >>conftest.$ac_ext
10587 cat >>conftest.$ac_ext <<_ACEOF
10588 /* end confdefs.h. */
10590 /* Override any GCC internal prototype to avoid an error.
10591 Use char because int might match the return type of a GCC
10592 builtin and then its argument prototype would still apply. */
10605 rm -f conftest.$ac_objext conftest$ac_exeext
10606 if { (ac_try="$ac_link"
10607 case "(($ac_try" in
10608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10609 *) ac_try_echo
=$ac_try;;
10611 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10612 $as_echo "$ac_try_echo") >&5
10613 (eval "$ac_link") 2>conftest.er1
10615 grep -v '^ *+' conftest.er1
>conftest.err
10617 cat conftest.err
>&5
10618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); } && {
10620 test -z "$ac_c_werror_flag" ||
10621 test ! -s conftest.err
10622 } && test -s conftest
$ac_exeext && {
10623 test "$cross_compiling" = yes ||
10624 $as_test_x conftest
$ac_exeext
10626 ac_cv_lib_dl_dlopen
=yes
10628 $as_echo "$as_me: failed program was:" >&5
10629 sed 's/^/| /' conftest.
$ac_ext >&5
10631 ac_cv_lib_dl_dlopen
=no
10634 rm -rf conftest.dSYM
10635 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10636 conftest
$ac_exeext conftest.
$ac_ext
10637 LIBS
=$ac_check_lib_save_LIBS
10639 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10640 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10641 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10642 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10644 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10645 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10646 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10647 $as_echo_n "(cached) " >&6
10649 ac_check_lib_save_LIBS
=$LIBS
10650 LIBS
="-lsvld $LIBS"
10651 cat >conftest.
$ac_ext <<_ACEOF
10654 cat confdefs.h
>>conftest.
$ac_ext
10655 cat >>conftest.
$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10673 rm -f conftest.
$ac_objext conftest
$ac_exeext
10674 if { (ac_try
="$ac_link"
10675 case "(($ac_try" in
10676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10677 *) ac_try_echo=$ac_try;;
10679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10680 $as_echo "$ac_try_echo") >&5
10681 (eval "$ac_link") 2>conftest.er1
10683 grep -v '^ *+' conftest.er1 >conftest.err
10685 cat conftest.err >&5
10686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); } && {
10688 test -z "$ac_c_werror_flag" ||
10689 test ! -s conftest.err
10690 } && test -s conftest$ac_exeext && {
10691 test "$cross_compiling" = yes ||
10692 $as_test_x conftest$ac_exeext
10694 ac_cv_lib_svld_dlopen=yes
10696 $as_echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10699 ac_cv_lib_svld_dlopen=no
10702 rm -rf conftest.dSYM
10703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10708 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10709 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10710 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10712 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10713 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10714 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10715 $as_echo_n "(cached) " >&6
10717 ac_check_lib_save_LIBS=$LIBS
10719 cat >conftest.$ac_ext <<_ACEOF
10722 cat confdefs.h >>conftest.$ac_ext
10723 cat >>conftest.$ac_ext <<_ACEOF
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10736 return dld_link ();
10741 rm -f conftest.$ac_objext conftest$ac_exeext
10742 if { (ac_try="$ac_link"
10743 case "(($ac_try" in
10744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10745 *) ac_try_echo
=$ac_try;;
10747 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10748 $as_echo "$ac_try_echo") >&5
10749 (eval "$ac_link") 2>conftest.er1
10751 grep -v '^ *+' conftest.er1
>conftest.err
10753 cat conftest.err
>&5
10754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } && {
10756 test -z "$ac_c_werror_flag" ||
10757 test ! -s conftest.err
10758 } && test -s conftest
$ac_exeext && {
10759 test "$cross_compiling" = yes ||
10760 $as_test_x conftest
$ac_exeext
10762 ac_cv_lib_dld_dld_link
=yes
10764 $as_echo "$as_me: failed program was:" >&5
10765 sed 's/^/| /' conftest.
$ac_ext >&5
10767 ac_cv_lib_dld_dld_link
=no
10770 rm -rf conftest.dSYM
10771 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10772 conftest
$ac_exeext conftest.
$ac_ext
10773 LIBS
=$ac_check_lib_save_LIBS
10775 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10776 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10777 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
10778 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10799 if test "x$lt_cv_dlopen" != xno
; then
10805 case $lt_cv_dlopen in
10807 save_CPPFLAGS
="$CPPFLAGS"
10808 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10810 save_LDFLAGS
="$LDFLAGS"
10811 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10814 LIBS
="$lt_cv_dlopen_libs $LIBS"
10816 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10817 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10818 if test "${lt_cv_dlopen_self+set}" = set; then
10819 $as_echo_n "(cached) " >&6
10821 if test "$cross_compiling" = yes; then :
10822 lt_cv_dlopen_self
=cross
10824 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10825 lt_status
=$lt_dlunknown
10826 cat > conftest.
$ac_ext <<_LT_EOF
10827 #line 10827 "configure"
10828 #include "confdefs.h"
10837 # define LT_DLGLOBAL RTLD_GLOBAL
10840 # define LT_DLGLOBAL DL_GLOBAL
10842 # define LT_DLGLOBAL 0
10846 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10847 find out it does not work in some platform. */
10848 #ifndef LT_DLLAZY_OR_NOW
10850 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10853 # define LT_DLLAZY_OR_NOW DL_LAZY
10856 # define LT_DLLAZY_OR_NOW RTLD_NOW
10859 # define LT_DLLAZY_OR_NOW DL_NOW
10861 # define LT_DLLAZY_OR_NOW 0
10868 void fnord() { int i=42;}
10871 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10872 int status = $lt_dlunknown;
10876 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10877 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10878 /* dlclose (self); */
10886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10887 (eval $ac_link) 2>&5
10889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10891 (.
/conftest
; exit; ) >&5 2>/dev
/null
10893 case x
$lt_status in
10894 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10895 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10896 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10899 # compilation failed
10900 lt_cv_dlopen_self
=no
10907 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10908 $as_echo "$lt_cv_dlopen_self" >&6; }
10910 if test "x$lt_cv_dlopen_self" = xyes
; then
10911 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10912 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10913 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10914 if test "${lt_cv_dlopen_self_static+set}" = set; then
10915 $as_echo_n "(cached) " >&6
10917 if test "$cross_compiling" = yes; then :
10918 lt_cv_dlopen_self_static
=cross
10920 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10921 lt_status
=$lt_dlunknown
10922 cat > conftest.
$ac_ext <<_LT_EOF
10923 #line 10923 "configure"
10924 #include "confdefs.h"
10933 # define LT_DLGLOBAL RTLD_GLOBAL
10936 # define LT_DLGLOBAL DL_GLOBAL
10938 # define LT_DLGLOBAL 0
10942 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10943 find out it does not work in some platform. */
10944 #ifndef LT_DLLAZY_OR_NOW
10946 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10949 # define LT_DLLAZY_OR_NOW DL_LAZY
10952 # define LT_DLLAZY_OR_NOW RTLD_NOW
10955 # define LT_DLLAZY_OR_NOW DL_NOW
10957 # define LT_DLLAZY_OR_NOW 0
10964 void fnord() { int i=42;}
10967 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10968 int status = $lt_dlunknown;
10972 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10973 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10974 /* dlclose (self); */
10982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10983 (eval $ac_link) 2>&5
10985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10987 (.
/conftest
; exit; ) >&5 2>/dev
/null
10989 case x
$lt_status in
10990 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10991 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10992 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10995 # compilation failed
10996 lt_cv_dlopen_self_static
=no
11003 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11004 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11007 CPPFLAGS
="$save_CPPFLAGS"
11008 LDFLAGS
="$save_LDFLAGS"
11013 case $lt_cv_dlopen_self in
11014 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11015 *) enable_dlopen_self
=unknown
;;
11018 case $lt_cv_dlopen_self_static in
11019 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11020 *) enable_dlopen_self_static
=unknown
;;
11042 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11043 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11044 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11045 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11046 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11047 { $as_echo "$as_me:$LINENO: result: yes" >&5
11048 $as_echo "yes" >&6; }
11050 # FIXME - insert some real tests, host_os isn't really good enough
11053 if test -n "$STRIP" ; then
11054 striplib
="$STRIP -x"
11055 old_striplib
="$STRIP -S"
11056 { $as_echo "$as_me:$LINENO: result: yes" >&5
11057 $as_echo "yes" >&6; }
11059 { $as_echo "$as_me:$LINENO: result: no" >&5
11060 $as_echo "no" >&6; }
11064 { $as_echo "$as_me:$LINENO: result: no" >&5
11065 $as_echo "no" >&6; }
11081 # Report which library types will actually be built
11082 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11083 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11084 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11085 $as_echo "$can_build_shared" >&6; }
11087 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11088 $as_echo_n "checking whether to build shared libraries... " >&6; }
11089 test "$can_build_shared" = "no" && enable_shared
=no
11091 # On AIX, shared libraries and static libraries use the same namespace, and
11092 # are all built from PIC.
11095 test "$enable_shared" = yes && enable_static
=no
11096 if test -n "$RANLIB"; then
11097 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11098 postinstall_cmds
='$RANLIB $lib'
11103 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11104 test "$enable_shared" = yes && enable_static
=no
11108 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11109 $as_echo "$enable_shared" >&6; }
11111 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11112 $as_echo_n "checking whether to build static libraries... " >&6; }
11113 # Make sure either enable_shared or enable_static is yes.
11114 test "$enable_shared" = yes || enable_static
=yes
11115 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11116 $as_echo "$enable_static" >&6; }
11123 ac_cpp
='$CPP $CPPFLAGS'
11124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11142 ac_config_commands
="$ac_config_commands libtool"
11147 # Only expand once:
11151 if test x
$GCC = xyes
11153 CFLAGS
="-Wall $CFLAGS"
11155 if test x
$GXX = xyes
11157 CXXFLAGS
="-Wall $CXXFLAGS"
11160 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11161 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11162 if test "${ac_cv_c_const+set}" = set; then
11163 $as_echo_n "(cached) " >&6
11165 cat >conftest.
$ac_ext <<_ACEOF
11168 cat confdefs.h
>>conftest.
$ac_ext
11169 cat >>conftest.
$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11175 /* FIXME: Include the comments suggested by Paul. */
11176 #ifndef __cplusplus
11177 /* Ultrix mips cc rejects this. */
11178 typedef int charset[2];
11180 /* SunOS 4.1.1 cc rejects this. */
11181 char const *const *pcpcc;
11183 /* NEC SVR4.0.2 mips cc rejects this. */
11184 struct point {int x, y;};
11185 static struct point const zero = {0,0};
11186 /* AIX XL C 1.02.0.0 rejects this.
11187 It does not let you subtract one const X* pointer from another in
11188 an arm of an if-expression whose if-part is not a constant
11190 const char *g = "string";
11191 pcpcc = &g + (g ? g-g : 0);
11192 /* HPUX 7.0 cc rejects these. */
11194 ppc = (char**) pcpcc;
11195 pcpcc = (char const *const *) ppc;
11196 { /* SCO 3.2v4 cc rejects this. */
11198 char const *s = 0 ? (char *) 0 : (char const *) 0;
11203 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11204 int x[] = {25, 17};
11205 const int *foo = &x[0];
11208 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11209 typedef const int *iptr;
11213 { /* AIX XL C 1.02.0.0 rejects this saying
11214 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11215 struct s { int j; const int *ap[3]; };
11216 struct s *b; b->j = 5;
11218 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11219 const int foo = 10;
11220 if (!foo) return 0;
11222 return !cs[0] && !zero.x;
11229 rm -f conftest.
$ac_objext
11230 if { (ac_try
="$ac_compile"
11231 case "(($ac_try" in
11232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11233 *) ac_try_echo=$ac_try;;
11235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11236 $as_echo "$ac_try_echo") >&5
11237 (eval "$ac_compile") 2>conftest.er1
11239 grep -v '^ *+' conftest.er1 >conftest.err
11241 cat conftest.err >&5
11242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } && {
11244 test -z "$ac_c_werror_flag" ||
11245 test ! -s conftest.err
11246 } && test -s conftest.$ac_objext; then
11249 $as_echo "$as_me: failed program was:" >&5
11250 sed 's/^/| /' conftest.$ac_ext >&5
11255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11257 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11258 $as_echo "$ac_cv_c_const" >&6; }
11259 if test $ac_cv_c_const = no; then
11261 cat >>confdefs.h <<\_ACEOF
11267 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11268 $as_echo_n "checking for ANSI C header files... " >&6; }
11269 if test "${ac_cv_header_stdc+set}" = set; then
11270 $as_echo_n "(cached) " >&6
11272 cat >conftest.$ac_ext <<_ACEOF
11275 cat confdefs.h >>conftest.$ac_ext
11276 cat >>conftest.$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11278 #include <stdlib.h>
11279 #include <stdarg.h>
11280 #include <string.h>
11291 rm -f conftest.$ac_objext
11292 if { (ac_try="$ac_compile"
11293 case "(($ac_try" in
11294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11295 *) ac_try_echo
=$ac_try;;
11297 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11298 $as_echo "$ac_try_echo") >&5
11299 (eval "$ac_compile") 2>conftest.er1
11301 grep -v '^ *+' conftest.er1
>conftest.err
11303 cat conftest.err
>&5
11304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); } && {
11306 test -z "$ac_c_werror_flag" ||
11307 test ! -s conftest.err
11308 } && test -s conftest.
$ac_objext; then
11309 ac_cv_header_stdc
=yes
11311 $as_echo "$as_me: failed program was:" >&5
11312 sed 's/^/| /' conftest.
$ac_ext >&5
11314 ac_cv_header_stdc
=no
11317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11319 if test $ac_cv_header_stdc = yes; then
11320 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11321 cat >conftest.
$ac_ext <<_ACEOF
11324 cat confdefs.h
>>conftest.
$ac_ext
11325 cat >>conftest.
$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11327 #include <string.h>
11330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11331 $EGREP "memchr" >/dev
/null
2>&1; then
11334 ac_cv_header_stdc
=no
11340 if test $ac_cv_header_stdc = yes; then
11341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11342 cat >conftest.
$ac_ext <<_ACEOF
11345 cat confdefs.h
>>conftest.
$ac_ext
11346 cat >>conftest.
$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <stdlib.h>
11351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11352 $EGREP "free" >/dev
/null
2>&1; then
11355 ac_cv_header_stdc
=no
11361 if test $ac_cv_header_stdc = yes; then
11362 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11363 if test "$cross_compiling" = yes; then
11366 cat >conftest.
$ac_ext <<_ACEOF
11369 cat confdefs.h
>>conftest.
$ac_ext
11370 cat >>conftest.
$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11373 #include <stdlib.h>
11374 #if ((' ' & 0x0FF) == 0x020)
11375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11378 # define ISLOWER(c) \
11379 (('a' <= (c) && (c) <= 'i') \
11380 || ('j' <= (c) && (c) <= 'r') \
11381 || ('s' <= (c) && (c) <= 'z'))
11382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11390 for (i = 0; i < 256; i++)
11391 if (XOR (islower (i), ISLOWER (i))
11392 || toupper (i) != TOUPPER (i))
11397 rm -f conftest
$ac_exeext
11398 if { (ac_try
="$ac_link"
11399 case "(($ac_try" in
11400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11401 *) ac_try_echo=$ac_try;;
11403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11404 $as_echo "$ac_try_echo") >&5
11405 (eval "$ac_link") 2>&5
11407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11409 { (case "(($ac_try" in
11410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11411 *) ac_try_echo
=$ac_try;;
11413 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11414 $as_echo "$ac_try_echo") >&5
11415 (eval "$ac_try") 2>&5
11417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11421 $as_echo "$as_me: program exited with status $ac_status" >&5
11422 $as_echo "$as_me: failed program was:" >&5
11423 sed 's/^/| /' conftest.
$ac_ext >&5
11425 ( exit $ac_status )
11426 ac_cv_header_stdc
=no
11428 rm -rf conftest.dSYM
11429 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11435 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11436 $as_echo "$ac_cv_header_stdc" >&6; }
11437 if test $ac_cv_header_stdc = yes; then
11439 cat >>confdefs.h
<<\_ACEOF
11440 #define STDC_HEADERS 1
11448 for ac_header
in fcntl.h string.h syslog.h
11450 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11451 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11452 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11453 $as_echo_n "checking for $ac_header... " >&6; }
11454 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11455 $as_echo_n "(cached) " >&6
11457 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11458 $as_echo "$as_val"'`
11459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11460 $as_echo "$ac_res" >&6; }
11462 # Is the header compilable?
11463 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11464 $as_echo_n "checking $ac_header usability... " >&6; }
11465 cat >conftest.
$ac_ext <<_ACEOF
11468 cat confdefs.h
>>conftest.
$ac_ext
11469 cat >>conftest.
$ac_ext <<_ACEOF
11470 /* end confdefs.h. */
11471 $ac_includes_default
11472 #include <$ac_header>
11474 rm -f conftest.
$ac_objext
11475 if { (ac_try
="$ac_compile"
11476 case "(($ac_try" in
11477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11478 *) ac_try_echo=$ac_try;;
11480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11481 $as_echo "$ac_try_echo") >&5
11482 (eval "$ac_compile") 2>conftest.er1
11484 grep -v '^ *+' conftest.er1 >conftest.err
11486 cat conftest.err >&5
11487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } && {
11489 test -z "$ac_c_werror_flag" ||
11490 test ! -s conftest.err
11491 } && test -s conftest.$ac_objext; then
11492 ac_header_compiler=yes
11494 $as_echo "$as_me: failed program was:" >&5
11495 sed 's/^/| /' conftest.$ac_ext >&5
11497 ac_header_compiler=no
11500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11501 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11502 $as_echo "$ac_header_compiler" >&6; }
11504 # Is the header present?
11505 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11506 $as_echo_n "checking $ac_header presence... " >&6; }
11507 cat >conftest.$ac_ext <<_ACEOF
11510 cat confdefs.h >>conftest.$ac_ext
11511 cat >>conftest.$ac_ext <<_ACEOF
11512 /* end confdefs.h. */
11513 #include <$ac_header>
11515 if { (ac_try="$ac_cpp conftest.$ac_ext"
11516 case "(($ac_try" in
11517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11518 *) ac_try_echo
=$ac_try;;
11520 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11521 $as_echo "$ac_try_echo") >&5
11522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11524 grep -v '^ *+' conftest.er1
>conftest.err
11526 cat conftest.err
>&5
11527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } >/dev
/null
&& {
11529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11530 test ! -s conftest.err
11532 ac_header_preproc
=yes
11534 $as_echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.
$ac_ext >&5
11537 ac_header_preproc
=no
11540 rm -f conftest.err conftest.
$ac_ext
11541 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11542 $as_echo "$ac_header_preproc" >&6; }
11544 # So? What about this header?
11545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11548 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11550 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11551 ac_header_preproc
=yes
11554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11555 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11557 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11558 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11559 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11561 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11563 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11565 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11567 ## -------------------------------------------------- ##
11568 ## Report this to courier-users@lists.sourceforge.net ##
11569 ## -------------------------------------------------- ##
11571 ) |
sed "s/^/$as_me: WARNING: /" >&2
11574 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11575 $as_echo_n "checking for $ac_header... " >&6; }
11576 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11577 $as_echo_n "(cached) " >&6
11579 eval "$as_ac_Header=\$ac_header_preproc"
11581 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11582 $as_echo "$as_val"'`
11583 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11584 $as_echo "$ac_res" >&6; }
11587 as_val
=`eval 'as_val=${'$as_ac_Header'}
11588 $as_echo "$as_val"'`
11589 if test "x$as_val" = x
""yes; then
11590 cat >>confdefs.h
<<_ACEOF
11591 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11598 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
11599 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11600 if test "${ac_cv_type_uid_t+set}" = set; then
11601 $as_echo_n "(cached) " >&6
11603 cat >conftest.
$ac_ext <<_ACEOF
11606 cat confdefs.h
>>conftest.
$ac_ext
11607 cat >>conftest.
$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11609 #include <sys/types.h>
11612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11613 $EGREP "uid_t" >/dev
/null
2>&1; then
11614 ac_cv_type_uid_t
=yes
11616 ac_cv_type_uid_t
=no
11621 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
11622 $as_echo "$ac_cv_type_uid_t" >&6; }
11623 if test $ac_cv_type_uid_t = no
; then
11625 cat >>confdefs.h
<<\_ACEOF
11630 cat >>confdefs.h
<<\_ACEOF
11637 for ac_func
in strchr
11639 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11640 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11641 $as_echo_n "checking for $ac_func... " >&6; }
11642 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11643 $as_echo_n "(cached) " >&6
11645 cat >conftest.
$ac_ext <<_ACEOF
11648 cat confdefs.h
>>conftest.
$ac_ext
11649 cat >>conftest.
$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11653 #define $ac_func innocuous_$ac_func
11655 /* System header to define __stub macros and hopefully few prototypes,
11656 which can conflict with char $ac_func (); below.
11657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11658 <limits.h> exists even on freestanding compilers. */
11661 # include <limits.h>
11663 # include <assert.h>
11668 /* Override any GCC internal prototype to avoid an error.
11669 Use char because int might match the return type of a GCC
11670 builtin and then its argument prototype would still apply. */
11675 /* The GNU C library defines this for functions which it implements
11676 to always fail with ENOSYS. Some functions are actually named
11677 something starting with __ and the normal name is an alias. */
11678 #if defined __stub_$ac_func || defined __stub___$ac_func
11685 return $ac_func ();
11690 rm -f conftest.
$ac_objext conftest
$ac_exeext
11691 if { (ac_try
="$ac_link"
11692 case "(($ac_try" in
11693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11697 $as_echo "$ac_try_echo") >&5
11698 (eval "$ac_link") 2>conftest.er1
11700 grep -v '^ *+' conftest.er1 >conftest.err
11702 cat conftest.err >&5
11703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); } && {
11705 test -z "$ac_c_werror_flag" ||
11706 test ! -s conftest.err
11707 } && test -s conftest$ac_exeext && {
11708 test "$cross_compiling" = yes ||
11709 $as_test_x conftest$ac_exeext
11711 eval "$as_ac_var=yes"
11713 $as_echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.$ac_ext >&5
11716 eval "$as_ac_var=no"
11719 rm -rf conftest.dSYM
11720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11721 conftest$ac_exeext conftest.$ac_ext
11723 ac_res=`eval 'as_val=${'$as_ac_var'}
11724 $as_echo "$as_val"'`
11725 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11726 $as_echo "$ac_res" >&6; }
11727 as_val=`eval 'as_val=${'$as_ac_var'}
11728 $as_echo "$as_val"'`
11729 if test "x$as_val" = x""yes; then
11730 cat >>confdefs.h <<_ACEOF
11731 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11739 # Check whether --with-syslog was given.
11740 if test "${with_syslog+set}" = set; then
11741 withval=$with_syslog; logdest="LOG_$withval"
11748 cat >>confdefs.h <<_ACEOF
11749 #define LOG_DEST $logdest
11752 if test -d ${srcdir}/../docbook; then
11754 HAVE_SGML_FALSE='#'
11760 ac_config_files="$ac_config_files Makefile"
11762 cat >confcache <<\_ACEOF
11763 # This file is a shell script that caches the results of configure
11764 # tests run on this system so they can be shared between configure
11765 # scripts and configure runs, see configure's option --config-cache.
11766 # It is not useful on other systems. If it contains results you don't
11767 # want to keep, you may remove or edit it.
11769 # config.status only pays attention to the cache file if you give it
11770 # the --recheck option to rerun configure.
11772 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11774 # following values.
11778 # The following way of writing the cache mishandles newlines in values,
11779 # but we know of no workaround that is simple, portable, and efficient.
11780 # So, we kill variables containing newlines.
11781 # Ultrix sh set writes to stderr and can't be redirected directly,
11782 # and sets the high bit in the cache file unless we assign to the vars.
11784 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11785 eval ac_val
=\$
$ac_var
11789 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11793 _ | IFS | as_nl
) ;; #(
11794 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11795 *) $as_unset $ac_var ;;
11801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11802 *${as_nl}ac_space
=\
*)
11803 # `set' does not quote correctly, so add quotes (double-quote
11804 # substitution turns \\\\ into \\, and sed turns \\ into \).
11807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11810 # `set' quotes correctly as required by POSIX, so do not add quotes.
11811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11824 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11825 if test -w "$cache_file"; then
11826 test "x$cache_file" != "x/dev/null" &&
11827 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11828 $as_echo "$as_me: updating cache $cache_file" >&6;}
11829 cat confcache
>$cache_file
11831 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11832 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11837 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11838 # Let make expand exec_prefix.
11839 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11841 DEFS
=-DHAVE_CONFIG_H
11845 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11846 # 1. Remove the extension, and $U if already installed.
11847 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11848 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11849 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11850 # will be set to the directory where LIBOBJS objects are built.
11851 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11852 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11854 LIBOBJS
=$ac_libobjs
11856 LTLIBOBJS
=$ac_ltlibobjs
11859 if test -n "$EXEEXT"; then
11861 am__EXEEXT_FALSE
='#'
11863 am__EXEEXT_TRUE
='#'
11867 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11868 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11869 Usually this means the macro was only invoked conditionally." >&5
11870 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11871 Usually this means the macro was only invoked conditionally." >&2;}
11872 { (exit 1); exit 1; }; }
11874 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11875 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11876 Usually this means the macro was only invoked conditionally." >&5
11877 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11878 Usually this means the macro was only invoked conditionally." >&2;}
11879 { (exit 1); exit 1; }; }
11881 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
11882 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
11883 Usually this means the macro was only invoked conditionally." >&5
11884 $as_echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
11885 Usually this means the macro was only invoked conditionally." >&2;}
11886 { (exit 1); exit 1; }; }
11889 : ${CONFIG_STATUS=./config.status}
11891 ac_clean_files_save
=$ac_clean_files
11892 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11893 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11894 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11895 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11897 # Generated by $as_me.
11898 # Run this file to recreate the current configuration.
11899 # Compiler output produced by configure, useful for debugging
11900 # configure, is in config.log if it exists.
11903 ac_cs_recheck=false
11905 SHELL=\${CONFIG_SHELL-$SHELL}
11908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11909 ## --------------------- ##
11910 ## M4sh Initialization. ##
11911 ## --------------------- ##
11913 # Be more Bourne compatible
11914 DUALCASE
=1; export DUALCASE
# for MKS sh
11915 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11918 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11919 # is contrary to our usage. Disable this feature.
11920 alias -g '${1+"$@"}'='"$@"'
11921 setopt NO_GLOB_SUBST
11923 case `(set -o) 2>/dev/null` in
11924 *posix
*) set -o posix
;;
11933 # Avoid depending upon Character Ranges.
11934 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11935 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11936 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11937 as_cr_digits
='0123456789'
11938 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11943 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11944 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11945 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11946 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11947 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11948 as_echo='printf %s
\n'
11949 as_echo_n='printf %s
'
11951 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11952 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11953 as_echo_n='/usr
/ucb
/echo -n'
11955 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11956 as_echo_n_body='eval
11960 expr "X$arg" : "X\\(.*\\)$as_nl";
11961 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11963 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11965 export as_echo_n_body
11966 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11968 export as_echo_body
11969 as_echo='sh
-c $as_echo_body as_echo
'
11972 # The user is always right.
11973 if test "${PATH_SEPARATOR+set}" != set; then
11975 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11976 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11981 # Support unset when possible.
11982 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11990 # We need space, tab and new line, in precisely that order. Quoting is
11991 # there to prevent editors from complaining about space-tab.
11992 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11993 # splitting by setting IFS to empty value.)
11996 # Find who we are. Look in the path if we contain no directory separator.
11998 *[\\/]* ) as_myself=$0 ;;
11999 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12000 for as_dir in $PATH
12003 test -z "$as_dir" && as_dir=.
12004 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12010 # We did not find ourselves, most probably we were run as `sh COMMAND'
12011 # in which case we are not to be found in the path.
12012 if test "x$as_myself" = x
; then
12015 if test ! -f "$as_myself"; then
12016 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12017 { (exit 1); exit 1; }
12020 # Work around bugs in pre-3.0 UWIN ksh.
12021 for as_var
in ENV MAIL MAILPATH
12022 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12034 # Required to use basename.
12035 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12036 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12042 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12043 as_basename
=basename
12049 # Name of the executable.
12050 as_me
=`$as_basename -- "$0" ||
12051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12052 X"$0" : 'X\(//\)$' \| \
12053 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12055 sed '/^.*\/\([^/][^/]*\)\/*$/{
12074 as_lineno_1
=$LINENO
12075 as_lineno_2
=$LINENO
12076 test "x$as_lineno_1" != "x$as_lineno_2" &&
12077 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12080 # uniformly replaced by the line number. The first 'sed' inserts a
12081 # line-number line after each line using $LINENO; the second 'sed'
12082 # does the real work. The second script uses 'N' to pair each
12083 # line-number line with the line containing $LINENO, and appends
12084 # trailing '-' during substitution so that $LINENO is not a special
12085 # case at line end.
12086 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12087 # scripts with optimization help from Paolo Bonzini. Blame Lee
12088 # E. McMahon (1931-1989) for sed's syntax. :-)
12100 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12103 ' >$as_me.lineno
&&
12104 chmod +x
"$as_me.lineno" ||
12105 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12106 { (exit 1); exit 1; }; }
12108 # Don't try to exec as it changes $[0], causing all sort of problems
12109 # (the dirname of $[0] is not the place where we might find the
12110 # original and so on. Autoconf is especially sensitive to this).
12111 .
"./$as_me.lineno"
12112 # Exit status is that of the last command.
12117 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12123 ECHO_C
= ECHO_N
= ECHO_T
=
12124 case `echo -n x` in
12126 case `echo 'x\c'` in
12127 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12133 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12134 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12140 rm -f conf$$ conf$$.exe conf$$.
file
12141 if test -d conf$$.dir
; then
12142 rm -f conf$$.dir
/conf$$.
file
12145 mkdir conf$$.dir
2>/dev
/null
12147 if (echo >conf$$.
file) 2>/dev
/null
; then
12148 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12150 # ... but there are two gotchas:
12151 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12152 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12153 # In both cases, we have to default to `cp -p'.
12154 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12156 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12164 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12165 rmdir conf$$.dir
2>/dev
/null
12167 if mkdir
-p .
2>/dev
/null
; then
12170 test -d .
/-p && rmdir .
/-p
12174 if test -x / >/dev
/null
2>&1; then
12175 as_test_x
='test -x'
12177 if ls -dL / >/dev
/null
2>&1; then
12184 if test -d "$1"; then
12190 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12191 ???[sx]*):;;*)false;;esac;fi
12195 as_executable_p
=$as_test_x
12197 # Sed expression to map a string onto a valid CPP name.
12198 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12200 # Sed expression to map a string onto a valid variable name.
12201 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12206 # Save the log message, to keep $[0] and so on meaningful, and to
12207 # report actual input values of CONFIG_FILES etc. instead of their
12208 # values after options handling.
12210 This file was extended by courierlogger $as_me 0.10, which was
12211 generated by GNU Autoconf 2.63. Invocation command line was
12213 CONFIG_FILES = $CONFIG_FILES
12214 CONFIG_HEADERS = $CONFIG_HEADERS
12215 CONFIG_LINKS = $CONFIG_LINKS
12216 CONFIG_COMMANDS = $CONFIG_COMMANDS
12219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12224 case $ac_config_files in *"
12225 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12228 case $ac_config_headers in *"
12229 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12234 # Files that config.status was made for.
12235 config_files="$ac_config_files"
12236 config_headers="$ac_config_headers"
12237 config_commands="$ac_config_commands"
12241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12243 \`$as_me' instantiates files from templates according to the
12244 current configuration.
12246 Usage: $0 [OPTION]... [FILE]...
12248 -h, --help print this help, then exit
12249 -V, --version print version number and configuration settings, then exit
12250 -q, --quiet, --silent
12251 do not print progress messages
12252 -d, --debug don't remove temporary files
12253 --recheck update $as_me by reconfiguring in the same conditions
12254 --file=FILE[:TEMPLATE]
12255 instantiate the configuration file FILE
12256 --header=FILE[:TEMPLATE]
12257 instantiate the configuration header FILE
12259 Configuration files:
12262 Configuration headers:
12265 Configuration commands:
12268 Report bugs to <bug-autoconf@gnu.org>."
12271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12273 courierlogger config.status 0.10
12274 configured by $0, generated by GNU Autoconf 2.63,
12275 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12277 Copyright (C) 2008 Free Software Foundation, Inc.
12278 This config.status script is free software; the Free Software Foundation
12279 gives unlimited permission to copy, distribute and modify it."
12286 test -n "\$AWK" || AWK=awk
12289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12290 # The default lists apply if the user does not specify any file.
12296 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12297 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12308 # Handling of the options.
12309 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12311 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12312 $as_echo "$ac_cs_version"; exit ;;
12313 --debug |
--debu |
--deb |
--de |
--d |
-d )
12315 --file |
--fil |
--fi |
--f )
12318 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12320 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
12321 ac_need_defaults
=false
;;
12322 --header |
--heade |
--head |
--hea )
12325 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12327 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
12328 ac_need_defaults
=false
;;
12330 # Conflict between --help and --header
12331 { $as_echo "$as_me: error: ambiguous option: $1
12332 Try \`$0 --help' for more information." >&2
12333 { (exit 1); exit 1; }; };;
12334 --help |
--hel |
-h )
12335 $as_echo "$ac_cs_usage"; exit ;;
12336 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12337 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12340 # This is an error.
12341 -*) { $as_echo "$as_me: error: unrecognized option: $1
12342 Try \`$0 --help' for more information." >&2
12343 { (exit 1); exit 1; }; } ;;
12345 *) ac_config_targets
="$ac_config_targets $1"
12346 ac_need_defaults
=false
;;
12352 ac_configure_extra_args
=
12354 if $ac_cs_silent; then
12356 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12361 if \$ac_cs_recheck; then
12362 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12364 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12365 CONFIG_SHELL='$SHELL'
12366 export CONFIG_SHELL
12371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12375 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12376 ## Running $as_me. ##
12382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12386 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12389 # The HP-UX ksh and POSIX shell print the target directory to stdout
12390 # if CDPATH is set.
12391 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12393 sed_quote_subst='$sed_quote_subst'
12394 double_quote_subst='$double_quote_subst'
12395 delay_variable_subst='$delay_variable_subst'
12396 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12397 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12398 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12399 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12400 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12401 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12402 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12403 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12404 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12405 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12406 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12407 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12408 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12409 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12410 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12411 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12412 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12413 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12414 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12415 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12416 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12417 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12418 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12419 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12420 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12421 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12422 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12423 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12424 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12425 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12426 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12427 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12428 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12429 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12430 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12431 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12432 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12433 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12434 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12435 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12436 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12437 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12438 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12439 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12440 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"`'
12441 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"`'
12442 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12443 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12444 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12445 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12446 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12447 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12448 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12449 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12450 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12451 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12452 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12453 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12454 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12455 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12456 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12457 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12458 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12459 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12460 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12461 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12462 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12463 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12464 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12465 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12466 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12467 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12468 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12469 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12470 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12471 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12472 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12473 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12474 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12475 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12476 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12477 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12478 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12479 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12480 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12481 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12482 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12483 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12484 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12485 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12486 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12487 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12488 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12489 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12490 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12491 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12492 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12493 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12494 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12495 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12496 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12497 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12498 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12499 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12500 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12501 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12502 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12503 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12504 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12505 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12506 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12507 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12508 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12509 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12510 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12511 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12512 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12513 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12516 LTCFLAGS='$LTCFLAGS'
12517 compiler='$compiler_DEFAULT'
12519 # Quote evaled strings.
12531 deplibs_check_method \
12540 lt_cv_sys_global_symbol_pipe \
12541 lt_cv_sys_global_symbol_to_cdecl \
12542 lt_cv_sys_global_symbol_to_c_name_address \
12543 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12546 lt_prog_compiler_no_builtin_flag \
12547 lt_prog_compiler_wl \
12548 lt_prog_compiler_pic \
12549 lt_prog_compiler_static \
12550 lt_cv_prog_compiler_c_o \
12558 export_dynamic_flag_spec \
12559 whole_archive_flag_spec \
12560 compiler_needs_object \
12562 allow_undefined_flag \
12563 no_undefined_flag \
12564 hardcode_libdir_flag_spec \
12565 hardcode_libdir_flag_spec_ld \
12566 hardcode_libdir_separator \
12571 variables_saved_for_relink \
12573 library_names_spec \
12578 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12579 *[\\\\\\\`\\"\\\$]*)
12580 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12583 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12588 # Double-quote double-evaled strings.
12589 for var in reload_cmds \
12590 old_postinstall_cmds \
12591 old_postuninstall_cmds \
12593 extract_expsyms_cmds \
12594 old_archive_from_new_cmds \
12595 old_archive_from_expsyms_cmds \
12597 archive_expsym_cmds \
12599 module_expsym_cmds \
12600 export_symbols_cmds \
12603 postuninstall_cmds \
12605 sys_lib_search_path_spec \
12606 sys_lib_dlsearch_path_spec; do
12607 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12608 *[\\\\\\\`\\"\\\$]*)
12609 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12612 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12617 # Fix-up fallback echo if it was mangled by the above quoting rules.
12619 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12623 ac_aux_dir='$ac_aux_dir'
12624 xsi_shell='$xsi_shell'
12625 lt_shell_append='$lt_shell_append'
12627 # See if we are running on zsh, and set the options which allow our
12628 # commands through without removal of \ escapes INIT.
12629 if test -n "\${ZSH_VERSION+set}" ; then
12630 setopt NO_GLOB_SUBST
12636 TIMESTAMP='$TIMESTAMP'
12645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12647 # Handling of arguments.
12648 for ac_config_target
in $ac_config_targets
12650 case $ac_config_target in
12651 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12652 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12653 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12654 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12656 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12657 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12658 { (exit 1); exit 1; }; };;
12663 # If the user did not use the arguments to specify the items to instantiate,
12664 # then the envvar interface is used. Set only those that are not.
12665 # We use the long form for the default assignment because of an extremely
12666 # bizarre bug on SunOS 4.1.3.
12667 if $ac_need_defaults; then
12668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12669 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12670 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12673 # Have a temporary directory for convenience. Make it in the build tree
12674 # simply because there is no reason against having it here, and in addition,
12675 # creating and moving files from /tmp can sometimes cause problems.
12676 # Hook for its removal unless debugging.
12677 # Note that there is a small window in which the directory will not be cleaned:
12678 # after its creation but before its name has been assigned to `$tmp'.
12682 trap 'exit_status=$?
12683 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12685 trap '{ (exit 1); exit 1; }' 1 2 13 15
12687 # Create a (secure) tmp directory for tmp files.
12690 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12691 test -n "$tmp" && test -d "$tmp"
12694 tmp
=.
/conf$$
-$RANDOM
12695 (umask 077 && mkdir
"$tmp")
12698 $as_echo "$as_me: cannot create a temporary directory in ." >&2
12699 { (exit 1); exit 1; }
12702 # Set up the scripts for CONFIG_FILES section.
12703 # No need to generate them if there are no CONFIG_FILES.
12704 # This happens for instance with `./config.status config.h'.
12705 if test -n "$CONFIG_FILES"; then
12709 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12710 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12713 ac_cs_awk_cr
=$ac_cr
12716 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12721 echo "cat >conf$$subs.awk <<_ACEOF" &&
12722 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12724 } >conf$$subs.sh ||
12725 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
12726 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
12727 { (exit 1); exit 1; }; }
12728 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12730 for ac_last_try in false false false false false :; do
12731 . ./conf$$subs.sh ||
12732 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
12733 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
12734 { (exit 1); exit 1; }; }
12736 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12737 if test $ac_delim_n = $ac_delim_num; then
12739 elif $ac_last_try; then
12740 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
12741 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
12742 { (exit 1); exit 1; }; }
12744 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12747 rm -f conf$$subs.sh
12749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12750 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12754 s/^/S["/; s
/!.
*/"]=/
12764 s/\(.\{148\}\).*/\1/
12766 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12771 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12778 s/\(.\{148\}\).*/\1/
12780 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12784 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12789 ' <conf$$subs.awk | sed '
12794 ' >>$CONFIG_STATUS || ac_write_fail=1
12795 rm -f conf$$subs.awk
12796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12798 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12799 for (key in S) S_is_set[key] = 1
12805 nfields = split(line, field, "@
")
12807 len = length(field[1])
12808 for (i = 2; i < nfields; i++) {
12810 keylen = length(key)
12811 if (S_is_set[key]) {
12813 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12814 len += length(value) + length(field[++i])
12825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12826 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12827 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12830 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12831 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
12832 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
12833 { (exit 1); exit 1; }; }
12836 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12837 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12838 # trailing colons and then remove the whole line if VPATH becomes empty
12839 # (actually we leave an empty line to preserve line numbers).
12840 if test "x
$srcdir" = x.; then
12841 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12842 s/:*\$(srcdir):*/:/
12843 s/:*\${srcdir}:*/:/
12845 s/^\([^=]*=[ ]*\):*/\1/
12851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12852 fi # test -n "$CONFIG_FILES"
12854 # Set up the scripts for CONFIG_HEADERS section.
12855 # No need to generate them if there are no CONFIG_HEADERS.
12856 # This happens for instance with `./config.status Makefile'.
12857 if test -n "$CONFIG_HEADERS"; then
12858 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12862 # Transform confdefs.h into an awk script `defines.awk', embedded as
12863 # here-document in config.status, that substitutes the proper values into
12864 # config.h.in to produce config.h.
12866 # Create a delimiter string that does not exist in confdefs.h, to ease
12867 # handling of long lines.
12869 for ac_last_try in false false :; do
12870 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12871 if test -z "$ac_t"; then
12873 elif $ac_last_try; then
12874 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
12875 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
12876 { (exit 1); exit 1; }; }
12878 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12882 # For the awk script, D is an array of macro values keyed by name,
12883 # likewise P contains macro parameters if any. Preserve backslash
12884 # newline sequences.
12886 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12888 s/.\{148\}/&'"$ac_delim"'/g
12891 s/^[ ]*#[ ]*define[ ][ ]*/ /
12898 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12900 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12904 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12905 D["\
1"]=" \
3\\\\\\n
"\\/p
12907 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12912 s/.\{148\}/&'"$ac_delim"'/g
12917 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12920 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12922 ' <confdefs.h | sed '
12923 s/'"$ac_delim"'/"\\\
12924 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12927 for (key in D) D_is_set[key] = 1
12930 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12932 split(line, arg, " ")
12933 if (arg[1] == "#") {
12937 defundef
= substr
(arg
[1], 2)
12940 split(mac1
, mac2
, "(") #)
12942 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12943 if (D_is_set
[macro
]) {
12944 # Preserve the white space surrounding the "#".
12945 print prefix
"define", macro P
[macro
] D
[macro
]
12948 # Replace #undef with comments. This is necessary, for example,
12949 # in the case of _POSIX_SOURCE, which is predefined and required
12950 # on some systems where configure will not decide to define it.
12951 if (defundef
== "undef") {
12952 print
"/*", prefix defundef
, macro
, "*/"
12960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12961 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12962 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12963 { (exit 1); exit 1; }; }
12964 fi # test -n "$CONFIG_HEADERS"
12967 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12972 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12974 case $ac_mode$ac_tag in
12976 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12977 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12978 { (exit 1); exit 1; }; };;
12979 :[FH
]-) ac_tag
=-:-;;
12980 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12997 -) ac_f
="$tmp/stdin";;
12998 *) # Look for the file first in the build tree, then in the source tree
12999 # (if the path is not absolute). The absolute path cannot be DOS-style,
13000 # because $ac_f cannot contain `:'.
13004 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13006 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13007 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13008 { (exit 1); exit 1; }; };;
13010 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13011 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13014 # Let's still pretend it is `configure' which instantiates (i.e., don't
13015 # use $as_me), people would be surprised to read:
13016 # /* config.h. Generated by config.status. */
13017 configure_input
='Generated from '`
13018 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13020 if test x
"$ac_file" != x-
; then
13021 configure_input
="$ac_file. $configure_input"
13022 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13023 $as_echo "$as_me: creating $ac_file" >&6;}
13025 # Neutralize special characters interpreted by sed in replacement strings.
13026 case $configure_input in #(
13027 *\
&* |
*\|
* |
*\\* )
13028 ac_sed_conf_input
=`$as_echo "$configure_input" |
13029 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13030 *) ac_sed_conf_input
=$configure_input;;
13034 *:-:* |
*:-) cat >"$tmp/stdin" \
13035 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13036 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13037 { (exit 1); exit 1; }; } ;;
13042 ac_dir
=`$as_dirname -- "$ac_file" ||
13043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13044 X"$ac_file" : 'X\(//\)[^/]' \| \
13045 X"$ac_file" : 'X\(//\)$' \| \
13046 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13047 $as_echo X"$ac_file" |
13048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13052 /^X\(\/\/\)[^/].*/{
13067 -*) as_dir
=.
/$as_dir;;
13069 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13073 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13074 *) as_qdir
=$as_dir;;
13076 as_dirs
="'$as_qdir' $as_dirs"
13077 as_dir
=`$as_dirname -- "$as_dir" ||
13078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13079 X"$as_dir" : 'X\(//\)[^/]' \| \
13080 X"$as_dir" : 'X\(//\)$' \| \
13081 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13082 $as_echo X"$as_dir" |
13083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13087 /^X\(\/\/\)[^/].*/{
13100 test -d "$as_dir" && break
13102 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13103 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13104 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13105 { (exit 1); exit 1; }; }; }
13109 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13111 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13112 # A ".." for each directory in $ac_dir_suffix.
13113 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13114 case $ac_top_builddir_sub in
13115 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13116 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13119 ac_abs_top_builddir
=$ac_pwd
13120 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13121 # for backward compatibility:
13122 ac_top_builddir
=$ac_top_build_prefix
13125 .
) # We are building in place.
13127 ac_top_srcdir
=$ac_top_builddir_sub
13128 ac_abs_top_srcdir
=$ac_pwd ;;
13129 [\\/]* | ?
:[\\/]* ) # Absolute name.
13130 ac_srcdir
=$srcdir$ac_dir_suffix;
13131 ac_top_srcdir
=$srcdir
13132 ac_abs_top_srcdir
=$srcdir ;;
13133 *) # Relative name.
13134 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13135 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13136 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13138 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13148 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13149 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13151 ac_MKDIR_P
=$MKDIR_P
13153 [\\/$
]* | ?
:[\\/]* ) ;;
13154 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13159 # If the template does not know about datarootdir, expand it.
13160 # FIXME: This hack should be removed a few years after 2.60.
13161 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13174 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13175 *datarootdir
*) ac_datarootdir_seen
=yes;;
13176 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13177 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13178 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13181 ac_datarootdir_hack='
13182 s&@datadir@&$datadir&g
13183 s&@docdir@&$docdir&g
13184 s&@infodir@&$infodir&g
13185 s&@localedir@&$localedir&g
13186 s&@mandir@&$mandir&g
13187 s&\\\${datarootdir}&$datarootdir&g' ;;
13191 # Neutralize VPATH when `$srcdir' = `.'.
13192 # Shell code in configure.ac might set extrasub.
13193 # FIXME: do we really want to maintain this feature?
13194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13195 ac_sed_extra="$ac_vpsub
13198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13200 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13201 s|@configure_input@|
$ac_sed_conf_input|
;t t
13202 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13203 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13204 s
&@srcdir@
&$ac_srcdir&;t t
13205 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13206 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13207 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13208 s
&@builddir@
&$ac_builddir&;t t
13209 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13210 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13211 s
&@INSTALL@
&$ac_INSTALL&;t t
13212 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13213 $ac_datarootdir_hack
13215 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13216 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
13217 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
13218 { (exit 1); exit 1; }; }
13220 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13221 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13222 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13223 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13224 which seems to be undefined. Please make sure it is defined." >&5
13225 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13226 which seems to be undefined. Please make sure it is defined." >&2;}
13230 -) cat "$tmp/out" && rm -f "$tmp/out";;
13231 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13233 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13234 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13235 { (exit 1); exit 1; }; }
13241 if test x"$ac_file" != x-; then
13243 $as_echo "/* $configure_input */" \
13244 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13245 } >"$tmp/config.h" \
13246 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13247 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13248 { (exit 1); exit 1; }; }
13249 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13250 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13251 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13254 mv "$tmp/config.h" "$ac_file" \
13255 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13256 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13257 { (exit 1); exit 1; }; }
13260 $as_echo "/* $configure_input */" \
13261 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13262 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13263 $as_echo "$as_me: error: could not create -" >&2;}
13264 { (exit 1); exit 1; }; }
13266 # Compute "$ac_file"'s index
in $config_headers.
13269 for _am_header
in $config_headers :; do
13270 case $_am_header in
13271 $_am_arg |
$_am_arg:* )
13274 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13277 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13278 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13279 X"$_am_arg" : 'X\(//\)[^/]' \| \
13280 X"$_am_arg" : 'X\(//\)$' \| \
13281 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13282 $as_echo X"$_am_arg" |
13283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13287 /^X\(\/\/\)[^/].*/{
13299 s/.*/./; q'`/stamp-h
$_am_stamp_count
13302 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13303 $as_echo "$as_me: executing $ac_file commands" >&6;}
13308 case $ac_file$ac_mode in
13309 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13310 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13311 # are listed without --file. Let's play safe and only enable the eval
13312 # if we detect the quoting.
13313 case $CONFIG_FILES in
13314 *\'*) eval set x
"$CONFIG_FILES" ;;
13315 *) set x
$CONFIG_FILES ;;
13320 # Strip MF so we end up with the name of the file.
13321 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13322 # Check whether this is an Automake generated Makefile or not.
13323 # We used to match only the files named `Makefile.in', but
13324 # some people rename them; so instead we look at the file content.
13325 # Grep'ing the first line is not enough: some people post-process
13326 # each Makefile.in and add a new line on top of each file to say so.
13327 # Grep'ing the whole file is not good either: AIX grep has a line
13328 # limit of 2048, but all sed's we know have understand at least 4000.
13329 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13330 dirpart
=`$as_dirname -- "$mf" ||
13331 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13332 X"$mf" : 'X\(//\)[^/]' \| \
13333 X"$mf" : 'X\(//\)$' \| \
13334 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13340 /^X\(\/\/\)[^/].*/{
13356 # Extract the definition of DEPDIR, am__include, and am__quote
13357 # from the Makefile without running `make'.
13358 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13359 test -z "$DEPDIR" && continue
13360 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13361 test -z "am__include" && continue
13362 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13363 # When using ansi2knr, U may be empty or an underscore; expand it
13364 U
=`sed -n 's/^U = //p' < "$mf"`
13365 # Find all dependency output files, they are included files with
13366 # $(DEPDIR) in their names. We invoke sed twice because it is the
13367 # simplest approach to changing $(DEPDIR) to its actual value in the
13369 for file in `sed -n "
13370 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13371 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13372 # Make sure the directory exists.
13373 test -f "$dirpart/$file" && continue
13374 fdir
=`$as_dirname -- "$file" ||
13375 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13376 X"$file" : 'X\(//\)[^/]' \| \
13377 X"$file" : 'X\(//\)$' \| \
13378 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13379 $as_echo X"$file" |
13380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13384 /^X\(\/\/\)[^/].*/{
13397 { as_dir
=$dirpart/$fdir
13399 -*) as_dir
=.
/$as_dir;;
13401 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13405 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13406 *) as_qdir
=$as_dir;;
13408 as_dirs
="'$as_qdir' $as_dirs"
13409 as_dir
=`$as_dirname -- "$as_dir" ||
13410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13411 X"$as_dir" : 'X\(//\)[^/]' \| \
13412 X"$as_dir" : 'X\(//\)$' \| \
13413 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13414 $as_echo X"$as_dir" |
13415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13419 /^X\(\/\/\)[^/].*/{
13432 test -d "$as_dir" && break
13434 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13435 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13436 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13437 { (exit 1); exit 1; }; }; }
13438 # echo "creating $dirpart/$file"
13439 echo '# dummy' > "$dirpart/$file"
13446 # See if we are running on zsh, and set the options which allow our
13447 # commands through without removal of \ escapes.
13448 if test -n "${ZSH_VERSION+set}" ; then
13449 setopt NO_GLOB_SUBST
13452 cfgfile
="${ofile}T"
13453 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13456 cat <<_LT_EOF >> "$cfgfile"
13459 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13460 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13461 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13462 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13464 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13465 # 2006, 2007, 2008 Free Software Foundation, Inc.
13466 # Written by Gordon Matzigkeit, 1996
13468 # This file is part of GNU Libtool.
13470 # GNU Libtool is free software; you can redistribute it and/or
13471 # modify it under the terms of the GNU General Public License as
13472 # published by the Free Software Foundation; either version 2 of
13473 # the License, or (at your option) any later version.
13475 # As a special exception to the GNU General Public License,
13476 # if you distribute this file as part of a program or library that
13477 # is built using GNU Libtool, you may include this file under the
13478 # same distribution terms that you use for the rest of that program.
13480 # GNU Libtool is distributed in the hope that it will be useful,
13481 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13482 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13483 # GNU General Public License for more details.
13485 # You should have received a copy of the GNU General Public License
13486 # along with GNU Libtool; see the file COPYING. If not, a copy
13487 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13488 # obtained by writing to the Free Software Foundation, Inc.,
13489 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13492 # The names of the tagged configurations supported by this script.
13495 # ### BEGIN LIBTOOL CONFIG
13497 # Which release of libtool.m4 was used?
13498 macro_version=$macro_version
13499 macro_revision=$macro_revision
13501 # Whether or not to build shared libraries.
13502 build_libtool_libs=$enable_shared
13504 # Whether or not to build static libraries.
13505 build_old_libs=$enable_static
13507 # What type of objects to build.
13510 # Whether or not to optimize for fast installation.
13511 fast_install=$enable_fast_install
13514 host_alias=$host_alias
13518 # The build system.
13519 build_alias=$build_alias
13523 # A sed program that does not truncate output.
13526 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13527 Xsed="\$SED -e 1s/^X//"
13529 # A grep program that handles long lines.
13535 # A literal string matcher.
13538 # A BSD- or MS-compatible name lister.
13541 # Whether we need soft or hard links.
13544 # What is the maximum length of a command?
13545 max_cmd_len=$max_cmd_len
13547 # Object file suffix (normally "o").
13550 # Executable file suffix (normally "").
13553 # whether the shell understands "unset".
13556 # turn spaces into newlines.
13559 # turn newlines into spaces.
13562 # How to create reloadable object files.
13563 reload_flag=$lt_reload_flag
13564 reload_cmds=$lt_reload_cmds
13566 # An object symbol dumper.
13567 OBJDUMP=$lt_OBJDUMP
13569 # Method to check whether dependent libraries are shared objects.
13570 deplibs_check_method=$lt_deplibs_check_method
13572 # Command to use when deplibs_check_method == "file_magic".
13573 file_magic_cmd=$lt_file_magic_cmd
13577 AR_FLAGS=$lt_AR_FLAGS
13579 # A symbol stripping program.
13582 # Commands used to install an old-style archive.
13584 old_postinstall_cmds=$lt_old_postinstall_cmds
13585 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13590 # LTCC compiler flags.
13591 LTCFLAGS=$lt_CFLAGS
13593 # Take the output of nm and produce a listing of raw symbols and C names.
13594 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13596 # Transform the output of nm in a proper C declaration.
13597 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13599 # Transform the output of nm in a C name address pair.
13600 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13602 # Transform the output of nm in a C name address pair when lib prefix is needed.
13603 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13605 # The name of the directory that contains temporary libtool files.
13608 # Shell to use when invoking shell scripts.
13611 # An echo program that does not interpret backslashes.
13614 # Used to examine libraries when file_magic_cmd begins with "file".
13615 MAGIC_CMD=$MAGIC_CMD
13617 # Must we lock files when doing compilation?
13618 need_locks=$lt_need_locks
13620 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13621 DSYMUTIL=$lt_DSYMUTIL
13623 # Tool to change global to local symbols on Mac OS X.
13626 # Tool to manipulate fat objects and archives on Mac OS X.
13629 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13632 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13633 OTOOL64=$lt_OTOOL64
13635 # Old archive suffix (normally "a").
13638 # Shared library suffix (normally ".so").
13639 shrext_cmds=$lt_shrext_cmds
13641 # The commands to extract the exported symbol list from a shared archive.
13642 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13644 # Variables whose values should be saved in libtool wrapper scripts and
13645 # restored at link time.
13646 variables_saved_for_relink=$lt_variables_saved_for_relink
13648 # Do we need the "lib" prefix for modules?
13649 need_lib_prefix=$need_lib_prefix
13651 # Do we need a version for libraries?
13652 need_version=$need_version
13654 # Library versioning type.
13655 version_type=$version_type
13657 # Shared library runtime path variable.
13658 runpath_var=$runpath_var
13660 # Shared library path variable.
13661 shlibpath_var=$shlibpath_var
13663 # Is shlibpath searched before the hard-coded library search path?
13664 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13666 # Format of library name prefix.
13667 libname_spec=$lt_libname_spec
13669 # List of archive names. First name is the real one, the rest are links.
13670 # The last name is the one that the linker finds with -lNAME
13671 library_names_spec=$lt_library_names_spec
13673 # The coded name of the library, if different from the real name.
13674 soname_spec=$lt_soname_spec
13676 # Command to use after installation of a shared archive.
13677 postinstall_cmds=$lt_postinstall_cmds
13679 # Command to use after uninstallation of a shared archive.
13680 postuninstall_cmds=$lt_postuninstall_cmds
13682 # Commands used to finish a libtool library installation in a directory.
13683 finish_cmds=$lt_finish_cmds
13685 # As "finish_cmds", except a single script fragment to be evaled but
13687 finish_eval=$lt_finish_eval
13689 # Whether we should hardcode library paths into libraries.
13690 hardcode_into_libs=$hardcode_into_libs
13692 # Compile-time system search path for libraries.
13693 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13695 # Run-time system search path for libraries.
13696 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13698 # Whether dlopen is supported.
13699 dlopen_support=$enable_dlopen
13701 # Whether dlopen of programs is supported.
13702 dlopen_self=$enable_dlopen_self
13704 # Whether dlopen of statically linked programs is supported.
13705 dlopen_self_static=$enable_dlopen_self_static
13707 # Commands to strip libraries.
13708 old_striplib=$lt_old_striplib
13709 striplib=$lt_striplib
13712 # The linker used to build libraries.
13715 # Commands used to build an old-style archive.
13716 old_archive_cmds=$lt_old_archive_cmds
13718 # A language specific compiler.
13721 # Is the compiler the GNU compiler?
13724 # Compiler flag to turn off builtin functions.
13725 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13727 # How to pass a linker flag through the compiler.
13728 wl=$lt_lt_prog_compiler_wl
13730 # Additional compiler flags for building library objects.
13731 pic_flag=$lt_lt_prog_compiler_pic
13733 # Compiler flag to prevent dynamic linking.
13734 link_static_flag=$lt_lt_prog_compiler_static
13736 # Does compiler simultaneously support -c and -o options?
13737 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13739 # Whether or not to add -lc for building shared libraries.
13740 build_libtool_need_lc=$archive_cmds_need_lc
13742 # Whether or not to disallow shared libs when runtime libs are static.
13743 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13745 # Compiler flag to allow reflexive dlopens.
13746 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13748 # Compiler flag to generate shared objects directly from archives.
13749 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13751 # Whether the compiler copes with passing no objects directly.
13752 compiler_needs_object=$lt_compiler_needs_object
13754 # Create an old-style archive from a shared archive.
13755 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13757 # Create a temporary old-style archive to link instead of a shared archive.
13758 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13760 # Commands used to build a shared archive.
13761 archive_cmds=$lt_archive_cmds
13762 archive_expsym_cmds=$lt_archive_expsym_cmds
13764 # Commands used to build a loadable module if different from building
13765 # a shared archive.
13766 module_cmds=$lt_module_cmds
13767 module_expsym_cmds=$lt_module_expsym_cmds
13769 # Whether we are building with GNU ld or not.
13770 with_gnu_ld=$lt_with_gnu_ld
13772 # Flag that allows shared libraries with undefined symbols to be built.
13773 allow_undefined_flag=$lt_allow_undefined_flag
13775 # Flag that enforces no undefined symbols.
13776 no_undefined_flag=$lt_no_undefined_flag
13778 # Flag to hardcode \$libdir into a binary during linking.
13779 # This must work even if \$libdir does not exist
13780 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13782 # If ld is used when linking, flag to hardcode \$libdir into a binary
13783 # during linking. This must work even if \$libdir does not exist.
13784 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13786 # Whether we need a single "-rpath" flag with a separated argument.
13787 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13789 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13790 # DIR into the resulting binary.
13791 hardcode_direct=$hardcode_direct
13793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13794 # DIR into the resulting binary and the resulting library dependency is
13795 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13796 # library is relocated.
13797 hardcode_direct_absolute=$hardcode_direct_absolute
13799 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13800 # into the resulting binary.
13801 hardcode_minus_L=$hardcode_minus_L
13803 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13804 # into the resulting binary.
13805 hardcode_shlibpath_var=$hardcode_shlibpath_var
13807 # Set to "yes" if building a shared library automatically hardcodes DIR
13808 # into the library and all subsequent libraries and executables linked
13810 hardcode_automatic=$hardcode_automatic
13812 # Set to yes if linker adds runtime paths of dependent libraries
13813 # to runtime path list.
13814 inherit_rpath=$inherit_rpath
13816 # Whether libtool must link a program against all its dependency libraries.
13817 link_all_deplibs=$link_all_deplibs
13819 # Fix the shell variable \$srcfile for the compiler.
13820 fix_srcfile_path=$lt_fix_srcfile_path
13822 # Set to "yes" if exported symbols are required.
13823 always_export_symbols=$always_export_symbols
13825 # The commands to list exported symbols.
13826 export_symbols_cmds=$lt_export_symbols_cmds
13828 # Symbols that should not be listed in the preloaded symbols.
13829 exclude_expsyms=$lt_exclude_expsyms
13831 # Symbols that must always be exported.
13832 include_expsyms=$lt_include_expsyms
13834 # Commands necessary for linking programs (against libraries) with templates.
13835 prelink_cmds=$lt_prelink_cmds
13837 # Specify filename containing input files.
13838 file_list_spec=$lt_file_list_spec
13840 # How to hardcode a shared library path into an executable.
13841 hardcode_action=$hardcode_action
13843 # ### END LIBTOOL CONFIG
13849 cat <<\_LT_EOF
>> "$cfgfile"
13850 # AIX sometimes has problems with the GCC collect2 program. For some
13851 # reason, if we set the COLLECT_NAMES environment variable, the problems
13852 # vanish in a puff of smoke.
13853 if test "X${COLLECT_NAMES+set}" != Xset
; then
13855 export COLLECT_NAMES
13862 ltmain
="$ac_aux_dir/ltmain.sh"
13865 # We use sed instead of cat because bash on DJGPP gets confused if
13866 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13867 # text mode, it properly converts lines to CR/LF. This bash problem
13868 # is reportedly fixed, but why not run on old versions too?
13869 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13870 ||
(rm -f "$cfgfile"; exit 1)
13874 cat << \_LT_EOF
>> "$cfgfile"
13876 # func_dirname file append nondir_replacement
13877 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13878 # otherwise set result to NONDIR_REPLACEMENT.
13882 */*) func_dirname_result
="${1%/*}${2}" ;;
13883 * ) func_dirname_result
="${3}" ;;
13887 # func_basename file
13890 func_basename_result
="${1##*/}"
13893 # func_dirname_and_basename file append nondir_replacement
13894 # perform func_basename and func_dirname in a single function
13896 # dirname: Compute the dirname of FILE. If nonempty,
13897 # add APPEND to the result, otherwise set result
13898 # to NONDIR_REPLACEMENT.
13899 # value returned in "$func_dirname_result"
13900 # basename: Compute filename of FILE.
13901 # value retuned in "$func_basename_result"
13902 # Implementation must be kept synchronized with func_dirname
13903 # and func_basename. For efficiency, we do not delegate to
13904 # those functions but instead duplicate the functionality here.
13905 func_dirname_and_basename
()
13908 */*) func_dirname_result
="${1%/*}${2}" ;;
13909 * ) func_dirname_result
="${3}" ;;
13911 func_basename_result
="${1##*/}"
13914 # func_stripname prefix suffix name
13915 # strip PREFIX and SUFFIX off of NAME.
13916 # PREFIX and SUFFIX must not contain globbing or regex special
13917 # characters, hashes, percent signs, but SUFFIX may contain a leading
13918 # dot (in which case that matches only a dot).
13921 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13922 # positional parameters, so assign one to ordinary parameter first.
13923 func_stripname_result
=${3}
13924 func_stripname_result
=${func_stripname_result#"${1}"}
13925 func_stripname_result
=${func_stripname_result%"${2}"}
13931 func_opt_split_opt
=${1%%=*}
13932 func_opt_split_arg
=${1#*=}
13939 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13940 *) func_lo2o_result
=${1} ;;
13944 # func_xform libobj-or-source
13947 func_xform_result
=${1%.*}.lo
13950 # func_arith arithmetic-term...
13953 func_arith_result
=$
(( $
* ))
13957 # STRING may not start with a hyphen.
13960 func_len_result
=${#1}
13965 *) # Bourne compatible functions.
13966 cat << \_LT_EOF
>> "$cfgfile"
13968 # func_dirname file append nondir_replacement
13969 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13970 # otherwise set result to NONDIR_REPLACEMENT.
13973 # Extract subdirectory from the argument.
13974 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13975 if test "X$func_dirname_result" = "X${1}"; then
13976 func_dirname_result
="${3}"
13978 func_dirname_result
="$func_dirname_result${2}"
13982 # func_basename file
13985 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13989 # func_stripname prefix suffix name
13990 # strip PREFIX and SUFFIX off of NAME.
13991 # PREFIX and SUFFIX must not contain globbing or regex special
13992 # characters, hashes, percent signs, but SUFFIX may contain a leading
13993 # dot (in which case that matches only a dot).
13994 # func_strip_suffix prefix name
13998 .
*) func_stripname_result
=`$ECHO "X${3}" \
13999 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14000 *) func_stripname_result
=`$ECHO "X${3}" \
14001 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14006 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14007 my_sed_long_arg
='1s/^-[^=]*=//'
14012 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14013 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14019 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14022 # func_xform libobj-or-source
14025 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14028 # func_arith arithmetic-term...
14031 func_arith_result
=`expr "$@"`
14035 # STRING may not start with a hyphen.
14038 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14044 case $lt_shell_append in
14046 cat << \_LT_EOF
>> "$cfgfile"
14048 # func_append var value
14049 # Append VALUE to the end of shell variable VAR.
14057 cat << \_LT_EOF
>> "$cfgfile"
14059 # func_append var value
14060 # Append VALUE to the end of shell variable VAR.
14071 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14072 ||
(rm -f "$cfgfile"; exit 1)
14074 mv -f "$cfgfile" "$ofile" ||
14075 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14084 { (exit 0); exit 0; }
14086 chmod +x
$CONFIG_STATUS
14087 ac_clean_files
=$ac_clean_files_save
14089 test $ac_write_fail = 0 ||
14090 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14091 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14092 { (exit 1); exit 1; }; }
14095 # configure is writing to config.log, and then calls config.status.
14096 # config.status does its own redirection, appending to config.log.
14097 # Unfortunately, on DOS this fails, as config.log is still kept open
14098 # by configure, so config.status won't be able to write to it; its
14099 # output is simply discarded. So we exec the FD to /dev/null,
14100 # effectively closing config.log, so it can be properly (re)opened and
14101 # appended to by config.status. When coming back to configure, we
14102 # need to make the FD available again.
14103 if test "$no_create" != yes; then
14105 ac_config_status_args
=
14106 test "$silent" = yes &&
14107 ac_config_status_args
="$ac_config_status_args --quiet"
14109 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14111 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14112 # would make configure fail if this is the last instruction.
14113 $ac_cs_success ||
{ (exit 1); exit 1; }
14115 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14116 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14117 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}