2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for courier-authlib 0.63.0.
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'"
576 lt_ltdl_dir
='libltdl'
579 # Check that we are running under the correct shell.
580 SHELL
=${CONFIG_SHELL-/bin/sh}
584 # Remove one level of quotation (which was required for Make).
585 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
590 if test "X$1" = X--no-reexec
; then
591 # Discard the --no-reexec flag, and continue.
593 elif test "X$1" = X--fallback-echo
; then
594 # Avoid inline document here, it may be left over
596 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
597 # Yippee, $ECHO works!
600 # Restart under the correct shell.
601 exec $SHELL "$0" --no-reexec ${1+"$@"}
604 if test "X$1" = X--fallback-echo
; then
605 # used as fallback echo
613 # The HP-UX ksh and POSIX shell print the target directory to stdout
615 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
617 if test -z "$lt_ECHO"; then
618 if test "X${echo_test_string+set}" != Xset
; then
619 # find a string as large as possible, as long as the shell can cope with it
620 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
621 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
622 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
623 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
630 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # The Solaris, AIX, and Digital Unix default echo programs unquote
636 # backslashes. This makes it impossible to quote backslashes using
637 # echo "$something" | sed 's/\\/\\\\/g'
639 # So, first we look for a working echo in the user's PATH.
641 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
642 for dir
in $PATH /usr
/ucb
; do
644 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
645 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
646 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
647 test "X$echo_testing_string" = "X$echo_test_string"; then
654 if test "X$ECHO" = Xecho
; then
655 # We didn't find a better echo, so look for alternatives.
656 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
657 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 # This shell has a builtin print -r that does the trick.
661 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
662 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
663 # If we have ksh, try running configure again with it.
664 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
665 export ORIGINAL_CONFIG_SHELL
666 CONFIG_SHELL
=/bin
/ksh
668 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
672 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
673 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
674 test "X$echo_testing_string" = "X$echo_test_string"; then
677 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
678 test "X$echo_testing_string" = 'X\t' &&
679 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
680 test "X$echo_testing_string" = "X$echo_test_string"; then
681 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
683 SHELL
="$CONFIG_SHELL"
685 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
686 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
687 test "X$echo_testing_string" = 'X\t' &&
688 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
689 test "X$echo_testing_string" = "X$echo_test_string"; then
690 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
692 # maybe with a smaller string...
695 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
696 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
703 if test "$prev" != 'sed 50q "$0"'; then
704 echo_test_string
=`eval $prev`
705 export echo_test_string
706 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
708 # Oops. We lost completely, so just stick with echo.
717 # Copy echo and quote the copy suitably for passing to libtool from
718 # the Makefile, instead of quoting the original, which is used later.
720 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
721 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
727 lt_dlopen_dir
="$lt_ltdl_dir"
729 exec 7<&0 </dev
/null
6>&1
732 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
733 # so uname gets run too.
734 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
739 ac_default_prefix
=/usr
/local
741 ac_config_libobj_dir
=.
747 SHELL
=${CONFIG_SHELL-/bin/sh}
749 # Identity of this package.
750 PACKAGE_NAME
='courier-authlib'
751 PACKAGE_TARNAME
='courier-authlib'
752 PACKAGE_VERSION
='0.63.0'
753 PACKAGE_STRING
='courier-authlib 0.63.0'
754 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
756 ac_unique_file
="courierauth.h"
757 # Factoring default headers for most tests.
758 ac_includes_default
="\
760 #ifdef HAVE_SYS_TYPES_H
761 # include <sys/types.h>
763 #ifdef HAVE_SYS_STAT_H
764 # include <sys/stat.h>
770 # ifdef HAVE_STDLIB_H
775 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
780 #ifdef HAVE_STRINGS_H
781 # include <strings.h>
783 #ifdef HAVE_INTTYPES_H
784 # include <inttypes.h>
793 enable_option_checking
=no
794 ac_subst_vars
='ltdl_LTLIBOBJS
854 CONVENIENCE_LTDL_FALSE
855 CONVENIENCE_LTDL_TRUE
859 sys_symbol_underscore
924 INSTALL_STRIP_PROGRAM
966 program_transform_name
978 enable_option_checking
979 enable_dependency_tracking
997 with_authpam_libraries
1020 ac_precious_vars
='build_alias
1029 ac_subdirs_all
='libltdl
1030 bdbobj gdbmobj md5 sha1 libhmac numlib makedat userdb unicode rfc822 random128 liblock liblog'
1032 # Initialize some variables set by options.
1034 ac_init_version
=false
1035 ac_unrecognized_opts
=
1036 ac_unrecognized_sep
=
1037 # The variables have the same names as the options, with
1038 # dashes changed to underlines.
1039 cache_file
=/dev
/null
1046 program_transform_name
=s
,x
,x
,
1054 # Installation directory options.
1055 # These are left unexpanded so users can "make install exec_prefix=/foo"
1056 # and all the variables that are supposed to be based on exec_prefix
1057 # by default will actually change.
1058 # Use braces instead of parens because sh, perl, etc. also accept them.
1059 # (The list follows the same order as the GNU Coding Standards.)
1060 bindir
='${exec_prefix}/bin'
1061 sbindir
='${exec_prefix}/sbin'
1062 libexecdir
='${exec_prefix}/libexec'
1063 datarootdir
='${prefix}/share'
1064 datadir
='${datarootdir}'
1065 sysconfdir
='${prefix}/etc'
1066 sharedstatedir
='${prefix}/com'
1067 localstatedir
='${prefix}/var'
1068 includedir
='${prefix}/include'
1069 oldincludedir
='/usr/include'
1070 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1071 infodir
='${datarootdir}/info'
1076 libdir
='${exec_prefix}/lib'
1077 localedir
='${datarootdir}/locale'
1078 mandir
='${datarootdir}/man'
1084 # If the previous option needs an argument, assign it.
1085 if test -n "$ac_prev"; then
1086 eval $ac_prev=\
$ac_option
1092 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1096 # Accept the important Cygnus configure options, so we can diagnose typos.
1098 case $ac_dashdash$ac_option in
1102 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1104 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1105 bindir
=$ac_optarg ;;
1107 -build |
--build |
--buil |
--bui |
--bu)
1108 ac_prev
=build_alias
;;
1109 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1110 build_alias
=$ac_optarg ;;
1112 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1113 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1114 ac_prev
=cache_file
;;
1115 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1116 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1117 cache_file
=$ac_optarg ;;
1119 --config-cache |
-C)
1120 cache_file
=config.cache
;;
1122 -datadir |
--datadir |
--datadi |
--datad)
1124 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1125 datadir
=$ac_optarg ;;
1127 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1128 |
--dataroo |
--dataro |
--datar)
1129 ac_prev
=datarootdir
;;
1130 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1131 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1132 datarootdir
=$ac_optarg ;;
1134 -disable-* |
--disable-*)
1135 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1139 { (exit 1); exit 1; }; }
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1144 "enable_
$ac_useropt"
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval enable_
$ac_useropt=no
;;
1151 -docdir |
--docdir |
--docdi |
--doc |
--do)
1153 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1154 docdir
=$ac_optarg ;;
1156 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1158 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1159 dvidir
=$ac_optarg ;;
1161 -enable-* |
--enable-*)
1162 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1165 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1166 { (exit 1); exit 1; }; }
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1171 "enable_
$ac_useropt"
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval enable_
$ac_useropt=\
$ac_optarg ;;
1178 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1179 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1180 |
--exec |
--exe |
--ex)
1181 ac_prev
=exec_prefix
;;
1182 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1183 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1184 |
--exec=* |
--exe=* |
--ex=*)
1185 exec_prefix
=$ac_optarg ;;
1187 -gas |
--gas |
--ga |
--g)
1188 # Obsolete; use --with-gas.
1191 -help |
--help |
--hel |
--he |
-h)
1192 ac_init_help
=long
;;
1193 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1194 ac_init_help
=recursive
;;
1195 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1196 ac_init_help
=short
;;
1198 -host |
--host |
--hos |
--ho)
1199 ac_prev
=host_alias
;;
1200 -host=* |
--host=* |
--hos=* |
--ho=*)
1201 host_alias
=$ac_optarg ;;
1203 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1205 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1207 htmldir
=$ac_optarg ;;
1209 -includedir |
--includedir |
--includedi |
--included |
--include \
1210 |
--includ |
--inclu |
--incl |
--inc)
1211 ac_prev
=includedir
;;
1212 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1213 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1214 includedir
=$ac_optarg ;;
1216 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1218 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1219 infodir
=$ac_optarg ;;
1221 -libdir |
--libdir |
--libdi |
--libd)
1223 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1224 libdir
=$ac_optarg ;;
1226 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1227 |
--libexe |
--libex |
--libe)
1228 ac_prev
=libexecdir
;;
1229 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1230 |
--libexe=* |
--libex=* |
--libe=*)
1231 libexecdir
=$ac_optarg ;;
1233 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1234 ac_prev
=localedir
;;
1235 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1236 localedir
=$ac_optarg ;;
1238 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1239 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1240 ac_prev
=localstatedir
;;
1241 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1242 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1243 localstatedir
=$ac_optarg ;;
1245 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1247 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1248 mandir
=$ac_optarg ;;
1250 -nfp |
--nfp |
--nf)
1251 # Obsolete; use --without-fp.
1254 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1255 |
--no-cr |
--no-c |
-n)
1258 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1259 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1262 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1263 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1264 |
--oldin |
--oldi |
--old |
--ol |
--o)
1265 ac_prev
=oldincludedir
;;
1266 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1267 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1268 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1269 oldincludedir
=$ac_optarg ;;
1271 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1273 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1274 prefix
=$ac_optarg ;;
1276 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1277 |
--program-pre |
--program-pr |
--program-p)
1278 ac_prev
=program_prefix
;;
1279 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1280 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1281 program_prefix
=$ac_optarg ;;
1283 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1284 |
--program-suf |
--program-su |
--program-s)
1285 ac_prev
=program_suffix
;;
1286 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1287 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1288 program_suffix
=$ac_optarg ;;
1290 -program-transform-name |
--program-transform-name \
1291 |
--program-transform-nam |
--program-transform-na \
1292 |
--program-transform-n |
--program-transform- \
1293 |
--program-transform |
--program-transfor \
1294 |
--program-transfo |
--program-transf \
1295 |
--program-trans |
--program-tran \
1296 |
--progr-tra |
--program-tr |
--program-t)
1297 ac_prev
=program_transform_name
;;
1298 -program-transform-name=* |
--program-transform-name=* \
1299 |
--program-transform-nam=* |
--program-transform-na=* \
1300 |
--program-transform-n=* |
--program-transform-=* \
1301 |
--program-transform=* |
--program-transfor=* \
1302 |
--program-transfo=* |
--program-transf=* \
1303 |
--program-trans=* |
--program-tran=* \
1304 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1305 program_transform_name
=$ac_optarg ;;
1307 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1309 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1310 pdfdir
=$ac_optarg ;;
1312 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1314 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1317 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1318 |
-silent |
--silent |
--silen |
--sile |
--sil)
1321 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1323 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1325 sbindir
=$ac_optarg ;;
1327 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1328 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1329 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1331 ac_prev
=sharedstatedir
;;
1332 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1333 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1334 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1336 sharedstatedir
=$ac_optarg ;;
1338 -site |
--site |
--sit)
1340 -site=* |
--site=* |
--sit=*)
1343 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1345 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1346 srcdir
=$ac_optarg ;;
1348 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1349 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1350 ac_prev
=sysconfdir
;;
1351 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1352 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1353 sysconfdir
=$ac_optarg ;;
1355 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1356 ac_prev
=target_alias
;;
1357 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1358 target_alias
=$ac_optarg ;;
1360 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1363 -version |
--version |
--versio |
--versi |
--vers |
-V)
1364 ac_init_version
=: ;;
1367 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1370 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_useropt_orig
=$ac_useropt
1373 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1374 case $ac_user_opts in
1378 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1379 ac_unrecognized_sep
=', ';;
1381 eval with_
$ac_useropt=\
$ac_optarg ;;
1383 -without-* |
--without-*)
1384 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1385 # Reject names that are not valid shell variable names.
1386 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1387 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1388 { (exit 1); exit 1; }; }
1389 ac_useropt_orig
=$ac_useropt
1390 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1391 case $ac_user_opts in
1395 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1396 ac_unrecognized_sep
=', ';;
1398 eval with_
$ac_useropt=no
;;
1401 # Obsolete; use --with-x.
1404 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1405 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1406 ac_prev
=x_includes
;;
1407 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1408 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1409 x_includes
=$ac_optarg ;;
1411 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1412 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1413 ac_prev
=x_libraries
;;
1414 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1415 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1416 x_libraries
=$ac_optarg ;;
1418 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1419 Try \`$0 --help' for more information." >&2
1420 { (exit 1); exit 1; }; }
1424 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1425 # Reject names that are not valid shell variable names.
1426 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1427 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1428 { (exit 1); exit 1; }; }
1429 eval $ac_envvar=\
$ac_optarg
1430 export $ac_envvar ;;
1433 # FIXME: should be removed in autoconf 3.0.
1434 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1435 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1436 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1437 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1443 if test -n "$ac_prev"; then
1444 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1445 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1446 { (exit 1); exit 1; }; }
1449 if test -n "$ac_unrecognized_opts"; then
1450 case $enable_option_checking in
1452 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1453 { (exit 1); exit 1; }; } ;;
1454 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1458 # Check all directory arguments for consistency.
1459 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1460 datadir sysconfdir sharedstatedir localstatedir includedir \
1461 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1462 libdir localedir mandir
1464 eval ac_val
=\$
$ac_var
1465 # Remove trailing slashes.
1468 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1469 eval $ac_var=\
$ac_val;;
1471 # Be sure to have absolute directory names.
1473 [\\/$
]* | ?
:[\\/]* ) continue;;
1474 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1476 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1477 { (exit 1); exit 1; }; }
1480 # There might be people who depend on the old broken behavior: `$host'
1481 # used to hold the argument of --host etc.
1482 # FIXME: To remove some day.
1485 target
=$target_alias
1487 # FIXME: To remove some day.
1488 if test "x$host_alias" != x
; then
1489 if test "x$build_alias" = x
; then
1490 cross_compiling
=maybe
1491 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1492 If a cross compiler is detected then cross compile mode will be used." >&2
1493 elif test "x$build_alias" != "x$host_alias"; then
1499 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1501 test "$silent" = yes && exec 6>/dev
/null
1504 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1505 ac_ls_di
=`ls -di .` &&
1506 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1507 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1508 { (exit 1); exit 1; }; }
1509 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1510 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1511 { (exit 1); exit 1; }; }
1514 # Find the source files, if location was not specified.
1515 if test -z "$srcdir"; then
1516 ac_srcdir_defaulted
=yes
1517 # Try the directory containing this script, then the parent directory.
1518 ac_confdir
=`$as_dirname -- "$as_myself" ||
1519 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1520 X"$as_myself" : 'X\(//\)[^/]' \| \
1521 X"$as_myself" : 'X\(//\)$' \| \
1522 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1523 $as_echo X"$as_myself" |
1524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 if test ! -r "$srcdir/$ac_unique_file"; then
1546 ac_srcdir_defaulted
=no
1548 if test ! -r "$srcdir/$ac_unique_file"; then
1549 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1550 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1551 { (exit 1); exit 1; }; }
1553 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1555 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1556 { (exit 1); exit 1; }; }
1558 # When building in place, set srcdir=.
1559 if test "$ac_abs_confdir" = "$ac_pwd"; then
1562 # Remove unnecessary trailing slashes from srcdir.
1563 # Double slashes in file names in object file debugging info
1564 # mess up M-x gdb in Emacs.
1566 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1568 for ac_var
in $ac_precious_vars; do
1569 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1570 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1571 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1572 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1576 # Report the --help message.
1578 if test "$ac_init_help" = "long"; then
1579 # Omit some internal or obsolete options to make the list less imposing.
1580 # This message is too long to be a string in the A/UX 3.1 sh.
1582 \`configure' configures courier-authlib 0.63.0 to adapt to many kinds of systems.
1584 Usage: $0 [OPTION]... [VAR=VALUE]...
1586 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1587 VAR=VALUE. See below for descriptions of some of the useful variables.
1589 Defaults for the options are specified in brackets.
1592 -h, --help display this help and exit
1593 --help=short display options specific to this package
1594 --help=recursive display the short help of all the included packages
1595 -V, --version display version information and exit
1596 -q, --quiet, --silent do not print \`checking...' messages
1597 --cache-file=FILE cache test results in FILE [disabled]
1598 -C, --config-cache alias for \`--cache-file=config.cache'
1599 -n, --no-create do not create output files
1600 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1602 Installation directories:
1603 --prefix=PREFIX install architecture-independent files in PREFIX
1604 [$ac_default_prefix]
1605 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1608 By default, \`make install' will install all the files in
1609 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1610 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1611 for instance \`--prefix=\$HOME'.
1613 For better control, use the options below.
1615 Fine tuning of the installation directories:
1616 --bindir=DIR user executables [EPREFIX/bin]
1617 --sbindir=DIR system admin executables [EPREFIX/sbin]
1618 --libexecdir=DIR program executables [EPREFIX/libexec]
1619 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1620 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1621 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1622 --libdir=DIR object code libraries [EPREFIX/lib]
1623 --includedir=DIR C header files [PREFIX/include]
1624 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1625 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1626 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1627 --infodir=DIR info documentation [DATAROOTDIR/info]
1628 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1629 --mandir=DIR man documentation [DATAROOTDIR/man]
1630 --docdir=DIR documentation root [DATAROOTDIR/doc/courier-authlib]
1631 --htmldir=DIR html documentation [DOCDIR]
1632 --dvidir=DIR dvi documentation [DOCDIR]
1633 --pdfdir=DIR pdf documentation [DOCDIR]
1634 --psdir=DIR ps documentation [DOCDIR]
1640 --program-prefix=PREFIX prepend PREFIX to installed program names
1641 --program-suffix=SUFFIX append SUFFIX to installed program names
1642 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1645 --build=BUILD configure
for building on BUILD
[guessed
]
1646 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1650 if test -n "$ac_init_help"; then
1651 case $ac_init_help in
1652 short | recursive
) echo "Configuration of courier-authlib 0.63.0:";;
1657 --disable-option-checking ignore unrecognized
--enable/--with options
1658 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1659 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1660 --disable-dependency-tracking speeds up one-time build
1661 --enable-dependency-tracking do not reject slow dependency extractors
1662 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1663 --enable-static[=PKGS
] build static libraries
[default
=yes]
1664 --enable-fast-install[=PKGS
]
1665 optimize
for fast installation
[default
=yes]
1666 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1667 --enable-ltdl-install install libltdl
1670 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1671 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1672 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1674 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1675 --with-included-ltdl use the GNU ltdl sources included here
1676 --with-ltdl-include=DIR use the ltdl headers installed
in DIR
1677 --with-ltdl-lib=DIR use the libltdl.la installed
in DIR
1679 --with-pkgconfdir=d Install config files
in directory
1680 --with-db=gdbm Use the GDBM library.
1681 --with-db=db Use the libdb.a library.
1682 --without-authuserdb Do not include the authuserdb module
1684 --without-authpam Do not include the authpam module
1685 --with-authpam-libraries="libs" Link
'libs' with authpam
, this may be
1686 required
for FreeBSD
3.3
1687 --without-authldap Do not include the authldap module
1688 --with-authldaprc=filename Expect to
find authldaprc here
1689 --without-authpwd Do not include the authpwd module
1690 --without-authshadow Do not include the authshadow module
1691 --with-authpgsqlrc=filename Expect to
find authpgsql here
1692 --without-authpgsql Do not include the authpgsql module
1693 --with-pgsql-libs=DIR Look
for pgsql libs
in this dir
1694 --with-pgsql-includes=DIR Look
for pgsql includes
in this dir
1695 --with-authmysqlrc=filename Expect to
find authmysql here
1696 --without-authmysql Do not include the authmysql module
1697 --with-mysql-libs=DIR Look
for mysql libs
in this dir
1698 --with-mysql-includes=DIR Look
for mysql includes
in this dir
1699 --without-authcustom Do not include the authcustom module
1700 --with-pipeprog=filename Expect to
find the pipe-prog here
1701 --without-authpipe Do not include the authpipe module
1702 --with-authdaemonrc=filename Expect to
find authdaemonrc here
1703 --with-authdaemonvar=directory Directory where authdaemon.pid and
1704 the listening socket is created
1705 --with-mailuser=user Specify
mail user name
(defaults to
1706 courier
, daemon
, admin
, bin
, or root
)
1707 --with-mailgroup=group Specify
mail group name
(defaults to courier
,
1708 daemon
, sys
, adm
, or root
)
1709 --without-stdheaderdir Header files will be installed into a directory
1710 not
in the compiler
's default search path.
1712 Some influential environment variables:
1713 CC C compiler command
1714 CFLAGS C compiler flags
1715 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1716 nonstandard directory <lib dir>
1717 LIBS libraries to pass to the linker, e.g. -l<library>
1718 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1719 you have headers in a nonstandard directory <include dir>
1722 Use these variables to override the choices made by `configure' or to
help
1723 it to
find libraries and programs with nonstandard names
/locations.
1725 Report bugs to
<courier-users@lists.sourceforge.net
>.
1730 if test "$ac_init_help" = "recursive"; then
1731 # If there are subdirs, report their specific --help.
1732 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1733 test -d "$ac_dir" ||
1734 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1739 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1741 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1742 # A ".." for each directory in $ac_dir_suffix.
1743 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1744 case $ac_top_builddir_sub in
1745 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1746 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1749 ac_abs_top_builddir
=$ac_pwd
1750 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1751 # for backward compatibility:
1752 ac_top_builddir
=$ac_top_build_prefix
1755 .
) # We are building in place.
1757 ac_top_srcdir
=$ac_top_builddir_sub
1758 ac_abs_top_srcdir
=$ac_pwd ;;
1759 [\\/]* | ?
:[\\/]* ) # Absolute name.
1760 ac_srcdir
=$srcdir$ac_dir_suffix;
1761 ac_top_srcdir
=$srcdir
1762 ac_abs_top_srcdir
=$srcdir ;;
1764 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1765 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1766 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1768 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1770 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1771 # Check for guested configure.
1772 if test -f "$ac_srcdir/configure.gnu"; then
1774 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1775 elif test -f "$ac_srcdir/configure"; then
1777 $SHELL "$ac_srcdir/configure" --help=recursive
1779 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1781 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1785 test -n "$ac_init_help" && exit $ac_status
1786 if $ac_init_version; then
1788 courier-authlib configure
0.63.0
1789 generated by GNU Autoconf
2.63
1791 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1792 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1793 This configure
script is free software
; the Free Software Foundation
1794 gives unlimited permission to copy
, distribute and modify it.
1798 cat >config.log
<<_ACEOF
1799 This file contains any messages produced by compilers while
1800 running configure, to aid debugging if configure makes a mistake.
1802 It was created by courier-authlib $as_me 0.63.0, which was
1803 generated by GNU Autoconf 2.63. Invocation command line was
1815 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1816 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1817 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1818 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1819 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1821 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1822 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1824 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1825 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1826 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1827 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1828 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1829 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1830 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir
=.
1839 $as_echo "PATH: $as_dir"
1855 # Keep a trace of the command line.
1856 # Strip out --no-create and --no-recursion so they do not pile up.
1857 # Strip out --silent because we don't want to record it for future runs.
1858 # Also quote any args containing shell meta-characters.
1859 # Make two passes to allow for proper duplicate-argument suppression.
1863 ac_must_keep_next
=false
1869 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1870 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1871 |
-silent |
--silent |
--silen |
--sile |
--sil)
1874 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1877 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1879 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1880 if test $ac_must_keep_next = true
; then
1881 ac_must_keep_next
=false
# Got value, back to normal.
1884 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1885 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1886 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1887 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1888 case "$ac_configure_args0 " in
1889 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1892 -* ) ac_must_keep_next
=true
;;
1895 ac_configure_args
="$ac_configure_args '$ac_arg'"
1900 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1901 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1903 # When interrupted or exit'd, cleanup temporary files, and complete
1904 # config.log. We remove comments because anyway the quotes in there
1905 # would cause problems or look ugly.
1906 # WARNING: Use '\'' to represent an apostrophe within the trap.
1907 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1908 trap 'exit_status=$?
1909 # Save into config.log some information that might help in debugging.
1914 ## ---------------- ##
1915 ## Cache variables. ##
1916 ## ---------------- ##
1919 # The following way of writing the cache mishandles newlines in values,
1921 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1922 eval ac_val=\$$ac_var
1926 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1927 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1930 _ | IFS | as_nl) ;; #(
1931 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1932 *) $as_unset $ac_var ;;
1937 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1938 *${as_nl}ac_space=\ *)
1940 "s/'\''/'\''\\\\'\'''\''/g;
1941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1952 ## ----------------- ##
1953 ## Output variables. ##
1954 ## ----------------- ##
1957 for ac_var in $ac_subst_vars
1959 eval ac_val=\$$ac_var
1961 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1963 $as_echo "$ac_var='\''$ac_val'\''"
1967 if test -n "$ac_subst_files"; then
1969 ## ------------------- ##
1970 ## File substitutions. ##
1971 ## ------------------- ##
1974 for ac_var
in $ac_subst_files
1976 eval ac_val
=\$
$ac_var
1978 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1980 $as_echo "$ac_var='\''$ac_val'\''"
1985 if test -s confdefs.h; then
1995 test "$ac_signal" != 0 &&
1996 $as_echo "$as_me: caught signal $ac_signal"
1997 $as_echo "$as_me: exit $exit_status"
1999 rm -f core *.core core.conftest.* &&
2000 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2003 for ac_signal
in 1 2 13 15; do
2004 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2008 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2009 rm -f -r conftest
* confdefs.h
2011 # Predefined preprocessor variables.
2013 cat >>confdefs.h
<<_ACEOF
2014 #define PACKAGE_NAME "$PACKAGE_NAME"
2018 cat >>confdefs.h
<<_ACEOF
2019 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2023 cat >>confdefs.h
<<_ACEOF
2024 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2028 cat >>confdefs.h
<<_ACEOF
2029 #define PACKAGE_STRING "$PACKAGE_STRING"
2033 cat >>confdefs.h
<<_ACEOF
2034 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2038 # Let the site file select an alternate cache file if it wants to.
2039 # Prefer an explicitly selected file to automatically selected ones.
2042 if test -n "$CONFIG_SITE"; then
2043 ac_site_file1
=$CONFIG_SITE
2044 elif test "x$prefix" != xNONE
; then
2045 ac_site_file1
=$prefix/share
/config.site
2046 ac_site_file2
=$prefix/etc
/config.site
2048 ac_site_file1
=$ac_default_prefix/share
/config.site
2049 ac_site_file2
=$ac_default_prefix/etc
/config.site
2051 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2053 test "x$ac_site_file" = xNONE
&& continue
2054 if test -r "$ac_site_file"; then
2055 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2056 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2057 sed 's/^/| /' "$ac_site_file" >&5
2062 if test -r "$cache_file"; then
2063 # Some versions of bash will fail to source /dev/null (special
2064 # files actually), so we avoid doing that.
2065 if test -f "$cache_file"; then
2066 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2067 $as_echo "$as_me: loading cache $cache_file" >&6;}
2069 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2070 *) .
"./$cache_file";;
2074 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2075 $as_echo "$as_me: creating cache $cache_file" >&6;}
2079 # Check that the precious variables saved in the cache have kept the same
2081 ac_cache_corrupted
=false
2082 for ac_var
in $ac_precious_vars; do
2083 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2084 eval ac_new_set
=\
$ac_env_${ac_var}_set
2085 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2086 eval ac_new_val
=\
$ac_env_${ac_var}_value
2087 case $ac_old_set,$ac_new_set in
2089 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2090 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2091 ac_cache_corrupted
=: ;;
2093 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2094 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2095 ac_cache_corrupted
=: ;;
2098 if test "x$ac_old_val" != "x$ac_new_val"; then
2099 # differences in whitespace do not lead to failure.
2100 ac_old_val_w
=`echo x $ac_old_val`
2101 ac_new_val_w
=`echo x $ac_new_val`
2102 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2103 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2104 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2105 ac_cache_corrupted
=:
2107 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2108 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2109 eval $ac_var=\
$ac_old_val
2111 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2112 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2113 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2114 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2117 # Pass precious variables to config.status.
2118 if test "$ac_new_set" = set; then
2120 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2121 *) ac_arg
=$ac_var=$ac_new_val ;;
2123 case " $ac_configure_args " in
2124 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2125 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2129 if $ac_cache_corrupted; then
2130 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2133 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2134 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2135 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2136 { (exit 1); exit 1; }; }
2164 ac_cpp
='$CPP $CPPFLAGS'
2165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2172 ac_config_headers
="$ac_config_headers courier_auth_config.h"
2176 am__api_version
='1.11'
2179 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2180 if test -f "$ac_dir/install-sh"; then
2182 ac_install_sh
="$ac_aux_dir/install-sh -c"
2184 elif test -f "$ac_dir/install.sh"; then
2186 ac_install_sh
="$ac_aux_dir/install.sh -c"
2188 elif test -f "$ac_dir/shtool"; then
2190 ac_install_sh
="$ac_aux_dir/shtool install -c"
2194 if test -z "$ac_aux_dir"; then
2195 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2196 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2197 { (exit 1); exit 1; }; }
2200 # These three variables are undocumented and unsupported,
2201 # and are intended to be withdrawn in a future Autoconf release.
2202 # They can cause serious problems if a builder's source tree is in a directory
2203 # whose full name contains unusual characters.
2204 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2205 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2206 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2209 # Find a good install program. We prefer a C program (faster),
2210 # so one script is as good as another. But avoid the broken or
2211 # incompatible versions:
2212 # SysV /etc/install, /usr/sbin/install
2213 # SunOS /usr/etc/install
2214 # IRIX /sbin/install
2216 # AmigaOS /C/install, which installs bootblocks on floppy discs
2217 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2218 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2219 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2220 # OS/2's system install, which has a completely different semantic
2221 # ./install, which can be erroneously created by make from ./install.sh.
2222 # Reject install programs that cannot install multiple files.
2223 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2224 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2225 if test -z "$INSTALL"; then
2226 if test "${ac_cv_path_install+set}" = set; then
2227 $as_echo_n "(cached) " >&6
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 # Account for people who put trailing slashes in PATH elements.
2236 .
/ | .
// |
/cC
/* | \
2237 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2238 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2241 # OSF1 and SCO ODT 3.0 have their own names for install.
2242 # Don't use installbsd from OSF since it installs stuff as root
2244 for ac_prog
in ginstall scoinst
install; do
2245 for ac_exec_ext
in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2247 if test $ac_prog = install &&
2248 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2249 # AIX install. It has an incompatible calling convention.
2251 elif test $ac_prog = install &&
2252 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2253 # program-specific install script used by HP pwplus--don't use.
2256 rm -rf conftest.one conftest.two conftest.dir
2257 echo one
> conftest.one
2258 echo two
> conftest.two
2260 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2261 test -s conftest.one
&& test -s conftest.two
&&
2262 test -s conftest.dir
/conftest.one
&&
2263 test -s conftest.dir
/conftest.two
2265 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2278 rm -rf conftest.one conftest.two conftest.dir
2281 if test "${ac_cv_path_install+set}" = set; then
2282 INSTALL
=$ac_cv_path_install
2284 # As a last resort, use the slow shell script. Don't cache a
2285 # value for INSTALL within a source directory, because that will
2286 # break other packages using the cache if that directory is
2287 # removed, or if the value is a relative name.
2288 INSTALL
=$ac_install_sh
2291 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2292 $as_echo "$INSTALL" >&6; }
2294 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2295 # It thinks the first close brace ends the variable substitution.
2296 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2298 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2300 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2302 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2303 $as_echo_n "checking whether build environment is sane... " >&6; }
2306 echo timestamp
> conftest.
file
2307 # Reject unsafe characters in $srcdir or the absolute working directory
2308 # name. Accept space and tab only in the latter.
2312 *[\\\"\
#\$\&\'\`$am_lf]*)
2313 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2314 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2315 { (exit 1); exit 1; }; };;
2318 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2319 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2320 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2321 { (exit 1); exit 1; }; };;
2324 # Do `set' in a subshell so we don't clobber the current shell's
2325 # arguments. Must try -L first in case configure is actually a
2326 # symlink; some systems play weird games with the mod time of symlinks
2327 # (eg FreeBSD returns the mod time of the symlink's containing
2330 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2331 if test "$*" = "X"; then
2333 set X
`ls -t "$srcdir/configure" conftest.file`
2336 if test "$*" != "X $srcdir/configure conftest.file" \
2337 && test "$*" != "X conftest.file $srcdir/configure"; then
2339 # If neither matched, then we have a broken ls. This can happen
2340 # if, for instance, CONFIG_SHELL is bash and it inherits a
2341 # broken ls alias from the environment. This has actually
2342 # happened. Such a system could not be considered "sane".
2343 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2344 alias in your environment" >&5
2345 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2346 alias in your environment" >&2;}
2347 { (exit 1); exit 1; }; }
2350 test "$2" = conftest.
file
2356 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2357 Check your system clock" >&5
2358 $as_echo "$as_me: error: newly created file is older than distributed files!
2359 Check your system clock" >&2;}
2360 { (exit 1); exit 1; }; }
2362 { $as_echo "$as_me:$LINENO: result: yes" >&5
2363 $as_echo "yes" >&6; }
2364 test "$program_prefix" != NONE
&&
2365 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2366 # Use a double $ so make ignores it.
2367 test "$program_suffix" != NONE
&&
2368 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2369 # Double any \ or $.
2370 # By default was `s,x,x', remove it if useless.
2371 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2372 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2374 # expand $ac_aux_dir to an absolute path
2375 am_aux_dir
=`cd $ac_aux_dir && pwd`
2377 if test x
"${MISSING+set}" != xset
; then
2380 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2382 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2385 # Use eval to expand $SHELL
2386 if eval "$MISSING --run true"; then
2387 am_missing_run
="$MISSING --run "
2390 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2391 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2394 if test x
"${install_sh}" != xset
; then
2397 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2399 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2403 # Installed binaries are usually stripped using `strip' when the user
2404 # run `make install-strip'. However `strip' might not be the right
2405 # tool to use in cross-compilation environments, therefore Automake
2406 # will honor the `STRIP' environment variable to overrule this program.
2407 if test "$cross_compiling" != no
; then
2408 if test -n "$ac_tool_prefix"; then
2409 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2410 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2411 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 $as_echo_n "checking for $ac_word... " >&6; }
2413 if test "${ac_cv_prog_STRIP+set}" = set; then
2414 $as_echo_n "(cached) " >&6
2416 if test -n "$STRIP"; then
2417 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir
=.
2424 for ac_exec_ext
in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2427 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 STRIP
=$ac_cv_prog_STRIP
2437 if test -n "$STRIP"; then
2438 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2439 $as_echo "$STRIP" >&6; }
2441 { $as_echo "$as_me:$LINENO: result: no" >&5
2442 $as_echo "no" >&6; }
2447 if test -z "$ac_cv_prog_STRIP"; then
2449 # Extract the first word of "strip", so it can be a program name with args.
2450 set dummy strip
; ac_word
=$2
2451 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 $as_echo_n "checking for $ac_word... " >&6; }
2453 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2454 $as_echo_n "(cached) " >&6
2456 if test -n "$ac_ct_STRIP"; then
2457 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir
=.
2464 for ac_exec_ext
in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 ac_cv_prog_ac_ct_STRIP
="strip"
2467 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2477 if test -n "$ac_ct_STRIP"; then
2478 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2479 $as_echo "$ac_ct_STRIP" >&6; }
2481 { $as_echo "$as_me:$LINENO: result: no" >&5
2482 $as_echo "no" >&6; }
2485 if test "x$ac_ct_STRIP" = x
; then
2488 case $cross_compiling:$ac_tool_warned in
2490 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2492 ac_tool_warned
=yes ;;
2497 STRIP
="$ac_cv_prog_STRIP"
2501 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2503 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2504 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2505 if test -z "$MKDIR_P"; then
2506 if test "${ac_cv_path_mkdir+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2513 test -z "$as_dir" && as_dir
=.
2514 for ac_prog
in mkdir gmkdir
; do
2515 for ac_exec_ext
in '' $ac_executable_extensions; do
2516 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2517 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2518 'mkdir (GNU coreutils) '* | \
2519 'mkdir (coreutils) '* | \
2520 'mkdir (fileutils) '4.1*)
2521 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2531 if test "${ac_cv_path_mkdir+set}" = set; then
2532 MKDIR_P
="$ac_cv_path_mkdir -p"
2534 # As a last resort, use the slow shell script. Don't cache a
2535 # value for MKDIR_P within a source directory, because that will
2536 # break other packages using the cache if that directory is
2537 # removed, or if the value is a relative name.
2538 test -d .
/--version && rmdir .
/--version
2539 MKDIR_P
="$ac_install_sh -d"
2542 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2543 $as_echo "$MKDIR_P" >&6; }
2547 [\\/$
]* | ?
:[\\/]*) ;;
2548 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2551 for ac_prog
in gawk mawk nawk
awk
2553 # Extract the first word of "$ac_prog", so it can be a program name with args.
2554 set dummy
$ac_prog; ac_word
=$2
2555 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if test "${ac_cv_prog_AWK+set}" = set; then
2558 $as_echo_n "(cached) " >&6
2560 if test -n "$AWK"; then
2561 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_exec_ext
in '' $ac_executable_extensions; do
2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570 ac_cv_prog_AWK
="$ac_prog"
2571 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 if test -n "$AWK"; then
2582 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2583 $as_echo "$AWK" >&6; }
2585 { $as_echo "$as_me:$LINENO: result: no" >&5
2586 $as_echo "no" >&6; }
2590 test -n "$AWK" && break
2593 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2596 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2597 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2598 $as_echo_n "(cached) " >&6
2600 cat >conftest.
make <<\_ACEOF
2603 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2605 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2608 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2610 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2614 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2615 { $as_echo "$as_me:$LINENO: result: yes" >&5
2616 $as_echo "yes" >&6; }
2619 { $as_echo "$as_me:$LINENO: result: no" >&5
2620 $as_echo "no" >&6; }
2621 SET_MAKE
="MAKE=${MAKE-make}"
2624 rm -rf .tst
2>/dev
/null
2625 mkdir .tst
2>/dev
/null
2626 if test -d .tst
; then
2631 rmdir .tst
2>/dev
/null
2633 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2634 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2635 # is not polluted with repeated "-I."
2636 am__isrc
=' -I$(srcdir)'
2637 # test to see if srcdir already configured
2638 if test -f $srcdir/config.status
; then
2639 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2640 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2641 { (exit 1); exit 1; }; }
2645 # test whether we have cygpath
2646 if test -z "$CYGPATH_W"; then
2647 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2648 CYGPATH_W
='cygpath -w'
2655 # Define the identity of the package.
2656 PACKAGE
='courier-authlib'
2660 cat >>confdefs.h
<<_ACEOF
2661 #define PACKAGE "$PACKAGE"
2665 cat >>confdefs.h
<<_ACEOF
2666 #define VERSION "$VERSION"
2669 # Some tools Automake needs.
2671 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2674 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2677 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2680 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2683 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2685 # We need awk for the "check" target. The system "awk" is bad on
2687 # Always define AMTAR for backward compatibility.
2689 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2691 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2697 >confdefs.h
# Kill PACKAGE_ macros
2699 LPATH
="$PATH:/usr/local/bin"
2701 for ac_prog
in gawk mawk nawk
awk
2703 # Extract the first word of "$ac_prog", so it can be a program name with args.
2704 set dummy
$ac_prog; ac_word
=$2
2705 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2706 $as_echo_n "checking for $ac_word... " >&6; }
2707 if test "${ac_cv_prog_AWK+set}" = set; then
2708 $as_echo_n "(cached) " >&6
2710 if test -n "$AWK"; then
2711 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 for ac_exec_ext
in '' $ac_executable_extensions; do
2719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720 ac_cv_prog_AWK
="$ac_prog"
2721 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 if test -n "$AWK"; then
2732 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2733 $as_echo "$AWK" >&6; }
2735 { $as_echo "$as_me:$LINENO: result: no" >&5
2736 $as_echo "no" >&6; }
2740 test -n "$AWK" && break
2744 ac_cpp
='$CPP $CPPFLAGS'
2745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2748 if test -n "$ac_tool_prefix"; then
2749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2750 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2751 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if test "${ac_cv_prog_CC+set}" = set; then
2754 $as_echo_n "(cached) " >&6
2756 if test -n "$CC"; then
2757 ac_cv_prog_CC
="$CC" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2767 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test -n "$CC"; then
2778 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2779 $as_echo "$CC" >&6; }
2781 { $as_echo "$as_me:$LINENO: result: no" >&5
2782 $as_echo "no" >&6; }
2787 if test -z "$ac_cv_prog_CC"; then
2789 # Extract the first word of "gcc", so it can be a program name with args.
2790 set dummy gcc
; ac_word
=$2
2791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2794 $as_echo_n "(cached) " >&6
2796 if test -n "$ac_ct_CC"; then
2797 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir
=.
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806 ac_cv_prog_ac_ct_CC
="gcc"
2807 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2817 if test -n "$ac_ct_CC"; then
2818 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2819 $as_echo "$ac_ct_CC" >&6; }
2821 { $as_echo "$as_me:$LINENO: result: no" >&5
2822 $as_echo "no" >&6; }
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 ;;
2840 if test -z "$CC"; then
2841 if test -n "$ac_tool_prefix"; then
2842 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2843 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2844 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if test "${ac_cv_prog_CC+set}" = set; then
2847 $as_echo_n "(cached) " >&6
2849 if test -n "$CC"; then
2850 ac_cv_prog_CC
="$CC" # Let the user override the test.
2852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir
=.
2857 for ac_exec_ext
in '' $ac_executable_extensions; do
2858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2860 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 if test -n "$CC"; then
2871 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2872 $as_echo "$CC" >&6; }
2874 { $as_echo "$as_me:$LINENO: result: no" >&5
2875 $as_echo "no" >&6; }
2881 if test -z "$CC"; then
2882 # Extract the first word of "cc", so it can be a program name with args.
2883 set dummy cc
; ac_word
=$2
2884 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if test "${ac_cv_prog_CC+set}" = set; then
2887 $as_echo_n "(cached) " >&6
2889 if test -n "$CC"; then
2890 ac_cv_prog_CC
="$CC" # Let the user override the test.
2893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2900 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2901 ac_prog_rejected
=yes
2905 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test $ac_prog_rejected = yes; then
2913 # We found a bogon in the path, so make sure we never use it.
2914 set dummy
$ac_cv_prog_CC
2916 if test $# != 0; then
2917 # We chose a different compiler from the bogus one.
2918 # However, it has the same basename, so the bogon will be chosen
2919 # first if we set CC to just the basename; use the full file name.
2921 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2927 if test -n "$CC"; then
2928 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2929 $as_echo "$CC" >&6; }
2931 { $as_echo "$as_me:$LINENO: result: no" >&5
2932 $as_echo "no" >&6; }
2937 if test -z "$CC"; then
2938 if test -n "$ac_tool_prefix"; then
2939 for ac_prog
in cl.exe
2941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2942 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2943 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if test "${ac_cv_prog_CC+set}" = set; then
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$CC"; then
2949 ac_cv_prog_CC
="$CC" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2959 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 if test -n "$CC"; then
2970 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2971 $as_echo "$CC" >&6; }
2973 { $as_echo "$as_me:$LINENO: result: no" >&5
2974 $as_echo "no" >&6; }
2978 test -n "$CC" && break
2981 if test -z "$CC"; then
2983 for ac_prog
in cl.exe
2985 # Extract the first word of "$ac_prog", so it can be a program name with args.
2986 set dummy
$ac_prog; ac_word
=$2
2987 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$ac_ct_CC"; then
2993 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3002 ac_cv_prog_ac_ct_CC
="$ac_prog"
3003 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3013 if test -n "$ac_ct_CC"; then
3014 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3015 $as_echo "$ac_ct_CC" >&6; }
3017 { $as_echo "$as_me:$LINENO: result: no" >&5
3018 $as_echo "no" >&6; }
3022 test -n "$ac_ct_CC" && break
3025 if test "x$ac_ct_CC" = x
; then
3028 case $cross_compiling:$ac_tool_warned in
3030 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3032 ac_tool_warned
=yes ;;
3041 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3044 See \`config.log' for more details." >&5
3045 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3046 See \`config.log' for more details." >&2;}
3047 { (exit 1); exit 1; }; }; }
3049 # Provide some information about the compiler.
3050 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3053 { (ac_try
="$ac_compiler --version >&5"
3055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3059 $as_echo "$ac_try_echo") >&5
3060 (eval "$ac_compiler --version >&5") 2>&5
3062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }
3064 { (ac_try="$ac_compiler -v >&5"
3066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3067 *) ac_try_echo
=$ac_try;;
3069 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3070 $as_echo "$ac_try_echo") >&5
3071 (eval "$ac_compiler -v >&5") 2>&5
3073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); }
3075 { (ac_try
="$ac_compiler -V >&5"
3077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3081 $as_echo "$ac_try_echo") >&5
3082 (eval "$ac_compiler -V >&5") 2>&5
3084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3087 cat >conftest.$ac_ext <<_ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3102 ac_clean_files_save=$ac_clean_files
3103 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3104 # Try to create an executable without -o first, disregard a.out.
3105 # It will help us diagnose broken compilers, and finding out an intuition
3107 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3108 $as_echo_n "checking for C compiler default output file name... " >&6; }
3109 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3111 # The possible output files:
3112 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3115 for ac_file in $ac_files
3118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3119 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3124 if { (ac_try="$ac_link_default"
3126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3127 *) ac_try_echo
=$ac_try;;
3129 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3130 $as_echo "$ac_try_echo") >&5
3131 (eval "$ac_link_default") 2>&5
3133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; then
3135 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3136 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3137 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3138 # so that the user can short-circuit this test for compilers unknown to
3140 for ac_file
in $ac_files ''
3142 test -f "$ac_file" ||
continue
3144 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3147 # We found the default executable, but exeext='' is most
3151 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3153 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3155 # We set ac_cv_exeext here because the later test for it is not
3156 # safe: cross compilers may not add the suffix if given an `-o'
3157 # argument, so we may need to know it at that point already.
3158 # Even if this section looks crufty: it has the advantage of
3165 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3171 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3172 $as_echo "$ac_file" >&6; }
3173 if test -z "$ac_file"; then
3174 $as_echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.
$ac_ext >&5
3177 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3180 See \`config.log' for more details." >&5
3181 $as_echo "$as_me: error: C compiler cannot create executables
3182 See \`config.log' for more details." >&2;}
3183 { (exit 77); exit 77; }; }; }
3186 ac_exeext
=$ac_cv_exeext
3188 # Check that the compiler produces executables we can run. If not, either
3189 # the compiler is broken, or we cross compile.
3190 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3191 $as_echo_n "checking whether the C compiler works... " >&6; }
3192 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3193 # If not cross compiling, check that we can run a simple program.
3194 if test "$cross_compiling" != yes; then
3195 if { ac_try
='./$ac_file'
3196 { (case "(($ac_try" in
3197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3201 $as_echo "$ac_try_echo") >&5
3202 (eval "$ac_try") 2>&5
3204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; }; then
3208 if test "$cross_compiling" = maybe; then
3211 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3213 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3214 If you meant to cross compile
, use \
`--host'.
3215 See \`config.log
' for more details." >&5
3216 $as_echo "$as_me: error: cannot run C compiled programs.
3217 If you meant to cross compile, use \`--host'.
3218 See \
`config.log' for more details." >&2;}
3219 { (exit 1); exit 1; }; }; }
3223 { $as_echo "$as_me:$LINENO: result: yes" >&5
3224 $as_echo "yes" >&6; }
3226 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3227 ac_clean_files=$ac_clean_files_save
3228 # Check that the compiler produces executables we can run. If not, either
3229 # the compiler is broken, or we cross compile.
3230 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3231 $as_echo_n "checking whether we are cross compiling... " >&6; }
3232 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3233 $as_echo "$cross_compiling" >&6; }
3235 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3236 $as_echo_n "checking for suffix of executables... " >&6; }
3237 if { (ac_try="$ac_link"
3239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3240 *) ac_try_echo
=$ac_try;;
3242 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3243 $as_echo "$ac_try_echo") >&5
3244 (eval "$ac_link") 2>&5
3246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); }; then
3248 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3249 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3250 # work properly (i.e., refer to `conftest.exe'), while it won't with
3252 for ac_file
in conftest.exe conftest conftest.
*; do
3253 test -f "$ac_file" ||
continue
3255 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3256 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3262 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3265 See \`config.log' for more details." >&5
3266 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3267 See \`config.log' for more details." >&2;}
3268 { (exit 1); exit 1; }; }; }
3271 rm -f conftest
$ac_cv_exeext
3272 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3273 $as_echo "$ac_cv_exeext" >&6; }
3275 rm -f conftest.
$ac_ext
3276 EXEEXT
=$ac_cv_exeext
3278 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3279 $as_echo_n "checking for suffix of object files... " >&6; }
3280 if test "${ac_cv_objext+set}" = set; then
3281 $as_echo_n "(cached) " >&6
3283 cat >conftest.
$ac_ext <<_ACEOF
3286 cat confdefs.h
>>conftest.
$ac_ext
3287 cat >>conftest.
$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3298 rm -f conftest.o conftest.obj
3299 if { (ac_try
="$ac_compile"
3301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3305 $as_echo "$ac_try_echo") >&5
3306 (eval "$ac_compile") 2>&5
3308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; then
3310 for ac_file in conftest.o conftest.obj conftest.*; do
3311 test -f "$ac_file" || continue;
3313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3314 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3319 $as_echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3325 See \
`config.log' for more details." >&5
3326 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3327 See \`config.log
' for more details." >&2;}
3328 { (exit 1); exit 1; }; }; }
3331 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3333 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3334 $as_echo "$ac_cv_objext" >&6; }
3335 OBJEXT=$ac_cv_objext
3337 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3338 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3339 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3340 $as_echo_n "(cached) " >&6
3342 cat >conftest.$ac_ext <<_ACEOF
3345 cat confdefs.h >>conftest.$ac_ext
3346 cat >>conftest.$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3360 rm -f conftest.$ac_objext
3361 if { (ac_try="$ac_compile"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3367 $as_echo "$ac_try_echo") >&5
3368 (eval "$ac_compile") 2>conftest.er1
3370 grep -v '^
*+' conftest.er1 >conftest.err
3372 cat conftest.err >&5
3373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } && {
3375 test -z "$ac_c_werror_flag" ||
3376 test ! -s conftest.err
3377 } && test -s conftest.$ac_objext; then
3380 $as_echo "$as_me: failed program was:" >&5
3381 sed 's
/^
/|
/' conftest.$ac_ext >&5
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3390 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3391 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3392 if test $ac_compiler_gnu = yes; then
3397 ac_test_CFLAGS=${CFLAGS+set}
3398 ac_save_CFLAGS=$CFLAGS
3399 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3400 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3401 if test "${ac_cv_prog_cc_g+set}" = set; then
3402 $as_echo_n "(cached) " >&6
3404 ac_save_c_werror_flag=$ac_c_werror_flag
3405 ac_c_werror_flag=yes
3408 cat >conftest.$ac_ext <<_ACEOF
3411 cat confdefs.h >>conftest.$ac_ext
3412 cat >>conftest.$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3423 rm -f conftest.$ac_objext
3424 if { (ac_try="$ac_compile"
3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3430 $as_echo "$ac_try_echo") >&5
3431 (eval "$ac_compile") 2>conftest.er1
3433 grep -v '^
*+' conftest.er1 >conftest.err
3435 cat conftest.err >&5
3436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } && {
3438 test -z "$ac_c_werror_flag" ||
3439 test ! -s conftest.err
3440 } && test -s conftest.$ac_objext; then
3443 $as_echo "$as_me: failed program was:" >&5
3444 sed 's
/^
/|
/' conftest.$ac_ext >&5
3447 cat >conftest.$ac_ext <<_ACEOF
3450 cat confdefs.h >>conftest.$ac_ext
3451 cat >>conftest.$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3462 rm -f conftest.$ac_objext
3463 if { (ac_try="$ac_compile"
3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3469 $as_echo "$ac_try_echo") >&5
3470 (eval "$ac_compile") 2>conftest.er1
3472 grep -v '^
*+' conftest.er1 >conftest.err
3474 cat conftest.err >&5
3475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); } && {
3477 test -z "$ac_c_werror_flag" ||
3478 test ! -s conftest.err
3479 } && test -s conftest.$ac_objext; then
3482 $as_echo "$as_me: failed program was:" >&5
3483 sed 's
/^
/|
/' conftest.$ac_ext >&5
3485 ac_c_werror_flag=$ac_save_c_werror_flag
3487 cat >conftest.$ac_ext <<_ACEOF
3490 cat confdefs.h >>conftest.$ac_ext
3491 cat >>conftest.$ac_ext <<_ACEOF
3492 /* end confdefs.h. */
3502 rm -f conftest.$ac_objext
3503 if { (ac_try="$ac_compile"
3505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509 $as_echo "$ac_try_echo") >&5
3510 (eval "$ac_compile") 2>conftest.er1
3512 grep -v '^
*+' conftest.er1 >conftest.err
3514 cat conftest.err >&5
3515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } && {
3517 test -z "$ac_c_werror_flag" ||
3518 test ! -s conftest.err
3519 } && test -s conftest.$ac_objext; then
3522 $as_echo "$as_me: failed program was:" >&5
3523 sed 's
/^
/|
/' conftest.$ac_ext >&5
3528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 ac_c_werror_flag=$ac_save_c_werror_flag
3537 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3538 $as_echo "$ac_cv_prog_cc_g" >&6; }
3539 if test "$ac_test_CFLAGS" = set; then
3540 CFLAGS=$ac_save_CFLAGS
3541 elif test $ac_cv_prog_cc_g = yes; then
3542 if test "$GCC" = yes; then
3548 if test "$GCC" = yes; then
3554 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3555 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3556 if test "${ac_cv_prog_cc_c89+set}" = set; then
3557 $as_echo_n "(cached) " >&6
3559 ac_cv_prog_cc_c89=no
3561 cat >conftest.$ac_ext <<_ACEOF
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3569 #include <sys/types.h>
3570 #include <sys/stat.h>
3571 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3572 struct buf
{ int x
; };
3573 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3574 static char
*e
(p
, i
)
3580 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3585 s
= g
(p
, va_arg
(v
,int
));
3590 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3591 function prototypes and stuff
, but not
'\xHH' hex character constants.
3592 These don
't provoke an error unfortunately, instead are silently treated
3593 as 'x
'. The following induces an error, until -std is added to get
3594 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3595 array size at least. It's necessary to
write '\x00'==0 to get something
3596 that
's true only with -std. */
3597 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3599 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3600 inside strings and character constants. */
3602 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3604 int test (int i, double x);
3605 struct s1 {int (*f) (int a);};
3606 struct s2 {int (*f) (double a);};
3607 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3613 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3618 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3619 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3621 CC="$ac_save_CC $ac_arg"
3622 rm -f conftest.$ac_objext
3623 if { (ac_try="$ac_compile"
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3629 $as_echo "$ac_try_echo") >&5
3630 (eval "$ac_compile") 2>conftest.er1
3632 grep -v '^
*+' conftest.er1 >conftest.err
3634 cat conftest.err >&5
3635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } && {
3637 test -z "$ac_c_werror_flag" ||
3638 test ! -s conftest.err
3639 } && test -s conftest.$ac_objext; then
3640 ac_cv_prog_cc_c89=$ac_arg
3642 $as_echo "$as_me: failed program was:" >&5
3643 sed 's
/^
/|
/' conftest.$ac_ext >&5
3648 rm -f core conftest.err conftest.$ac_objext
3649 test "x$ac_cv_prog_cc_c89" != "xno" && break
3651 rm -f conftest.$ac_ext
3656 case "x$ac_cv_prog_cc_c89" in
3658 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3659 $as_echo "none needed" >&6; } ;;
3661 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3662 $as_echo "unsupported" >&6; } ;;
3664 CC="$CC $ac_cv_prog_cc_c89"
3665 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3666 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3673 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675 DEPDIR="${am__leading_dot}deps"
3677 ac_config_commands="$ac_config_commands depfiles"
3680 am_make=${MAKE-make}
3681 cat > confinc << 'END
'
3683 @echo this is the am__doit target
3686 # If we don't
find an include directive
, just comment out the code.
3687 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3688 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3692 # First try GNU make style include.
3693 echo "include confinc" > confmf
3694 # Ignore all kinds of additional output from `make'.
3695 case `$am_make -s -f confmf 2> /dev/null` in #(
3696 *the\ am__doit\ target
*)
3702 # Now try BSD make style include.
3703 if test "$am__include" = "#"; then
3704 echo '.include "confinc"' > confmf
3705 case `$am_make -s -f confmf 2> /dev/null` in #(
3706 *the\ am__doit\ target
*)
3707 am__include
=.include
3715 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3716 $as_echo "$_am_result" >&6; }
3717 rm -f confinc confmf
3719 # Check whether --enable-dependency-tracking was given.
3720 if test "${enable_dependency_tracking+set}" = set; then
3721 enableval
=$enable_dependency_tracking;
3724 if test "x$enable_dependency_tracking" != xno
; then
3725 am_depcomp
="$ac_aux_dir/depcomp"
3728 if test "x$enable_dependency_tracking" != xno; then
3738 depcc
="$CC" am_compiler_list
=
3740 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3741 $as_echo_n "checking dependency style of $depcc... " >&6; }
3742 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3743 $as_echo_n "(cached) " >&6
3745 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3746 # We make a subdir and do the tests there. Otherwise we can end up
3747 # making bogus files that we don't know about and never remove. For
3748 # instance it was reported that on HP-UX the gcc test will end up
3749 # making a dummy file named `D' -- because `-MD' means `put the output
3752 # Copy depcomp to subdir because otherwise we won't find it if we're
3753 # using a relative directory.
3754 cp "$am_depcomp" conftest.dir
3756 # We will build objects and dependencies in a subdirectory because
3757 # it helps to detect inapplicable dependency modes. For instance
3758 # both Tru64's cc and ICC support -MD to output dependencies as a
3759 # side effect of compilation, but ICC will put the dependencies in
3760 # the current directory while Tru64 will put them in the object
3764 am_cv_CC_dependencies_compiler_type
=none
3765 if test "$am_compiler_list" = ""; then
3766 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3769 case " $depcc " in #(
3770 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3773 for depmode
in $am_compiler_list; do
3774 # Setup a source with many dependencies, because some compilers
3775 # like to wrap large dependency lists on column 80 (with \), and
3776 # we should not choose a depcomp mode which is confused by this.
3778 # We need to recreate these files for each test, as the compiler may
3779 # overwrite some of them when testing with obscure command lines.
3780 # This happens at least with the AIX C compiler.
3782 for i
in 1 2 3 4 5 6; do
3783 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3784 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3785 # Solaris 8's {/usr,}/bin/sh.
3786 touch sub
/conftst
$i.h
3788 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3790 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3791 # mode. It turns out that the SunPro C++ compiler does not properly
3792 # handle `-M -o', and we need to detect this. Also, some Intel
3793 # versions had trouble with output in subdirs
3794 am__obj
=sub
/conftest.
${OBJEXT-o}
3795 am__minus_obj
="-o $am__obj"
3798 # This depmode causes a compiler race in universal mode.
3799 test "$am__universal" = false ||
continue
3802 # after this tag, mechanisms are not by side-effect, so they'll
3803 # only be used when explicitly requested
3804 if test "x$enable_dependency_tracking" = xyes
; then
3810 msvisualcpp | msvcmsys
)
3811 # This compiler won't grok `-c -o', but also, the minuso test has
3812 # not run yet. These depmodes are late enough in the game, and
3813 # so weak that their functioning should not be impacted.
3814 am__obj
=conftest.
${OBJEXT-o}
3819 if depmode
=$depmode \
3820 source=sub
/conftest.c object
=$am__obj \
3821 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3822 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3823 >/dev
/null
2>conftest.err
&&
3824 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3825 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3826 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3827 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3828 # icc doesn't choke on unknown options, it will just issue warnings
3829 # or remarks (even with -Werror). So we grep stderr for any message
3830 # that says an option was ignored or not supported.
3831 # When given -MP, icc 7.0 and 7.1 complain thusly:
3832 # icc: Command line warning: ignoring option '-M'; no argument required
3833 # The diagnosis changed in icc 8.0:
3834 # icc: Command line remark: option '-MP' not supported
3835 if (grep 'ignoring option' conftest.err ||
3836 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3837 am_cv_CC_dependencies_compiler_type
=$depmode
3846 am_cv_CC_dependencies_compiler_type
=none
3850 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3851 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3852 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3855 test "x$enable_dependency_tracking" != xno \
3856 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3858 am__fastdepCC_FALSE
='#'
3860 am__fastdepCC_TRUE
='#'
3861 am__fastdepCC_FALSE
=
3866 ac_cpp
='$CPP $CPPFLAGS'
3867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3870 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3871 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3872 # On Suns, sometimes $CPP names a directory.
3873 if test -n "$CPP" && test -d "$CPP"; then
3876 if test -z "$CPP"; then
3877 if test "${ac_cv_prog_CPP+set}" = set; then
3878 $as_echo_n "(cached) " >&6
3880 # Double quotes because CPP needs to be expanded
3881 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3884 for ac_c_preproc_warn_flag
in '' yes
3886 # Use a header file that comes with gcc, so configuring glibc
3887 # with a fresh cross-compiler works.
3888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3889 # <limits.h> exists even on freestanding compilers.
3890 # On the NeXT, cc -E runs the code through the compiler's parser,
3891 # not just through cpp. "Syntax error" is here to catch this case.
3892 cat >conftest.
$ac_ext <<_ACEOF
3895 cat confdefs.h
>>conftest.
$ac_ext
3896 cat >>conftest.
$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3899 # include <limits.h>
3901 # include <assert.h>
3905 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3911 $as_echo "$ac_try_echo") >&5
3912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3914 grep -v '^ *+' conftest.er1 >conftest.err
3916 cat conftest.err >&5
3917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); } >/dev/null && {
3919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3920 test ! -s conftest.err
3924 $as_echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.$ac_ext >&5
3927 # Broken: fails on valid input.
3931 rm -f conftest.err conftest.$ac_ext
3933 # OK, works on sane cases. Now check whether nonexistent headers
3934 # can be detected and how.
3935 cat >conftest.$ac_ext <<_ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3941 #include <ac_nonexistent.h>
3943 if { (ac_try="$ac_cpp conftest.$ac_ext"
3945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3946 *) ac_try_echo
=$ac_try;;
3948 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3949 $as_echo "$ac_try_echo") >&5
3950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3952 grep -v '^ *+' conftest.er1
>conftest.err
3954 cat conftest.err
>&5
3955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } >/dev
/null
&& {
3957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3958 test ! -s conftest.err
3960 # Broken: success on invalid input.
3963 $as_echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.
$ac_ext >&5
3966 # Passes both tests.
3971 rm -f conftest.err conftest.
$ac_ext
3974 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3975 rm -f conftest.err conftest.
$ac_ext
3976 if $ac_preproc_ok; then
3988 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3989 $as_echo "$CPP" >&6; }
3991 for ac_c_preproc_warn_flag
in '' yes
3993 # Use a header file that comes with gcc, so configuring glibc
3994 # with a fresh cross-compiler works.
3995 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3996 # <limits.h> exists even on freestanding compilers.
3997 # On the NeXT, cc -E runs the code through the compiler's parser,
3998 # not just through cpp. "Syntax error" is here to catch this case.
3999 cat >conftest.
$ac_ext <<_ACEOF
4002 cat confdefs.h
>>conftest.
$ac_ext
4003 cat >>conftest.
$ac_ext <<_ACEOF
4004 /* end confdefs.h. */
4006 # include <limits.h>
4008 # include <assert.h>
4012 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4018 $as_echo "$ac_try_echo") >&5
4019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4021 grep -v '^ *+' conftest.er1 >conftest.err
4023 cat conftest.err >&5
4024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } >/dev/null && {
4026 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4027 test ! -s conftest.err
4031 $as_echo "$as_me: failed program was:" >&5
4032 sed 's/^/| /' conftest.$ac_ext >&5
4034 # Broken: fails on valid input.
4038 rm -f conftest.err conftest.$ac_ext
4040 # OK, works on sane cases. Now check whether nonexistent headers
4041 # can be detected and how.
4042 cat >conftest.$ac_ext <<_ACEOF
4045 cat confdefs.h >>conftest.$ac_ext
4046 cat >>conftest.$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4048 #include <ac_nonexistent.h>
4050 if { (ac_try="$ac_cpp conftest.$ac_ext"
4052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4053 *) ac_try_echo
=$ac_try;;
4055 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4056 $as_echo "$ac_try_echo") >&5
4057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4059 grep -v '^ *+' conftest.er1
>conftest.err
4061 cat conftest.err
>&5
4062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } >/dev
/null
&& {
4064 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4065 test ! -s conftest.err
4067 # Broken: success on invalid input.
4070 $as_echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.
$ac_ext >&5
4073 # Passes both tests.
4078 rm -f conftest.err conftest.
$ac_ext
4081 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4082 rm -f conftest.err conftest.
$ac_ext
4083 if $ac_preproc_ok; then
4086 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4089 See \`config.log' for more details." >&5
4090 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4091 See \`config.log' for more details." >&2;}
4092 { (exit 1); exit 1; }; }; }
4096 ac_cpp
='$CPP $CPPFLAGS'
4097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4101 # Find a good install program. We prefer a C program (faster),
4102 # so one script is as good as another. But avoid the broken or
4103 # incompatible versions:
4104 # SysV /etc/install, /usr/sbin/install
4105 # SunOS /usr/etc/install
4106 # IRIX /sbin/install
4108 # AmigaOS /C/install, which installs bootblocks on floppy discs
4109 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4110 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4111 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4112 # OS/2's system install, which has a completely different semantic
4113 # ./install, which can be erroneously created by make from ./install.sh.
4114 # Reject install programs that cannot install multiple files.
4115 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4116 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4117 if test -z "$INSTALL"; then
4118 if test "${ac_cv_path_install+set}" = set; then
4119 $as_echo_n "(cached) " >&6
4121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir
=.
4126 # Account for people who put trailing slashes in PATH elements.
4128 .
/ | .
// |
/cC
/* | \
4129 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4130 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4133 # OSF1 and SCO ODT 3.0 have their own names for install.
4134 # Don't use installbsd from OSF since it installs stuff as root
4136 for ac_prog
in ginstall scoinst
install; do
4137 for ac_exec_ext
in '' $ac_executable_extensions; do
4138 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4139 if test $ac_prog = install &&
4140 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4141 # AIX install. It has an incompatible calling convention.
4143 elif test $ac_prog = install &&
4144 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4145 # program-specific install script used by HP pwplus--don't use.
4148 rm -rf conftest.one conftest.two conftest.dir
4149 echo one
> conftest.one
4150 echo two
> conftest.two
4152 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4153 test -s conftest.one
&& test -s conftest.two
&&
4154 test -s conftest.dir
/conftest.one
&&
4155 test -s conftest.dir
/conftest.two
4157 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4170 rm -rf conftest.one conftest.two conftest.dir
4173 if test "${ac_cv_path_install+set}" = set; then
4174 INSTALL
=$ac_cv_path_install
4176 # As a last resort, use the slow shell script. Don't cache a
4177 # value for INSTALL within a source directory, because that will
4178 # break other packages using the cache if that directory is
4179 # removed, or if the value is a relative name.
4180 INSTALL
=$ac_install_sh
4183 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4184 $as_echo "$INSTALL" >&6; }
4186 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4187 # It thinks the first close brace ends the variable substitution.
4188 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4190 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4192 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4194 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4195 $as_echo_n "checking whether ln -s works... " >&6; }
4197 if test "$LN_S" = "ln -s"; then
4198 { $as_echo "$as_me:$LINENO: result: yes" >&5
4199 $as_echo "yes" >&6; }
4201 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4202 $as_echo "no, using $LN_S" >&6; }
4207 for ac_prog
in perl5 perl
4209 # Extract the first word of "$ac_prog", so it can be a program name with args.
4210 set dummy
$ac_prog; ac_word
=$2
4211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if test "${ac_cv_path_SYSCONFTOOL_PERL+set}" = set; then
4214 $as_echo_n "(cached) " >&6
4216 case $SYSCONFTOOL_PERL in
4218 ac_cv_path_SYSCONFTOOL_PERL
="$SYSCONFTOOL_PERL" # Let the user override the test with a path.
4221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4225 test -z "$as_dir" && as_dir
=.
4226 for ac_exec_ext
in '' $ac_executable_extensions; do
4227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228 ac_cv_path_SYSCONFTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
4229 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 SYSCONFTOOL_PERL
=$ac_cv_path_SYSCONFTOOL_PERL
4240 if test -n "$SYSCONFTOOL_PERL"; then
4241 { $as_echo "$as_me:$LINENO: result: $SYSCONFTOOL_PERL" >&5
4242 $as_echo "$SYSCONFTOOL_PERL" >&6; }
4244 { $as_echo "$as_me:$LINENO: result: no" >&5
4245 $as_echo "no" >&6; }
4249 test -n "$SYSCONFTOOL_PERL" && break
4251 test -n "$SYSCONFTOOL_PERL" || SYSCONFTOOL_PERL
="perl"
4254 if test "$SYSCONFTOOL_PERL" = "perl"
4256 { { $as_echo "$as_me:$LINENO: error: perl not found - please install perl" >&5
4257 $as_echo "$as_me: error: perl not found - please install perl" >&2;}
4258 { (exit 1); exit 1; }; }
4261 { $as_echo "$as_me:$LINENO: checking for sysconftool..." >&5
4262 $as_echo_n "checking for sysconftool...... " >&6; }
4264 for sysconf_dir
in $ac_aux_dir . .. ..
/..
4266 if test -f $srcdir/$sysconf_dir/sysconftool
4268 SYSCONFTOOL
=$srcdir/$sysconf_dir/sysconftool
4273 if test "$SYSCONFTOOL" = ""
4275 { { $as_echo "$as_me:$LINENO: error: sysconftool missing - not in the package" >&5
4276 $as_echo "$as_me: error: sysconftool missing - not in the package" >&2;}
4277 { (exit 1); exit 1; }; }
4280 { $as_echo "$as_me:$LINENO: result: $SYSCONFTOOL" >&5
4281 $as_echo "$SYSCONFTOOL" >&6; }
4282 SYSCONFTOOL
="$SYSCONFTOOL_PERL $SYSCONFTOOL"
4296 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4297 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4302 macro_version
='2.2.6'
4303 macro_revision
='1.3012'
4317 ltmain
="$ac_aux_dir/ltmain.sh"
4319 # Make sure we can run config.sub.
4320 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4321 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4322 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4323 { (exit 1); exit 1; }; }
4325 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4326 $as_echo_n "checking build system type... " >&6; }
4327 if test "${ac_cv_build+set}" = set; then
4328 $as_echo_n "(cached) " >&6
4330 ac_build_alias
=$build_alias
4331 test "x$ac_build_alias" = x
&&
4332 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4333 test "x$ac_build_alias" = x
&&
4334 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4335 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4336 { (exit 1); exit 1; }; }
4337 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4338 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4339 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4340 { (exit 1); exit 1; }; }
4343 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4344 $as_echo "$ac_cv_build" >&6; }
4345 case $ac_cv_build in
4347 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4348 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4349 { (exit 1); exit 1; }; };;
4352 ac_save_IFS
=$IFS; IFS
='-'
4358 # Remember, the first character of IFS is used to create $*,
4359 # except with old shells:
4362 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4365 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4366 $as_echo_n "checking host system type... " >&6; }
4367 if test "${ac_cv_host+set}" = set; then
4368 $as_echo_n "(cached) " >&6
4370 if test "x$host_alias" = x
; then
4371 ac_cv_host
=$ac_cv_build
4373 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4374 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4375 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4376 { (exit 1); exit 1; }; }
4380 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4381 $as_echo "$ac_cv_host" >&6; }
4384 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4385 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4386 { (exit 1); exit 1; }; };;
4389 ac_save_IFS
=$IFS; IFS
='-'
4395 # Remember, the first character of IFS is used to create $*,
4396 # except with old shells:
4399 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4402 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4403 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4404 if test "${ac_cv_path_SED+set}" = set; then
4405 $as_echo_n "(cached) " >&6
4407 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4408 for ac_i
in 1 2 3 4 5 6 7; do
4409 ac_script
="$ac_script$as_nl$ac_script"
4411 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4412 $as_unset ac_script || ac_script
=
4413 if test -z "$SED"; then
4414 ac_path_SED_found
=false
4415 # Loop through the user's path and test for each of PROGNAME-LIST
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_prog
in sed gsed
; do
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4424 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4425 # Check for GNU ac_path_SED and select it if it is found.
4426 # Check for GNU $ac_path_SED
4427 case `"$ac_path_SED" --version 2>&1` in
4429 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4432 $as_echo_n 0123456789 >"conftest.in"
4435 cat "conftest.in" "conftest.in" >"conftest.tmp"
4436 mv "conftest.tmp" "conftest.in"
4437 cp "conftest.in" "conftest.nl"
4438 $as_echo '' >> "conftest.nl"
4439 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4440 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4441 ac_count
=`expr $ac_count + 1`
4442 if test $ac_count -gt ${ac_path_SED_max-0}; then
4443 # Best one so far, save it but keep looking for a better one
4444 ac_cv_path_SED
="$ac_path_SED"
4445 ac_path_SED_max
=$ac_count
4447 # 10*(2^10) chars as input seems more than enough
4448 test $ac_count -gt 10 && break
4450 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4453 $ac_path_SED_found && break 3
4458 if test -z "$ac_cv_path_SED"; then
4459 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4460 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4461 { (exit 1); exit 1; }; }
4468 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4469 $as_echo "$ac_cv_path_SED" >&6; }
4470 SED
="$ac_cv_path_SED"
4473 test -z "$SED" && SED
=sed
4474 Xsed
="$SED -e 1s/^X//"
4486 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4487 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4488 if test "${ac_cv_path_GREP+set}" = set; then
4489 $as_echo_n "(cached) " >&6
4491 if test -z "$GREP"; then
4492 ac_path_GREP_found
=false
4493 # Loop through the user's path and test for each of PROGNAME-LIST
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_prog
in grep ggrep
; do
4500 for ac_exec_ext
in '' $ac_executable_extensions; do
4501 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4502 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4503 # Check for GNU ac_path_GREP and select it if it is found.
4504 # Check for GNU $ac_path_GREP
4505 case `"$ac_path_GREP" --version 2>&1` in
4507 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4510 $as_echo_n 0123456789 >"conftest.in"
4513 cat "conftest.in" "conftest.in" >"conftest.tmp"
4514 mv "conftest.tmp" "conftest.in"
4515 cp "conftest.in" "conftest.nl"
4516 $as_echo 'GREP' >> "conftest.nl"
4517 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4518 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4519 ac_count
=`expr $ac_count + 1`
4520 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4521 # Best one so far, save it but keep looking for a better one
4522 ac_cv_path_GREP
="$ac_path_GREP"
4523 ac_path_GREP_max
=$ac_count
4525 # 10*(2^10) chars as input seems more than enough
4526 test $ac_count -gt 10 && break
4528 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4531 $ac_path_GREP_found && break 3
4536 if test -z "$ac_cv_path_GREP"; then
4537 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4538 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4539 { (exit 1); exit 1; }; }
4542 ac_cv_path_GREP
=$GREP
4546 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4547 $as_echo "$ac_cv_path_GREP" >&6; }
4548 GREP
="$ac_cv_path_GREP"
4551 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4552 $as_echo_n "checking for egrep... " >&6; }
4553 if test "${ac_cv_path_EGREP+set}" = set; then
4554 $as_echo_n "(cached) " >&6
4556 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4557 then ac_cv_path_EGREP
="$GREP -E"
4559 if test -z "$EGREP"; then
4560 ac_path_EGREP_found
=false
4561 # Loop through the user's path and test for each of PROGNAME-LIST
4562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4563 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4566 test -z "$as_dir" && as_dir
=.
4567 for ac_prog
in egrep; do
4568 for ac_exec_ext
in '' $ac_executable_extensions; do
4569 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4570 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4571 # Check for GNU ac_path_EGREP and select it if it is found.
4572 # Check for GNU $ac_path_EGREP
4573 case `"$ac_path_EGREP" --version 2>&1` in
4575 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4578 $as_echo_n 0123456789 >"conftest.in"
4581 cat "conftest.in" "conftest.in" >"conftest.tmp"
4582 mv "conftest.tmp" "conftest.in"
4583 cp "conftest.in" "conftest.nl"
4584 $as_echo 'EGREP' >> "conftest.nl"
4585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4586 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4587 ac_count
=`expr $ac_count + 1`
4588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4589 # Best one so far, save it but keep looking for a better one
4590 ac_cv_path_EGREP
="$ac_path_EGREP"
4591 ac_path_EGREP_max
=$ac_count
4593 # 10*(2^10) chars as input seems more than enough
4594 test $ac_count -gt 10 && break
4596 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4599 $ac_path_EGREP_found && break 3
4604 if test -z "$ac_cv_path_EGREP"; then
4605 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4606 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4607 { (exit 1); exit 1; }; }
4610 ac_cv_path_EGREP
=$EGREP
4615 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4616 $as_echo "$ac_cv_path_EGREP" >&6; }
4617 EGREP
="$ac_cv_path_EGREP"
4620 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4621 $as_echo_n "checking for fgrep... " >&6; }
4622 if test "${ac_cv_path_FGREP+set}" = set; then
4623 $as_echo_n "(cached) " >&6
4625 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4626 then ac_cv_path_FGREP
="$GREP -F"
4628 if test -z "$FGREP"; then
4629 ac_path_FGREP_found
=false
4630 # Loop through the user's path and test for each of PROGNAME-LIST
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_prog
in fgrep
; do
4637 for ac_exec_ext
in '' $ac_executable_extensions; do
4638 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4639 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4640 # Check for GNU ac_path_FGREP and select it if it is found.
4641 # Check for GNU $ac_path_FGREP
4642 case `"$ac_path_FGREP" --version 2>&1` in
4644 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4647 $as_echo_n 0123456789 >"conftest.in"
4650 cat "conftest.in" "conftest.in" >"conftest.tmp"
4651 mv "conftest.tmp" "conftest.in"
4652 cp "conftest.in" "conftest.nl"
4653 $as_echo 'FGREP' >> "conftest.nl"
4654 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4655 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4656 ac_count
=`expr $ac_count + 1`
4657 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4658 # Best one so far, save it but keep looking for a better one
4659 ac_cv_path_FGREP
="$ac_path_FGREP"
4660 ac_path_FGREP_max
=$ac_count
4662 # 10*(2^10) chars as input seems more than enough
4663 test $ac_count -gt 10 && break
4665 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4668 $ac_path_FGREP_found && break 3
4673 if test -z "$ac_cv_path_FGREP"; then
4674 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4675 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4676 { (exit 1); exit 1; }; }
4679 ac_cv_path_FGREP
=$FGREP
4684 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4685 $as_echo "$ac_cv_path_FGREP" >&6; }
4686 FGREP
="$ac_cv_path_FGREP"
4689 test -z "$GREP" && GREP
=grep
4709 # Check whether --with-gnu-ld was given.
4710 if test "${with_gnu_ld+set}" = set; then
4711 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4717 if test "$GCC" = yes; then
4718 # Check if gcc -print-prog-name=ld gives a path.
4719 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4720 $as_echo_n "checking for ld used by $CC... " >&6; }
4723 # gcc leaves a trailing carriage return which upsets mingw
4724 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4726 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4729 # Accept absolute paths.
4731 re_direlt
='/[^/][^/]*/\.\./'
4732 # Canonicalize the pathname of ld
4733 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4734 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4735 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4737 test -z "$LD" && LD
="$ac_prog"
4740 # If it fails, then pretend we aren't using GCC.
4744 # If it is relative, then search for the first ld in PATH.
4748 elif test "$with_gnu_ld" = yes; then
4749 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4750 $as_echo_n "checking for GNU ld... " >&6; }
4752 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4753 $as_echo_n "checking for non-GNU ld... " >&6; }
4755 if test "${lt_cv_path_LD+set}" = set; then
4756 $as_echo_n "(cached) " >&6
4758 if test -z "$LD"; then
4759 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4760 for ac_dir
in $PATH; do
4762 test -z "$ac_dir" && ac_dir
=.
4763 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4764 lt_cv_path_LD
="$ac_dir/$ac_prog"
4765 # Check to see if the program is GNU ld. I'd rather use --version,
4766 # but apparently some variants of GNU ld only accept -v.
4767 # Break only if it was the GNU/non-GNU ld that we prefer.
4768 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4769 *GNU
* |
*'with BFD'*)
4770 test "$with_gnu_ld" != no
&& break
4773 test "$with_gnu_ld" != yes && break
4780 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4785 if test -n "$LD"; then
4786 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4787 $as_echo "$LD" >&6; }
4789 { $as_echo "$as_me:$LINENO: result: no" >&5
4790 $as_echo "no" >&6; }
4792 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4793 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4794 { (exit 1); exit 1; }; }
4795 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4796 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4797 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4798 $as_echo_n "(cached) " >&6
4800 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4801 case `$LD -v 2>&1 </dev/null` in
4802 *GNU
* |
*'with BFD'*)
4803 lt_cv_prog_gnu_ld
=yes
4806 lt_cv_prog_gnu_ld
=no
4810 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4811 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4812 with_gnu_ld
=$lt_cv_prog_gnu_ld
4822 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4823 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4824 if test "${lt_cv_path_NM+set}" = set; then
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$NM"; then
4828 # Let the user override the test.
4831 lt_nm_to_check
="${ac_tool_prefix}nm"
4832 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4833 lt_nm_to_check
="$lt_nm_to_check nm"
4835 for lt_tmp_nm
in $lt_nm_to_check; do
4836 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4837 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4839 test -z "$ac_dir" && ac_dir
=.
4840 tmp_nm
="$ac_dir/$lt_tmp_nm"
4841 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4842 # Check to see if the nm accepts a BSD-compat flag.
4843 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4844 # nm: unknown option "B" ignored
4845 # Tru64's nm complains that /dev/null is an invalid object file
4846 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4847 */dev
/null
* |
*'Invalid file or object type'*)
4848 lt_cv_path_NM
="$tmp_nm -B"
4852 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4854 lt_cv_path_NM
="$tmp_nm -p"
4858 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4859 continue # so that we can try to find one that supports BSD flags
4868 : ${lt_cv_path_NM=no}
4871 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4872 $as_echo "$lt_cv_path_NM" >&6; }
4873 if test "$lt_cv_path_NM" != "no"; then
4876 # Didn't find any BSD compatible name lister, look for dumpbin.
4877 if test -n "$ac_tool_prefix"; then
4878 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4881 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4885 $as_echo_n "(cached) " >&6
4887 if test -n "$DUMPBIN"; then
4888 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4894 test -z "$as_dir" && as_dir
=.
4895 for ac_exec_ext
in '' $ac_executable_extensions; do
4896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4897 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4898 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 DUMPBIN
=$ac_cv_prog_DUMPBIN
4908 if test -n "$DUMPBIN"; then
4909 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4910 $as_echo "$DUMPBIN" >&6; }
4912 { $as_echo "$as_me:$LINENO: result: no" >&5
4913 $as_echo "no" >&6; }
4917 test -n "$DUMPBIN" && break
4920 if test -z "$DUMPBIN"; then
4921 ac_ct_DUMPBIN
=$DUMPBIN
4922 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy
$ac_prog; ac_word
=$2
4926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$ac_ct_DUMPBIN"; then
4932 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4952 if test -n "$ac_ct_DUMPBIN"; then
4953 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4954 $as_echo "$ac_ct_DUMPBIN" >&6; }
4956 { $as_echo "$as_me:$LINENO: result: no" >&5
4957 $as_echo "no" >&6; }
4961 test -n "$ac_ct_DUMPBIN" && break
4964 if test "x$ac_ct_DUMPBIN" = x
; then
4967 case $cross_compiling:$ac_tool_warned in
4969 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4971 ac_tool_warned
=yes ;;
4973 DUMPBIN
=$ac_ct_DUMPBIN
4978 if test "$DUMPBIN" != ":"; then
4982 test -z "$NM" && NM
=nm
4989 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4990 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4991 if test "${lt_cv_nm_interface+set}" = set; then
4992 $as_echo_n "(cached) " >&6
4994 lt_cv_nm_interface
="BSD nm"
4995 echo "int some_variable = 0;" > conftest.
$ac_ext
4996 (eval echo "\"\$as_me:4996: $ac_compile\"" >&5)
4997 (eval "$ac_compile" 2>conftest.err
)
4998 cat conftest.err
>&5
4999 (eval echo "\"\$as_me:4999: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5000 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5001 cat conftest.err
>&5
5002 (eval echo "\"\$as_me:5002: output\"" >&5)
5003 cat conftest.out
>&5
5004 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5005 lt_cv_nm_interface
="MS dumpbin"
5009 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5010 $as_echo "$lt_cv_nm_interface" >&6; }
5012 # find the maximum length of command line arguments
5013 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5014 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5015 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5016 $as_echo_n "(cached) " >&6
5023 # On DJGPP, this test can blow up pretty badly due to problems in libc
5024 # (any single argument exceeding 2000 bytes causes a buffer overrun
5025 # during glob expansion). Even if it were fixed, the result of this
5026 # check would be larger than it should be.
5027 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5031 # Under GNU Hurd, this test is not required because there is
5032 # no limit to the length of command line arguments.
5033 # Libtool will interpret -1 as no limit whatsoever
5034 lt_cv_sys_max_cmd_len
=-1;
5037 cygwin
* | mingw
* | cegcc
*)
5038 # On Win9x/ME, this test blows up -- it succeeds, but takes
5039 # about 5 minutes as the teststring grows exponentially.
5040 # Worse, since 9x/ME are not pre-emptively multitasking,
5041 # you end up with a "frozen" computer, even though with patience
5042 # the test eventually succeeds (with a max line length of 256k).
5043 # Instead, let's just punt: use the minimum linelength reported by
5044 # all of the supported platforms: 8192 (on NT/2K/XP).
5045 lt_cv_sys_max_cmd_len
=8192;
5049 # On AmigaOS with pdksh, this test takes hours, literally.
5050 # So we just punt and use a minimum line length of 8192.
5051 lt_cv_sys_max_cmd_len
=8192;
5054 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5055 # This has been around since 386BSD, at least. Likely further.
5056 if test -x /sbin
/sysctl
; then
5057 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5058 elif test -x /usr
/sbin
/sysctl
; then
5059 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5061 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5063 # And add a safety zone
5064 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5065 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5069 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5070 lt_cv_sys_max_cmd_len
=196608
5074 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5075 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5076 # nice to cause kernel panics so lets avoid the loop below.
5077 # First set a reasonable default.
5078 lt_cv_sys_max_cmd_len
=16384
5080 if test -x /sbin
/sysconfig
; then
5081 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5082 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5087 lt_cv_sys_max_cmd_len
=102400
5089 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5090 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5091 if test -n "$kargmax"; then
5092 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5094 lt_cv_sys_max_cmd_len
=32768
5098 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5099 if test -n "$lt_cv_sys_max_cmd_len"; then
5100 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5101 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5103 # Make teststring a little bigger before we do anything with it.
5104 # a 1K string should be a reasonable start.
5105 for i
in 1 2 3 4 5 6 7 8 ; do
5106 teststring
=$teststring$teststring
5108 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5109 # If test is not a shell built-in, we'll probably end up computing a
5110 # maximum length that is only half of the actual maximum length, but
5112 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5113 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5114 test $i != 17 # 1/2 MB should be enough
5117 teststring
=$teststring$teststring
5119 # Only check the string length outside the loop.
5120 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5122 # Add a significant safety factor because C++ compilers can tack on
5123 # massive amounts of additional arguments before passing them to the
5124 # linker. It appears as though 1/2 is a usable value.
5125 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5132 if test -n $lt_cv_sys_max_cmd_len ; then
5133 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5134 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5136 { $as_echo "$as_me:$LINENO: result: none" >&5
5137 $as_echo "none" >&6; }
5139 max_cmd_len
=$lt_cv_sys_max_cmd_len
5150 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5151 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5152 # Try some XSI features
5155 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5157 && eval 'test $(( 1 + 1 )) -eq 2 \
5158 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5160 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5161 $as_echo "$xsi_shell" >&6; }
5164 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5165 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5167 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5169 && lt_shell_append=yes
5170 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5171 $as_echo "$lt_shell_append" >&6; }
5174 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5184 # test EBCDIC or ASCII
5185 case `echo X|tr X '\101'` in
5186 A) # ASCII based system
5187 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5188 lt_SP2NL='tr \040 \012'
5189 lt_NL2SP='tr \015\012 \040\040'
5191 *) # EBCDIC based system
5192 lt_SP2NL='tr \100 \n'
5193 lt_NL2SP='tr \r\n \100\100'
5205 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5206 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5207 if test "${lt_cv_ld_reload_flag+set}" = set; then
5208 $as_echo_n "(cached
) " >&6
5210 lt_cv_ld_reload_flag='-r'
5212 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5213 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5214 reload_flag=$lt_cv_ld_reload_flag
5215 case $reload_flag in
5217 *) reload_flag=" $reload_flag" ;;
5219 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5222 if test "$GCC" = yes; then
5223 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5225 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5240 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5241 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5242 $as_echo_n "checking
for $ac_word...
" >&6; }
5243 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5244 $as_echo_n "(cached
) " >&6
5246 if test -n "$OBJDUMP"; then
5247 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5257 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5266 OBJDUMP=$ac_cv_prog_OBJDUMP
5267 if test -n "$OBJDUMP"; then
5268 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
5269 $as_echo "$OBJDUMP" >&6; }
5271 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5272 $as_echo "no
" >&6; }
5277 if test -z "$ac_cv_prog_OBJDUMP"; then
5278 ac_ct_OBJDUMP=$OBJDUMP
5279 # Extract the first word of "objdump
", so it can be a program name with args.
5280 set dummy objdump; ac_word=$2
5281 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5282 $as_echo_n "checking
for $ac_word...
" >&6; }
5283 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5284 $as_echo_n "(cached
) " >&6
5286 if test -n "$ac_ct_OBJDUMP"; then
5287 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5296 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5297 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5306 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5307 if test -n "$ac_ct_OBJDUMP"; then
5308 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
5309 $as_echo "$ac_ct_OBJDUMP" >&6; }
5311 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5312 $as_echo "no
" >&6; }
5315 if test "x
$ac_ct_OBJDUMP" = x; then
5318 case $cross_compiling:$ac_tool_warned in
5320 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5321 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5322 ac_tool_warned=yes ;;
5324 OBJDUMP=$ac_ct_OBJDUMP
5327 OBJDUMP="$ac_cv_prog_OBJDUMP"
5330 test -z "$OBJDUMP" && OBJDUMP=objdump
5340 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5341 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5342 if test "${lt_cv_deplibs_check_method+set}" = set; then
5343 $as_echo_n "(cached
) " >&6
5345 lt_cv_file_magic_cmd='$MAGIC_CMD'
5346 lt_cv_file_magic_test_file=
5347 lt_cv_deplibs_check_method='unknown'
5348 # Need to set the preceding variable on all platforms that support
5349 # interlibrary dependencies.
5350 # 'none' -- dependencies not supported.
5351 # `unknown' -- same as none, but documents that we really don't know.
5352 # 'pass_all' -- all dependencies passed with no checks.
5353 # 'test_compile' -- check by making test program.
5354 # 'file_magic [[regex]]' -- check by looking for files in library path
5355 # which responds to the $file_magic_cmd with a given extended regex.
5356 # If you have `file' or equivalent on your system and you're not sure
5357 # whether `pass_all' will *always* work, you probably want this one.
5361 lt_cv_deplibs_check_method=pass_all
5365 lt_cv_deplibs_check_method=pass_all
5369 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5370 lt_cv_file_magic_cmd='/usr/bin/file -L'
5371 lt_cv_file_magic_test_file=/shlib/libc.so
5375 # func_win32_libid is a shell function defined in ltmain.sh
5376 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5377 lt_cv_file_magic_cmd='func_win32_libid'
5381 # Base MSYS/MinGW do not provide the 'file' command needed by
5382 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5383 # unless we find 'file', for example because we are cross-compiling.
5384 if ( file / ) >/dev/null 2>&1; then
5385 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5386 lt_cv_file_magic_cmd='func_win32_libid'
5388 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5389 lt_cv_file_magic_cmd='$OBJDUMP -f'
5394 # use the weaker test based on 'objdump'. See mingw*.
5395 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5396 lt_cv_file_magic_cmd='$OBJDUMP -f'
5399 darwin* | rhapsody*)
5400 lt_cv_deplibs_check_method=pass_all
5403 freebsd* | dragonfly*)
5404 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5407 # Not sure whether the presence of OpenBSD here was a mistake.
5408 # Let's accept both of them until this is cleared up.
5409 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5410 lt_cv_file_magic_cmd=/usr/bin/file
5411 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5415 lt_cv_deplibs_check_method=pass_all
5420 lt_cv_deplibs_check_method=pass_all
5423 hpux10.20* | hpux11*)
5424 lt_cv_file_magic_cmd=/usr/bin/file
5427 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5428 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5431 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]'
5432 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5435 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5436 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5442 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5443 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5446 irix5* | irix6* | nonstopux*)
5448 *-32|*"-32 ") libmagic=32-bit;;
5449 *-n32|*"-n32 ") libmagic=N32;;
5450 *-64|*"-64 ") libmagic=64-bit;;
5451 *) libmagic=never-match;;
5453 lt_cv_deplibs_check_method=pass_all
5456 # This must be Linux ELF.
5457 linux* | k*bsd*-gnu)
5458 lt_cv_deplibs_check_method=pass_all
5462 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5463 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5465 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5470 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5471 lt_cv_file_magic_cmd=/usr/bin/file
5472 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5476 lt_cv_deplibs_check_method=pass_all
5480 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5481 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5483 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5487 osf3* | osf4* | osf5*)
5488 lt_cv_deplibs_check_method=pass_all
5492 lt_cv_deplibs_check_method=pass_all
5496 lt_cv_deplibs_check_method=pass_all
5499 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5500 lt_cv_deplibs_check_method=pass_all
5504 case $host_vendor in
5506 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]'
5507 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5510 lt_cv_deplibs_check_method=pass_all
5513 lt_cv_file_magic_cmd='/bin/file'
5514 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5517 lt_cv_file_magic_cmd='/bin/file'
5518 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5519 lt_cv_file_magic_test_file=/lib/libc.so
5522 lt_cv_deplibs_check_method=pass_all
5525 lt_cv_deplibs_check_method=pass_all
5531 lt_cv_deplibs_check_method=pass_all
5536 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5537 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5538 file_magic_cmd=$lt_cv_file_magic_cmd
5539 deplibs_check_method=$lt_cv_deplibs_check_method
5540 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5553 if test -n "$ac_tool_prefix"; then
5554 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5555 set dummy ${ac_tool_prefix}ar; ac_word=$2
5556 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5557 $as_echo_n "checking
for $ac_word...
" >&6; }
5558 if test "${ac_cv_prog_AR+set}" = set; then
5559 $as_echo_n "(cached
) " >&6
5561 if test -n "$AR"; then
5562 ac_cv_prog_AR="$AR" # Let the user override the test.
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_prog_AR="${ac_tool_prefix}ar"
5572 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5582 if test -n "$AR"; then
5583 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5584 $as_echo "$AR" >&6; }
5586 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5587 $as_echo "no
" >&6; }
5592 if test -z "$ac_cv_prog_AR"; then
5594 # Extract the first word of "ar", so it can be a program name with args.
5595 set dummy ar; ac_word=$2
5596 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5597 $as_echo_n "checking
for $ac_word...
" >&6; }
5598 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5599 $as_echo_n "(cached
) " >&6
5601 if test -n "$ac_ct_AR"; then
5602 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5611 ac_cv_prog_ac_ct_AR="ar"
5612 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5621 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5622 if test -n "$ac_ct_AR"; then
5623 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5624 $as_echo "$ac_ct_AR" >&6; }
5626 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5627 $as_echo "no
" >&6; }
5630 if test "x
$ac_ct_AR" = x; then
5633 case $cross_compiling:$ac_tool_warned in
5635 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5636 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5637 ac_tool_warned=yes ;;
5645 test -z "$AR" && AR=ar
5646 test -z "$AR_FLAGS" && AR_FLAGS=cru
5658 if test -n "$ac_tool_prefix"; then
5659 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5660 set dummy ${ac_tool_prefix}strip; ac_word=$2
5661 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5662 $as_echo_n "checking
for $ac_word...
" >&6; }
5663 if test "${ac_cv_prog_STRIP+set}" = set; then
5664 $as_echo_n "(cached
) " >&6
5666 if test -n "$STRIP"; then
5667 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 test -z "$as_dir" && as_dir=.
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5676 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5677 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5686 STRIP=$ac_cv_prog_STRIP
5687 if test -n "$STRIP"; then
5688 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5689 $as_echo "$STRIP" >&6; }
5691 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5692 $as_echo "no
" >&6; }
5697 if test -z "$ac_cv_prog_STRIP"; then
5699 # Extract the first word of "strip
", so it can be a program name with args.
5700 set dummy strip; ac_word=$2
5701 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5702 $as_echo_n "checking
for $ac_word...
" >&6; }
5703 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5704 $as_echo_n "(cached
) " >&6
5706 if test -n "$ac_ct_STRIP"; then
5707 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_ac_ct_STRIP="strip
"
5717 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5726 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5727 if test -n "$ac_ct_STRIP"; then
5728 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5729 $as_echo "$ac_ct_STRIP" >&6; }
5731 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5732 $as_echo "no
" >&6; }
5735 if test "x
$ac_ct_STRIP" = x; then
5738 case $cross_compiling:$ac_tool_warned in
5740 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5741 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5742 ac_tool_warned=yes ;;
5747 STRIP="$ac_cv_prog_STRIP"
5750 test -z "$STRIP" && STRIP=:
5757 if test -n "$ac_tool_prefix"; then
5758 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5759 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5760 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5761 $as_echo_n "checking
for $ac_word...
" >&6; }
5762 if test "${ac_cv_prog_RANLIB+set}" = set; then
5763 $as_echo_n "(cached
) " >&6
5765 if test -n "$RANLIB"; then
5766 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5776 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5785 RANLIB=$ac_cv_prog_RANLIB
5786 if test -n "$RANLIB"; then
5787 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5788 $as_echo "$RANLIB" >&6; }
5790 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5791 $as_echo "no
" >&6; }
5796 if test -z "$ac_cv_prog_RANLIB"; then
5797 ac_ct_RANLIB=$RANLIB
5798 # Extract the first word of "ranlib
", so it can be a program name with args.
5799 set dummy ranlib; ac_word=$2
5800 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5801 $as_echo_n "checking
for $ac_word...
" >&6; }
5802 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5803 $as_echo_n "(cached
) " >&6
5805 if test -n "$ac_ct_RANLIB"; then
5806 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5816 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5825 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5826 if test -n "$ac_ct_RANLIB"; then
5827 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5828 $as_echo "$ac_ct_RANLIB" >&6; }
5830 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5831 $as_echo "no
" >&6; }
5834 if test "x
$ac_ct_RANLIB" = x; then
5837 case $cross_compiling:$ac_tool_warned in
5839 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5840 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5841 ac_tool_warned=yes ;;
5843 RANLIB=$ac_ct_RANLIB
5846 RANLIB="$ac_cv_prog_RANLIB"
5849 test -z "$RANLIB" && RANLIB=:
5856 # Determine commands to create old-style static archives.
5857 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5858 old_postinstall_cmds='chmod 644 $oldlib'
5859 old_postuninstall_cmds=
5861 if test -n "$RANLIB"; then
5864 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5867 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5870 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5906 # If no C compiler was specified, use CC.
5909 # If no C compiler flags were specified, use CFLAGS.
5910 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5912 # Allow CC to be a program name with arguments.
5916 # Check for command to grab the raw symbol name followed by C symbol from nm.
5917 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5918 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5919 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5920 $as_echo_n "(cached
) " >&6
5923 # These are sane defaults that work on at least a few old systems.
5924 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5926 # Character class describing NM global symbol codes.
5927 symcode='[BCDEGRST]'
5929 # Regexp to match symbols that can be accessed directly from C.
5930 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5932 # Define system-specific variables.
5937 cygwin* | mingw* | pw32* | cegcc*)
5938 symcode='[ABCDGISTW]'
5941 if test "$host_cpu" = ia64; then
5942 symcode='[ABCDEGRST]'
5946 symcode='[BCDEGRST]'
5949 symcode='[BCDEGQRST]'
5960 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5968 # If we're using GNU nm, then use its standard symbol codes.
5969 case `$NM -V 2>&1` in
5970 *GNU* | *'with BFD'*)
5971 symcode='[ABCDGIRSTW]' ;;
5974 # Transform an extracted symbol line into a proper C declaration.
5975 # Some systems (esp. on ia64) link data and code symbols differently,
5976 # so use this general approach.
5977 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5979 # Transform an extracted symbol line into symbol name and symbol address
5980 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5981 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'"
5983 # Handle CRLF in mingw tool chain
5987 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5991 # Try without a prefix underscore, then with it.
5992 for ac_symprfx in "" "_
"; do
5994 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5995 symxfrm="\\1 $ac_symprfx\\2 \\2"
5997 # Write the raw and C identifiers.
5998 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5999 # Fake it for dumpbin and say T for any non-static function
6000 # and D for any global variable.
6001 # Also find C++ and __fastcall symbols from MSVC++,
6002 # which start with @ or ?.
6003 lt_cv_sys_global_symbol_pipe="$AWK '"\
6004 " {last_section=section; section=\$ 3};"\
6005 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6006 " \$ 0!~/External *\|/{next};"\
6007 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6008 " {if(hide[section]) next};"\
6009 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6010 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6011 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6012 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6013 " ' prfx
=^
$ac_symprfx"
6015 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6018 # Check to see that the pipe works correctly.
6022 cat > conftest.$ac_ext <<_LT_EOF
6027 void nm_test_func(void);
6028 void nm_test_func(void){}
6032 int main(){nm_test_var='a';nm_test_func();return(0);}
6035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6036 (eval $ac_compile) 2>&5
6038 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6039 (exit $ac_status); }; then
6040 # Now try to grab the symbols.
6042 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6043 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6045 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6046 (exit $ac_status); } && test -s "$nlist"; then
6047 # Try sorting and uniquifying the output.
6048 if sort "$nlist" | uniq > "$nlist"T; then
6049 mv -f "$nlist"T "$nlist"
6054 # Make sure that we snagged all the symbols we need.
6055 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6056 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6057 cat <<_LT_EOF > conftest.$ac_ext
6063 # Now generate the symbol file.
6064 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6066 cat <<_LT_EOF >> conftest.$ac_ext
6068 /* The mapping between symbol names and symbols. */
6073 lt__PROGRAM__LTX_preloaded_symbols[] =
6075 { "@PROGRAM@
", (void *) 0 },
6077 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6078 cat <<\_LT_EOF >> conftest.$ac_ext
6082 /* This works around a problem in FreeBSD linker */
6083 #ifdef FREEBSD_WORKAROUND
6084 static const void *lt_preloaded_setup() {
6085 return lt__PROGRAM__LTX_preloaded_symbols;
6093 # Now try linking the two files.
6094 mv conftest.$ac_objext conftstm.$ac_objext
6095 lt_save_LIBS="$LIBS"
6096 lt_save_CFLAGS="$CFLAGS"
6097 LIBS="conftstm.
$ac_objext"
6098 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6100 (eval $ac_link) 2>&5
6102 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6103 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6106 LIBS="$lt_save_LIBS"
6107 CFLAGS="$lt_save_CFLAGS"
6109 echo "cannot
find nm_test_func
in $nlist" >&5
6112 echo "cannot
find nm_test_var
in $nlist" >&5
6115 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6118 echo "$progname: failed program was
:" >&5
6119 cat conftest.$ac_ext >&5
6121 rm -rf conftest* conftst*
6123 # Do not use the global_symbol_pipe unless it works.
6124 if test "$pipe_works" = yes; then
6127 lt_cv_sys_global_symbol_pipe=
6133 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6134 lt_cv_sys_global_symbol_to_cdecl=
6136 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6137 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
6138 $as_echo "failed
" >&6; }
6140 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
6141 $as_echo "ok
" >&6; }
6166 # Check whether --enable-libtool-lock was given.
6167 if test "${enable_libtool_lock+set}" = set; then
6168 enableval=$enable_libtool_lock;
6171 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6173 # Some flags need to be propagated to the compiler or linker for good
6177 # Find out which ABI we are using.
6178 echo 'int i;' > conftest.$ac_ext
6179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6180 (eval $ac_compile) 2>&5
6182 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6183 (exit $ac_status); }; then
6184 case `/usr/bin/file conftest.$ac_objext` in
6196 # Find out which ABI we are using.
6197 echo '#line 6197 "configure
"' > conftest.$ac_ext
6198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6199 (eval $ac_compile) 2>&5
6201 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6202 (exit $ac_status); }; then
6203 if test "$lt_cv_prog_gnu_ld" = yes; then
6204 case `/usr/bin/file conftest.$ac_objext` in
6206 LD="${LD-ld} -melf32bsmip"
6209 LD="${LD-ld} -melf32bmipn32"
6212 LD="${LD-ld} -melf64bmip"
6216 case `/usr/bin/file conftest.$ac_objext` in
6232 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6233 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6234 # Find out which ABI we are using.
6235 echo 'int i;' > conftest.$ac_ext
6236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6237 (eval $ac_compile) 2>&5
6239 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6240 (exit $ac_status); }; then
6241 case `/usr/bin/file conftest.o` in
6244 x86_64-*kfreebsd*-gnu)
6245 LD="${LD-ld} -m elf_i386_fbsd
"
6248 LD="${LD-ld} -m elf_i386
"
6250 ppc64-*linux*|powerpc64-*linux*)
6251 LD="${LD-ld} -m elf32ppclinux
"
6254 LD="${LD-ld} -m elf_s390
"
6257 LD="${LD-ld} -m elf32_sparc
"
6263 x86_64-*kfreebsd*-gnu)
6264 LD="${LD-ld} -m elf_x86_64_fbsd
"
6267 LD="${LD-ld} -m elf_x86_64
"
6269 ppc*-*linux*|powerpc*-*linux*)
6270 LD="${LD-ld} -m elf64ppc
"
6272 s390*-*linux*|s390*-*tpf*)
6273 LD="${LD-ld} -m elf64_s390
"
6276 LD="${LD-ld} -m elf64_sparc
"
6286 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6287 SAVE_CFLAGS="$CFLAGS"
6288 CFLAGS="$CFLAGS -belf"
6289 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6290 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6291 if test "${lt_cv_cc_needs_belf+set}" = set; then
6292 $as_echo_n "(cached
) " >&6
6295 ac_cpp='$CPP $CPPFLAGS'
6296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6300 cat >conftest.$ac_ext <<_ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6315 rm -f conftest.$ac_objext conftest$ac_exeext
6316 if { (ac_try="$ac_link"
6318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6319 *) ac_try_echo=$ac_try;;
6321 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6322 $as_echo "$ac_try_echo") >&5
6323 (eval "$ac_link") 2>conftest.er1
6325 grep -v '^ *+' conftest.er1 >conftest.err
6327 cat conftest.err >&5
6328 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6329 (exit $ac_status); } && {
6330 test -z "$ac_c_werror_flag" ||
6331 test ! -s conftest.err
6332 } && test -s conftest$ac_exeext && {
6333 test "$cross_compiling" = yes ||
6334 $as_test_x conftest$ac_exeext
6336 lt_cv_cc_needs_belf=yes
6338 $as_echo "$as_me: failed program was
:" >&5
6339 sed 's/^/| /' conftest.$ac_ext >&5
6341 lt_cv_cc_needs_belf=no
6344 rm -rf conftest.dSYM
6345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6346 conftest$ac_exeext conftest.$ac_ext
6348 ac_cpp='$CPP $CPPFLAGS'
6349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6354 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6355 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6356 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6357 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6358 CFLAGS="$SAVE_CFLAGS"
6362 # Find out which ABI we are using.
6363 echo 'int i;' > conftest.$ac_ext
6364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6365 (eval $ac_compile) 2>&5
6367 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6368 (exit $ac_status); }; then
6369 case `/usr/bin/file conftest.o` in
6371 case $lt_cv_prog_gnu_ld in
6372 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6374 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6386 need_locks="$enable_libtool_lock"
6390 rhapsody* | darwin*)
6391 if test -n "$ac_tool_prefix"; then
6392 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6393 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6394 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6395 $as_echo_n "checking
for $ac_word...
" >&6; }
6396 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6397 $as_echo_n "(cached
) " >&6
6399 if test -n "$DSYMUTIL"; then
6400 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6409 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6410 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6419 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6420 if test -n "$DSYMUTIL"; then
6421 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
6422 $as_echo "$DSYMUTIL" >&6; }
6424 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6425 $as_echo "no
" >&6; }
6430 if test -z "$ac_cv_prog_DSYMUTIL"; then
6431 ac_ct_DSYMUTIL=$DSYMUTIL
6432 # Extract the first word of "dsymutil
", so it can be a program name with args.
6433 set dummy dsymutil; ac_word=$2
6434 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6435 $as_echo_n "checking
for $ac_word...
" >&6; }
6436 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6437 $as_echo_n "(cached
) " >&6
6439 if test -n "$ac_ct_DSYMUTIL"; then
6440 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6450 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6459 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6460 if test -n "$ac_ct_DSYMUTIL"; then
6461 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
6462 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6464 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6465 $as_echo "no
" >&6; }
6468 if test "x
$ac_ct_DSYMUTIL" = x; then
6471 case $cross_compiling:$ac_tool_warned in
6473 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6474 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6475 ac_tool_warned=yes ;;
6477 DSYMUTIL=$ac_ct_DSYMUTIL
6480 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6483 if test -n "$ac_tool_prefix"; then
6484 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6485 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6486 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6487 $as_echo_n "checking
for $ac_word...
" >&6; }
6488 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6489 $as_echo_n "(cached
) " >&6
6491 if test -n "$NMEDIT"; then
6492 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6501 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6502 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6511 NMEDIT=$ac_cv_prog_NMEDIT
6512 if test -n "$NMEDIT"; then
6513 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6514 $as_echo "$NMEDIT" >&6; }
6516 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6517 $as_echo "no
" >&6; }
6522 if test -z "$ac_cv_prog_NMEDIT"; then
6523 ac_ct_NMEDIT=$NMEDIT
6524 # Extract the first word of "nmedit
", so it can be a program name with args.
6525 set dummy nmedit; ac_word=$2
6526 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6527 $as_echo_n "checking
for $ac_word...
" >&6; }
6528 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6529 $as_echo_n "(cached
) " >&6
6531 if test -n "$ac_ct_NMEDIT"; then
6532 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6542 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6551 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6552 if test -n "$ac_ct_NMEDIT"; then
6553 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6554 $as_echo "$ac_ct_NMEDIT" >&6; }
6556 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6557 $as_echo "no
" >&6; }
6560 if test "x
$ac_ct_NMEDIT" = x; then
6563 case $cross_compiling:$ac_tool_warned in
6565 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6566 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6567 ac_tool_warned=yes ;;
6569 NMEDIT=$ac_ct_NMEDIT
6572 NMEDIT="$ac_cv_prog_NMEDIT"
6575 if test -n "$ac_tool_prefix"; then
6576 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6577 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6578 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6579 $as_echo_n "checking
for $ac_word...
" >&6; }
6580 if test "${ac_cv_prog_LIPO+set}" = set; then
6581 $as_echo_n "(cached
) " >&6
6583 if test -n "$LIPO"; then
6584 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6593 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6594 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6603 LIPO=$ac_cv_prog_LIPO
6604 if test -n "$LIPO"; then
6605 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6606 $as_echo "$LIPO" >&6; }
6608 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6609 $as_echo "no
" >&6; }
6614 if test -z "$ac_cv_prog_LIPO"; then
6616 # Extract the first word of "lipo
", so it can be a program name with args.
6617 set dummy lipo; ac_word=$2
6618 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6619 $as_echo_n "checking
for $ac_word...
" >&6; }
6620 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6621 $as_echo_n "(cached
) " >&6
6623 if test -n "$ac_ct_LIPO"; then
6624 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_ac_ct_LIPO="lipo
"
6634 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6643 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6644 if test -n "$ac_ct_LIPO"; then
6645 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6646 $as_echo "$ac_ct_LIPO" >&6; }
6648 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6649 $as_echo "no
" >&6; }
6652 if test "x
$ac_ct_LIPO" = x; then
6655 case $cross_compiling:$ac_tool_warned in
6657 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6658 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6659 ac_tool_warned=yes ;;
6664 LIPO="$ac_cv_prog_LIPO"
6667 if test -n "$ac_tool_prefix"; then
6668 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6669 set dummy ${ac_tool_prefix}otool; ac_word=$2
6670 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6671 $as_echo_n "checking
for $ac_word...
" >&6; }
6672 if test "${ac_cv_prog_OTOOL+set}" = set; then
6673 $as_echo_n "(cached
) " >&6
6675 if test -n "$OTOOL"; then
6676 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6686 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6695 OTOOL=$ac_cv_prog_OTOOL
6696 if test -n "$OTOOL"; then
6697 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6698 $as_echo "$OTOOL" >&6; }
6700 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6701 $as_echo "no
" >&6; }
6706 if test -z "$ac_cv_prog_OTOOL"; then
6708 # Extract the first word of "otool
", so it can be a program name with args.
6709 set dummy otool; ac_word=$2
6710 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6711 $as_echo_n "checking
for $ac_word...
" >&6; }
6712 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6713 $as_echo_n "(cached
) " >&6
6715 if test -n "$ac_ct_OTOOL"; then
6716 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_ac_ct_OTOOL="otool
"
6726 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6735 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6736 if test -n "$ac_ct_OTOOL"; then
6737 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6738 $as_echo "$ac_ct_OTOOL" >&6; }
6740 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6741 $as_echo "no
" >&6; }
6744 if test "x
$ac_ct_OTOOL" = x; then
6747 case $cross_compiling:$ac_tool_warned in
6749 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6750 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6751 ac_tool_warned=yes ;;
6756 OTOOL="$ac_cv_prog_OTOOL"
6759 if test -n "$ac_tool_prefix"; then
6760 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6761 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6762 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6763 $as_echo_n "checking
for $ac_word...
" >&6; }
6764 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6765 $as_echo_n "(cached
) " >&6
6767 if test -n "$OTOOL64"; then
6768 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6778 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6787 OTOOL64=$ac_cv_prog_OTOOL64
6788 if test -n "$OTOOL64"; then
6789 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6790 $as_echo "$OTOOL64" >&6; }
6792 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6793 $as_echo "no
" >&6; }
6798 if test -z "$ac_cv_prog_OTOOL64"; then
6799 ac_ct_OTOOL64=$OTOOL64
6800 # Extract the first word of "otool64
", so it can be a program name with args.
6801 set dummy otool64; ac_word=$2
6802 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6803 $as_echo_n "checking
for $ac_word...
" >&6; }
6804 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6805 $as_echo_n "(cached
) " >&6
6807 if test -n "$ac_ct_OTOOL64"; then
6808 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6818 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6828 if test -n "$ac_ct_OTOOL64"; then
6829 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6830 $as_echo "$ac_ct_OTOOL64" >&6; }
6832 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6833 $as_echo "no
" >&6; }
6836 if test "x
$ac_ct_OTOOL64" = x; then
6839 case $cross_compiling:$ac_tool_warned in
6841 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6842 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6843 ac_tool_warned=yes ;;
6845 OTOOL64=$ac_ct_OTOOL64
6848 OTOOL64="$ac_cv_prog_OTOOL64"
6877 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6878 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6879 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6880 $as_echo_n "(cached
) " >&6
6882 lt_cv_apple_cc_single_mod=no
6883 if test -z "${LT_MULTI_MODULE}"; then
6884 # By default we will add the -single_module flag. You can override
6885 # by either setting the environment variable LT_MULTI_MODULE
6886 # non-empty at configure time, or by adding -multi_module to the
6888 rm -rf libconftest.dylib*
6889 echo "int foo
(void
){return 1;}" > conftest.c
6890 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6891 -dynamiclib -Wl,-single_module conftest.c
" >&5
6892 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6893 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6895 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6896 lt_cv_apple_cc_single_mod=yes
6898 cat conftest.err >&5
6900 rm -rf libconftest.dylib*
6904 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6905 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6906 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6907 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6908 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6909 $as_echo_n "(cached
) " >&6
6911 lt_cv_ld_exported_symbols_list=no
6912 save_LDFLAGS=$LDFLAGS
6913 echo "_main
" > conftest.sym
6914 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6915 cat >conftest.$ac_ext <<_ACEOF
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6930 rm -f conftest.$ac_objext conftest$ac_exeext
6931 if { (ac_try="$ac_link"
6933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6934 *) ac_try_echo=$ac_try;;
6936 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6937 $as_echo "$ac_try_echo") >&5
6938 (eval "$ac_link") 2>conftest.er1
6940 grep -v '^ *+' conftest.er1 >conftest.err
6942 cat conftest.err >&5
6943 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6944 (exit $ac_status); } && {
6945 test -z "$ac_c_werror_flag" ||
6946 test ! -s conftest.err
6947 } && test -s conftest$ac_exeext && {
6948 test "$cross_compiling" = yes ||
6949 $as_test_x conftest$ac_exeext
6951 lt_cv_ld_exported_symbols_list=yes
6953 $as_echo "$as_me: failed program was
:" >&5
6954 sed 's/^/| /' conftest.$ac_ext >&5
6956 lt_cv_ld_exported_symbols_list=no
6959 rm -rf conftest.dSYM
6960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6961 conftest$ac_exeext conftest.$ac_ext
6962 LDFLAGS="$save_LDFLAGS"
6965 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6966 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6968 rhapsody* | darwin1.[012])
6969 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6971 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6972 darwin*) # darwin 5.x on
6973 # if running on 10.5 or later, the deployment target defaults
6974 # to the OS version, if on x86, and 10.4, the deployment
6975 # target defaults to 10.4. Don't you love it?
6976 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6977 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6978 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6980 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6982 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6986 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6987 _lt_dar_single_mod='$single_module'
6989 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6990 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6992 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6994 if test "$DSYMUTIL" != ":"; then
6995 _lt_dsymutil='~$DSYMUTIL $lib || :'
7003 { $as_echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
7004 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7005 if test "${ac_cv_header_stdc+set}" = set; then
7006 $as_echo_n "(cached
) " >&6
7008 cat >conftest.$ac_ext <<_ACEOF
7011 cat confdefs.h >>conftest.$ac_ext
7012 cat >>conftest.$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7027 rm -f conftest.$ac_objext
7028 if { (ac_try="$ac_compile"
7030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7031 *) ac_try_echo=$ac_try;;
7033 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7034 $as_echo "$ac_try_echo") >&5
7035 (eval "$ac_compile") 2>conftest.er1
7037 grep -v '^ *+' conftest.er1 >conftest.err
7039 cat conftest.err >&5
7040 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7041 (exit $ac_status); } && {
7042 test -z "$ac_c_werror_flag" ||
7043 test ! -s conftest.err
7044 } && test -s conftest.$ac_objext; then
7045 ac_cv_header_stdc=yes
7047 $as_echo "$as_me: failed program was
:" >&5
7048 sed 's/^/| /' conftest.$ac_ext >&5
7050 ac_cv_header_stdc=no
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055 if test $ac_cv_header_stdc = yes; then
7056 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7057 cat >conftest.$ac_ext <<_ACEOF
7060 cat confdefs.h >>conftest.$ac_ext
7061 cat >>conftest.$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7066 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7067 $EGREP "memchr
" >/dev/null 2>&1; then
7070 ac_cv_header_stdc=no
7076 if test $ac_cv_header_stdc = yes; then
7077 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7078 cat >conftest.$ac_ext <<_ACEOF
7081 cat confdefs.h >>conftest.$ac_ext
7082 cat >>conftest.$ac_ext <<_ACEOF
7083 /* end confdefs.h. */
7087 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7088 $EGREP "free
" >/dev/null 2>&1; then
7091 ac_cv_header_stdc=no
7097 if test $ac_cv_header_stdc = yes; then
7098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7099 if test "$cross_compiling" = yes; then
7102 cat >conftest.$ac_ext <<_ACEOF
7105 cat confdefs.h >>conftest.$ac_ext
7106 cat >>conftest.$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7110 #if ((' ' & 0x0FF) == 0x020)
7111 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7112 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7114 # define ISLOWER(c) \
7115 (('a' <= (c) && (c) <= 'i') \
7116 || ('j' <= (c) && (c) <= 'r') \
7117 || ('s' <= (c) && (c) <= 'z'))
7118 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7121 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7126 for (i = 0; i < 256; i++)
7127 if (XOR (islower (i), ISLOWER (i))
7128 || toupper (i) != TOUPPER (i))
7133 rm -f conftest$ac_exeext
7134 if { (ac_try="$ac_link"
7136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7137 *) ac_try_echo=$ac_try;;
7139 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7140 $as_echo "$ac_try_echo") >&5
7141 (eval "$ac_link") 2>&5
7143 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7145 { (case "(($ac_try" in
7146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7147 *) ac_try_echo=$ac_try;;
7149 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7150 $as_echo "$ac_try_echo") >&5
7151 (eval "$ac_try") 2>&5
7153 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7154 (exit $ac_status); }; }; then
7157 $as_echo "$as_me: program exited with status
$ac_status" >&5
7158 $as_echo "$as_me: failed program was
:" >&5
7159 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_cv_header_stdc=no
7164 rm -rf conftest.dSYM
7165 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7171 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
7172 $as_echo "$ac_cv_header_stdc" >&6; }
7173 if test $ac_cv_header_stdc = yes; then
7175 cat >>confdefs.h <<\_ACEOF
7176 #define STDC_HEADERS 1
7181 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7191 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7192 inttypes.h stdint.h unistd.h
7194 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7195 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7196 $as_echo_n "checking
for $ac_header...
" >&6; }
7197 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7198 $as_echo_n "(cached
) " >&6
7200 cat >conftest.$ac_ext <<_ACEOF
7203 cat confdefs.h >>conftest.$ac_ext
7204 cat >>conftest.$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 $ac_includes_default
7208 #include <$ac_header>
7210 rm -f conftest.$ac_objext
7211 if { (ac_try="$ac_compile"
7213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7214 *) ac_try_echo=$ac_try;;
7216 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7217 $as_echo "$ac_try_echo") >&5
7218 (eval "$ac_compile") 2>conftest.er1
7220 grep -v '^ *+' conftest.er1 >conftest.err
7222 cat conftest.err >&5
7223 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7224 (exit $ac_status); } && {
7225 test -z "$ac_c_werror_flag" ||
7226 test ! -s conftest.err
7227 } && test -s conftest.$ac_objext; then
7228 eval "$as_ac_Header=yes"
7230 $as_echo "$as_me: failed program was
:" >&5
7231 sed 's/^/| /' conftest.$ac_ext >&5
7233 eval "$as_ac_Header=no
"
7236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7238 ac_res=`eval 'as_val=${'$as_ac_Header'}
7239 $as_echo "$as_val"'`
7240 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7241 $as_echo "$ac_res" >&6; }
7242 as_val=`eval 'as_val=${'$as_ac_Header'}
7243 $as_echo "$as_val"'`
7244 if test "x
$as_val" = x""yes; then
7245 cat >>confdefs.h <<_ACEOF
7246 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7255 for ac_header in dlfcn.h
7257 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7258 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7259 $as_echo_n "checking
for $ac_header...
" >&6; }
7260 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7261 $as_echo_n "(cached
) " >&6
7263 cat >conftest.$ac_ext <<_ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 $ac_includes_default
7271 #include <$ac_header>
7273 rm -f conftest.$ac_objext
7274 if { (ac_try="$ac_compile"
7276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7277 *) ac_try_echo=$ac_try;;
7279 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7280 $as_echo "$ac_try_echo") >&5
7281 (eval "$ac_compile") 2>conftest.er1
7283 grep -v '^ *+' conftest.er1 >conftest.err
7285 cat conftest.err >&5
7286 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7287 (exit $ac_status); } && {
7288 test -z "$ac_c_werror_flag" ||
7289 test ! -s conftest.err
7290 } && test -s conftest.$ac_objext; then
7291 eval "$as_ac_Header=yes"
7293 $as_echo "$as_me: failed program was
:" >&5
7294 sed 's/^/| /' conftest.$ac_ext >&5
7296 eval "$as_ac_Header=no
"
7299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7301 ac_res=`eval 'as_val=${'$as_ac_Header'}
7302 $as_echo "$as_val"'`
7303 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7304 $as_echo "$ac_res" >&6; }
7305 as_val=`eval 'as_val=${'$as_ac_Header'}
7306 $as_echo "$as_val"'`
7307 if test "x
$as_val" = x""yes; then
7308 cat >>confdefs.h <<_ACEOF
7309 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
7327 # Check whether --enable-shared was given.
7328 if test "${enable_shared+set}" = set; then
7329 enableval=$enable_shared; p=${PACKAGE-default}
7331 yes) enable_shared=yes ;;
7332 no) enable_shared=no ;;
7335 # Look at the argument we got. We use all the common list separators.
7336 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7337 for pkg in $enableval; do
7339 if test "X
$pkg" = "X
$p"; then
7358 # Check whether --enable-static was given.
7359 if test "${enable_static+set}" = set; then
7360 enableval=$enable_static; p=${PACKAGE-default}
7362 yes) enable_static=yes ;;
7363 no) enable_static=no ;;
7366 # Look at the argument we got. We use all the common list separators.
7367 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7368 for pkg in $enableval; do
7370 if test "X
$pkg" = "X
$p"; then
7390 # Check whether --with-pic was given.
7391 if test "${with_pic+set}" = set; then
7392 withval=$with_pic; pic_mode="$withval"
7398 test -z "$pic_mode" && pic_mode=default
7406 # Check whether --enable-fast-install was given.
7407 if test "${enable_fast_install+set}" = set; then
7408 enableval=$enable_fast_install; p=${PACKAGE-default}
7410 yes) enable_fast_install=yes ;;
7411 no) enable_fast_install=no ;;
7413 enable_fast_install=no
7414 # Look at the argument we got. We use all the common list separators.
7415 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7416 for pkg in $enableval; do
7418 if test "X
$pkg" = "X
$p"; then
7419 enable_fast_install=yes
7426 enable_fast_install=yes
7439 # This can be used to rebuild libtool when needed
7440 LIBTOOL_DEPS="$ltmain"
7442 # Always use our own libtool.
7443 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7469 test -z "$LN_S" && LN_S="ln -s"
7484 if test -n "${ZSH_VERSION+set}" ; then
7485 setopt NO_GLOB_SUBST
7488 { $as_echo "$as_me:$LINENO: checking
for objdir
" >&5
7489 $as_echo_n "checking
for objdir...
" >&6; }
7490 if test "${lt_cv_objdir+set}" = set; then
7491 $as_echo_n "(cached
) " >&6
7493 rm -f .libs 2>/dev/null
7494 mkdir .libs 2>/dev/null
7495 if test -d .libs; then
7498 # MS-DOS does not allow filenames that begin with a dot.
7501 rmdir .libs 2>/dev/null
7503 { $as_echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
7504 $as_echo "$lt_cv_objdir" >&6; }
7505 objdir=$lt_cv_objdir
7511 cat >>confdefs.h <<_ACEOF
7512 #define LT_OBJDIR "$lt_cv_objdir/"
7533 # AIX sometimes has problems with the GCC collect2 program. For some
7534 # reason, if we set the COLLECT_NAMES environment variable, the problems
7535 # vanish in a puff of smoke.
7536 if test "X
${COLLECT_NAMES+set}" != Xset; then
7538 export COLLECT_NAMES
7543 # Sed substitution that helps us do robust quoting. It backslashifies
7544 # metacharacters that are still active within double-quoted strings.
7545 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7547 # Same as above, but do not quote variable references.
7548 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7550 # Sed substitution to delay expansion of an escaped shell variable in a
7551 # double_quote_subst'ed string.
7552 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7554 # Sed substitution to delay expansion of an escaped single quote.
7555 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7557 # Sed substitution to avoid accidental globbing in evaled expressions
7558 no_glob_subst
='s/\*/\\\*/g'
7562 can_build_shared
=yes
7564 # All known linkers require a `.a' archive for static linking (except MSVC,
7565 # which needs '.lib').
7568 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7571 old_CFLAGS
="$CFLAGS"
7573 # Set sane defaults for various variables
7574 test -z "$CC" && CC
=cc
7575 test -z "$LTCC" && LTCC
=$CC
7576 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7577 test -z "$LD" && LD
=ld
7578 test -z "$ac_objext" && ac_objext
=o
7580 for cc_temp
in $compiler""; do
7582 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7583 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7588 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7591 # Only perform the check for file, if the check method requires it
7592 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7593 case $deplibs_check_method in
7595 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7596 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7597 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7598 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7599 $as_echo_n "(cached) " >&6
7603 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7606 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7607 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7608 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7609 for ac_dir
in $ac_dummy; do
7611 test -z "$ac_dir" && ac_dir
=.
7612 if test -f $ac_dir/${ac_tool_prefix}file; then
7613 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7614 if test -n "$file_magic_test_file"; then
7615 case $deplibs_check_method in
7617 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7618 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7619 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7620 $EGREP "$file_magic_regex" > /dev
/null
; then
7625 *** Warning: the command libtool uses to detect shared libraries,
7626 *** $file_magic_cmd, produces output that libtool cannot recognize.
7627 *** The result is that libtool may fail to recognize shared libraries
7628 *** as such. This will affect the creation of libtool libraries that
7629 *** depend on shared libraries, but programs linked with such libtool
7630 *** libraries will work regardless of this problem. Nevertheless, you
7631 *** may want to report the problem to your system manager and/or to
7632 *** bug-libtool@gnu.org
7642 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7647 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7648 if test -n "$MAGIC_CMD"; then
7649 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7650 $as_echo "$MAGIC_CMD" >&6; }
7652 { $as_echo "$as_me:$LINENO: result: no" >&5
7653 $as_echo "no" >&6; }
7660 if test -z "$lt_cv_path_MAGIC_CMD"; then
7661 if test -n "$ac_tool_prefix"; then
7662 { $as_echo "$as_me:$LINENO: checking for file" >&5
7663 $as_echo_n "checking for file... " >&6; }
7664 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7665 $as_echo_n "(cached) " >&6
7669 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7672 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7673 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7674 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7675 for ac_dir
in $ac_dummy; do
7677 test -z "$ac_dir" && ac_dir
=.
7678 if test -f $ac_dir/file; then
7679 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7680 if test -n "$file_magic_test_file"; then
7681 case $deplibs_check_method in
7683 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7684 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7685 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7686 $EGREP "$file_magic_regex" > /dev
/null
; then
7691 *** Warning: the command libtool uses to detect shared libraries,
7692 *** $file_magic_cmd, produces output that libtool cannot recognize.
7693 *** The result is that libtool may fail to recognize shared libraries
7694 *** as such. This will affect the creation of libtool libraries that
7695 *** depend on shared libraries, but programs linked with such libtool
7696 *** libraries will work regardless of this problem. Nevertheless, you
7697 *** may want to report the problem to your system manager and/or to
7698 *** bug-libtool@gnu.org
7708 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7713 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7714 if test -n "$MAGIC_CMD"; then
7715 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7716 $as_echo "$MAGIC_CMD" >&6; }
7718 { $as_echo "$as_me:$LINENO: result: no" >&5
7719 $as_echo "no" >&6; }
7732 # Use C for the default configuration in the libtool script
7736 ac_cpp
='$CPP $CPPFLAGS'
7737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7742 # Source file extension for C test sources.
7745 # Object file extension for compiled C test sources.
7749 # Code to be used in simple compile tests
7750 lt_simple_compile_test_code
="int some_variable = 0;"
7752 # Code to be used in simple link tests
7753 lt_simple_link_test_code
='int main(){return(0);}'
7761 # If no C compiler was specified, use CC.
7764 # If no C compiler flags were specified, use CFLAGS.
7765 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7767 # Allow CC to be a program name with arguments.
7770 # Save the default compiler, since it gets overwritten when the other
7771 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7772 compiler_DEFAULT
=$CC
7774 # save warnings/boilerplate of simple test code
7775 ac_outfile
=conftest.
$ac_objext
7776 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7777 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7778 _lt_compiler_boilerplate
=`cat conftest.err`
7781 ac_outfile
=conftest.
$ac_objext
7782 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7783 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7784 _lt_linker_boilerplate
=`cat conftest.err`
7788 if test -n "$compiler"; then
7790 lt_prog_compiler_no_builtin_flag
=
7792 if test "$GCC" = yes; then
7793 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7795 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7796 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7797 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7798 $as_echo_n "(cached) " >&6
7800 lt_cv_prog_compiler_rtti_exceptions
=no
7801 ac_outfile
=conftest.
$ac_objext
7802 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7803 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7804 # Insert the option either (1) after the last *FLAGS variable, or
7805 # (2) before a word containing "conftest.", or (3) at the end.
7806 # Note that $ac_compile itself does not contain backslashes and begins
7807 # with a dollar sign (not a hyphen), so the echo should work correctly.
7808 # The option is referenced via a variable to avoid confusing sed.
7809 lt_compile
=`echo "$ac_compile" | $SED \
7810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7812 -e 's:$: $lt_compiler_flag:'`
7813 (eval echo "\"\$as_me:7813: $lt_compile\"" >&5)
7814 (eval "$lt_compile" 2>conftest.err
)
7816 cat conftest.err
>&5
7817 echo "$as_me:7817: \$? = $ac_status" >&5
7818 if (exit $ac_status) && test -s "$ac_outfile"; then
7819 # The compiler can only warn and ignore the option if not recognized
7820 # So say no if there are warnings other than the usual output.
7821 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7822 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7823 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7824 lt_cv_prog_compiler_rtti_exceptions
=yes
7830 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7831 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7833 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7834 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7846 lt_prog_compiler_wl
=
7847 lt_prog_compiler_pic
=
7848 lt_prog_compiler_static
=
7850 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7851 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7853 if test "$GCC" = yes; then
7854 lt_prog_compiler_wl
='-Wl,'
7855 lt_prog_compiler_static
='-static'
7859 # All AIX code is PIC.
7860 if test "$host_cpu" = ia64
; then
7861 # AIX 5 now supports IA64 processor
7862 lt_prog_compiler_static
='-Bstatic'
7869 # see comment about AmigaOS4 .so support
7870 lt_prog_compiler_pic
='-fPIC'
7873 # FIXME: we need at least 68020 code to build shared libraries, but
7874 # adding the `-m68020' flag to GCC prevents building anything better,
7876 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7881 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7882 # PIC is the default for these OSes.
7885 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7886 # This hack is so that the source file can tell whether it is being
7887 # built for inclusion in a dll (and should export symbols for example).
7888 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7889 # (--disable-auto-import) libraries
7890 lt_prog_compiler_pic
='-DDLL_EXPORT'
7893 darwin
* | rhapsody
*)
7894 # PIC is the default on this platform
7895 # Common symbols not allowed in MH_DYLIB files
7896 lt_prog_compiler_pic
='-fno-common'
7900 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7901 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7902 # sets the default TLS model and affects inlining.
7908 lt_prog_compiler_pic
='-fPIC'
7914 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7915 # Instead, we relocate shared libraries at runtime.
7919 # Just because we use GCC doesn't mean we suddenly get shared libraries
7920 # on systems that don't support them.
7921 lt_prog_compiler_can_build_shared
=no
7926 # QNX uses GNU C++, but need to define -shared option too, otherwise
7928 lt_prog_compiler_pic
='-fPIC -shared'
7932 if test -d /usr
/nec
; then
7933 lt_prog_compiler_pic
=-Kconform_pic
7938 lt_prog_compiler_pic
='-fPIC'
7942 # PORTME Check for flag to pass linker flags through the system compiler.
7945 lt_prog_compiler_wl
='-Wl,'
7946 if test "$host_cpu" = ia64
; then
7947 # AIX 5 now supports IA64 processor
7948 lt_prog_compiler_static
='-Bstatic'
7950 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7954 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7955 # This hack is so that the source file can tell whether it is being
7956 # built for inclusion in a dll (and should export symbols for example).
7957 lt_prog_compiler_pic
='-DDLL_EXPORT'
7960 hpux9
* | hpux10
* | hpux11
*)
7961 lt_prog_compiler_wl
='-Wl,'
7962 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7969 lt_prog_compiler_pic
='+Z'
7972 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7973 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7976 irix5
* | irix6
* | nonstopux
*)
7977 lt_prog_compiler_wl
='-Wl,'
7978 # PIC (with -KPIC) is the default.
7979 lt_prog_compiler_static
='-non_shared'
7982 linux
* | k
*bsd
*-gnu)
7983 case $cc_basename in
7984 # old Intel for x86_64 which still supported -KPIC.
7986 lt_prog_compiler_wl
='-Wl,'
7987 lt_prog_compiler_pic
='-KPIC'
7988 lt_prog_compiler_static
='-static'
7990 # icc used to be incompatible with GCC.
7991 # ICC 10 doesn't accept -KPIC any more.
7993 lt_prog_compiler_wl
='-Wl,'
7994 lt_prog_compiler_pic
='-fPIC'
7995 lt_prog_compiler_static
='-static'
7997 # Lahey Fortran 8.1.
7999 lt_prog_compiler_wl
='-Wl,'
8000 lt_prog_compiler_pic
='--shared'
8001 lt_prog_compiler_static
='--static'
8003 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8004 # Portland Group compilers (*not* the Pentium gcc compiler,
8005 # which looks to be a dead project)
8006 lt_prog_compiler_wl
='-Wl,'
8007 lt_prog_compiler_pic
='-fpic'
8008 lt_prog_compiler_static
='-Bstatic'
8011 lt_prog_compiler_wl
='-Wl,'
8012 # All Alpha code is PIC.
8013 lt_prog_compiler_static
='-non_shared'
8016 # IBM XL C 8.0/Fortran 10.1 on PPC
8017 lt_prog_compiler_wl
='-Wl,'
8018 lt_prog_compiler_pic
='-qpic'
8019 lt_prog_compiler_static
='-qstaticlink'
8022 case `$CC -V 2>&1 | sed 5q` in
8025 lt_prog_compiler_pic
='-KPIC'
8026 lt_prog_compiler_static
='-Bstatic'
8027 lt_prog_compiler_wl
='-Wl,'
8030 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8031 lt_prog_compiler_pic
='-KPIC'
8032 lt_prog_compiler_static
='-Bstatic'
8033 lt_prog_compiler_wl
=''
8041 lt_prog_compiler_pic
='-KPIC'
8042 lt_prog_compiler_static
='-Bstatic'
8046 # QNX uses GNU C++, but need to define -shared option too, otherwise
8048 lt_prog_compiler_pic
='-fPIC -shared'
8051 osf3
* | osf4
* | osf5
*)
8052 lt_prog_compiler_wl
='-Wl,'
8053 # All OSF/1 code is PIC.
8054 lt_prog_compiler_static
='-non_shared'
8058 lt_prog_compiler_static
='-non_shared'
8062 lt_prog_compiler_pic
='-KPIC'
8063 lt_prog_compiler_static
='-Bstatic'
8064 case $cc_basename in
8066 lt_prog_compiler_wl
='-Qoption ld ';;
8068 lt_prog_compiler_wl
='-Wl,';;
8073 lt_prog_compiler_wl
='-Qoption ld '
8074 lt_prog_compiler_pic
='-PIC'
8075 lt_prog_compiler_static
='-Bstatic'
8078 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8079 lt_prog_compiler_wl
='-Wl,'
8080 lt_prog_compiler_pic
='-KPIC'
8081 lt_prog_compiler_static
='-Bstatic'
8085 if test -d /usr
/nec
;then
8086 lt_prog_compiler_pic
='-Kconform_pic'
8087 lt_prog_compiler_static
='-Bstatic'
8091 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8092 lt_prog_compiler_wl
='-Wl,'
8093 lt_prog_compiler_pic
='-KPIC'
8094 lt_prog_compiler_static
='-Bstatic'
8098 lt_prog_compiler_wl
='-Wl,'
8099 lt_prog_compiler_can_build_shared
=no
8103 lt_prog_compiler_pic
='-pic'
8104 lt_prog_compiler_static
='-Bstatic'
8108 lt_prog_compiler_can_build_shared
=no
8114 # For platforms which do not support PIC, -DPIC is meaningless:
8116 lt_prog_compiler_pic
=
8119 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8122 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8123 $as_echo "$lt_prog_compiler_pic" >&6; }
8131 # Check to make sure the PIC flag actually works.
8133 if test -n "$lt_prog_compiler_pic"; then
8134 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8135 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8136 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8137 $as_echo_n "(cached) " >&6
8139 lt_cv_prog_compiler_pic_works
=no
8140 ac_outfile
=conftest.
$ac_objext
8141 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8142 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8143 # Insert the option either (1) after the last *FLAGS variable, or
8144 # (2) before a word containing "conftest.", or (3) at the end.
8145 # Note that $ac_compile itself does not contain backslashes and begins
8146 # with a dollar sign (not a hyphen), so the echo should work correctly.
8147 # The option is referenced via a variable to avoid confusing sed.
8148 lt_compile
=`echo "$ac_compile" | $SED \
8149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8151 -e 's:$: $lt_compiler_flag:'`
8152 (eval echo "\"\$as_me:8152: $lt_compile\"" >&5)
8153 (eval "$lt_compile" 2>conftest.err
)
8155 cat conftest.err
>&5
8156 echo "$as_me:8156: \$? = $ac_status" >&5
8157 if (exit $ac_status) && test -s "$ac_outfile"; then
8158 # The compiler can only warn and ignore the option if not recognized
8159 # So say no if there are warnings other than the usual output.
8160 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8161 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8162 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8163 lt_cv_prog_compiler_pic_works
=yes
8169 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8170 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8172 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8173 case $lt_prog_compiler_pic in
8175 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8178 lt_prog_compiler_pic
=
8179 lt_prog_compiler_can_build_shared
=no
8190 # Check to make sure the static flag actually works.
8192 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8193 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8194 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8195 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8196 $as_echo_n "(cached) " >&6
8198 lt_cv_prog_compiler_static_works
=no
8199 save_LDFLAGS
="$LDFLAGS"
8200 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8201 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8202 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8203 # The linker can only warn and ignore the option if not recognized
8204 # So say no if there are warnings
8205 if test -s conftest.err
; then
8206 # Append any errors to the config.log.
8207 cat conftest.err
1>&5
8208 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8209 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8210 if diff conftest.exp conftest.er2
>/dev
/null
; then
8211 lt_cv_prog_compiler_static_works
=yes
8214 lt_cv_prog_compiler_static_works
=yes
8218 LDFLAGS
="$save_LDFLAGS"
8221 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8222 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8224 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8227 lt_prog_compiler_static
=
8236 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8237 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8238 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8239 $as_echo_n "(cached) " >&6
8241 lt_cv_prog_compiler_c_o
=no
8242 $RM -r conftest
2>/dev
/null
8246 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8248 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8249 # Insert the option either (1) after the last *FLAGS variable, or
8250 # (2) before a word containing "conftest.", or (3) at the end.
8251 # Note that $ac_compile itself does not contain backslashes and begins
8252 # with a dollar sign (not a hyphen), so the echo should work correctly.
8253 lt_compile
=`echo "$ac_compile" | $SED \
8254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8256 -e 's:$: $lt_compiler_flag:'`
8257 (eval echo "\"\$as_me:8257: $lt_compile\"" >&5)
8258 (eval "$lt_compile" 2>out
/conftest.err
)
8260 cat out
/conftest.err
>&5
8261 echo "$as_me:8261: \$? = $ac_status" >&5
8262 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8264 # The compiler can only warn and ignore the option if not recognized
8265 # So say no if there are warnings
8266 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8267 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8268 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8269 lt_cv_prog_compiler_c_o
=yes
8274 # SGI C++ compiler will create directory out/ii_files/ for
8275 # template instantiation
8276 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8277 $RM out
/* && rmdir out
8283 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8284 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8291 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8292 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8293 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8294 $as_echo_n "(cached) " >&6
8296 lt_cv_prog_compiler_c_o
=no
8297 $RM -r conftest
2>/dev
/null
8301 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8303 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8304 # Insert the option either (1) after the last *FLAGS variable, or
8305 # (2) before a word containing "conftest.", or (3) at the end.
8306 # Note that $ac_compile itself does not contain backslashes and begins
8307 # with a dollar sign (not a hyphen), so the echo should work correctly.
8308 lt_compile
=`echo "$ac_compile" | $SED \
8309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8311 -e 's:$: $lt_compiler_flag:'`
8312 (eval echo "\"\$as_me:8312: $lt_compile\"" >&5)
8313 (eval "$lt_compile" 2>out
/conftest.err
)
8315 cat out
/conftest.err
>&5
8316 echo "$as_me:8316: \$? = $ac_status" >&5
8317 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8319 # The compiler can only warn and ignore the option if not recognized
8320 # So say no if there are warnings
8321 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8322 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8323 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8324 lt_cv_prog_compiler_c_o
=yes
8329 # SGI C++ compiler will create directory out/ii_files/ for
8330 # template instantiation
8331 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8332 $RM out
/* && rmdir out
8338 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8339 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8344 hard_links
="nottested"
8345 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8346 # do not overwrite the value of need_locks provided by the user
8347 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8348 $as_echo_n "checking if we can lock with hard links... " >&6; }
8351 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8353 ln conftest.a conftest.b
2>&5 || hard_links
=no
8354 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8355 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8356 $as_echo "$hard_links" >&6; }
8357 if test "$hard_links" = no
; then
8358 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8359 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8371 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8372 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8375 allow_undefined_flag
=
8376 always_export_symbols
=no
8378 archive_expsym_cmds
=
8379 compiler_needs_object
=no
8380 enable_shared_with_static_runtimes
=no
8381 export_dynamic_flag_spec
=
8382 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8383 hardcode_automatic
=no
8385 hardcode_direct_absolute
=no
8386 hardcode_libdir_flag_spec
=
8387 hardcode_libdir_flag_spec_ld
=
8388 hardcode_libdir_separator
=
8390 hardcode_shlibpath_var
=unsupported
8392 link_all_deplibs
=unknown
8395 old_archive_from_new_cmds
=
8396 old_archive_from_expsyms_cmds
=
8397 thread_safe_flag_spec
=
8398 whole_archive_flag_spec
=
8399 # include_expsyms should be a list of space-separated symbols to be *always*
8400 # included in the symbol list
8402 # exclude_expsyms can be an extended regexp of symbols to exclude
8403 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8404 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8405 # as well as any symbol that contains `d'.
8406 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8407 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8408 # platforms (ab)use it in PIC code, but their linkers get confused if
8409 # the symbol is explicitly referenced. Since portable code cannot
8410 # rely on this symbol name, it's probably fine to never include it in
8411 # preloaded symbol tables.
8412 # Exclude shared library initialization/finalization symbols.
8413 extract_expsyms_cmds
=
8416 cygwin
* | mingw
* | pw32
* | cegcc
*)
8417 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8418 # When not using gcc, we currently assume that we are using
8419 # Microsoft Visual C++.
8420 if test "$GCC" != yes; then
8425 # we just hope/assume this is gcc and not c89 (= MSVC++)
8434 if test "$with_gnu_ld" = yes; then
8435 # If archive_cmds runs LD, not CC, wlarc should be empty
8438 # Set some defaults for GNU ld with shared library support. These
8439 # are reset later if shared libraries are not supported. Putting them
8440 # here allows them to be overridden if necessary.
8441 runpath_var
=LD_RUN_PATH
8442 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8443 export_dynamic_flag_spec
='${wl}--export-dynamic'
8444 # ancient GNU ld didn't support --whole-archive et. al.
8445 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8446 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8448 whole_archive_flag_spec
=
8450 supports_anon_versioning
=no
8451 case `$LD -v 2>&1` in
8452 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8453 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8454 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8455 *\
2.11.
*) ;; # other 2.11 versions
8456 *) supports_anon_versioning
=yes ;;
8459 # See if GNU ld supports shared libraries.
8462 # On AIX/PPC, the GNU linker is very broken
8463 if test "$host_cpu" != ia64
; then
8467 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8468 *** to be unable to reliably create shared libraries on AIX.
8469 *** Therefore, libtool is disabling shared libraries support. If you
8470 *** really care for shared libraries, you may want to modify your PATH
8471 *** so that a non-GNU linker is found, and then restart.
8480 # see comment about AmigaOS4 .so support
8481 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8482 archive_expsym_cmds
=''
8485 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)'
8486 hardcode_libdir_flag_spec
='-L$libdir'
8487 hardcode_minus_L
=yes
8493 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8494 allow_undefined_flag
=unsupported
8495 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8496 # support --undefined. This deserves some investigation. FIXME
8497 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8503 cygwin
* | mingw
* | pw32
* | cegcc
*)
8504 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8505 # as there is no search path for DLLs.
8506 hardcode_libdir_flag_spec
='-L$libdir'
8507 allow_undefined_flag
=unsupported
8508 always_export_symbols
=no
8509 enable_shared_with_static_runtimes
=yes
8510 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8512 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8513 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8514 # If the export-symbols file already is a .def file (1st line
8515 # is EXPORTS), use it as is; otherwise, prepend...
8516 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8517 cp $export_symbols $output_objdir/$soname.def;
8519 echo EXPORTS > $output_objdir/$soname.def;
8520 cat $export_symbols >> $output_objdir/$soname.def;
8522 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8530 hardcode_shlibpath_var
=no
8531 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8532 export_dynamic_flag_spec
='${wl}-E'
8533 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8534 # Instead, shared libraries are loaded at an image base (0x10000000 by
8535 # default) and relocated if they conflict, which is a slow very memory
8536 # consuming and fragmenting process. To avoid this, we pick a random,
8537 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8538 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8539 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8540 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'
8543 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8545 if test "$host_os" = linux-dietlibc
; then
8546 case $cc_basename in
8547 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8550 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8551 && test "$tmp_diet" = no
8554 tmp_sharedflag
='-shared'
8555 case $cc_basename,$host_cpu in
8556 pgcc
*) # Portland Group C compiler
8557 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'
8558 tmp_addflag
=' $pic_flag'
8560 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8561 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'
8562 tmp_addflag
=' $pic_flag -Mnomain' ;;
8563 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8564 tmp_addflag
=' -i_dynamic' ;;
8565 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8566 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8567 ifc
* | ifort
*) # Intel Fortran compiler
8568 tmp_addflag
=' -nofor_main' ;;
8569 lf95
*) # Lahey Fortran 8.1
8570 whole_archive_flag_spec
=
8571 tmp_sharedflag
='--shared' ;;
8572 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8573 tmp_sharedflag
='-qmkshrobj'
8576 case `$CC -V 2>&1 | sed 5q` in
8577 *Sun\ C
*) # Sun C 5.9
8578 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'
8579 compiler_needs_object
=yes
8580 tmp_sharedflag
='-G' ;;
8581 *Sun\ F
*) # Sun Fortran 8.3
8582 tmp_sharedflag
='-G' ;;
8584 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8586 if test "x$supports_anon_versioning" = xyes
; then
8587 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8588 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8589 echo "local: *; };" >> $output_objdir/$libname.ver~
8590 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8593 case $cc_basename in
8595 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8596 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8597 hardcode_libdir_flag_spec
=
8598 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8599 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8600 if test "x$supports_anon_versioning" = xyes
; then
8601 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8602 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8603 echo "local: *; };" >> $output_objdir/$libname.ver~
8604 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8614 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8615 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8618 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8619 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8624 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8628 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8629 *** create shared libraries on Solaris systems. Therefore, libtool
8630 *** is disabling shared libraries support. We urge you to upgrade GNU
8631 *** binutils to release 2.9.1 or newer. Another option is to modify
8632 *** your PATH or compiler configuration so that the native linker is
8633 *** used, and then restart.
8636 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8637 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8644 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8645 case `$LD -v 2>&1` in
8646 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8650 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8651 *** reliably create shared libraries on SCO systems. Therefore, libtool
8652 *** is disabling shared libraries support. We urge you to upgrade GNU
8653 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8654 *** your PATH or compiler configuration so that the native linker is
8655 *** used, and then restart.
8660 # For security reasons, it is highly recommended that you always
8661 # use absolute paths for naming shared libraries, and exclude the
8662 # DT_RUNPATH tag from executables and libraries. But doing so
8663 # requires that you compile everything twice, which is a pain.
8664 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8665 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8666 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8667 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8676 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8679 hardcode_shlibpath_var
=no
8683 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8684 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8692 if test "$ld_shlibs" = no
; then
8694 hardcode_libdir_flag_spec
=
8695 export_dynamic_flag_spec
=
8696 whole_archive_flag_spec
=
8699 # PORTME fill in a description of your system's linker (not GNU ld)
8702 allow_undefined_flag
=unsupported
8703 always_export_symbols
=yes
8704 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'
8705 # Note: this linker hardcodes the directories in LIBPATH if there
8706 # are no directories specified by -L.
8707 hardcode_minus_L
=yes
8708 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8709 # Neither direct hardcoding nor static linking is supported with a
8711 hardcode_direct
=unsupported
8716 if test "$host_cpu" = ia64
; then
8717 # On IA64, the linker does run time linking by default, so we don't
8718 # have to do anything special.
8719 aix_use_runtimelinking
=no
8720 exp_sym_flag
='-Bexport'
8723 # If we're using GNU nm, then we don't want the "-C" option.
8724 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8725 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8726 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'
8728 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'
8730 aix_use_runtimelinking
=no
8732 # Test if we are trying to use run time linking or normal
8733 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8734 # need to do runtime linking.
8735 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8736 for ld_flag
in $LDFLAGS; do
8737 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8738 aix_use_runtimelinking
=yes
8745 exp_sym_flag
='-bexport'
8746 no_entry_flag
='-bnoentry'
8749 # When large executables or shared objects are built, AIX ld can
8750 # have problems creating the table of contents. If linking a library
8751 # or program results in "error TOC overflow" add -mminimal-toc to
8752 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8753 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8757 hardcode_direct_absolute
=yes
8758 hardcode_libdir_separator
=':'
8759 link_all_deplibs
=yes
8760 file_list_spec
='${wl}-f,'
8762 if test "$GCC" = yes; then
8763 case $host_os in aix4.
[012]|aix4.
[012].
*)
8764 # We only want to do this on AIX 4.2 and lower, the check
8765 # below for broken collect2 doesn't work under 4.3+
8766 collect2name
=`${CC} -print-prog-name=collect2`
8767 if test -f "$collect2name" &&
8768 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8770 # We have reworked collect2
8773 # We have old collect2
8774 hardcode_direct
=unsupported
8775 # It fails to find uninstalled libraries when the uninstalled
8776 # path is not listed in the libpath. Setting hardcode_minus_L
8777 # to unsupported forces relinking
8778 hardcode_minus_L
=yes
8779 hardcode_libdir_flag_spec
='-L$libdir'
8780 hardcode_libdir_separator
=
8784 shared_flag
='-shared'
8785 if test "$aix_use_runtimelinking" = yes; then
8786 shared_flag
="$shared_flag "'${wl}-G'
8790 if test "$host_cpu" = ia64
; then
8791 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8792 # chokes on -Wl,-G. The following line is correct:
8795 if test "$aix_use_runtimelinking" = yes; then
8796 shared_flag
='${wl}-G'
8798 shared_flag
='${wl}-bM:SRE'
8803 export_dynamic_flag_spec
='${wl}-bexpall'
8804 # It seems that -bexpall does not export symbols beginning with
8805 # underscore (_), so it is better to generate a list of symbols to export.
8806 always_export_symbols
=yes
8807 if test "$aix_use_runtimelinking" = yes; then
8808 # Warning - without using the other runtime loading flags (-brtl),
8809 # -berok will link without error, but may produce a broken library.
8810 allow_undefined_flag
='-berok'
8811 # Determine the default libpath from the value encoded in an
8813 cat >conftest.
$ac_ext <<_ACEOF
8816 cat confdefs.h
>>conftest.
$ac_ext
8817 cat >>conftest.
$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8828 rm -f conftest.
$ac_objext conftest
$ac_exeext
8829 if { (ac_try
="$ac_link"
8831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8832 *) ac_try_echo=$ac_try;;
8834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8835 $as_echo "$ac_try_echo") >&5
8836 (eval "$ac_link") 2>conftest.er1
8838 grep -v '^ *+' conftest.er1 >conftest.err
8840 cat conftest.err >&5
8841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); } && {
8843 test -z "$ac_c_werror_flag" ||
8844 test ! -s conftest.err
8845 } && test -s conftest$ac_exeext && {
8846 test "$cross_compiling" = yes ||
8847 $as_test_x conftest$ac_exeext
8850 lt_aix_libpath_sed='
8851 /Import File Strings/,/^$/ {
8857 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8858 # Check for a 64-bit object if we didn't find anything.
8859 if test -z "$aix_libpath"; then
8860 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8863 $as_echo "$as_me: failed program was:" >&5
8864 sed 's/^/| /' conftest.$ac_ext >&5
8869 rm -rf conftest.dSYM
8870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8871 conftest$ac_exeext conftest.$ac_ext
8872 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8874 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8875 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"
8877 if test "$host_cpu" = ia64; then
8878 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8879 allow_undefined_flag="-z nodefs"
8880 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"
8882 # Determine the default libpath from the value encoded in an
8884 cat >conftest.$ac_ext <<_ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8899 rm -f conftest.$ac_objext conftest$ac_exeext
8900 if { (ac_try="$ac_link"
8902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8903 *) ac_try_echo
=$ac_try;;
8905 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8906 $as_echo "$ac_try_echo") >&5
8907 (eval "$ac_link") 2>conftest.er1
8909 grep -v '^ *+' conftest.er1
>conftest.err
8911 cat conftest.err
>&5
8912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } && {
8914 test -z "$ac_c_werror_flag" ||
8915 test ! -s conftest.err
8916 } && test -s conftest
$ac_exeext && {
8917 test "$cross_compiling" = yes ||
8918 $as_test_x conftest
$ac_exeext
8921 lt_aix_libpath_sed
='
8922 /Import File Strings/,/^$/ {
8928 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8929 # Check for a 64-bit object if we didn't find anything.
8930 if test -z "$aix_libpath"; then
8931 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 $as_echo "$as_me: failed program was:" >&5
8935 sed 's/^/| /' conftest.
$ac_ext >&5
8940 rm -rf conftest.dSYM
8941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8942 conftest
$ac_exeext conftest.
$ac_ext
8943 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8945 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8946 # Warning - without using the other run time loading flags,
8947 # -berok will link without error, but may produce a broken library.
8948 no_undefined_flag
=' ${wl}-bernotok'
8949 allow_undefined_flag
=' ${wl}-berok'
8950 # Exported symbols can be pulled into shared objects from archives
8951 whole_archive_flag_spec
='$convenience'
8952 archive_cmds_need_lc
=yes
8953 # This is similar to how AIX traditionally builds its shared libraries.
8954 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'
8962 # see comment about AmigaOS4 .so support
8963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8964 archive_expsym_cmds
=''
8967 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)'
8968 hardcode_libdir_flag_spec
='-L$libdir'
8969 hardcode_minus_L
=yes
8975 export_dynamic_flag_spec
=-rdynamic
8978 cygwin
* | mingw
* | pw32
* | cegcc
*)
8979 # When not using gcc, we currently assume that we are using
8980 # Microsoft Visual C++.
8981 # hardcode_libdir_flag_spec is actually meaningless, as there is
8982 # no search path for DLLs.
8983 hardcode_libdir_flag_spec
=' '
8984 allow_undefined_flag
=unsupported
8985 # Tell ltmain to make .lib files, not .a files.
8987 # Tell ltmain to make .dll files, not .so files.
8989 # FIXME: Setting linknames here is a bad hack.
8990 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8991 # The linker will automatically build a .lib file if we build a DLL.
8992 old_archive_from_new_cmds
='true'
8993 # FIXME: Should let the user specify the lib program.
8994 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8995 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8996 enable_shared_with_static_runtimes
=yes
8999 darwin
* | rhapsody
*)
9002 archive_cmds_need_lc
=no
9004 hardcode_automatic
=yes
9005 hardcode_shlibpath_var
=unsupported
9006 whole_archive_flag_spec
=''
9007 link_all_deplibs
=yes
9008 allow_undefined_flag
="$_lt_dar_allow_undefined"
9009 case $cc_basename in
9010 ifort
*) _lt_dar_can_shared
=yes ;;
9011 *) _lt_dar_can_shared
=$GCC ;;
9013 if test "$_lt_dar_can_shared" = "yes"; then
9014 output_verbose_link_cmd
=echo
9015 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9016 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9017 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}"
9018 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}"
9027 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9028 hardcode_libdir_flag_spec
='-L$libdir'
9029 hardcode_shlibpath_var
=no
9036 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9037 # support. Future versions do this automatically, but an explicit c++rt0.o
9038 # does not break anything, and helps significantly (at the cost of a little
9041 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9042 hardcode_libdir_flag_spec
='-R$libdir'
9044 hardcode_shlibpath_var
=no
9047 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9049 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9051 hardcode_minus_L
=yes
9052 hardcode_shlibpath_var
=no
9055 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9056 freebsd
* | dragonfly
*)
9057 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9058 hardcode_libdir_flag_spec
='-R$libdir'
9060 hardcode_shlibpath_var
=no
9064 if test "$GCC" = yes; then
9065 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'
9067 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'
9069 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9070 hardcode_libdir_separator
=:
9073 # hardcode_minus_L: Not really in the search PATH,
9074 # but as the default location of the library.
9075 hardcode_minus_L
=yes
9076 export_dynamic_flag_spec
='${wl}-E'
9080 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9081 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9083 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9085 if test "$with_gnu_ld" = no
; then
9086 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9087 hardcode_libdir_flag_spec_ld
='+b $libdir'
9088 hardcode_libdir_separator
=:
9090 hardcode_direct_absolute
=yes
9091 export_dynamic_flag_spec
='${wl}-E'
9092 # hardcode_minus_L: Not really in the search PATH,
9093 # but as the default location of the library.
9094 hardcode_minus_L
=yes
9099 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9102 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9105 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9108 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9124 if test "$with_gnu_ld" = no
; then
9125 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9126 hardcode_libdir_separator
=:
9131 hardcode_shlibpath_var
=no
9135 hardcode_direct_absolute
=yes
9136 export_dynamic_flag_spec
='${wl}-E'
9138 # hardcode_minus_L: Not really in the search PATH,
9139 # but as the default location of the library.
9140 hardcode_minus_L
=yes
9146 irix5
* | irix6
* | nonstopux
*)
9147 if test "$GCC" = yes; then
9148 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'
9149 # Try to use the -exported_symbol ld option, if it does not
9150 # work, assume that -exports_file does not work either and
9151 # implicitly export all symbols.
9152 save_LDFLAGS
="$LDFLAGS"
9153 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9154 cat >conftest.
$ac_ext <<_ACEOF
9157 rm -f conftest.
$ac_objext conftest
$ac_exeext
9158 if { (ac_try
="$ac_link"
9160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9161 *) ac_try_echo=$ac_try;;
9163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9164 $as_echo "$ac_try_echo") >&5
9165 (eval "$ac_link") 2>conftest.er1
9167 grep -v '^ *+' conftest.er1 >conftest.err
9169 cat conftest.err >&5
9170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } && {
9172 test -z "$ac_c_werror_flag" ||
9173 test ! -s conftest.err
9174 } && test -s conftest$ac_exeext && {
9175 test "$cross_compiling" = yes ||
9176 $as_test_x conftest$ac_exeext
9178 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'
9181 $as_echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.$ac_ext >&5
9187 rm -rf conftest.dSYM
9188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9189 conftest$ac_exeext conftest.$ac_ext
9190 LDFLAGS="$save_LDFLAGS"
9192 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'
9193 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'
9195 archive_cmds_need_lc='no'
9196 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9197 hardcode_libdir_separator=:
9199 link_all_deplibs=yes
9203 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9204 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9206 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9208 hardcode_libdir_flag_spec='-R$libdir'
9210 hardcode_shlibpath_var=no
9214 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9216 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9217 hardcode_libdir_separator=:
9218 hardcode_shlibpath_var=no
9225 if test -f /usr/libexec/ld.so; then
9227 hardcode_shlibpath_var=no
9228 hardcode_direct_absolute=yes
9229 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9230 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9231 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233 export_dynamic_flag_spec='${wl}-E'
9236 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9237 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9238 hardcode_libdir_flag_spec='-R$libdir'
9241 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9242 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9252 hardcode_libdir_flag_spec='-L$libdir'
9253 hardcode_minus_L=yes
9254 allow_undefined_flag=unsupported
9255 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'
9256 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9260 if test "$GCC" = yes; then
9261 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9262 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'
9264 allow_undefined_flag=' -expect_unresolved \*'
9265 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'
9267 archive_cmds_need_lc='no'
9268 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9269 hardcode_libdir_separator=:
9272 osf4* | osf5*) # as osf3* with the addition of -msym flag
9273 if test "$GCC" = yes; then
9274 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9275 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'
9276 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9278 allow_undefined_flag=' -expect_unresolved \*'
9279 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'
9280 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~
9281 $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'
9283 # Both c and cxx compiler support -rpath directly
9284 hardcode_libdir_flag_spec='-rpath $libdir'
9286 archive_cmds_need_lc='no'
9287 hardcode_libdir_separator=:
9291 no_undefined_flag=' -z defs'
9292 if test "$GCC" = yes; then
9294 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9296 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9298 case `$CC -V 2>&1` in
9301 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9302 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9303 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9307 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9308 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9309 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9313 hardcode_libdir_flag_spec='-R$libdir'
9314 hardcode_shlibpath_var=no
9316 solaris2.[0-5] | solaris2.[0-5].*) ;;
9318 # The compiler driver will combine and reorder linker options,
9319 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9320 # but is careful enough not to reorder.
9321 # Supported since Solaris 2.6 (maybe 2.5.1?)
9322 if test "$GCC" = yes; then
9323 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9325 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9329 link_all_deplibs
=yes
9333 if test "x$host_vendor" = xsequent
; then
9334 # Use $CC to link under sequent, because it throws in some extra .o
9335 # files that make .init and .fini sections work.
9336 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9338 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9340 hardcode_libdir_flag_spec
='-L$libdir'
9342 hardcode_minus_L
=yes
9343 hardcode_shlibpath_var
=no
9347 case $host_vendor in
9349 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9350 hardcode_direct
=yes # is this really true???
9353 ## LD is ld it makes a PLAMLIB
9354 ## CC just makes a GrossModule.
9355 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9356 reload_cmds
='$CC -r -o $output$reload_objs'
9360 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9361 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9364 runpath_var
='LD_RUN_PATH'
9365 hardcode_shlibpath_var
=no
9369 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9370 hardcode_shlibpath_var
=no
9371 export_dynamic_flag_spec
='-Bexport'
9375 if test -d /usr
/nec
; then
9376 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9377 hardcode_shlibpath_var
=no
9378 runpath_var
=LD_RUN_PATH
9379 hardcode_runpath_var
=yes
9384 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9385 no_undefined_flag
='${wl}-z,text'
9386 archive_cmds_need_lc
=no
9387 hardcode_shlibpath_var
=no
9388 runpath_var
='LD_RUN_PATH'
9390 if test "$GCC" = yes; then
9391 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9392 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9395 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9399 sysv5
* | sco3.2v5
* | sco5v6
*)
9400 # Note: We can NOT use -z defs as we might desire, because we do not
9401 # link with -lc, and that would cause any symbols used from libc to
9402 # always be unresolved, which means just about no library would
9403 # ever link correctly. If we're not using GNU ld we use -z text
9404 # though, which does catch some bad symbols but isn't as heavy-handed
9406 no_undefined_flag
='${wl}-z,text'
9407 allow_undefined_flag
='${wl}-z,nodefs'
9408 archive_cmds_need_lc
=no
9409 hardcode_shlibpath_var
=no
9410 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9411 hardcode_libdir_separator
=':'
9412 link_all_deplibs
=yes
9413 export_dynamic_flag_spec
='${wl}-Bexport'
9414 runpath_var
='LD_RUN_PATH'
9416 if test "$GCC" = yes; then
9417 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9418 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9420 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9421 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9426 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9427 hardcode_libdir_flag_spec
='-L$libdir'
9428 hardcode_shlibpath_var
=no
9436 if test x
$host_vendor = xsni
; then
9438 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9439 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9445 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9446 $as_echo "$ld_shlibs" >&6; }
9447 test "$ld_shlibs" = no
&& can_build_shared
=no
9449 with_gnu_ld
=$with_gnu_ld
9466 # Do we need to explicitly link libc?
9468 case "x$archive_cmds_need_lc" in
9470 # Assume -lc should be added
9471 archive_cmds_need_lc
=yes
9473 if test "$enable_shared" = yes && test "$GCC" = yes; then
9474 case $archive_cmds in
9476 # FIXME: we may have to deal with multi-command sequences.
9479 # Test whether the compiler implicitly links with -lc since on some
9480 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9481 # to ld, don't add -lc before -lgcc.
9482 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9483 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9485 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9488 (eval $ac_compile) 2>&5
9490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } 2>conftest.err
; then
9494 libobjs
=conftest.
$ac_objext
9496 wl
=$lt_prog_compiler_wl
9497 pic_flag
=$lt_prog_compiler_pic
9503 lt_save_allow_undefined_flag
=$allow_undefined_flag
9504 allow_undefined_flag
=
9505 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9506 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); }
9511 archive_cmds_need_lc
=no
9513 archive_cmds_need_lc
=yes
9515 allow_undefined_flag
=$lt_save_allow_undefined_flag
9517 cat conftest.err
1>&5
9520 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9521 $as_echo "$archive_cmds_need_lc" >&6; }
9684 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9685 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9687 if test "$GCC" = yes; then
9689 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9690 *) lt_awk_arg
="/^libraries:/" ;;
9692 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9693 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9694 # if the path contains ";" then we assume it to be the separator
9695 # otherwise default to the standard path separator (i.e. ":") - it is
9696 # assumed that no part of a normal pathname contains ";" but that should
9697 # okay in the real world where ";" in dirpaths is itself problematic.
9698 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9700 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9702 # Ok, now we have the path, separated by spaces, we can step through it
9703 # and add multilib dir if necessary.
9704 lt_tmp_lt_search_path_spec
=
9705 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9706 for lt_sys_path
in $lt_search_path_spec; do
9707 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9708 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9710 test -d "$lt_sys_path" && \
9711 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9714 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9715 BEGIN {RS=" "; FS="/|\n";} {
9718 for (lt_i = NF; lt_i > 0; lt_i--) {
9719 if ($lt_i != "" && $lt_i != ".") {
9720 if ($lt_i == "..") {
9723 if (lt_count == 0) {
9724 lt_foo="/" $lt_i lt_foo;
9731 if (lt_foo != "") { lt_freq[lt_foo]++; }
9732 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9734 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9736 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9739 libname_spec
='lib$name'
9747 shlibpath_overrides_runpath
=unknown
9749 dynamic_linker
="$host_os ld.so"
9750 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9751 need_lib_prefix
=unknown
9752 hardcode_into_libs
=no
9754 # when you set need_version to no, make sure it does not cause -set_version
9755 # flags to be left without arguments
9756 need_version
=unknown
9761 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9762 shlibpath_var
=LIBPATH
9764 # AIX 3 has no versioning support, so we append a major version to the name.
9765 soname_spec
='${libname}${release}${shared_ext}$major'
9772 hardcode_into_libs
=yes
9773 if test "$host_cpu" = ia64
; then
9774 # AIX 5 supports IA64
9775 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9776 shlibpath_var
=LD_LIBRARY_PATH
9778 # With GCC up to 2.95.x, collect2 would create an import file
9779 # for dependence libraries. The import file would start with
9780 # the line `#! .'. This would cause the generated library to
9781 # depend on `.', always an invalid library. This was fixed in
9782 # development snapshots of GCC prior to 3.0.
9784 aix4 | aix4.
[01] | aix4.
[01].
*)
9785 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9787 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9794 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9795 # soname into executable. Probably we can add versioning support to
9796 # collect2, so additional links can be useful in future.
9797 if test "$aix_use_runtimelinking" = yes; then
9798 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9799 # instead of lib<name>.a to let people know that these are not
9800 # typical AIX shared libraries.
9801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9803 # We preserve .a as extension for shared libraries through AIX4.2
9804 # and later when we are not doing run time linking.
9805 library_names_spec
='${libname}${release}.a $libname.a'
9806 soname_spec
='${libname}${release}${shared_ext}$major'
9808 shlibpath_var
=LIBPATH
9815 # Since July 2007 AmigaOS4 officially supports .so libraries.
9816 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820 library_names_spec
='$libname.ixlibrary $libname.a'
9821 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9822 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'
9828 library_names_spec
='${libname}${shared_ext}'
9829 dynamic_linker
="$host_os ld.so"
9830 shlibpath_var
=LIBRARY_PATH
9836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9837 soname_spec
='${libname}${release}${shared_ext}$major'
9838 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9839 shlibpath_var
=LD_LIBRARY_PATH
9840 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9841 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9842 # the default ld.so.conf also contains /usr/contrib/lib and
9843 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9844 # libtool to hard-code these into programs
9847 cygwin
* | mingw
* | pw32
* | cegcc
*)
9848 version_type
=windows
9853 case $GCC,$host_os in
9854 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9855 library_names_spec
='$libname.dll.a'
9856 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9857 postinstall_cmds
='base_file=`basename \${file}`~
9858 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9859 dldir=$destdir/`dirname \$dlpath`~
9860 test -d \$dldir || mkdir -p \$dldir~
9861 $install_prog $dir/$dlname \$dldir/$dlname~
9862 chmod a+x \$dldir/$dlname~
9863 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9864 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9866 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9867 dlpath=$dir/\$dldll~
9869 shlibpath_overrides_runpath
=yes
9873 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9874 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9875 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9878 # MinGW DLLs use traditional 'lib' prefix
9879 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9880 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9881 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9882 # It is most probably a Windows format PATH printed by
9883 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9884 # path with ; separators, and with drive letters. We can handle the
9885 # drive letters (cygwin fileutils understands them), so leave them,
9886 # especially as we might pass files found there to a mingw objdump,
9887 # which wouldn't understand a cygwinified path. Ahh.
9888 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9890 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9894 # pw32 DLLs use 'pw' prefix rather than 'lib'
9895 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9901 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9904 dynamic_linker
='Win32 ld.exe'
9905 # FIXME: first we should search . and the directory the executable is in
9909 darwin
* | rhapsody
*)
9910 dynamic_linker
="$host_os dyld"
9914 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9915 soname_spec
='${libname}${release}${major}$shared_ext'
9916 shlibpath_overrides_runpath
=yes
9917 shlibpath_var
=DYLD_LIBRARY_PATH
9918 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9920 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9921 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9929 soname_spec
='${libname}${release}${shared_ext}$major'
9930 shlibpath_var
=LD_LIBRARY_PATH
9937 freebsd
* | dragonfly
*)
9938 # DragonFly does not have aout. When/if they implement a new
9939 # versioning mechanism, adjust this.
9940 if test -x /usr
/bin
/objformat
; then
9941 objformat
=`/usr/bin/objformat`
9944 freebsd
[123]*) objformat
=aout
;;
9948 version_type
=freebsd-
$objformat
9949 case $version_type in
9951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9956 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9960 shlibpath_var
=LD_LIBRARY_PATH
9963 shlibpath_overrides_runpath
=yes
9965 freebsd3.
[01]* | freebsdelf3.
[01]*)
9966 shlibpath_overrides_runpath
=yes
9967 hardcode_into_libs
=yes
9969 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9970 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9971 shlibpath_overrides_runpath
=no
9972 hardcode_into_libs
=yes
9974 *) # from 4.6 on, and DragonFly
9975 shlibpath_overrides_runpath
=yes
9976 hardcode_into_libs
=yes
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 hardcode_into_libs
=yes
9991 hpux9
* | hpux10
* | hpux11
*)
9992 # Give a soname corresponding to the major version so that dld.sl refuses to
9993 # link against other versions.
10000 hardcode_into_libs
=yes
10001 dynamic_linker
="$host_os dld.so"
10002 shlibpath_var
=LD_LIBRARY_PATH
10003 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10005 soname_spec
='${libname}${release}${shared_ext}$major'
10006 if test "X$HPUX_IA64_MODE" = X32
; then
10007 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10009 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10011 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10015 hardcode_into_libs
=yes
10016 dynamic_linker
="$host_os dld.sl"
10017 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10018 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10020 soname_spec
='${libname}${release}${shared_ext}$major'
10021 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10022 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10026 dynamic_linker
="$host_os dld.sl"
10027 shlibpath_var
=SHLIB_PATH
10028 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10030 soname_spec
='${libname}${release}${shared_ext}$major'
10033 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10034 postinstall_cmds
='chmod 555 $lib'
10041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10042 soname_spec
='${libname}${release}${shared_ext}$major'
10043 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10044 shlibpath_var
=LD_LIBRARY_PATH
10045 shlibpath_overrides_runpath
=no
10046 hardcode_into_libs
=yes
10049 irix5
* | irix6
* | nonstopux
*)
10051 nonstopux
*) version_type
=nonstopux
;;
10053 if test "$lt_cv_prog_gnu_ld" = yes; then
10061 soname_spec
='${libname}${release}${shared_ext}$major'
10062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10064 irix5
* | nonstopux
*)
10065 libsuff
= shlibsuff
=
10068 case $LD in # libtool.m4 will add one of these switches to LD
10069 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10070 libsuff
= shlibsuff
= libmagic
=32-bit;;
10071 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10072 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10073 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10074 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10075 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10079 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10080 shlibpath_overrides_runpath
=no
10081 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10082 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10083 hardcode_into_libs
=yes
10086 # No shared lib support for Linux oldld, aout, or coff.
10087 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10091 # This must be Linux ELF.
10092 linux
* | k
*bsd
*-gnu)
10096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10097 soname_spec
='${libname}${release}${shared_ext}$major'
10098 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10099 shlibpath_var
=LD_LIBRARY_PATH
10100 shlibpath_overrides_runpath
=no
10101 # Some binutils ld are patched to set DT_RUNPATH
10102 save_LDFLAGS
=$LDFLAGS
10103 save_libdir
=$libdir
10104 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10105 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10106 cat >conftest.
$ac_ext <<_ACEOF
10109 cat confdefs.h
>>conftest.
$ac_ext
10110 cat >>conftest.
$ac_ext <<_ACEOF
10111 /* end confdefs.h. */
10121 rm -f conftest.
$ac_objext conftest
$ac_exeext
10122 if { (ac_try
="$ac_link"
10123 case "(($ac_try" in
10124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10125 *) ac_try_echo=$ac_try;;
10127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10128 $as_echo "$ac_try_echo") >&5
10129 (eval "$ac_link") 2>conftest.er1
10131 grep -v '^ *+' conftest.er1 >conftest.err
10133 cat conftest.err >&5
10134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); } && {
10136 test -z "$ac_c_werror_flag" ||
10137 test ! -s conftest.err
10138 } && test -s conftest$ac_exeext && {
10139 test "$cross_compiling" = yes ||
10140 $as_test_x conftest$ac_exeext
10142 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10143 shlibpath_overrides_runpath=yes
10147 $as_echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.$ac_ext >&5
10153 rm -rf conftest.dSYM
10154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10155 conftest$ac_exeext conftest.$ac_ext
10156 LDFLAGS=$save_LDFLAGS
10157 libdir=$save_libdir
10159 # This implies no fast_install, which is unacceptable.
10160 # Some rework will be needed to allow for fast_install
10161 # before this can be enabled.
10162 hardcode_into_libs=yes
10164 # Add ABI-specific directories to the system library path.
10165 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10167 # Append ld.so.conf contents to the search path
10168 if test -f /etc/ld.so.conf; then
10169 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' ' '`
10170 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10173 # We used to test for /lib/ld.so.1 and disable shared libraries on
10174 # powerpc, because MkLinux only supported shared libraries with the
10175 # GNU dynamic linker. Since this was broken with cross compilers,
10176 # most powerpc-linux boxes support dynamic linking these days and
10177 # people can always --disable-shared, the test was removed, and we
10178 # assume the GNU/Linux dynamic linker is in use.
10179 dynamic_linker='GNU/Linux ld.so'
10186 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10189 dynamic_linker='NetBSD (a.out) ld.so'
10191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10192 soname_spec='${libname}${release}${shared_ext}$major'
10193 dynamic_linker='NetBSD ld.elf_so'
10195 shlibpath_var=LD_LIBRARY_PATH
10196 shlibpath_overrides_runpath=yes
10197 hardcode_into_libs=yes
10202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10203 shlibpath_var=LD_LIBRARY_PATH
10204 shlibpath_overrides_runpath=yes
10211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10212 soname_spec='${libname}${release}${shared_ext}$major'
10213 shlibpath_var=LD_LIBRARY_PATH
10214 shlibpath_overrides_runpath=no
10215 hardcode_into_libs=yes
10216 dynamic_linker='ldqnx.so'
10221 sys_lib_dlsearch_path_spec="/usr/lib"
10223 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10225 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10226 *) need_version=no ;;
10228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10229 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10230 shlibpath_var=LD_LIBRARY_PATH
10231 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10233 openbsd2.[89] | openbsd2.[89].*)
10234 shlibpath_overrides_runpath=no
10237 shlibpath_overrides_runpath=yes
10241 shlibpath_overrides_runpath=yes
10246 libname_spec='$name'
10249 library_names_spec='$libname${shared_ext} $libname.a'
10250 dynamic_linker='OS/2 ld.exe'
10251 shlibpath_var=LIBPATH
10254 osf3* | osf4* | osf5*)
10258 soname_spec='${libname}${release}${shared_ext}$major'
10259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10260 shlibpath_var=LD_LIBRARY_PATH
10261 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10262 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10274 soname_spec='${libname}${release}${shared_ext}$major'
10275 shlibpath_var=LD_LIBRARY_PATH
10276 shlibpath_overrides_runpath=yes
10277 hardcode_into_libs=yes
10278 # ldd complains unless libraries are executable
10279 postinstall_cmds='chmod +x $lib'
10284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10285 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10286 shlibpath_var=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath=yes
10288 if test "$with_gnu_ld" = yes; then
10296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10297 soname_spec='${libname}${release}${shared_ext}$major'
10298 shlibpath_var=LD_LIBRARY_PATH
10299 case $host_vendor in
10301 shlibpath_overrides_runpath=no
10303 runpath_var=LD_RUN_PATH
10311 shlibpath_overrides_runpath=no
10312 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10318 if test -d /usr/nec ;then
10320 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10321 soname_spec='$libname${shared_ext}.$major'
10322 shlibpath_var=LD_LIBRARY_PATH
10326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10327 version_type=freebsd-elf
10330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10331 soname_spec='${libname}${release}${shared_ext}$major'
10332 shlibpath_var=LD_LIBRARY_PATH
10333 shlibpath_overrides_runpath=yes
10334 hardcode_into_libs=yes
10335 if test "$with_gnu_ld" = yes; then
10336 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10338 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10341 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10345 sys_lib_dlsearch_path_spec='/usr/lib'
10349 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10354 shlibpath_var=LD_LIBRARY_PATH
10355 shlibpath_overrides_runpath=no
10356 hardcode_into_libs=yes
10361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362 soname_spec='${libname}${release}${shared_ext}$major'
10363 shlibpath_var=LD_LIBRARY_PATH
10370 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10371 $as_echo "$dynamic_linker" >&6; }
10372 test "$dynamic_linker" = no && can_build_shared=no
10374 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10375 if test "$GCC" = yes; then
10376 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10379 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10380 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10382 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10383 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10472 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10473 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10475 if test -n "$hardcode_libdir_flag_spec" ||
10476 test -n "$runpath_var" ||
10477 test "X$hardcode_automatic" = "Xyes" ; then
10479 # We can hardcode non-existent directories.
10480 if test "$hardcode_direct" != no &&
10481 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10482 # have to relink, otherwise we might link with an installed library
10483 # when we should be linking with a yet-to-be-installed one
10484 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10485 test "$hardcode_minus_L" != no; then
10486 # Linking always hardcodes the temporary library directory.
10487 hardcode_action=relink
10489 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10490 hardcode_action=immediate
10493 # We cannot hardcode anything, or else we can only hardcode existing
10495 hardcode_action=unsupported
10497 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10498 $as_echo "$hardcode_action" >&6; }
10500 if test "$hardcode_action" = relink ||
10501 test "$inherit_rpath" = yes; then
10502 # Fast installation is not supported
10503 enable_fast_install=no
10504 elif test "$shlibpath_overrides_runpath" = yes ||
10505 test "$enable_shared" = no; then
10506 # Fast installation is not necessary
10507 enable_fast_install=needless
10515 if test "x$enable_dlopen" != xyes; then
10516 enable_dlopen=unknown
10517 enable_dlopen_self=unknown
10518 enable_dlopen_self_static=unknown
10525 lt_cv_dlopen="load_add_on"
10527 lt_cv_dlopen_self=yes
10530 mingw* | pw32* | cegcc*)
10531 lt_cv_dlopen="LoadLibrary"
10536 lt_cv_dlopen="dlopen"
10541 # if libdl is installed we need to link against it
10542 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10543 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10544 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10545 $as_echo_n "(cached) " >&6
10547 ac_check_lib_save_LIBS=$LIBS
10549 cat >conftest.$ac_ext <<_ACEOF
10552 cat confdefs.h >>conftest.$ac_ext
10553 cat >>conftest.$ac_ext <<_ACEOF
10554 /* end confdefs.h. */
10556 /* Override any GCC internal prototype to avoid an error.
10557 Use char because int might match the return type of a GCC
10558 builtin and then its argument prototype would still apply. */
10571 rm -f conftest.$ac_objext conftest$ac_exeext
10572 if { (ac_try="$ac_link"
10573 case "(($ac_try" in
10574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10575 *) ac_try_echo
=$ac_try;;
10577 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10578 $as_echo "$ac_try_echo") >&5
10579 (eval "$ac_link") 2>conftest.er1
10581 grep -v '^ *+' conftest.er1
>conftest.err
10583 cat conftest.err
>&5
10584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); } && {
10586 test -z "$ac_c_werror_flag" ||
10587 test ! -s conftest.err
10588 } && test -s conftest
$ac_exeext && {
10589 test "$cross_compiling" = yes ||
10590 $as_test_x conftest
$ac_exeext
10592 ac_cv_lib_dl_dlopen
=yes
10594 $as_echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.
$ac_ext >&5
10597 ac_cv_lib_dl_dlopen
=no
10600 rm -rf conftest.dSYM
10601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10602 conftest
$ac_exeext conftest.
$ac_ext
10603 LIBS
=$ac_check_lib_save_LIBS
10605 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10606 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10607 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10608 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10611 lt_cv_dlopen
="dyld"
10613 lt_cv_dlopen_self
=yes
10620 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10621 $as_echo_n "checking for shl_load... " >&6; }
10622 if test "${ac_cv_func_shl_load+set}" = set; then
10623 $as_echo_n "(cached) " >&6
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10631 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10633 #define shl_load innocuous_shl_load
10635 /* System header to define __stub macros and hopefully few prototypes,
10636 which can conflict with char shl_load (); below.
10637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10638 <limits.h> exists even on freestanding compilers. */
10641 # include <limits.h>
10643 # include <assert.h>
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10655 /* The GNU C library defines this for functions which it implements
10656 to always fail with ENOSYS. Some functions are actually named
10657 something starting with __ and the normal name is an alias. */
10658 #if defined __stub_shl_load || defined __stub___shl_load
10665 return shl_load ();
10670 rm -f conftest.
$ac_objext conftest
$ac_exeext
10671 if { (ac_try
="$ac_link"
10672 case "(($ac_try" in
10673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10674 *) ac_try_echo=$ac_try;;
10676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10677 $as_echo "$ac_try_echo") >&5
10678 (eval "$ac_link") 2>conftest.er1
10680 grep -v '^ *+' conftest.er1 >conftest.err
10682 cat conftest.err >&5
10683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } && {
10685 test -z "$ac_c_werror_flag" ||
10686 test ! -s conftest.err
10687 } && test -s conftest$ac_exeext && {
10688 test "$cross_compiling" = yes ||
10689 $as_test_x conftest$ac_exeext
10691 ac_cv_func_shl_load=yes
10693 $as_echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.$ac_ext >&5
10696 ac_cv_func_shl_load=no
10699 rm -rf conftest.dSYM
10700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10701 conftest$ac_exeext conftest.$ac_ext
10703 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10704 $as_echo "$ac_cv_func_shl_load" >&6; }
10705 if test "x$ac_cv_func_shl_load" = x""yes; then
10706 lt_cv_dlopen="shl_load"
10708 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10709 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10710 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10711 $as_echo_n "(cached) " >&6
10713 ac_check_lib_save_LIBS=$LIBS
10715 cat >conftest.$ac_ext <<_ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10732 return shl_load ();
10737 rm -f conftest.$ac_objext conftest$ac_exeext
10738 if { (ac_try="$ac_link"
10739 case "(($ac_try" in
10740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10741 *) ac_try_echo
=$ac_try;;
10743 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10744 $as_echo "$ac_try_echo") >&5
10745 (eval "$ac_link") 2>conftest.er1
10747 grep -v '^ *+' conftest.er1
>conftest.err
10749 cat conftest.err
>&5
10750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } && {
10752 test -z "$ac_c_werror_flag" ||
10753 test ! -s conftest.err
10754 } && test -s conftest
$ac_exeext && {
10755 test "$cross_compiling" = yes ||
10756 $as_test_x conftest
$ac_exeext
10758 ac_cv_lib_dld_shl_load
=yes
10760 $as_echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.
$ac_ext >&5
10763 ac_cv_lib_dld_shl_load
=no
10766 rm -rf conftest.dSYM
10767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10768 conftest
$ac_exeext conftest.
$ac_ext
10769 LIBS
=$ac_check_lib_save_LIBS
10771 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10772 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10773 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10774 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10776 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10777 $as_echo_n "checking for dlopen... " >&6; }
10778 if test "${ac_cv_func_dlopen+set}" = set; then
10779 $as_echo_n "(cached) " >&6
10781 cat >conftest.
$ac_ext <<_ACEOF
10784 cat confdefs.h
>>conftest.
$ac_ext
10785 cat >>conftest.
$ac_ext <<_ACEOF
10786 /* end confdefs.h. */
10787 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10789 #define dlopen innocuous_dlopen
10791 /* System header to define __stub macros and hopefully few prototypes,
10792 which can conflict with char dlopen (); below.
10793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10794 <limits.h> exists even on freestanding compilers. */
10797 # include <limits.h>
10799 # include <assert.h>
10804 /* Override any GCC internal prototype to avoid an error.
10805 Use char because int might match the return type of a GCC
10806 builtin and then its argument prototype would still apply. */
10811 /* The GNU C library defines this for functions which it implements
10812 to always fail with ENOSYS. Some functions are actually named
10813 something starting with __ and the normal name is an alias. */
10814 #if defined __stub_dlopen || defined __stub___dlopen
10826 rm -f conftest.
$ac_objext conftest
$ac_exeext
10827 if { (ac_try
="$ac_link"
10828 case "(($ac_try" in
10829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10830 *) ac_try_echo=$ac_try;;
10832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10833 $as_echo "$ac_try_echo") >&5
10834 (eval "$ac_link") 2>conftest.er1
10836 grep -v '^ *+' conftest.er1 >conftest.err
10838 cat conftest.err >&5
10839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } && {
10841 test -z "$ac_c_werror_flag" ||
10842 test ! -s conftest.err
10843 } && test -s conftest$ac_exeext && {
10844 test "$cross_compiling" = yes ||
10845 $as_test_x conftest$ac_exeext
10847 ac_cv_func_dlopen=yes
10849 $as_echo "$as_me: failed program was:" >&5
10850 sed 's/^/| /' conftest.$ac_ext >&5
10852 ac_cv_func_dlopen=no
10855 rm -rf conftest.dSYM
10856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10857 conftest$ac_exeext conftest.$ac_ext
10859 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10860 $as_echo "$ac_cv_func_dlopen" >&6; }
10861 if test "x$ac_cv_func_dlopen" = x""yes; then
10862 lt_cv_dlopen="dlopen"
10864 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10865 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10867 $as_echo_n "(cached) " >&6
10869 ac_check_lib_save_LIBS=$LIBS
10871 cat >conftest.$ac_ext <<_ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10893 rm -f conftest.$ac_objext conftest$ac_exeext
10894 if { (ac_try="$ac_link"
10895 case "(($ac_try" in
10896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10897 *) ac_try_echo
=$ac_try;;
10899 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10900 $as_echo "$ac_try_echo") >&5
10901 (eval "$ac_link") 2>conftest.er1
10903 grep -v '^ *+' conftest.er1
>conftest.err
10905 cat conftest.err
>&5
10906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); } && {
10908 test -z "$ac_c_werror_flag" ||
10909 test ! -s conftest.err
10910 } && test -s conftest
$ac_exeext && {
10911 test "$cross_compiling" = yes ||
10912 $as_test_x conftest
$ac_exeext
10914 ac_cv_lib_dl_dlopen
=yes
10916 $as_echo "$as_me: failed program was:" >&5
10917 sed 's/^/| /' conftest.
$ac_ext >&5
10919 ac_cv_lib_dl_dlopen
=no
10922 rm -rf conftest.dSYM
10923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10924 conftest
$ac_exeext conftest.
$ac_ext
10925 LIBS
=$ac_check_lib_save_LIBS
10927 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10928 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10929 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10930 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10932 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10933 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10934 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10935 $as_echo_n "(cached) " >&6
10937 ac_check_lib_save_LIBS
=$LIBS
10938 LIBS
="-lsvld $LIBS"
10939 cat >conftest.
$ac_ext <<_ACEOF
10942 cat confdefs.h
>>conftest.
$ac_ext
10943 cat >>conftest.
$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10961 rm -f conftest.
$ac_objext conftest
$ac_exeext
10962 if { (ac_try
="$ac_link"
10963 case "(($ac_try" in
10964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10965 *) ac_try_echo=$ac_try;;
10967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10968 $as_echo "$ac_try_echo") >&5
10969 (eval "$ac_link") 2>conftest.er1
10971 grep -v '^ *+' conftest.er1 >conftest.err
10973 cat conftest.err >&5
10974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } && {
10976 test -z "$ac_c_werror_flag" ||
10977 test ! -s conftest.err
10978 } && test -s conftest$ac_exeext && {
10979 test "$cross_compiling" = yes ||
10980 $as_test_x conftest$ac_exeext
10982 ac_cv_lib_svld_dlopen=yes
10984 $as_echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.$ac_ext >&5
10987 ac_cv_lib_svld_dlopen=no
10990 rm -rf conftest.dSYM
10991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10992 conftest$ac_exeext conftest.$ac_ext
10993 LIBS=$ac_check_lib_save_LIBS
10995 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10996 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10997 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10998 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11000 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11001 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11002 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11003 $as_echo_n "(cached) " >&6
11005 ac_check_lib_save_LIBS=$LIBS
11007 cat >conftest.$ac_ext <<_ACEOF
11010 cat confdefs.h >>conftest.$ac_ext
11011 cat >>conftest.$ac_ext <<_ACEOF
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11024 return dld_link ();
11029 rm -f conftest.$ac_objext conftest$ac_exeext
11030 if { (ac_try="$ac_link"
11031 case "(($ac_try" in
11032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11033 *) ac_try_echo
=$ac_try;;
11035 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11036 $as_echo "$ac_try_echo") >&5
11037 (eval "$ac_link") 2>conftest.er1
11039 grep -v '^ *+' conftest.er1
>conftest.err
11041 cat conftest.err
>&5
11042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); } && {
11044 test -z "$ac_c_werror_flag" ||
11045 test ! -s conftest.err
11046 } && test -s conftest
$ac_exeext && {
11047 test "$cross_compiling" = yes ||
11048 $as_test_x conftest
$ac_exeext
11050 ac_cv_lib_dld_dld_link
=yes
11052 $as_echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.
$ac_ext >&5
11055 ac_cv_lib_dld_dld_link
=no
11058 rm -rf conftest.dSYM
11059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11060 conftest
$ac_exeext conftest.
$ac_ext
11061 LIBS
=$ac_check_lib_save_LIBS
11063 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11064 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11065 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11066 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11087 if test "x$lt_cv_dlopen" != xno
; then
11093 case $lt_cv_dlopen in
11095 save_CPPFLAGS
="$CPPFLAGS"
11096 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11098 save_LDFLAGS
="$LDFLAGS"
11099 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11102 LIBS
="$lt_cv_dlopen_libs $LIBS"
11104 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11105 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11106 if test "${lt_cv_dlopen_self+set}" = set; then
11107 $as_echo_n "(cached) " >&6
11109 if test "$cross_compiling" = yes; then :
11110 lt_cv_dlopen_self
=cross
11112 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11113 lt_status
=$lt_dlunknown
11114 cat > conftest.
$ac_ext <<_LT_EOF
11115 #line 11115 "configure"
11116 #include "confdefs.h"
11125 # define LT_DLGLOBAL RTLD_GLOBAL
11128 # define LT_DLGLOBAL DL_GLOBAL
11130 # define LT_DLGLOBAL 0
11134 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11135 find out it does not work in some platform. */
11136 #ifndef LT_DLLAZY_OR_NOW
11138 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11141 # define LT_DLLAZY_OR_NOW DL_LAZY
11144 # define LT_DLLAZY_OR_NOW RTLD_NOW
11147 # define LT_DLLAZY_OR_NOW DL_NOW
11149 # define LT_DLLAZY_OR_NOW 0
11156 void fnord() { int i=42;}
11159 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11160 int status = $lt_dlunknown;
11164 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11165 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11166 /* dlclose (self); */
11174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11175 (eval $ac_link) 2>&5
11177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11179 (.
/conftest
; exit; ) >&5 2>/dev
/null
11181 case x
$lt_status in
11182 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11183 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11184 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11187 # compilation failed
11188 lt_cv_dlopen_self
=no
11195 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11196 $as_echo "$lt_cv_dlopen_self" >&6; }
11198 if test "x$lt_cv_dlopen_self" = xyes
; then
11199 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11200 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11201 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11202 if test "${lt_cv_dlopen_self_static+set}" = set; then
11203 $as_echo_n "(cached) " >&6
11205 if test "$cross_compiling" = yes; then :
11206 lt_cv_dlopen_self_static
=cross
11208 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11209 lt_status
=$lt_dlunknown
11210 cat > conftest.
$ac_ext <<_LT_EOF
11211 #line 11211 "configure"
11212 #include "confdefs.h"
11221 # define LT_DLGLOBAL RTLD_GLOBAL
11224 # define LT_DLGLOBAL DL_GLOBAL
11226 # define LT_DLGLOBAL 0
11230 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11231 find out it does not work in some platform. */
11232 #ifndef LT_DLLAZY_OR_NOW
11234 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11237 # define LT_DLLAZY_OR_NOW DL_LAZY
11240 # define LT_DLLAZY_OR_NOW RTLD_NOW
11243 # define LT_DLLAZY_OR_NOW DL_NOW
11245 # define LT_DLLAZY_OR_NOW 0
11252 void fnord() { int i=42;}
11255 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11256 int status = $lt_dlunknown;
11260 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11261 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11262 /* dlclose (self); */
11270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11271 (eval $ac_link) 2>&5
11273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11275 (.
/conftest
; exit; ) >&5 2>/dev
/null
11277 case x
$lt_status in
11278 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11279 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11280 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11283 # compilation failed
11284 lt_cv_dlopen_self_static
=no
11291 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11292 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11295 CPPFLAGS
="$save_CPPFLAGS"
11296 LDFLAGS
="$save_LDFLAGS"
11301 case $lt_cv_dlopen_self in
11302 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11303 *) enable_dlopen_self
=unknown
;;
11306 case $lt_cv_dlopen_self_static in
11307 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11308 *) enable_dlopen_self_static
=unknown
;;
11330 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11331 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11332 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11333 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11334 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11335 { $as_echo "$as_me:$LINENO: result: yes" >&5
11336 $as_echo "yes" >&6; }
11338 # FIXME - insert some real tests, host_os isn't really good enough
11341 if test -n "$STRIP" ; then
11342 striplib
="$STRIP -x"
11343 old_striplib
="$STRIP -S"
11344 { $as_echo "$as_me:$LINENO: result: yes" >&5
11345 $as_echo "yes" >&6; }
11347 { $as_echo "$as_me:$LINENO: result: no" >&5
11348 $as_echo "no" >&6; }
11352 { $as_echo "$as_me:$LINENO: result: no" >&5
11353 $as_echo "no" >&6; }
11369 # Report which library types will actually be built
11370 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11371 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11372 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11373 $as_echo "$can_build_shared" >&6; }
11375 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11376 $as_echo_n "checking whether to build shared libraries... " >&6; }
11377 test "$can_build_shared" = "no" && enable_shared
=no
11379 # On AIX, shared libraries and static libraries use the same namespace, and
11380 # are all built from PIC.
11383 test "$enable_shared" = yes && enable_static
=no
11384 if test -n "$RANLIB"; then
11385 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11386 postinstall_cmds
='$RANLIB $lib'
11391 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11392 test "$enable_shared" = yes && enable_static
=no
11396 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11397 $as_echo "$enable_shared" >&6; }
11399 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11400 $as_echo_n "checking whether to build static libraries... " >&6; }
11401 # Make sure either enable_shared or enable_static is yes.
11402 test "$enable_shared" = yes || enable_static
=yes
11403 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11404 $as_echo "$enable_static" >&6; }
11411 ac_cpp
='$CPP $CPPFLAGS'
11412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11430 ac_config_commands
="$ac_config_commands libtool"
11435 # Only expand once:
11438 { $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11439 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11440 if test "${libltdl_cv_shlibext+set}" = set; then
11441 $as_echo_n "(cached) " >&6
11445 eval libltdl_cv_shlibext
=$shrext_cmds
11448 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11449 $as_echo "$libltdl_cv_shlibext" >&6; }
11450 if test -n "$libltdl_cv_shlibext"; then
11452 cat >>confdefs.h
<<_ACEOF
11453 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
11458 { $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11459 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11460 if test "${lt_cv_module_path_var+set}" = set; then
11461 $as_echo_n "(cached) " >&6
11463 lt_cv_module_path_var
="$shlibpath_var"
11465 { $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11466 $as_echo "$lt_cv_module_path_var" >&6; }
11467 if test -n "$lt_cv_module_path_var"; then
11469 cat >>confdefs.h
<<_ACEOF
11470 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
11475 { $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11476 $as_echo_n "checking for the default library search path... " >&6; }
11477 if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11478 $as_echo_n "(cached) " >&6
11480 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
11482 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11483 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11484 if test -n "$lt_cv_sys_dlsearch_path"; then
11486 for dir
in $lt_cv_sys_dlsearch_path; do
11487 if test -z "$sys_dlsearch_path"; then
11488 sys_dlsearch_path
="$dir"
11490 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
11494 cat >>confdefs.h
<<_ACEOF
11495 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
11505 ac_cpp
='$CPP $CPPFLAGS'
11506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11512 { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11513 $as_echo_n "checking for library containing dlopen... " >&6; }
11514 if test "${ac_cv_search_dlopen+set}" = set; then
11515 $as_echo_n "(cached) " >&6
11517 ac_func_search_save_LIBS
=$LIBS
11518 cat >conftest.
$ac_ext <<_ACEOF
11521 cat confdefs.h
>>conftest.
$ac_ext
11522 cat >>conftest.
$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11525 /* Override any GCC internal prototype to avoid an error.
11526 Use char because int might match the return type of a GCC
11527 builtin and then its argument prototype would still apply. */
11540 for ac_lib
in '' dl
; do
11541 if test -z "$ac_lib"; then
11542 ac_res
="none required"
11545 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11547 rm -f conftest.
$ac_objext conftest
$ac_exeext
11548 if { (ac_try
="$ac_link"
11549 case "(($ac_try" in
11550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11551 *) ac_try_echo=$ac_try;;
11553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11554 $as_echo "$ac_try_echo") >&5
11555 (eval "$ac_link") 2>conftest.er1
11557 grep -v '^ *+' conftest.er1 >conftest.err
11559 cat conftest.err >&5
11560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } && {
11562 test -z "$ac_c_werror_flag" ||
11563 test ! -s conftest.err
11564 } && test -s conftest$ac_exeext && {
11565 test "$cross_compiling" = yes ||
11566 $as_test_x conftest$ac_exeext
11568 ac_cv_search_dlopen=$ac_res
11570 $as_echo "$as_me: failed program was:" >&5
11571 sed 's/^/| /' conftest.$ac_ext >&5
11576 rm -rf conftest.dSYM
11577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11579 if test "${ac_cv_search_dlopen+set}" = set; then
11583 if test "${ac_cv_search_dlopen+set}" = set; then
11586 ac_cv_search_dlopen=no
11588 rm conftest.$ac_ext
11589 LIBS=$ac_func_search_save_LIBS
11591 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11592 $as_echo "$ac_cv_search_dlopen" >&6; }
11593 ac_res=$ac_cv_search_dlopen
11594 if test "$ac_res" != no; then
11595 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11597 cat >>confdefs.h <<\_ACEOF
11598 #define HAVE_LIBDL 1
11601 if test "$ac_cv_search_dlopen" != "none required" ; then
11602 LIBADD_DLOPEN="-ldl"
11604 libltdl_cv_lib_dl_dlopen="yes"
11605 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11607 cat >conftest.$ac_ext <<_ACEOF
11610 cat confdefs.h >>conftest.$ac_ext
11611 cat >>conftest.$ac_ext <<_ACEOF
11612 /* end confdefs.h. */
11614 # include <dlfcn.h>
11625 rm -f conftest.$ac_objext conftest$ac_exeext
11626 if { (ac_try="$ac_link"
11627 case "(($ac_try" in
11628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11629 *) ac_try_echo
=$ac_try;;
11631 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11632 $as_echo "$ac_try_echo") >&5
11633 (eval "$ac_link") 2>conftest.er1
11635 grep -v '^ *+' conftest.er1
>conftest.err
11637 cat conftest.err
>&5
11638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); } && {
11640 test -z "$ac_c_werror_flag" ||
11641 test ! -s conftest.err
11642 } && test -s conftest
$ac_exeext && {
11643 test "$cross_compiling" = yes ||
11644 $as_test_x conftest
$ac_exeext
11647 cat >>confdefs.h
<<\_ACEOF
11648 #define HAVE_LIBDL 1
11651 libltdl_cv_func_dlopen
="yes"
11652 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11654 $as_echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.
$ac_ext >&5
11657 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11658 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11659 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11660 $as_echo_n "(cached) " >&6
11662 ac_check_lib_save_LIBS
=$LIBS
11663 LIBS
="-lsvld $LIBS"
11664 cat >conftest.
$ac_ext <<_ACEOF
11667 cat confdefs.h
>>conftest.
$ac_ext
11668 cat >>conftest.
$ac_ext <<_ACEOF
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11686 rm -f conftest.
$ac_objext conftest
$ac_exeext
11687 if { (ac_try
="$ac_link"
11688 case "(($ac_try" in
11689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11690 *) ac_try_echo=$ac_try;;
11692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11693 $as_echo "$ac_try_echo") >&5
11694 (eval "$ac_link") 2>conftest.er1
11696 grep -v '^ *+' conftest.er1 >conftest.err
11698 cat conftest.err >&5
11699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); } && {
11701 test -z "$ac_c_werror_flag" ||
11702 test ! -s conftest.err
11703 } && test -s conftest$ac_exeext && {
11704 test "$cross_compiling" = yes ||
11705 $as_test_x conftest$ac_exeext
11707 ac_cv_lib_svld_dlopen=yes
11709 $as_echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.$ac_ext >&5
11712 ac_cv_lib_svld_dlopen=no
11715 rm -rf conftest.dSYM
11716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11717 conftest$ac_exeext conftest.$ac_ext
11718 LIBS=$ac_check_lib_save_LIBS
11720 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11721 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11722 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11724 cat >>confdefs.h <<\_ACEOF
11725 #define HAVE_LIBDL 1
11728 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11729 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11734 rm -rf conftest.dSYM
11735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11736 conftest$ac_exeext conftest.$ac_ext
11739 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11741 lt_save_LIBS="$LIBS"
11742 LIBS="$LIBS $LIBADD_DLOPEN"
11744 for ac_func in dlerror
11746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11747 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11748 $as_echo_n "checking for $ac_func... " >&6; }
11749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11750 $as_echo_n "(cached) " >&6
11752 cat >conftest.$ac_ext <<_ACEOF
11755 cat confdefs.h >>conftest.$ac_ext
11756 cat >>conftest.$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11760 #define $ac_func innocuous_$ac_func
11762 /* System header to define __stub macros and hopefully few prototypes,
11763 which can conflict with char $ac_func (); below.
11764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11765 <limits.h> exists even on freestanding compilers. */
11768 # include <limits.h>
11770 # include <assert.h>
11775 /* Override any GCC internal prototype to avoid an error.
11776 Use char because int might match the return type of a GCC
11777 builtin and then its argument prototype would still apply. */
11782 /* The GNU C library defines this for functions which it implements
11783 to always fail with ENOSYS. Some functions are actually named
11784 something starting with __ and the normal name is an alias. */
11785 #if defined __stub_$ac_func || defined __stub___$ac_func
11792 return $ac_func ();
11797 rm -f conftest.$ac_objext conftest$ac_exeext
11798 if { (ac_try="$ac_link"
11799 case "(($ac_try" in
11800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11801 *) ac_try_echo
=$ac_try;;
11803 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11804 $as_echo "$ac_try_echo") >&5
11805 (eval "$ac_link") 2>conftest.er1
11807 grep -v '^ *+' conftest.er1
>conftest.err
11809 cat conftest.err
>&5
11810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } && {
11812 test -z "$ac_c_werror_flag" ||
11813 test ! -s conftest.err
11814 } && test -s conftest
$ac_exeext && {
11815 test "$cross_compiling" = yes ||
11816 $as_test_x conftest
$ac_exeext
11818 eval "$as_ac_var=yes"
11820 $as_echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.
$ac_ext >&5
11823 eval "$as_ac_var=no"
11826 rm -rf conftest.dSYM
11827 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11828 conftest
$ac_exeext conftest.
$ac_ext
11830 ac_res
=`eval 'as_val=${'$as_ac_var'}
11831 $as_echo "$as_val"'`
11832 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11833 $as_echo "$ac_res" >&6; }
11834 as_val
=`eval 'as_val=${'$as_ac_var'}
11835 $as_echo "$as_val"'`
11836 if test "x$as_val" = x
""yes; then
11837 cat >>confdefs.h
<<_ACEOF
11838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11844 LIBS
="$lt_save_LIBS"
11849 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11850 $as_echo_n "checking for shl_load... " >&6; }
11851 if test "${ac_cv_func_shl_load+set}" = set; then
11852 $as_echo_n "(cached) " >&6
11854 cat >conftest.
$ac_ext <<_ACEOF
11857 cat confdefs.h
>>conftest.
$ac_ext
11858 cat >>conftest.
$ac_ext <<_ACEOF
11859 /* end confdefs.h. */
11860 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11862 #define shl_load innocuous_shl_load
11864 /* System header to define __stub macros and hopefully few prototypes,
11865 which can conflict with char shl_load (); below.
11866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11867 <limits.h> exists even on freestanding compilers. */
11870 # include <limits.h>
11872 # include <assert.h>
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11884 /* The GNU C library defines this for functions which it implements
11885 to always fail with ENOSYS. Some functions are actually named
11886 something starting with __ and the normal name is an alias. */
11887 #if defined __stub_shl_load || defined __stub___shl_load
11894 return shl_load ();
11899 rm -f conftest.
$ac_objext conftest
$ac_exeext
11900 if { (ac_try
="$ac_link"
11901 case "(($ac_try" in
11902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11903 *) ac_try_echo=$ac_try;;
11905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11906 $as_echo "$ac_try_echo") >&5
11907 (eval "$ac_link") 2>conftest.er1
11909 grep -v '^ *+' conftest.er1 >conftest.err
11911 cat conftest.err >&5
11912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } && {
11914 test -z "$ac_c_werror_flag" ||
11915 test ! -s conftest.err
11916 } && test -s conftest$ac_exeext && {
11917 test "$cross_compiling" = yes ||
11918 $as_test_x conftest$ac_exeext
11920 ac_cv_func_shl_load=yes
11922 $as_echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.$ac_ext >&5
11925 ac_cv_func_shl_load=no
11928 rm -rf conftest.dSYM
11929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11930 conftest$ac_exeext conftest.$ac_ext
11932 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11933 $as_echo "$ac_cv_func_shl_load" >&6; }
11934 if test "x$ac_cv_func_shl_load" = x""yes; then
11936 cat >>confdefs.h <<\_ACEOF
11937 #define HAVE_SHL_LOAD 1
11940 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11942 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11943 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11944 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11945 $as_echo_n "(cached) " >&6
11947 ac_check_lib_save_LIBS=$LIBS
11949 cat >conftest.$ac_ext <<_ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11966 return shl_load ();
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (ac_try="$ac_link"
11973 case "(($ac_try" in
11974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11975 *) ac_try_echo
=$ac_try;;
11977 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11978 $as_echo "$ac_try_echo") >&5
11979 (eval "$ac_link") 2>conftest.er1
11981 grep -v '^ *+' conftest.er1
>conftest.err
11983 cat conftest.err
>&5
11984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); } && {
11986 test -z "$ac_c_werror_flag" ||
11987 test ! -s conftest.err
11988 } && test -s conftest
$ac_exeext && {
11989 test "$cross_compiling" = yes ||
11990 $as_test_x conftest
$ac_exeext
11992 ac_cv_lib_dld_shl_load
=yes
11994 $as_echo "$as_me: failed program was:" >&5
11995 sed 's/^/| /' conftest.
$ac_ext >&5
11997 ac_cv_lib_dld_shl_load
=no
12000 rm -rf conftest.dSYM
12001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12002 conftest
$ac_exeext conftest.
$ac_ext
12003 LIBS
=$ac_check_lib_save_LIBS
12005 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12006 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12007 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
12009 cat >>confdefs.h
<<\_ACEOF
12010 #define HAVE_SHL_LOAD 1
12013 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12014 LIBADD_SHL_LOAD
="-ldld"
12023 # We only want this for pre-Mac OS X 10.4.
12024 { $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
12025 $as_echo_n "checking for _dyld_func_lookup... " >&6; }
12026 if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
12027 $as_echo_n "(cached) " >&6
12029 cat >conftest.
$ac_ext <<_ACEOF
12032 cat confdefs.h
>>conftest.
$ac_ext
12033 cat >>conftest.
$ac_ext <<_ACEOF
12034 /* end confdefs.h. */
12035 /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
12036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12037 #define _dyld_func_lookup innocuous__dyld_func_lookup
12039 /* System header to define __stub macros and hopefully few prototypes,
12040 which can conflict with char _dyld_func_lookup (); below.
12041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12042 <limits.h> exists even on freestanding compilers. */
12045 # include <limits.h>
12047 # include <assert.h>
12050 #undef _dyld_func_lookup
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12058 char _dyld_func_lookup ();
12059 /* The GNU C library defines this for functions which it implements
12060 to always fail with ENOSYS. Some functions are actually named
12061 something starting with __ and the normal name is an alias. */
12062 #if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
12069 return _dyld_func_lookup ();
12074 rm -f conftest.
$ac_objext conftest
$ac_exeext
12075 if { (ac_try
="$ac_link"
12076 case "(($ac_try" in
12077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12078 *) ac_try_echo=$ac_try;;
12080 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12081 $as_echo "$ac_try_echo") >&5
12082 (eval "$ac_link") 2>conftest.er1
12084 grep -v '^ *+' conftest.er1 >conftest.err
12086 cat conftest.err >&5
12087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); } && {
12089 test -z "$ac_c_werror_flag" ||
12090 test ! -s conftest.err
12091 } && test -s conftest$ac_exeext && {
12092 test "$cross_compiling" = yes ||
12093 $as_test_x conftest$ac_exeext
12095 ac_cv_func__dyld_func_lookup=yes
12097 $as_echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.$ac_ext >&5
12100 ac_cv_func__dyld_func_lookup=no
12103 rm -rf conftest.dSYM
12104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12105 conftest$ac_exeext conftest.$ac_ext
12107 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
12108 $as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
12109 if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
12111 cat >>confdefs.h <<\_ACEOF
12112 #define HAVE_DYLD 1
12115 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12120 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12122 cygwin* | mingw* | os2* | pw32*)
12123 { $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
12124 $as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
12125 if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
12126 $as_echo_n "(cached) " >&6
12128 cat >conftest.$ac_ext <<_ACEOF
12131 cat confdefs.h >>conftest.$ac_ext
12132 cat >>conftest.$ac_ext <<_ACEOF
12133 /* end confdefs.h. */
12134 #include <sys/cygwin.h>
12139 #ifndef cygwin_conv_path
12140 (void) cygwin_conv_path;
12147 rm -f conftest.$ac_objext
12148 if { (ac_try="$ac_compile"
12149 case "(($ac_try" in
12150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12151 *) ac_try_echo
=$ac_try;;
12153 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12154 $as_echo "$ac_try_echo") >&5
12155 (eval "$ac_compile") 2>conftest.er1
12157 grep -v '^ *+' conftest.er1
>conftest.err
12159 cat conftest.err
>&5
12160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } && {
12162 test -z "$ac_c_werror_flag" ||
12163 test ! -s conftest.err
12164 } && test -s conftest.
$ac_objext; then
12165 ac_cv_have_decl_cygwin_conv_path
=yes
12167 $as_echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.
$ac_ext >&5
12170 ac_cv_have_decl_cygwin_conv_path
=no
12173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12175 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
12176 $as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
12177 if test "x$ac_cv_have_decl_cygwin_conv_path" = x
""yes; then
12179 cat >>confdefs.h
<<_ACEOF
12180 #define HAVE_DECL_CYGWIN_CONV_PATH 1
12185 cat >>confdefs.h
<<_ACEOF
12186 #define HAVE_DECL_CYGWIN_CONV_PATH 0
12193 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12197 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12198 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12199 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12200 $as_echo_n "(cached) " >&6
12202 ac_check_lib_save_LIBS
=$LIBS
12204 cat >conftest.
$ac_ext <<_ACEOF
12207 cat confdefs.h
>>conftest.
$ac_ext
12208 cat >>conftest.
$ac_ext <<_ACEOF
12209 /* end confdefs.h. */
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12221 return dld_link ();
12226 rm -f conftest.
$ac_objext conftest
$ac_exeext
12227 if { (ac_try
="$ac_link"
12228 case "(($ac_try" in
12229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12230 *) ac_try_echo=$ac_try;;
12232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12233 $as_echo "$ac_try_echo") >&5
12234 (eval "$ac_link") 2>conftest.er1
12236 grep -v '^ *+' conftest.er1 >conftest.err
12238 cat conftest.err >&5
12239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } && {
12241 test -z "$ac_c_werror_flag" ||
12242 test ! -s conftest.err
12243 } && test -s conftest$ac_exeext && {
12244 test "$cross_compiling" = yes ||
12245 $as_test_x conftest$ac_exeext
12247 ac_cv_lib_dld_dld_link=yes
12249 $as_echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12252 ac_cv_lib_dld_dld_link=no
12255 rm -rf conftest.dSYM
12256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12257 conftest$ac_exeext conftest.$ac_ext
12258 LIBS=$ac_check_lib_save_LIBS
12260 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12261 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12262 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12264 cat >>confdefs.h <<\_ACEOF
12268 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12275 if test -n "$LT_DLLOADERS"
12277 for lt_loader in $LT_DLLOADERS; do
12278 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
12281 cat >>confdefs.h <<\_ACEOF
12282 #define HAVE_LIBDLLOADER 1
12288 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12292 ac_cpp='$CPP $CPPFLAGS'
12293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12298 { $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
12299 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12300 if test "${lt_cv_sys_symbol_underscore+set}" = set; then
12301 $as_echo_n "(cached) " >&6
12303 lt_cv_sys_symbol_underscore=no
12304 cat > conftest.$ac_ext <<_LT_EOF
12305 void nm_test_func(){}
12306 int main(){nm_test_func;return 0;}
12308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12309 (eval $ac_compile) 2>&5
12311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; then
12313 # Now try to grab the symbols.
12314 ac_nlist=conftest.nm
12315 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
12316 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } && test -s "$ac_nlist"; then
12320 # See whether the symbols have a leading underscore.
12321 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12322 lt_cv_sys_symbol_underscore=yes
12324 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
12327 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12331 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12334 echo "configure: failed program was:" >&5
12340 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
12341 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12342 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12345 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12346 if test x"$libltdl_cv_func_dlopen" = xyes ||
12347 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12348 { $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
12349 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12350 if test "${libltdl_cv_need_uscore+set}" = set; then
12351 $as_echo_n "(cached) " >&6
12353 libltdl_cv_need_uscore=unknown
12355 LIBS="$LIBS $LIBADD_DLOPEN"
12356 if test "$cross_compiling" = yes; then :
12357 libltdl_cv_need_uscore=cross
12359 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12360 lt_status=$lt_dlunknown
12361 cat > conftest.$ac_ext <<_LT_EOF
12362 #line 12362 "configure"
12363 #include "confdefs.h"
12372 # define LT_DLGLOBAL RTLD_GLOBAL
12375 # define LT_DLGLOBAL DL_GLOBAL
12377 # define LT_DLGLOBAL 0
12381 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12382 find out it does not work in some platform. */
12383 #ifndef LT_DLLAZY_OR_NOW
12385 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12388 # define LT_DLLAZY_OR_NOW DL_LAZY
12391 # define LT_DLLAZY_OR_NOW RTLD_NOW
12394 # define LT_DLLAZY_OR_NOW DL_NOW
12396 # define LT_DLLAZY_OR_NOW 0
12403 void fnord() { int i=42;}
12406 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12407 int status = $lt_dlunknown;
12411 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12412 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12413 /* dlclose (self); */
12421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12422 (eval $ac_link) 2>&5
12424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12426 (./conftest; exit; ) >&5 2>/dev/null
12428 case x$lt_status in
12429 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
12430 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
12431 x$lt_dlunknown|x*) ;;
12434 # compilation failed
12443 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
12444 $as_echo "$libltdl_cv_need_uscore" >&6; }
12448 if test x"$libltdl_cv_need_uscore" = xyes; then
12450 cat >>confdefs.h <<\_ACEOF
12451 #define NEED_USCORE 1
12456 { $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
12457 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12458 if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
12459 $as_echo_n "(cached) " >&6
12461 # PORTME does your system automatically load deplibs for dlopen?
12462 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12463 # For now, we just catch OSes we know something about -- in the
12464 # future, we'll try test this programmatically.
12465 lt_cv_sys_dlopen_deplibs=unknown
12467 aix3*|aix4.1.*|aix4.2.*)
12468 # Unknown whether this is true for these versions of AIX, but
12469 # we want this `case' here to explicitly catch those versions.
12470 lt_cv_sys_dlopen_deplibs=unknown
12473 lt_cv_sys_dlopen_deplibs=yes
12478 lt_cv_sys_dlopen_deplibs=no
12483 # Assuming the user has installed a libdl from somewhere, this is true
12484 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12485 lt_cv_sys_dlopen_deplibs=yes
12487 freebsd* | dragonfly*)
12488 lt_cv_sys_dlopen_deplibs=yes
12490 gnu* | linux* | k*bsd*-gnu)
12491 # GNU and its variants, using gnu ld.so (Glibc)
12492 lt_cv_sys_dlopen_deplibs=yes
12495 lt_cv_sys_dlopen_deplibs=yes
12498 lt_cv_sys_dlopen_deplibs=yes
12500 irix[12345]*|irix6.[01]*)
12501 # Catch all versions of IRIX before 6.2, and indicate that we don't
12502 # know how it worked for any of those versions.
12503 lt_cv_sys_dlopen_deplibs
=unknown
12506 # The case above catches anything before 6.2, and it's known that
12507 # at 6.2 and later dlopen does load deplibs.
12508 lt_cv_sys_dlopen_deplibs
=yes
12511 lt_cv_sys_dlopen_deplibs
=yes
12514 lt_cv_sys_dlopen_deplibs
=yes
12517 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12518 # it did *not* use an RPATH in a shared library to find objects the
12519 # library depends on, so we explicitly say `no'.
12520 lt_cv_sys_dlopen_deplibs
=no
12522 osf5.0|osf5.0a|osf5.1
)
12523 # dlopen *does* load deplibs and with the right loader patch applied
12524 # it even uses RPATH in a shared library to search for shared objects
12525 # that the library depends on, but there's no easy way to know if that
12526 # patch is installed. Since this is the case, all we can really
12527 # say is unknown -- it depends on the patch being installed. If
12528 # it is, this changes to `yes'. Without it, it would be `no'.
12529 lt_cv_sys_dlopen_deplibs
=unknown
12532 # the two cases above should catch all versions of osf <= 5.1. Read
12533 # the comments above for what we know about them.
12534 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12535 # is used to find them so we can finally say `yes'.
12536 lt_cv_sys_dlopen_deplibs
=yes
12539 lt_cv_sys_dlopen_deplibs
=yes
12542 lt_cv_sys_dlopen_deplibs
=yes
12544 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12545 libltdl_cv_sys_dlopen_deplibs
=yes
12550 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
12551 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12552 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12554 cat >>confdefs.h
<<\_ACEOF
12555 #define LTDL_DLOPEN_DEPLIBS 1
12563 for ac_header
in argz.h
12565 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12566 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12567 $as_echo_n "checking for $ac_header... " >&6; }
12568 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12569 $as_echo_n "(cached) " >&6
12571 cat >conftest.
$ac_ext <<_ACEOF
12574 cat confdefs.h
>>conftest.
$ac_ext
12575 cat >>conftest.
$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12577 $ac_includes_default
12579 #include <$ac_header>
12581 rm -f conftest.
$ac_objext
12582 if { (ac_try
="$ac_compile"
12583 case "(($ac_try" in
12584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12585 *) ac_try_echo=$ac_try;;
12587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12588 $as_echo "$ac_try_echo") >&5
12589 (eval "$ac_compile") 2>conftest.er1
12591 grep -v '^ *+' conftest.er1 >conftest.err
12593 cat conftest.err >&5
12594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_c_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest.$ac_objext; then
12599 eval "$as_ac_Header=yes"
12601 $as_echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.$ac_ext >&5
12604 eval "$as_ac_Header=no"
12607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12609 ac_res=`eval 'as_val=${'$as_ac_Header'}
12610 $as_echo "$as_val"'`
12611 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12612 $as_echo "$ac_res" >&6; }
12613 as_val=`eval 'as_val=${'$as_ac_Header'}
12614 $as_echo "$as_val"'`
12615 if test "x$as_val" = x""yes; then
12616 cat >>confdefs.h <<_ACEOF
12617 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12625 { $as_echo "$as_me:$LINENO: checking for error_t" >&5
12626 $as_echo_n "checking for error_t... " >&6; }
12627 if test "${ac_cv_type_error_t+set}" = set; then
12628 $as_echo_n "(cached) " >&6
12630 ac_cv_type_error_t=no
12631 cat >conftest.$ac_ext <<_ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #if defined(HAVE_ARGZ_H)
12644 if (sizeof (error_t))
12650 rm -f conftest.$ac_objext
12651 if { (ac_try="$ac_compile"
12652 case "(($ac_try" in
12653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12654 *) ac_try_echo
=$ac_try;;
12656 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12657 $as_echo "$ac_try_echo") >&5
12658 (eval "$ac_compile") 2>conftest.er1
12660 grep -v '^ *+' conftest.er1
>conftest.err
12662 cat conftest.err
>&5
12663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } && {
12665 test -z "$ac_c_werror_flag" ||
12666 test ! -s conftest.err
12667 } && test -s conftest.
$ac_objext; then
12668 cat >conftest.
$ac_ext <<_ACEOF
12671 cat confdefs.h
>>conftest.
$ac_ext
12672 cat >>conftest.
$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12674 #if defined(HAVE_ARGZ_H)
12681 if (sizeof ((error_t)))
12687 rm -f conftest.
$ac_objext
12688 if { (ac_try
="$ac_compile"
12689 case "(($ac_try" in
12690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12691 *) ac_try_echo=$ac_try;;
12693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12694 $as_echo "$ac_try_echo") >&5
12695 (eval "$ac_compile") 2>conftest.er1
12697 grep -v '^ *+' conftest.er1 >conftest.err
12699 cat conftest.err >&5
12700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } && {
12702 test -z "$ac_c_werror_flag" ||
12703 test ! -s conftest.err
12704 } && test -s conftest.$ac_objext; then
12707 $as_echo "$as_me: failed program was:" >&5
12708 sed 's/^/| /' conftest.$ac_ext >&5
12710 ac_cv_type_error_t=yes
12713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12715 $as_echo "$as_me: failed program was:" >&5
12716 sed 's/^/| /' conftest.$ac_ext >&5
12721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12723 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
12724 $as_echo "$ac_cv_type_error_t" >&6; }
12725 if test "x$ac_cv_type_error_t" = x""yes; then
12727 cat >>confdefs.h <<_ACEOF
12728 #define HAVE_ERROR_T 1
12734 cat >>confdefs.h <<\_ACEOF
12735 #define error_t int
12739 cat >>confdefs.h <<\_ACEOF
12740 #define __error_t_defined 1
12754 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
12755 argz_next argz_stringify
12757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12758 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12759 $as_echo_n "checking for $ac_func... " >&6; }
12760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12761 $as_echo_n "(cached) " >&6
12763 cat >conftest.$ac_ext <<_ACEOF
12766 cat confdefs.h >>conftest.$ac_ext
12767 cat >>conftest.$ac_ext <<_ACEOF
12768 /* end confdefs.h. */
12769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12771 #define $ac_func innocuous_$ac_func
12773 /* System header to define __stub macros and hopefully few prototypes,
12774 which can conflict with char $ac_func (); below.
12775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12776 <limits.h> exists even on freestanding compilers. */
12779 # include <limits.h>
12781 # include <assert.h>
12786 /* Override any GCC internal prototype to avoid an error.
12787 Use char because int might match the return type of a GCC
12788 builtin and then its argument prototype would still apply. */
12793 /* The GNU C library defines this for functions which it implements
12794 to always fail with ENOSYS. Some functions are actually named
12795 something starting with __ and the normal name is an alias. */
12796 #if defined __stub_$ac_func || defined __stub___$ac_func
12803 return $ac_func ();
12808 rm -f conftest.$ac_objext conftest$ac_exeext
12809 if { (ac_try="$ac_link"
12810 case "(($ac_try" in
12811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12812 *) ac_try_echo
=$ac_try;;
12814 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12815 $as_echo "$ac_try_echo") >&5
12816 (eval "$ac_link") 2>conftest.er1
12818 grep -v '^ *+' conftest.er1
>conftest.err
12820 cat conftest.err
>&5
12821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } && {
12823 test -z "$ac_c_werror_flag" ||
12824 test ! -s conftest.err
12825 } && test -s conftest
$ac_exeext && {
12826 test "$cross_compiling" = yes ||
12827 $as_test_x conftest
$ac_exeext
12829 eval "$as_ac_var=yes"
12831 $as_echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.
$ac_ext >&5
12834 eval "$as_ac_var=no"
12837 rm -rf conftest.dSYM
12838 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12839 conftest
$ac_exeext conftest.
$ac_ext
12841 ac_res
=`eval 'as_val=${'$as_ac_var'}
12842 $as_echo "$as_val"'`
12843 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12844 $as_echo "$ac_res" >&6; }
12845 as_val
=`eval 'as_val=${'$as_ac_var'}
12846 $as_echo "$as_val"'`
12847 if test "x$as_val" = x
""yes; then
12848 cat >>confdefs.h
<<_ACEOF
12849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12855 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12861 if test -z "$ARGZ_H"; then
12862 { $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
12863 $as_echo_n "checking if argz actually works... " >&6; }
12864 if test "${lt_cv_sys_argz_works+set}" = set; then
12865 $as_echo_n "(cached) " >&6
12867 case $host_os in #(
12869 lt_cv_sys_argz_works
=no
12870 if test "$cross_compiling" != no
; then
12871 lt_cv_sys_argz_works
="guessing no"
12873 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
12876 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
12881 if test "$lt_os_major" -gt 1 \
12882 ||
{ test "$lt_os_major" -eq 1 \
12883 && { test "$lt_os_minor" -gt 5 \
12884 ||
{ test "$lt_os_minor" -eq 5 \
12885 && test "$lt_os_micro" -gt 24; }; }; }; then
12886 lt_cv_sys_argz_works
=yes
12890 *) lt_cv_sys_argz_works
=yes ;;
12893 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
12894 $as_echo "$lt_cv_sys_argz_works" >&6; }
12895 if test $lt_cv_sys_argz_works = yes; then
12897 cat >>confdefs.h
<<\_ACEOF
12898 #define HAVE_WORKING_ARGZ 1
12905 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12914 { $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
12915 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12916 if test "${libltdl_cv_preloaded_symbols+set}" = set; then
12917 $as_echo_n "(cached) " >&6
12919 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12920 libltdl_cv_preloaded_symbols
=yes
12922 libltdl_cv_preloaded_symbols
=no
12926 { $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
12927 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12928 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
12930 cat >>confdefs.h
<<\_ACEOF
12931 #define HAVE_PRELOADED_SYMBOLS 1
12951 # Check whether --with-included_ltdl was given.
12952 if test "${with_included_ltdl+set}" = set; then
12953 withval
=$with_included_ltdl;
12957 if test "x$with_included_ltdl" != xyes
; then
12958 # We are not being forced to use the included libltdl sources, so
12959 # decide whether there is a useful installed version we can use.
12960 { $as_echo "$as_me:$LINENO: checking for ltdl.h" >&5
12961 $as_echo_n "checking for ltdl.h... " >&6; }
12962 if test "${ac_cv_header_ltdl_h+set}" = set; then
12963 $as_echo_n "(cached) " >&6
12965 cat >conftest.
$ac_ext <<_ACEOF
12968 cat confdefs.h
>>conftest.
$ac_ext
12969 cat >>conftest.
$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12971 $ac_includes_default
12976 rm -f conftest.
$ac_objext
12977 if { (ac_try
="$ac_compile"
12978 case "(($ac_try" in
12979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12980 *) ac_try_echo=$ac_try;;
12982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12983 $as_echo "$ac_try_echo") >&5
12984 (eval "$ac_compile") 2>conftest.er1
12986 grep -v '^ *+' conftest.er1 >conftest.err
12988 cat conftest.err >&5
12989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } && {
12991 test -z "$ac_c_werror_flag" ||
12992 test ! -s conftest.err
12993 } && test -s conftest.$ac_objext; then
12994 ac_cv_header_ltdl_h=yes
12996 $as_echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12999 ac_cv_header_ltdl_h=no
13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
13005 $as_echo "$ac_cv_header_ltdl_h" >&6; }
13006 if test "x$ac_cv_header_ltdl_h" = x""yes; then
13007 { $as_echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
13008 $as_echo_n "checking whether lt_dlinterface_register is declared... " >&6; }
13009 if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
13010 $as_echo_n "(cached) " >&6
13012 cat >conftest.$ac_ext <<_ACEOF
13015 cat confdefs.h >>conftest.$ac_ext
13016 cat >>conftest.$ac_ext <<_ACEOF
13017 /* end confdefs.h. */
13018 $ac_includes_default
13024 #ifndef lt_dlinterface_register
13025 (void) lt_dlinterface_register;
13032 rm -f conftest.$ac_objext
13033 if { (ac_try="$ac_compile"
13034 case "(($ac_try" in
13035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13036 *) ac_try_echo
=$ac_try;;
13038 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13039 $as_echo "$ac_try_echo") >&5
13040 (eval "$ac_compile") 2>conftest.er1
13042 grep -v '^ *+' conftest.er1
>conftest.err
13044 cat conftest.err
>&5
13045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } && {
13047 test -z "$ac_c_werror_flag" ||
13048 test ! -s conftest.err
13049 } && test -s conftest.
$ac_objext; then
13050 ac_cv_have_decl_lt_dlinterface_register
=yes
13052 $as_echo "$as_me: failed program was:" >&5
13053 sed 's/^/| /' conftest.
$ac_ext >&5
13055 ac_cv_have_decl_lt_dlinterface_register
=no
13058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13060 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
13061 $as_echo "$ac_cv_have_decl_lt_dlinterface_register" >&6; }
13062 if test "x$ac_cv_have_decl_lt_dlinterface_register" = x
""yes; then
13063 { $as_echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
13064 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13065 if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
13066 $as_echo_n "(cached) " >&6
13068 ac_check_lib_save_LIBS
=$LIBS
13069 LIBS
="-lltdl $LIBS"
13070 cat >conftest.
$ac_ext <<_ACEOF
13073 cat confdefs.h
>>conftest.
$ac_ext
13074 cat >>conftest.
$ac_ext <<_ACEOF
13075 /* end confdefs.h. */
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13083 char lt_dladvise_preload ();
13087 return lt_dladvise_preload ();
13092 rm -f conftest.
$ac_objext conftest
$ac_exeext
13093 if { (ac_try
="$ac_link"
13094 case "(($ac_try" in
13095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13096 *) ac_try_echo=$ac_try;;
13098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13099 $as_echo "$ac_try_echo") >&5
13100 (eval "$ac_link") 2>conftest.er1
13102 grep -v '^ *+' conftest.er1 >conftest.err
13104 cat conftest.err >&5
13105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); } && {
13107 test -z "$ac_c_werror_flag" ||
13108 test ! -s conftest.err
13109 } && test -s conftest$ac_exeext && {
13110 test "$cross_compiling" = yes ||
13111 $as_test_x conftest$ac_exeext
13113 ac_cv_lib_ltdl_lt_dladvise_preload=yes
13115 $as_echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.$ac_ext >&5
13118 ac_cv_lib_ltdl_lt_dladvise_preload=no
13121 rm -rf conftest.dSYM
13122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13123 conftest$ac_exeext conftest.$ac_ext
13124 LIBS=$ac_check_lib_save_LIBS
13126 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13127 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13128 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then
13129 with_included_ltdl=no
13131 with_included_ltdl=yes
13135 with_included_ltdl=yes
13139 with_included_ltdl=yes
13148 # Check whether --with-ltdl_include was given.
13149 if test "${with_ltdl_include+set}" = set; then
13150 withval=$with_ltdl_include;
13154 if test -n "$with_ltdl_include"; then
13155 if test -f "$with_ltdl_include/ltdl.h"; then :
13157 { { $as_echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
13158 $as_echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
13159 { (exit 1); exit 1; }; }
13162 with_ltdl_include=no
13166 # Check whether --with-ltdl_lib was given.
13167 if test "${with_ltdl_lib+set}" = set; then
13168 withval=$with_ltdl_lib;
13172 if test -n "$with_ltdl_lib"; then
13173 if test -f "$with_ltdl_lib/libltdl.la
"; then :
13175 { { $as_echo "$as_me:$LINENO: error
: invalid ltdl library directory
: \
`$with_ltdl_lib'" >&5
13176 $as_echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
13177 { (exit 1); exit 1; }; }
13183 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13185 case $enable_ltdl_convenience in
13186 no) { { $as_echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
13187 $as_echo "$as_me: error: this package needs a convenience libltdl" >&2;}
13188 { (exit 1); exit 1; }; } ;;
13189 "") enable_ltdl_convenience=yes
13190 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
13192 LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13194 LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13200 # For backwards non-gettext consistent compatibility...
13201 INCLTDL="$LTDLINCL"
13206 # If the included ltdl is not to be used, then use the
13207 # preinstalled libltdl we found.
13209 cat >>confdefs.h <<\_ACEOF
13210 #define HAVE_LTDL 1
13218 { { $as_echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \
`--with-ltdl-lib' options must be used together" >&5
13219 $as_echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together
" >&2;}
13220 { (exit 1); exit 1; }; }
13222 *) with_included_ltdl=no
13223 LIBLTDL="-L$with_ltdl_lib -lltdl"
13225 LTDLINCL="-I$with_ltdl_include"
13228 INCLTDL="$LTDLINCL"
13230 # Report our decision...
13231 { $as_echo "$as_me:$LINENO: checking where to
find libltdl headers
" >&5
13232 $as_echo_n "checking where to
find libltdl headers...
" >&6; }
13233 { $as_echo "$as_me:$LINENO: result
: $LTDLINCL" >&5
13234 $as_echo "$LTDLINCL" >&6; }
13235 { $as_echo "$as_me:$LINENO: checking where to
find libltdl library
" >&5
13236 $as_echo_n "checking where to
find libltdl library...
" >&6; }
13237 { $as_echo "$as_me:$LINENO: result
: $LIBLTDL" >&5
13238 $as_echo "$LIBLTDL" >&6; }
13242 # Check whether --enable-ltdl-install was given.
13243 if test "${enable_ltdl_install+set}" = set; then
13244 enableval=$enable_ltdl_install;
13248 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
13250 *) enable_ltdl_convenience=yes ;;
13253 if test x"${enable_ltdl_install-no}" != xno; then
13255 INSTALL_LTDL_FALSE='#'
13257 INSTALL_LTDL_TRUE='#'
13258 INSTALL_LTDL_FALSE=
13261 if test x"${enable_ltdl_convenience-no}" != xno; then
13262 CONVENIENCE_LTDL_TRUE=
13263 CONVENIENCE_LTDL_FALSE='#'
13265 CONVENIENCE_LTDL_TRUE='#'
13266 CONVENIENCE_LTDL_FALSE=
13271 subdirs="$subdirs libltdl
"
13277 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
13278 # the user used. This is so that ltdl.h can pick up the parent projects
13279 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
13280 # definitions required by ltdl.c.
13281 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
13291 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
13293 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
13294 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
13295 $as_echo_n "checking
for $ac_header...
" >&6; }
13296 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13297 $as_echo_n "(cached
) " >&6
13299 cat >conftest.$ac_ext <<_ACEOF
13302 cat confdefs.h >>conftest.$ac_ext
13303 cat >>conftest.$ac_ext <<_ACEOF
13304 /* end confdefs.h. */
13305 $ac_includes_default
13307 #include <$ac_header>
13309 rm -f conftest.$ac_objext
13310 if { (ac_try="$ac_compile"
13311 case "(($ac_try" in
13312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13313 *) ac_try_echo=$ac_try;;
13315 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13316 $as_echo "$ac_try_echo") >&5
13317 (eval "$ac_compile") 2>conftest.er1
13319 grep -v '^ *+' conftest.er1 >conftest.err
13321 cat conftest.err >&5
13322 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13323 (exit $ac_status); } && {
13324 test -z "$ac_c_werror_flag" ||
13325 test ! -s conftest.err
13326 } && test -s conftest.$ac_objext; then
13327 eval "$as_ac_Header=yes"
13329 $as_echo "$as_me: failed program was
:" >&5
13330 sed 's/^/| /' conftest.$ac_ext >&5
13332 eval "$as_ac_Header=no
"
13335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13337 ac_res=`eval 'as_val=${'$as_ac_Header'}
13338 $as_echo "$as_val"'`
13339 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
13340 $as_echo "$ac_res" >&6; }
13341 as_val=`eval 'as_val=${'$as_ac_Header'}
13342 $as_echo "$as_val"'`
13343 if test "x
$as_val" = x""yes; then
13344 cat >>confdefs.h <<_ACEOF
13345 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
13356 for ac_func in closedir opendir readdir
13358 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13359 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
13360 $as_echo_n "checking
for $ac_func...
" >&6; }
13361 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
13362 $as_echo_n "(cached
) " >&6
13364 cat >conftest.$ac_ext <<_ACEOF
13367 cat confdefs.h >>conftest.$ac_ext
13368 cat >>conftest.$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
13370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13372 #define $ac_func innocuous_$ac_func
13374 /* System header to define __stub macros and hopefully few prototypes,
13375 which can conflict with char $ac_func (); below.
13376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13377 <limits.h> exists even on freestanding compilers. */
13380 # include <limits.h>
13382 # include <assert.h>
13387 /* Override any GCC internal prototype to avoid an error.
13388 Use char because int might match the return type of a GCC
13389 builtin and then its argument prototype would still apply. */
13394 /* The GNU C library defines this for functions which it implements
13395 to always fail with ENOSYS. Some functions are actually named
13396 something starting with __ and the normal name is an alias. */
13397 #if defined __stub_$ac_func || defined __stub___$ac_func
13404 return $ac_func ();
13409 rm -f conftest.$ac_objext conftest$ac_exeext
13410 if { (ac_try="$ac_link"
13411 case "(($ac_try" in
13412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13413 *) ac_try_echo=$ac_try;;
13415 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13416 $as_echo "$ac_try_echo") >&5
13417 (eval "$ac_link") 2>conftest.er1
13419 grep -v '^ *+' conftest.er1 >conftest.err
13421 cat conftest.err >&5
13422 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13423 (exit $ac_status); } && {
13424 test -z "$ac_c_werror_flag" ||
13425 test ! -s conftest.err
13426 } && test -s conftest$ac_exeext && {
13427 test "$cross_compiling" = yes ||
13428 $as_test_x conftest$ac_exeext
13430 eval "$as_ac_var=yes"
13432 $as_echo "$as_me: failed program was
:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13435 eval "$as_ac_var=no
"
13438 rm -rf conftest.dSYM
13439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13440 conftest$ac_exeext conftest.$ac_ext
13442 ac_res=`eval 'as_val=${'$as_ac_var'}
13443 $as_echo "$as_val"'`
13444 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
13445 $as_echo "$ac_res" >&6; }
13446 as_val=`eval 'as_val=${'$as_ac_var'}
13447 $as_echo "$as_val"'`
13448 if test "x
$as_val" = x""yes; then
13449 cat >>confdefs.h <<_ACEOF
13450 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13456 _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.
$ac_objext"
13463 for ac_func in strlcat strlcpy
13465 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13466 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
13467 $as_echo_n "checking
for $ac_func...
" >&6; }
13468 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
13469 $as_echo_n "(cached
) " >&6
13471 cat >conftest.$ac_ext <<_ACEOF
13474 cat confdefs.h >>conftest.$ac_ext
13475 cat >>conftest.$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13479 #define $ac_func innocuous_$ac_func
13481 /* System header to define __stub macros and hopefully few prototypes,
13482 which can conflict with char $ac_func (); below.
13483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13484 <limits.h> exists even on freestanding compilers. */
13487 # include <limits.h>
13489 # include <assert.h>
13494 /* Override any GCC internal prototype to avoid an error.
13495 Use char because int might match the return type of a GCC
13496 builtin and then its argument prototype would still apply. */
13501 /* The GNU C library defines this for functions which it implements
13502 to always fail with ENOSYS. Some functions are actually named
13503 something starting with __ and the normal name is an alias. */
13504 #if defined __stub_$ac_func || defined __stub___$ac_func
13511 return $ac_func ();
13516 rm -f conftest.$ac_objext conftest$ac_exeext
13517 if { (ac_try="$ac_link"
13518 case "(($ac_try" in
13519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13520 *) ac_try_echo=$ac_try;;
13522 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13523 $as_echo "$ac_try_echo") >&5
13524 (eval "$ac_link") 2>conftest.er1
13526 grep -v '^ *+' conftest.er1 >conftest.err
13528 cat conftest.err >&5
13529 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13530 (exit $ac_status); } && {
13531 test -z "$ac_c_werror_flag" ||
13532 test ! -s conftest.err
13533 } && test -s conftest$ac_exeext && {
13534 test "$cross_compiling" = yes ||
13535 $as_test_x conftest$ac_exeext
13537 eval "$as_ac_var=yes"
13539 $as_echo "$as_me: failed program was
:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13542 eval "$as_ac_var=no
"
13545 rm -rf conftest.dSYM
13546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13547 conftest$ac_exeext conftest.$ac_ext
13549 ac_res=`eval 'as_val=${'$as_ac_var'}
13550 $as_echo "$as_val"'`
13551 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
13552 $as_echo "$ac_res" >&6; }
13553 as_val=`eval 'as_val=${'$as_ac_var'}
13554 $as_echo "$as_val"'`
13555 if test "x
$as_val" = x""yes; then
13556 cat >>confdefs.h <<_ACEOF
13557 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13563 _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.
$ac_objext"
13570 cat >>confdefs.h <<_ACEOF
13571 #define LT_LIBEXT "$libext"
13576 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13585 # Only expand once:
13590 for ac_prog in perl5 perl
13592 # Extract the first word of "$ac_prog", so it can be a program name with args.
13593 set dummy $ac_prog; ac_word=$2
13594 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13595 $as_echo_n "checking
for $ac_word...
" >&6; }
13596 if test "${ac_cv_path_PERL+set}" = set; then
13597 $as_echo_n "(cached
) " >&6
13601 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
13604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13605 for as_dir in $LPATH
13608 test -z "$as_dir" && as_dir=.
13609 for ac_exec_ext in '' $ac_executable_extensions; do
13610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13611 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
13612 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13622 PERL=$ac_cv_path_PERL
13623 if test -n "$PERL"; then
13624 { $as_echo "$as_me:$LINENO: result
: $PERL" >&5
13625 $as_echo "$PERL" >&6; }
13627 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13628 $as_echo "no
" >&6; }
13632 test -n "$PERL" && break
13634 test -n "$PERL" || PERL="perl
"
13636 for ac_prog in courier-config
13638 # Extract the first word of "$ac_prog", so it can be a program name with args.
13639 set dummy $ac_prog; ac_word=$2
13640 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13641 $as_echo_n "checking
for $ac_word...
" >&6; }
13642 if test "${ac_cv_path_COURIERCONFIG+set}" = set; then
13643 $as_echo_n "(cached
) " >&6
13645 case $COURIERCONFIG in
13647 ac_cv_path_COURIERCONFIG="$COURIERCONFIG" # Let the user override the test with a path.
13650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13651 for as_dir in $LPATH
13654 test -z "$as_dir" && as_dir=.
13655 for ac_exec_ext in '' $ac_executable_extensions; do
13656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13657 ac_cv_path_COURIERCONFIG="$as_dir/$ac_word$ac_exec_ext"
13658 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13668 COURIERCONFIG=$ac_cv_path_COURIERCONFIG
13669 if test -n "$COURIERCONFIG"; then
13670 { $as_echo "$as_me:$LINENO: result
: $COURIERCONFIG" >&5
13671 $as_echo "$COURIERCONFIG" >&6; }
13673 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13674 $as_echo "no
" >&6; }
13678 test -n "$COURIERCONFIG" && break
13680 test -n "$COURIERCONFIG" || COURIERCONFIG="courier-config
"
13683 if test "$PERL" = "perl
"
13685 { { $as_echo "$as_me:$LINENO: error
: Perl is required
" >&5
13686 $as_echo "$as_me: error
: Perl is required
" >&2;}
13687 { (exit 1); exit 1; }; }
13690 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13691 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13692 eval "prefix
=$prefix"
13693 eval "exec_prefix
=$exec_prefix"
13694 eval "sysconfdir
=$sysconfdir"
13695 eval "bindir
=$bindir"
13696 eval "sbindir
=$sbindir"
13697 eval "localstatedir
=$localstatedir"
13698 eval "libexecdir
=$libexecdir"
13701 # Check whether --with-redhat was given.
13702 if test "${with_redhat+set}" = set; then
13703 withval=$with_redhat; redhat=$withval
13709 if test "$srcdir" = ".
"
13711 case `./config.guess` in
13713 if test "$redhat" = "no
"
13716 { $as_echo "$as_me:$LINENO: WARNING
: === I think you are trying to run this configure
script" >&5
13717 $as_echo "$as_me: WARNING
: === I think you are trying to run this configure
script" >&2;}
13718 { $as_echo "$as_me:$LINENO: WARNING
: === on Red Hat
/Fedora. You
're doing too much work!" >&5
13719 $as_echo "$as_me: WARNING: === on Red Hat/Fedora. You're doing too much work
!" >&2;}
13720 { $as_echo "$as_me:$LINENO: WARNING
: === It
's much faster to create installable binary RPMs" >&5
13721 $as_echo "$as_me: WARNING: === It's much faster to create installable binary RPMs
" >&2;}
13722 { $as_echo "$as_me:$LINENO: WARNING
: === like this
: http
://www.courier-mta.org
/FAQ.html
${hash}rpm
" >&5
13723 $as_echo "$as_me: WARNING
: === like this
: http
://www.courier-mta.org
/FAQ.html
${hash}rpm
" >&2;}
13724 { $as_echo "$as_me:$LINENO: WARNING
: === When you
do this you may
find that RPM will tell you
" >&5
13725 $as_echo "$as_me: WARNING
: === When you
do this you may
find that RPM will tell you
" >&2;}
13726 { $as_echo "$as_me:$LINENO: WARNING
: === to
install some other software first
, before trying to
" >&5
13727 $as_echo "$as_me: WARNING
: === to
install some other software first
, before trying to
" >&2;}
13728 { $as_echo "$as_me:$LINENO: WARNING
: === build this one
, and even tell you the name of RPMs you
" >&5
13729 $as_echo "$as_me: WARNING
: === build this one
, and even tell you the name of RPMs you
" >&2;}
13730 { $as_echo "$as_me:$LINENO: WARNING
: === need to
install from the distribution CD. That
's much" >&5
13731 $as_echo "$as_me: WARNING: === need to install from the distribution CD. That's much
" >&2;}
13732 { $as_echo "$as_me:$LINENO: WARNING
: === easier than trying to figure out the same from some
" >&5
13733 $as_echo "$as_me: WARNING
: === easier than trying to figure out the same from some
" >&2;}
13734 { $as_echo "$as_me:$LINENO: WARNING
: === cryptic error message.
" >&5
13735 $as_echo "$as_me: WARNING
: === cryptic error message.
" >&2;}
13736 { $as_echo "$as_me:$LINENO: WARNING
: " >&5
13737 $as_echo "$as_me: WARNING
: " >&2;}
13738 { $as_echo "$as_me:$LINENO: WARNING
: === Even
if you don
't intend to use everything you need to" >&5
13739 $as_echo "$as_me: WARNING: === Even if you don't intend to use everything you need to
" >&2;}
13740 { $as_echo "$as_me:$LINENO: WARNING
: === have
in order to build via RPM
, you should still
do as
" >&5
13741 $as_echo "$as_me: WARNING
: === have
in order to build via RPM
, you should still
do as
" >&2;}
13742 { $as_echo "$as_me:$LINENO: WARNING
: === you
're told. All the extra stuff (LDAP, SQL, etc...)" >&5
13743 $as_echo "$as_me: WARNING: === you're told. All the extra stuff
(LDAP
, SQL
, etc...
)" >&2;}
13744 { $as_echo "$as_me:$LINENO: WARNING
: === goes into RPM sub-packages
, which do not need to be
" >&5
13745 $as_echo "$as_me: WARNING
: === goes into RPM sub-packages
, which do not need to be
" >&2;}
13746 { $as_echo "$as_me:$LINENO: WARNING
: === installed.
" >&5
13747 $as_echo "$as_me: WARNING
: === installed.
" >&2;}
13748 { $as_echo "$as_me:$LINENO: WARNING
: === But
, if you insist
, you can simply add
'--with-redhat'" >&5
13749 $as_echo "$as_me: WARNING
: === But
, if you insist
, you can simply add
'--with-redhat'" >&2;}
13750 { $as_echo "$as_me:$LINENO: WARNING
: === parameter to this configure
script and not see this
" >&5
13751 $as_echo "$as_me: WARNING
: === parameter to this configure
script and not see this
" >&2;}
13752 { $as_echo "$as_me:$LINENO: WARNING
: === error message. You should also
do this when upgrading
" >&5
13753 $as_echo "$as_me: WARNING
: === error message. You should also
do this when upgrading
" >&2;}
13754 { $as_echo "$as_me:$LINENO: WARNING
: === and you didn
't use RPM with the older version." >&5
13755 $as_echo "$as_me: WARNING: === and you didn't use RPM with the older version.
" >&2;}
13756 { { $as_echo "$as_me:$LINENO: error
: ...
in either
case you better know what you
're doing!" >&5
13757 $as_echo "$as_me: error: ... in either case you better know what you're doing
!" >&2;}
13758 { (exit 1); exit 1; }; }
13765 for ac_prog in expect
13767 # Extract the first word of "$ac_prog", so it can be a program name with args.
13768 set dummy $ac_prog; ac_word=$2
13769 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13770 $as_echo_n "checking
for $ac_word...
" >&6; }
13771 if test "${ac_cv_path_EXPECT+set}" = set; then
13772 $as_echo_n "(cached
) " >&6
13776 ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path.
13779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13780 for as_dir in $LPATH
13783 test -z "$as_dir" && as_dir=.
13784 for ac_exec_ext in '' $ac_executable_extensions; do
13785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13786 ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext"
13787 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13797 EXPECT=$ac_cv_path_EXPECT
13798 if test -n "$EXPECT"; then
13799 { $as_echo "$as_me:$LINENO: result
: $EXPECT" >&5
13800 $as_echo "$EXPECT" >&6; }
13802 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13803 $as_echo "no
" >&6; }
13807 test -n "$EXPECT" && break
13809 test -n "$EXPECT" || EXPECT="expect
"
13812 if test "$EXPECT" = "expect
"
13814 { $as_echo "$as_me:$LINENO: WARNING
: -----------------------------------------------------" >&5
13815 $as_echo "$as_me: WARNING
: -----------------------------------------------------" >&2;}
13816 { $as_echo "$as_me:$LINENO: WARNING
: expect not found
- will not be able to change passwds
" >&5
13817 $as_echo "$as_me: WARNING
: expect not found
- will not be able to change passwds
" >&2;}
13818 { $as_echo "$as_me:$LINENO: WARNING
: in webmail
" >&5
13819 $as_echo "$as_me: WARNING
: in webmail
" >&2;}
13820 { $as_echo "$as_me:$LINENO: WARNING
: -----------------------------------------------------" >&5
13821 $as_echo "$as_me: WARNING
: -----------------------------------------------------" >&2;}
13825 cat >>confdefs.h <<_ACEOF
13826 #define HAVE_EXPECT 1
13831 for ac_prog in passwd
13833 # Extract the first word of "$ac_prog", so it can be a program name with args.
13834 set dummy $ac_prog; ac_word=$2
13835 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13836 $as_echo_n "checking
for $ac_word...
" >&6; }
13837 if test "${ac_cv_path_PASSWD+set}" = set; then
13838 $as_echo_n "(cached
) " >&6
13842 ac_cv_path_PASSWD="$PASSWD" # Let the user override the test with a path.
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $LPATH
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13852 ac_cv_path_PASSWD="$as_dir/$ac_word$ac_exec_ext"
13853 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13863 PASSWD=$ac_cv_path_PASSWD
13864 if test -n "$PASSWD"; then
13865 { $as_echo "$as_me:$LINENO: result
: $PASSWD" >&5
13866 $as_echo "$PASSWD" >&6; }
13868 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13869 $as_echo "no
" >&6; }
13873 test -n "$PASSWD" && break
13875 test -n "$PASSWD" || PASSWD="passwd
"
13879 if test "$GCC" = "yes"
13881 CFLAGS="$CFLAGS -Wall"
13884 CFLAGS="$CFLAGS -I..
-I${srcdir}/..
"
13886 { $as_echo "$as_me:$LINENO: checking whether
-lm is needed
for floor
" >&5
13887 $as_echo_n "checking whether
-lm is needed
for floor...
" >&6; }
13888 cat >conftest.$ac_ext <<_ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13895 /* Override any GCC internal prototype to avoid an error.
13896 Use char because int might match the return type of a GCC
13897 builtin and then its argument prototype would still apply. */
13910 rm -f conftest.$ac_objext conftest$ac_exeext
13911 if { (ac_try="$ac_link"
13912 case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13916 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13917 $as_echo "$ac_try_echo") >&5
13918 (eval "$ac_link") 2>conftest.er1
13920 grep -v '^ *+' conftest.er1 >conftest.err
13922 cat conftest.err >&5
13923 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13924 (exit $ac_status); } && {
13925 test -z "$ac_c_werror_flag" ||
13926 test ! -s conftest.err
13927 } && test -s conftest$ac_exeext && {
13928 test "$cross_compiling" = yes ||
13929 $as_test_x conftest$ac_exeext
13931 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13932 $as_echo "no
" >&6; }
13934 $as_echo "$as_me: failed program was
:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13938 { $as_echo "$as_me:$LINENO: result
: yes" >&5
13939 $as_echo "yes" >&6; }
13942 rm -rf conftest.dSYM
13943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13944 conftest$ac_exeext conftest.$ac_ext
13947 # Check whether --with-pkgconfdir was given.
13948 if test "${with_pkgconfdir+set}" = set; then
13949 withval=$with_pkgconfdir; pkgconfdir="$withval"
13951 pkgconfdir="$sysconfdir/authlib
"
13959 { $as_echo "$as_me:$LINENO: checking
for socket
in -lsocket" >&5
13960 $as_echo_n "checking
for socket
in -lsocket...
" >&6; }
13961 if test "${ac_cv_lib_socket_socket+set}" = set; then
13962 $as_echo_n "(cached
) " >&6
13964 ac_check_lib_save_LIBS=$LIBS
13965 LIBS="-lsocket $LIBS"
13966 cat >conftest.$ac_ext <<_ACEOF
13969 cat confdefs.h >>conftest.$ac_ext
13970 cat >>conftest.$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13988 rm -f conftest.$ac_objext conftest$ac_exeext
13989 if { (ac_try="$ac_link"
13990 case "(($ac_try" in
13991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13992 *) ac_try_echo=$ac_try;;
13994 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13995 $as_echo "$ac_try_echo") >&5
13996 (eval "$ac_link") 2>conftest.er1
13998 grep -v '^ *+' conftest.er1 >conftest.err
14000 cat conftest.err >&5
14001 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14002 (exit $ac_status); } && {
14003 test -z "$ac_c_werror_flag" ||
14004 test ! -s conftest.err
14005 } && test -s conftest$ac_exeext && {
14006 test "$cross_compiling" = yes ||
14007 $as_test_x conftest$ac_exeext
14009 ac_cv_lib_socket_socket=yes
14011 $as_echo "$as_me: failed program was
:" >&5
14012 sed 's/^/| /' conftest.$ac_ext >&5
14014 ac_cv_lib_socket_socket=no
14017 rm -rf conftest.dSYM
14018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14019 conftest$ac_exeext conftest.$ac_ext
14020 LIBS=$ac_check_lib_save_LIBS
14022 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_socket_socket" >&5
14023 $as_echo "$ac_cv_lib_socket_socket" >&6; }
14024 if test "x
$ac_cv_lib_socket_socket" = x""yes; then
14030 if test $result = yes; then
14033 { $as_echo "$as_me:$LINENO: checking
for socket
in -lsocket" >&5
14034 $as_echo_n "checking
for socket
in -lsocket...
" >&6; }
14035 if test "${ac_cv_lib_socket_socket+set}" = set; then
14036 $as_echo_n "(cached
) " >&6
14038 ac_check_lib_save_LIBS=$LIBS
14039 LIBS="-lsocket -lnsl $LIBS"
14040 cat >conftest.$ac_ext <<_ACEOF
14043 cat confdefs.h >>conftest.$ac_ext
14044 cat >>conftest.$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14062 rm -f conftest.$ac_objext conftest$ac_exeext
14063 if { (ac_try="$ac_link"
14064 case "(($ac_try" in
14065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14066 *) ac_try_echo=$ac_try;;
14068 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14069 $as_echo "$ac_try_echo") >&5
14070 (eval "$ac_link") 2>conftest.er1
14072 grep -v '^ *+' conftest.er1 >conftest.err
14074 cat conftest.err >&5
14075 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14076 (exit $ac_status); } && {
14077 test -z "$ac_c_werror_flag" ||
14078 test ! -s conftest.err
14079 } && test -s conftest$ac_exeext && {
14080 test "$cross_compiling" = yes ||
14081 $as_test_x conftest$ac_exeext
14083 ac_cv_lib_socket_socket=yes
14085 $as_echo "$as_me: failed program was
:" >&5
14086 sed 's/^/| /' conftest.$ac_ext >&5
14088 ac_cv_lib_socket_socket=no
14091 rm -rf conftest.dSYM
14092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14093 conftest$ac_exeext conftest.$ac_ext
14094 LIBS=$ac_check_lib_save_LIBS
14096 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_socket_socket" >&5
14097 $as_echo "$ac_cv_lib_socket_socket" >&6; }
14098 if test "x
$ac_cv_lib_socket_socket" = x""yes; then
14104 if test $result = yes; then
14105 NETLIBS = "-lsocket -lnsl"
14108 { $as_echo "$as_me:$LINENO: checking
for connect
in -lsocket" >&5
14109 $as_echo_n "checking
for connect
in -lsocket...
" >&6; }
14110 if test "${ac_cv_lib_socket_connect+set}" = set; then
14111 $as_echo_n "(cached
) " >&6
14113 ac_check_lib_save_LIBS=$LIBS
14114 LIBS="-lsocket $LIBS"
14115 cat >conftest.$ac_ext <<_ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14122 /* Override any GCC internal prototype to avoid an error.
14123 Use char because int might match the return type of a GCC
14124 builtin and then its argument prototype would still apply. */
14137 rm -f conftest.$ac_objext conftest$ac_exeext
14138 if { (ac_try="$ac_link"
14139 case "(($ac_try" in
14140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14141 *) ac_try_echo=$ac_try;;
14143 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14144 $as_echo "$ac_try_echo") >&5
14145 (eval "$ac_link") 2>conftest.er1
14147 grep -v '^ *+' conftest.er1 >conftest.err
14149 cat conftest.err >&5
14150 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14151 (exit $ac_status); } && {
14152 test -z "$ac_c_werror_flag" ||
14153 test ! -s conftest.err
14154 } && test -s conftest$ac_exeext && {
14155 test "$cross_compiling" = yes ||
14156 $as_test_x conftest$ac_exeext
14158 ac_cv_lib_socket_connect=yes
14160 $as_echo "$as_me: failed program was
:" >&5
14161 sed 's/^/| /' conftest.$ac_ext >&5
14163 ac_cv_lib_socket_connect=no
14166 rm -rf conftest.dSYM
14167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14168 conftest$ac_exeext conftest.$ac_ext
14169 LIBS=$ac_check_lib_save_LIBS
14171 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_socket_connect" >&5
14172 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14173 if test "x
$ac_cv_lib_socket_connect" = x""yes; then
14179 if test $result = yes; then
14182 { $as_echo "$as_me:$LINENO: checking
for connect
in -lsocket" >&5
14183 $as_echo_n "checking
for connect
in -lsocket...
" >&6; }
14184 if test "${ac_cv_lib_socket_connect+set}" = set; then
14185 $as_echo_n "(cached
) " >&6
14187 ac_check_lib_save_LIBS=$LIBS
14188 LIBS="-lsocket -lnsl $LIBS"
14189 cat >conftest.$ac_ext <<_ACEOF
14192 cat confdefs.h >>conftest.$ac_ext
14193 cat >>conftest.$ac_ext <<_ACEOF
14194 /* end confdefs.h. */
14196 /* Override any GCC internal prototype to avoid an error.
14197 Use char because int might match the return type of a GCC
14198 builtin and then its argument prototype would still apply. */
14211 rm -f conftest.$ac_objext conftest$ac_exeext
14212 if { (ac_try="$ac_link"
14213 case "(($ac_try" in
14214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14215 *) ac_try_echo=$ac_try;;
14217 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14218 $as_echo "$ac_try_echo") >&5
14219 (eval "$ac_link") 2>conftest.er1
14221 grep -v '^ *+' conftest.er1 >conftest.err
14223 cat conftest.err >&5
14224 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14225 (exit $ac_status); } && {
14226 test -z "$ac_c_werror_flag" ||
14227 test ! -s conftest.err
14228 } && test -s conftest$ac_exeext && {
14229 test "$cross_compiling" = yes ||
14230 $as_test_x conftest$ac_exeext
14232 ac_cv_lib_socket_connect=yes
14234 $as_echo "$as_me: failed program was
:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14237 ac_cv_lib_socket_connect=no
14240 rm -rf conftest.dSYM
14241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14242 conftest$ac_exeext conftest.$ac_ext
14243 LIBS=$ac_check_lib_save_LIBS
14245 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_socket_connect" >&5
14246 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14247 if test "x
$ac_cv_lib_socket_connect" = x""yes; then
14253 if test $result = yes; then
14254 NETLIBS="-lsocket -lnsl"
14261 if test $USENSL != yes; then
14262 LIBS="$LIBS $NETLIBS"
14263 cat >conftest.$ac_ext <<_ACEOF
14266 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14270 /* Override any GCC internal prototype to avoid an error.
14271 Use char because int might match the return type of a GCC
14272 builtin and then its argument prototype would still apply. */
14280 return inet_addr ();
14285 rm -f conftest.$ac_objext conftest$ac_exeext
14286 if { (ac_try="$ac_link"
14287 case "(($ac_try" in
14288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14289 *) ac_try_echo=$ac_try;;
14291 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14292 $as_echo "$ac_try_echo") >&5
14293 (eval "$ac_link") 2>conftest.er1
14295 grep -v '^ *+' conftest.er1 >conftest.err
14297 cat conftest.err >&5
14298 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14299 (exit $ac_status); } && {
14300 test -z "$ac_c_werror_flag" ||
14301 test ! -s conftest.err
14302 } && test -s conftest$ac_exeext && {
14303 test "$cross_compiling" = yes ||
14304 $as_test_x conftest$ac_exeext
14308 $as_echo "$as_me: failed program was
:" >&5
14309 sed 's/^/| /' conftest.$ac_ext >&5
14312 { $as_echo "$as_me:$LINENO: checking
for inet_addr
in -lnsl" >&5
14313 $as_echo_n "checking
for inet_addr
in -lnsl...
" >&6; }
14314 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
14315 $as_echo_n "(cached
) " >&6
14317 ac_check_lib_save_LIBS=$LIBS
14319 cat >conftest.$ac_ext <<_ACEOF
14322 cat confdefs.h >>conftest.$ac_ext
14323 cat >>conftest.$ac_ext <<_ACEOF
14324 /* end confdefs.h. */
14326 /* Override any GCC internal prototype to avoid an error.
14327 Use char because int might match the return type of a GCC
14328 builtin and then its argument prototype would still apply. */
14336 return inet_addr ();
14341 rm -f conftest.$ac_objext conftest$ac_exeext
14342 if { (ac_try="$ac_link"
14343 case "(($ac_try" in
14344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14345 *) ac_try_echo=$ac_try;;
14347 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14348 $as_echo "$ac_try_echo") >&5
14349 (eval "$ac_link") 2>conftest.er1
14351 grep -v '^ *+' conftest.er1 >conftest.err
14353 cat conftest.err >&5
14354 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14355 (exit $ac_status); } && {
14356 test -z "$ac_c_werror_flag" ||
14357 test ! -s conftest.err
14358 } && test -s conftest$ac_exeext && {
14359 test "$cross_compiling" = yes ||
14360 $as_test_x conftest$ac_exeext
14362 ac_cv_lib_nsl_inet_addr=yes
14364 $as_echo "$as_me: failed program was
:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14367 ac_cv_lib_nsl_inet_addr=no
14370 rm -rf conftest.dSYM
14371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14372 conftest$ac_exeext conftest.$ac_ext
14373 LIBS=$ac_check_lib_save_LIBS
14375 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_nsl_inet_addr" >&5
14376 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
14377 if test "x
$ac_cv_lib_nsl_inet_addr" = x""yes; then
14383 if test $result = yes; then
14384 NETLIBS="$NETLIBS -lnsl"
14389 rm -rf conftest.dSYM
14390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14391 conftest$ac_exeext conftest.$ac_ext
14402 # Check whether --with-db was given.
14403 if test "${with_db+set}" = set; then
14404 withval=$with_db; db="$withval"
14418 { { $as_echo "$as_me:$LINENO: error
: Invalid
--with-db option.
" >&5
14419 $as_echo "$as_me: error
: Invalid
--with-db option.
" >&2;}
14420 { (exit 1); exit 1; }; }
14426 if test "$db" != "db
"
14428 { $as_echo "$as_me:$LINENO: checking
for gdbm_open
in -lgdbm" >&5
14429 $as_echo_n "checking
for gdbm_open
in -lgdbm...
" >&6; }
14430 if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
14431 $as_echo_n "(cached
) " >&6
14433 ac_check_lib_save_LIBS=$LIBS
14434 LIBS="-lgdbm $LIBS"
14435 cat >conftest.$ac_ext <<_ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14442 /* Override any GCC internal prototype to avoid an error.
14443 Use char because int might match the return type of a GCC
14444 builtin and then its argument prototype would still apply. */
14452 return gdbm_open ();
14457 rm -f conftest.$ac_objext conftest$ac_exeext
14458 if { (ac_try="$ac_link"
14459 case "(($ac_try" in
14460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14461 *) ac_try_echo=$ac_try;;
14463 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14464 $as_echo "$ac_try_echo") >&5
14465 (eval "$ac_link") 2>conftest.er1
14467 grep -v '^ *+' conftest.er1 >conftest.err
14469 cat conftest.err >&5
14470 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14471 (exit $ac_status); } && {
14472 test -z "$ac_c_werror_flag" ||
14473 test ! -s conftest.err
14474 } && test -s conftest$ac_exeext && {
14475 test "$cross_compiling" = yes ||
14476 $as_test_x conftest$ac_exeext
14478 ac_cv_lib_gdbm_gdbm_open=yes
14480 $as_echo "$as_me: failed program was
:" >&5
14481 sed 's/^/| /' conftest.$ac_ext >&5
14483 ac_cv_lib_gdbm_gdbm_open=no
14486 rm -rf conftest.dSYM
14487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_gdbm_gdbm_open" >&5
14492 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
14493 if test "x
$ac_cv_lib_gdbm_gdbm_open" = x""yes; then
14494 LIBGDBM=-lgdbm ; LIBS="-lgdbm $LIBS"
14497 { $as_echo "$as_me:$LINENO: checking
for gdbm_open
" >&5
14498 $as_echo_n "checking
for gdbm_open...
" >&6; }
14499 if test "${ac_cv_func_gdbm_open+set}" = set; then
14500 $as_echo_n "(cached
) " >&6
14502 cat >conftest.$ac_ext <<_ACEOF
14505 cat confdefs.h >>conftest.$ac_ext
14506 cat >>conftest.$ac_ext <<_ACEOF
14507 /* end confdefs.h. */
14508 /* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
14509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14510 #define gdbm_open innocuous_gdbm_open
14512 /* System header to define __stub macros and hopefully few prototypes,
14513 which can conflict with char gdbm_open (); below.
14514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14515 <limits.h> exists even on freestanding compilers. */
14518 # include <limits.h>
14520 # include <assert.h>
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14532 /* The GNU C library defines this for functions which it implements
14533 to always fail with ENOSYS. Some functions are actually named
14534 something starting with __ and the normal name is an alias. */
14535 #if defined __stub_gdbm_open || defined __stub___gdbm_open
14542 return gdbm_open ();
14547 rm -f conftest.$ac_objext conftest$ac_exeext
14548 if { (ac_try="$ac_link"
14549 case "(($ac_try" in
14550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14551 *) ac_try_echo=$ac_try;;
14553 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14554 $as_echo "$ac_try_echo") >&5
14555 (eval "$ac_link") 2>conftest.er1
14557 grep -v '^ *+' conftest.er1 >conftest.err
14559 cat conftest.err >&5
14560 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14561 (exit $ac_status); } && {
14562 test -z "$ac_c_werror_flag" ||
14563 test ! -s conftest.err
14564 } && test -s conftest$ac_exeext && {
14565 test "$cross_compiling" = yes ||
14566 $as_test_x conftest$ac_exeext
14568 ac_cv_func_gdbm_open=yes
14570 $as_echo "$as_me: failed program was
:" >&5
14571 sed 's/^/| /' conftest.$ac_ext >&5
14573 ac_cv_func_gdbm_open=no
14576 rm -rf conftest.dSYM
14577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14578 conftest$ac_exeext conftest.$ac_ext
14580 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_gdbm_open" >&5
14581 $as_echo "$ac_cv_func_gdbm_open" >&6; }
14582 if test "x
$ac_cv_func_gdbm_open" = x""yes; then
14590 if test "$db" != "gdbm
"
14592 { $as_echo "$as_me:$LINENO: checking
for dbopen
in -ldb" >&5
14593 $as_echo_n "checking
for dbopen
in -ldb...
" >&6; }
14594 if test "${ac_cv_lib_db_dbopen+set}" = set; then
14595 $as_echo_n "(cached
) " >&6
14597 ac_check_lib_save_LIBS=$LIBS
14599 cat >conftest.$ac_ext <<_ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14606 /* Override any GCC internal prototype to avoid an error.
14607 Use char because int might match the return type of a GCC
14608 builtin and then its argument prototype would still apply. */
14621 rm -f conftest.$ac_objext conftest$ac_exeext
14622 if { (ac_try="$ac_link"
14623 case "(($ac_try" in
14624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14625 *) ac_try_echo=$ac_try;;
14627 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14628 $as_echo "$ac_try_echo") >&5
14629 (eval "$ac_link") 2>conftest.er1
14631 grep -v '^ *+' conftest.er1 >conftest.err
14633 cat conftest.err >&5
14634 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14635 (exit $ac_status); } && {
14636 test -z "$ac_c_werror_flag" ||
14637 test ! -s conftest.err
14638 } && test -s conftest$ac_exeext && {
14639 test "$cross_compiling" = yes ||
14640 $as_test_x conftest$ac_exeext
14642 ac_cv_lib_db_dbopen=yes
14644 $as_echo "$as_me: failed program was
:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14647 ac_cv_lib_db_dbopen=no
14650 rm -rf conftest.dSYM
14651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14652 conftest$ac_exeext conftest.$ac_ext
14653 LIBS=$ac_check_lib_save_LIBS
14655 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_db_dbopen" >&5
14656 $as_echo "$ac_cv_lib_db_dbopen" >&6; }
14657 if test "x
$ac_cv_lib_db_dbopen" = x""yes; then
14658 LIBDB=-ldb ; LIBS="-ldb $LIBS"
14660 { $as_echo "$as_me:$LINENO: checking
for db_open
in -ldb" >&5
14661 $as_echo_n "checking
for db_open
in -ldb...
" >&6; }
14662 if test "${ac_cv_lib_db_db_open+set}" = set; then
14663 $as_echo_n "(cached
) " >&6
14665 ac_check_lib_save_LIBS=$LIBS
14667 cat >conftest.$ac_ext <<_ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14674 /* Override any GCC internal prototype to avoid an error.
14675 Use char because int might match the return type of a GCC
14676 builtin and then its argument prototype would still apply. */
14689 rm -f conftest.$ac_objext conftest$ac_exeext
14690 if { (ac_try="$ac_link"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14695 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14696 $as_echo "$ac_try_echo") >&5
14697 (eval "$ac_link") 2>conftest.er1
14699 grep -v '^ *+' conftest.er1 >conftest.err
14701 cat conftest.err >&5
14702 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14703 (exit $ac_status); } && {
14704 test -z "$ac_c_werror_flag" ||
14705 test ! -s conftest.err
14706 } && test -s conftest$ac_exeext && {
14707 test "$cross_compiling" = yes ||
14708 $as_test_x conftest$ac_exeext
14710 ac_cv_lib_db_db_open=yes
14712 $as_echo "$as_me: failed program was
:" >&5
14713 sed 's/^/| /' conftest.$ac_ext >&5
14715 ac_cv_lib_db_db_open=no
14718 rm -rf conftest.dSYM
14719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14720 conftest$ac_exeext conftest.$ac_ext
14721 LIBS=$ac_check_lib_save_LIBS
14723 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_db_db_open" >&5
14724 $as_echo "$ac_cv_lib_db_db_open" >&6; }
14725 if test "x
$ac_cv_lib_db_db_open" = x""yes; then
14726 LIBDB=-ldb ; LIBS="-ldb $LIBS"
14728 { $as_echo "$as_me:$LINENO: checking
for db_env_create
in -ldb" >&5
14729 $as_echo_n "checking
for db_env_create
in -ldb...
" >&6; }
14730 if test "${ac_cv_lib_db_db_env_create+set}" = set; then
14731 $as_echo_n "(cached
) " >&6
14733 ac_check_lib_save_LIBS=$LIBS
14735 cat >conftest.$ac_ext <<_ACEOF
14738 cat confdefs.h >>conftest.$ac_ext
14739 cat >>conftest.$ac_ext <<_ACEOF
14740 /* end confdefs.h. */
14742 /* Override any GCC internal prototype to avoid an error.
14743 Use char because int might match the return type of a GCC
14744 builtin and then its argument prototype would still apply. */
14748 char db_env_create ();
14752 return db_env_create ();
14757 rm -f conftest.$ac_objext conftest$ac_exeext
14758 if { (ac_try="$ac_link"
14759 case "(($ac_try" in
14760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14761 *) ac_try_echo=$ac_try;;
14763 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14764 $as_echo "$ac_try_echo") >&5
14765 (eval "$ac_link") 2>conftest.er1
14767 grep -v '^ *+' conftest.er1 >conftest.err
14769 cat conftest.err >&5
14770 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14771 (exit $ac_status); } && {
14772 test -z "$ac_c_werror_flag" ||
14773 test ! -s conftest.err
14774 } && test -s conftest$ac_exeext && {
14775 test "$cross_compiling" = yes ||
14776 $as_test_x conftest$ac_exeext
14778 ac_cv_lib_db_db_env_create=yes
14780 $as_echo "$as_me: failed program was
:" >&5
14781 sed 's/^/| /' conftest.$ac_ext >&5
14783 ac_cv_lib_db_db_env_create=no
14786 rm -rf conftest.dSYM
14787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14788 conftest$ac_exeext conftest.$ac_ext
14789 LIBS=$ac_check_lib_save_LIBS
14791 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_db_db_env_create" >&5
14792 $as_echo "$ac_cv_lib_db_db_env_create" >&6; }
14793 if test "x
$ac_cv_lib_db_db_env_create" = x""yes; then
14794 LIBDB=-ldb; LIBS="-ldb $LIBS"
14803 { $as_echo "$as_me:$LINENO: checking
for dbopen
" >&5
14804 $as_echo_n "checking
for dbopen...
" >&6; }
14805 if test "${ac_cv_func_dbopen+set}" = set; then
14806 $as_echo_n "(cached
) " >&6
14808 cat >conftest.$ac_ext <<_ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14814 /* Define dbopen to an innocuous variant, in case <limits.h> declares dbopen.
14815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14816 #define dbopen innocuous_dbopen
14818 /* System header to define __stub macros and hopefully few prototypes,
14819 which can conflict with char dbopen (); below.
14820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14821 <limits.h> exists even on freestanding compilers. */
14824 # include <limits.h>
14826 # include <assert.h>
14831 /* Override any GCC internal prototype to avoid an error.
14832 Use char because int might match the return type of a GCC
14833 builtin and then its argument prototype would still apply. */
14838 /* The GNU C library defines this for functions which it implements
14839 to always fail with ENOSYS. Some functions are actually named
14840 something starting with __ and the normal name is an alias. */
14841 #if defined __stub_dbopen || defined __stub___dbopen
14853 rm -f conftest.$ac_objext conftest$ac_exeext
14854 if { (ac_try="$ac_link"
14855 case "(($ac_try" in
14856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14857 *) ac_try_echo=$ac_try;;
14859 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14860 $as_echo "$ac_try_echo") >&5
14861 (eval "$ac_link") 2>conftest.er1
14863 grep -v '^ *+' conftest.er1 >conftest.err
14865 cat conftest.err >&5
14866 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14867 (exit $ac_status); } && {
14868 test -z "$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14870 } && test -s conftest$ac_exeext && {
14871 test "$cross_compiling" = yes ||
14872 $as_test_x conftest$ac_exeext
14874 ac_cv_func_dbopen=yes
14876 $as_echo "$as_me: failed program was
:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14879 ac_cv_func_dbopen=no
14882 rm -rf conftest.dSYM
14883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14884 conftest$ac_exeext conftest.$ac_ext
14886 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_dbopen" >&5
14887 $as_echo "$ac_cv_func_dbopen" >&6; }
14888 if test "x
$ac_cv_func_dbopen" = x""yes; then
14892 { $as_echo "$as_me:$LINENO: checking
for db_open
" >&5
14893 $as_echo_n "checking
for db_open...
" >&6; }
14894 if test "${ac_cv_func_db_open+set}" = set; then
14895 $as_echo_n "(cached
) " >&6
14897 cat >conftest.$ac_ext <<_ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903 /* Define db_open to an innocuous variant, in case <limits.h> declares db_open.
14904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14905 #define db_open innocuous_db_open
14907 /* System header to define __stub macros and hopefully few prototypes,
14908 which can conflict with char db_open (); below.
14909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14910 <limits.h> exists even on freestanding compilers. */
14913 # include <limits.h>
14915 # include <assert.h>
14920 /* Override any GCC internal prototype to avoid an error.
14921 Use char because int might match the return type of a GCC
14922 builtin and then its argument prototype would still apply. */
14927 /* The GNU C library defines this for functions which it implements
14928 to always fail with ENOSYS. Some functions are actually named
14929 something starting with __ and the normal name is an alias. */
14930 #if defined __stub_db_open || defined __stub___db_open
14942 rm -f conftest.$ac_objext conftest$ac_exeext
14943 if { (ac_try="$ac_link"
14944 case "(($ac_try" in
14945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14946 *) ac_try_echo=$ac_try;;
14948 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14949 $as_echo "$ac_try_echo") >&5
14950 (eval "$ac_link") 2>conftest.er1
14952 grep -v '^ *+' conftest.er1 >conftest.err
14954 cat conftest.err >&5
14955 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14956 (exit $ac_status); } && {
14957 test -z "$ac_c_werror_flag" ||
14958 test ! -s conftest.err
14959 } && test -s conftest$ac_exeext && {
14960 test "$cross_compiling" = yes ||
14961 $as_test_x conftest$ac_exeext
14963 ac_cv_func_db_open=yes
14965 $as_echo "$as_me: failed program was
:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14968 ac_cv_func_db_open=no
14971 rm -rf conftest.dSYM
14972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14973 conftest$ac_exeext conftest.$ac_ext
14975 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_db_open" >&5
14976 $as_echo "$ac_cv_func_db_open" >&6; }
14977 if test "x
$ac_cv_func_db_open" = x""yes; then
14981 { $as_echo "$as_me:$LINENO: checking
for db_env_create
" >&5
14982 $as_echo_n "checking
for db_env_create...
" >&6; }
14983 if test "${ac_cv_func_db_env_create+set}" = set; then
14984 $as_echo_n "(cached
) " >&6
14986 cat >conftest.$ac_ext <<_ACEOF
14989 cat confdefs.h >>conftest.$ac_ext
14990 cat >>conftest.$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
14992 /* Define db_env_create to an innocuous variant, in case <limits.h> declares db_env_create.
14993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14994 #define db_env_create innocuous_db_env_create
14996 /* System header to define __stub macros and hopefully few prototypes,
14997 which can conflict with char db_env_create (); below.
14998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14999 <limits.h> exists even on freestanding compilers. */
15002 # include <limits.h>
15004 # include <assert.h>
15007 #undef db_env_create
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15015 char db_env_create ();
15016 /* The GNU C library defines this for functions which it implements
15017 to always fail with ENOSYS. Some functions are actually named
15018 something starting with __ and the normal name is an alias. */
15019 #if defined __stub_db_env_create || defined __stub___db_env_create
15026 return db_env_create ();
15031 rm -f conftest.$ac_objext conftest$ac_exeext
15032 if { (ac_try="$ac_link"
15033 case "(($ac_try" in
15034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15035 *) ac_try_echo=$ac_try;;
15037 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15038 $as_echo "$ac_try_echo") >&5
15039 (eval "$ac_link") 2>conftest.er1
15041 grep -v '^ *+' conftest.er1 >conftest.err
15043 cat conftest.err >&5
15044 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15045 (exit $ac_status); } && {
15046 test -z "$ac_c_werror_flag" ||
15047 test ! -s conftest.err
15048 } && test -s conftest$ac_exeext && {
15049 test "$cross_compiling" = yes ||
15050 $as_test_x conftest$ac_exeext
15052 ac_cv_func_db_env_create=yes
15054 $as_echo "$as_me: failed program was
:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15057 ac_cv_func_db_env_create=no
15060 rm -rf conftest.dSYM
15061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15062 conftest$ac_exeext conftest.$ac_ext
15064 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_db_env_create" >&5
15065 $as_echo "$ac_cv_func_db_env_create" >&6; }
15066 if test "x
$ac_cv_func_db_env_create" = x""yes; then
15074 if test "$HAVE_GDBM$HAVE_BDB" = ""
15076 { { $as_echo "$as_me:$LINENO: error
: Cannot
find either the gdbm or the db library.
" >&5
15077 $as_echo "$as_me: error
: Cannot
find either the gdbm or the db library.
" >&2;}
15078 { (exit 1); exit 1; }; }
15084 if test "$HAVE_GDBM" = "y
"
15088 if test "$needs_withdb" = 1
15090 ac_configure_args="$ac_configure_args --with-db=gdbm
"
15092 dblibrary=gdbmobj/libgdbmobj.la
15096 if test "$needs_withdb" = 1
15098 ac_configure_args="$ac_configure_args --with-db=db
"
15100 dblibrary=bdbobj/libbdbobj.la
15107 # Check whether --with-authuserdb was given.
15108 if test "${with_authuserdb+set}" = set; then
15109 withval=$with_authuserdb; doauthuserdb="$withval"
15112 if test -d ${srcdir}/userdb
15119 if test "$doauthuserdb" = "no
"
15123 AUTHUSERDB="authuserdb
"
15124 LIBAUTHUSERDB="libauthuserdb.la
"
15129 # Check whether --with-makedatprog was given.
15130 if test "${with_makedatprog+set}" = set; then
15131 withval=$with_makedatprog; :
15134 ac_configure_args="$ac_configure_args --with-makedatprog=$libexecdir/courier-authlib
/makedatprog
"
15139 cat >dbobj.config <<EOF
15142 dblibrary=$dblibrary
15153 userdb="$pkgconfdir/userdb
"
15155 # Check whether --with-userdb was given.
15156 if test "${with_userdb+set}" = set; then
15157 withval=$with_userdb; userdb="$withval"
15159 ac_configure_args="$ac_configure_args '--with-userdb=$userdb'"
15164 cat >>confdefs.h <<_ACEOF
15165 #define USERDB "$userdb"
15171 for ac_header in stdio.h
15173 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
15174 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15175 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
15176 $as_echo_n "checking
for $ac_header...
" >&6; }
15177 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15178 $as_echo_n "(cached
) " >&6
15180 ac_res=`eval 'as_val=${'$as_ac_Header'}
15181 $as_echo "$as_val"'`
15182 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15183 $as_echo "$ac_res" >&6; }
15185 # Is the header compilable?
15186 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
15187 $as_echo_n "checking
$ac_header usability...
" >&6; }
15188 cat >conftest.$ac_ext <<_ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 $ac_includes_default
15195 #include <$ac_header>
15197 rm -f conftest.$ac_objext
15198 if { (ac_try="$ac_compile"
15199 case "(($ac_try" in
15200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15201 *) ac_try_echo=$ac_try;;
15203 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15204 $as_echo "$ac_try_echo") >&5
15205 (eval "$ac_compile") 2>conftest.er1
15207 grep -v '^ *+' conftest.er1 >conftest.err
15209 cat conftest.err >&5
15210 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15211 (exit $ac_status); } && {
15212 test -z "$ac_c_werror_flag" ||
15213 test ! -s conftest.err
15214 } && test -s conftest.$ac_objext; then
15215 ac_header_compiler=yes
15217 $as_echo "$as_me: failed program was
:" >&5
15218 sed 's/^/| /' conftest.$ac_ext >&5
15220 ac_header_compiler=no
15223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15224 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15225 $as_echo "$ac_header_compiler" >&6; }
15227 # Is the header present?
15228 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
15229 $as_echo_n "checking
$ac_header presence...
" >&6; }
15230 cat >conftest.$ac_ext <<_ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 #include <$ac_header>
15238 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15239 case "(($ac_try" in
15240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15241 *) ac_try_echo=$ac_try;;
15243 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15244 $as_echo "$ac_try_echo") >&5
15245 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15247 grep -v '^ *+' conftest.er1 >conftest.err
15249 cat conftest.err >&5
15250 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15251 (exit $ac_status); } >/dev/null && {
15252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15253 test ! -s conftest.err
15255 ac_header_preproc=yes
15257 $as_echo "$as_me: failed program was
:" >&5
15258 sed 's/^/| /' conftest.$ac_ext >&5
15260 ac_header_preproc=no
15263 rm -f conftest.err conftest.$ac_ext
15264 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
15265 $as_echo "$ac_header_preproc" >&6; }
15267 # So? What about this header?
15268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15270 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
15271 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
15272 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
15273 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
15274 ac_header_preproc=yes
15277 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
15278 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
15279 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
15280 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
15281 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
15282 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
15283 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
15284 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
15285 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
15286 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
15287 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
15288 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
15290 ## -------------------------------------------------- ##
15291 ## Report this to courier-users@lists.sourceforge.net ##
15292 ## -------------------------------------------------- ##
15294 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
15297 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
15298 $as_echo_n "checking
for $ac_header...
" >&6; }
15299 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15300 $as_echo_n "(cached
) " >&6
15302 eval "$as_ac_Header=\
$ac_header_preproc"
15304 ac_res=`eval 'as_val=${'$as_ac_Header'}
15305 $as_echo "$as_val"'`
15306 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15307 $as_echo "$ac_res" >&6; }
15310 as_val=`eval 'as_val=${'$as_ac_Header'}
15311 $as_echo "$as_val"'`
15312 if test "x
$as_val" = x""yes; then
15313 cat >>confdefs.h <<_ACEOF
15314 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
15326 # Check whether --with-authpam was given.
15327 if test "${with_authpam+set}" = set; then
15328 withval=$with_authpam; doauthpam="$withval"
15334 for ac_header in security/pam_appl.h Pam/pam_appl.h
15336 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
15337 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15338 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
15339 $as_echo_n "checking
for $ac_header...
" >&6; }
15340 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15341 $as_echo_n "(cached
) " >&6
15343 ac_res=`eval 'as_val=${'$as_ac_Header'}
15344 $as_echo "$as_val"'`
15345 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15346 $as_echo "$ac_res" >&6; }
15348 # Is the header compilable?
15349 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
15350 $as_echo_n "checking
$ac_header usability...
" >&6; }
15351 cat >conftest.$ac_ext <<_ACEOF
15354 cat confdefs.h >>conftest.$ac_ext
15355 cat >>conftest.$ac_ext <<_ACEOF
15356 /* end confdefs.h. */
15357 $ac_includes_default
15358 #include <$ac_header>
15360 rm -f conftest.$ac_objext
15361 if { (ac_try="$ac_compile"
15362 case "(($ac_try" in
15363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15364 *) ac_try_echo=$ac_try;;
15366 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15367 $as_echo "$ac_try_echo") >&5
15368 (eval "$ac_compile") 2>conftest.er1
15370 grep -v '^ *+' conftest.er1 >conftest.err
15372 cat conftest.err >&5
15373 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15374 (exit $ac_status); } && {
15375 test -z "$ac_c_werror_flag" ||
15376 test ! -s conftest.err
15377 } && test -s conftest.$ac_objext; then
15378 ac_header_compiler=yes
15380 $as_echo "$as_me: failed program was
:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15383 ac_header_compiler=no
15386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15387 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15388 $as_echo "$ac_header_compiler" >&6; }
15390 # Is the header present?
15391 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
15392 $as_echo_n "checking
$ac_header presence...
" >&6; }
15393 cat >conftest.$ac_ext <<_ACEOF
15396 cat confdefs.h >>conftest.$ac_ext
15397 cat >>conftest.$ac_ext <<_ACEOF
15398 /* end confdefs.h. */
15399 #include <$ac_header>
15401 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15402 case "(($ac_try" in
15403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15406 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15407 $as_echo "$ac_try_echo") >&5
15408 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15410 grep -v '^ *+' conftest.er1 >conftest.err
15412 cat conftest.err >&5
15413 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15414 (exit $ac_status); } >/dev/null && {
15415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15418 ac_header_preproc=yes
15420 $as_echo "$as_me: failed program was
:" >&5
15421 sed 's/^/| /' conftest.$ac_ext >&5
15423 ac_header_preproc=no
15426 rm -f conftest.err conftest.$ac_ext
15427 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
15428 $as_echo "$ac_header_preproc" >&6; }
15430 # So? What about this header?
15431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15433 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
15434 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
15435 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
15436 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
15437 ac_header_preproc=yes
15440 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
15441 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
15442 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
15443 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
15444 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
15445 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
15446 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
15447 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
15448 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
15449 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
15450 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
15451 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
15453 ## -------------------------------------------------- ##
15454 ## Report this to courier-users@lists.sourceforge.net ##
15455 ## -------------------------------------------------- ##
15457 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
15460 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
15461 $as_echo_n "checking
for $ac_header...
" >&6; }
15462 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15463 $as_echo_n "(cached
) " >&6
15465 eval "$as_ac_Header=\
$ac_header_preproc"
15467 ac_res=`eval 'as_val=${'$as_ac_Header'}
15468 $as_echo "$as_val"'`
15469 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15470 $as_echo "$ac_res" >&6; }
15473 as_val=`eval 'as_val=${'$as_ac_Header'}
15474 $as_echo "$as_val"'`
15475 if test "x
$as_val" = x""yes; then
15476 cat >>confdefs.h <<_ACEOF
15477 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
15484 if test "$doauthpam" = "no
"
15490 { $as_echo "$as_me:$LINENO: checking
for dlopen
in -ldl" >&5
15491 $as_echo_n "checking
for dlopen
in -ldl...
" >&6; }
15492 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15493 $as_echo_n "(cached
) " >&6
15495 ac_check_lib_save_LIBS=$LIBS
15497 cat >conftest.$ac_ext <<_ACEOF
15500 cat confdefs.h >>conftest.$ac_ext
15501 cat >>conftest.$ac_ext <<_ACEOF
15502 /* end confdefs.h. */
15504 /* Override any GCC internal prototype to avoid an error.
15505 Use char because int might match the return type of a GCC
15506 builtin and then its argument prototype would still apply. */
15519 rm -f conftest.$ac_objext conftest$ac_exeext
15520 if { (ac_try="$ac_link"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15523 *) ac_try_echo=$ac_try;;
15525 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15526 $as_echo "$ac_try_echo") >&5
15527 (eval "$ac_link") 2>conftest.er1
15529 grep -v '^ *+' conftest.er1 >conftest.err
15531 cat conftest.err >&5
15532 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15533 (exit $ac_status); } && {
15534 test -z "$ac_c_werror_flag" ||
15535 test ! -s conftest.err
15536 } && test -s conftest$ac_exeext && {
15537 test "$cross_compiling" = yes ||
15538 $as_test_x conftest$ac_exeext
15540 ac_cv_lib_dl_dlopen=yes
15542 $as_echo "$as_me: failed program was
:" >&5
15543 sed 's/^/| /' conftest.$ac_ext >&5
15545 ac_cv_lib_dl_dlopen=no
15548 rm -rf conftest.dSYM
15549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15550 conftest$ac_exeext conftest.$ac_ext
15551 LIBS=$ac_check_lib_save_LIBS
15553 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_dl_dlopen" >&5
15554 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15555 if test "x
$ac_cv_lib_dl_dlopen" = x""yes; then
15561 { $as_echo "$as_me:$LINENO: checking
for pam_start
in -lpam" >&5
15562 $as_echo_n "checking
for pam_start
in -lpam...
" >&6; }
15563 if test "${ac_cv_lib_pam_pam_start+set}" = set; then
15564 $as_echo_n "(cached
) " >&6
15566 ac_check_lib_save_LIBS=$LIBS
15567 LIBS="-lpam $LIBDL $LIBS"
15568 cat >conftest.$ac_ext <<_ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15575 /* Override any GCC internal prototype to avoid an error.
15576 Use char because int might match the return type of a GCC
15577 builtin and then its argument prototype would still apply. */
15585 return pam_start ();
15590 rm -f conftest.$ac_objext conftest$ac_exeext
15591 if { (ac_try="$ac_link"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15596 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15597 $as_echo "$ac_try_echo") >&5
15598 (eval "$ac_link") 2>conftest.er1
15600 grep -v '^ *+' conftest.er1 >conftest.err
15602 cat conftest.err >&5
15603 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15604 (exit $ac_status); } && {
15605 test -z "$ac_c_werror_flag" ||
15606 test ! -s conftest.err
15607 } && test -s conftest$ac_exeext && {
15608 test "$cross_compiling" = yes ||
15609 $as_test_x conftest$ac_exeext
15611 ac_cv_lib_pam_pam_start=yes
15613 $as_echo "$as_me: failed program was
:" >&5
15614 sed 's/^/| /' conftest.$ac_ext >&5
15616 ac_cv_lib_pam_pam_start=no
15619 rm -rf conftest.dSYM
15620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15621 conftest$ac_exeext conftest.$ac_ext
15622 LIBS=$ac_check_lib_save_LIBS
15624 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_pam_pam_start" >&5
15625 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
15626 if test "x
$ac_cv_lib_pam_pam_start" = x""yes; then
15628 LIBS="-lpam $LIBDL $LIBS"
15630 for ac_func in pam_setcred
15632 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
15633 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
15634 $as_echo_n "checking
for $ac_func...
" >&6; }
15635 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
15636 $as_echo_n "(cached
) " >&6
15638 cat >conftest.$ac_ext <<_ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15646 #define $ac_func innocuous_$ac_func
15648 /* System header to define __stub macros and hopefully few prototypes,
15649 which can conflict with char $ac_func (); below.
15650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15651 <limits.h> exists even on freestanding compilers. */
15654 # include <limits.h>
15656 # include <assert.h>
15661 /* Override any GCC internal prototype to avoid an error.
15662 Use char because int might match the return type of a GCC
15663 builtin and then its argument prototype would still apply. */
15668 /* The GNU C library defines this for functions which it implements
15669 to always fail with ENOSYS. Some functions are actually named
15670 something starting with __ and the normal name is an alias. */
15671 #if defined __stub_$ac_func || defined __stub___$ac_func
15678 return $ac_func ();
15683 rm -f conftest.$ac_objext conftest$ac_exeext
15684 if { (ac_try="$ac_link"
15685 case "(($ac_try" in
15686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15687 *) ac_try_echo=$ac_try;;
15689 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15690 $as_echo "$ac_try_echo") >&5
15691 (eval "$ac_link") 2>conftest.er1
15693 grep -v '^ *+' conftest.er1 >conftest.err
15695 cat conftest.err >&5
15696 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15697 (exit $ac_status); } && {
15698 test -z "$ac_c_werror_flag" ||
15699 test ! -s conftest.err
15700 } && test -s conftest$ac_exeext && {
15701 test "$cross_compiling" = yes ||
15702 $as_test_x conftest$ac_exeext
15704 eval "$as_ac_var=yes"
15706 $as_echo "$as_me: failed program was
:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15709 eval "$as_ac_var=no
"
15712 rm -rf conftest.dSYM
15713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15714 conftest$ac_exeext conftest.$ac_ext
15716 ac_res=`eval 'as_val=${'$as_ac_var'}
15717 $as_echo "$as_val"'`
15718 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15719 $as_echo "$ac_res" >&6; }
15720 as_val=`eval 'as_val=${'$as_ac_var'}
15721 $as_echo "$as_val"'`
15722 if test "x
$as_val" = x""yes; then
15723 cat >>confdefs.h <<_ACEOF
15724 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
15739 if test "$HAVE_PAM" = 1
15741 LIBAUTHPAM=libauthpam.la
15745 # Check whether --with-authpam-libraries was given.
15746 if test "${with_authpam_libraries+set}" = set; then
15747 withval=$with_authpam_libraries; authpamcrypt="$withval"
15751 AUTHPAMCRYPT="$authpamcrypt"
15759 # Check whether --with-authldap was given.
15760 if test "${with_authldap+set}" = set; then
15761 withval=$with_authldap; doauthldap="$withval"
15768 for ac_header in lber.h
15770 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
15771 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15772 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
15773 $as_echo_n "checking
for $ac_header...
" >&6; }
15774 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15775 $as_echo_n "(cached
) " >&6
15777 ac_res=`eval 'as_val=${'$as_ac_Header'}
15778 $as_echo "$as_val"'`
15779 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15780 $as_echo "$ac_res" >&6; }
15782 # Is the header compilable?
15783 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
15784 $as_echo_n "checking
$ac_header usability...
" >&6; }
15785 cat >conftest.$ac_ext <<_ACEOF
15788 cat confdefs.h >>conftest.$ac_ext
15789 cat >>conftest.$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15791 $ac_includes_default
15792 #include <$ac_header>
15794 rm -f conftest.$ac_objext
15795 if { (ac_try="$ac_compile"
15796 case "(($ac_try" in
15797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15798 *) ac_try_echo=$ac_try;;
15800 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15801 $as_echo "$ac_try_echo") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15804 grep -v '^ *+' conftest.er1 >conftest.err
15806 cat conftest.err >&5
15807 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15808 (exit $ac_status); } && {
15809 test -z "$ac_c_werror_flag" ||
15810 test ! -s conftest.err
15811 } && test -s conftest.$ac_objext; then
15812 ac_header_compiler=yes
15814 $as_echo "$as_me: failed program was
:" >&5
15815 sed 's/^/| /' conftest.$ac_ext >&5
15817 ac_header_compiler=no
15820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15821 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15822 $as_echo "$ac_header_compiler" >&6; }
15824 # Is the header present?
15825 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
15826 $as_echo_n "checking
$ac_header presence...
" >&6; }
15827 cat >conftest.$ac_ext <<_ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15833 #include <$ac_header>
15835 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15836 case "(($ac_try" in
15837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15838 *) ac_try_echo=$ac_try;;
15840 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15841 $as_echo "$ac_try_echo") >&5
15842 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15844 grep -v '^ *+' conftest.er1 >conftest.err
15846 cat conftest.err >&5
15847 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15848 (exit $ac_status); } >/dev/null && {
15849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15850 test ! -s conftest.err
15852 ac_header_preproc=yes
15854 $as_echo "$as_me: failed program was
:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15857 ac_header_preproc=no
15860 rm -f conftest.err conftest.$ac_ext
15861 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
15862 $as_echo "$ac_header_preproc" >&6; }
15864 # So? What about this header?
15865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15867 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
15868 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
15869 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
15870 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
15871 ac_header_preproc=yes
15874 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
15875 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
15876 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
15877 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
15878 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
15879 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
15880 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
15881 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
15882 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
15883 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
15884 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
15885 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
15887 ## -------------------------------------------------- ##
15888 ## Report this to courier-users@lists.sourceforge.net ##
15889 ## -------------------------------------------------- ##
15891 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
15894 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
15895 $as_echo_n "checking
for $ac_header...
" >&6; }
15896 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15897 $as_echo_n "(cached
) " >&6
15899 eval "$as_ac_Header=\
$ac_header_preproc"
15901 ac_res=`eval 'as_val=${'$as_ac_Header'}
15902 $as_echo "$as_val"'`
15903 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15904 $as_echo "$ac_res" >&6; }
15907 as_val=`eval 'as_val=${'$as_ac_Header'}
15908 $as_echo "$as_val"'`
15909 if test "x
$as_val" = x""yes; then
15910 cat >>confdefs.h <<_ACEOF
15911 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
15919 for ac_header in ldap.h
15921 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
15922 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15923 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
15924 $as_echo_n "checking
for $ac_header...
" >&6; }
15925 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
15926 $as_echo_n "(cached
) " >&6
15928 ac_res=`eval 'as_val=${'$as_ac_Header'}
15929 $as_echo "$as_val"'`
15930 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
15931 $as_echo "$ac_res" >&6; }
15933 # Is the header compilable?
15934 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
15935 $as_echo_n "checking
$ac_header usability...
" >&6; }
15936 cat >conftest.$ac_ext <<_ACEOF
15939 cat confdefs.h >>conftest.$ac_ext
15940 cat >>conftest.$ac_ext <<_ACEOF
15941 /* end confdefs.h. */
15942 $ac_includes_default
15943 #include <$ac_header>
15945 rm -f conftest.$ac_objext
15946 if { (ac_try="$ac_compile"
15947 case "(($ac_try" in
15948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15951 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15952 $as_echo "$ac_try_echo") >&5
15953 (eval "$ac_compile") 2>conftest.er1
15955 grep -v '^ *+' conftest.er1 >conftest.err
15957 cat conftest.err >&5
15958 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest.$ac_objext; then
15963 ac_header_compiler=yes
15965 $as_echo "$as_me: failed program was
:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15968 ac_header_compiler=no
15971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15972 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15973 $as_echo "$ac_header_compiler" >&6; }
15975 # Is the header present?
15976 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
15977 $as_echo_n "checking
$ac_header presence...
" >&6; }
15978 cat >conftest.$ac_ext <<_ACEOF
15981 cat confdefs.h >>conftest.$ac_ext
15982 cat >>conftest.$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15984 #include <$ac_header>
15986 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15987 case "(($ac_try" in
15988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15991 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15992 $as_echo "$ac_try_echo") >&5
15993 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15995 grep -v '^ *+' conftest.er1 >conftest.err
15997 cat conftest.err >&5
15998 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15999 (exit $ac_status); } >/dev/null && {
16000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16001 test ! -s conftest.err
16003 ac_header_preproc=yes
16005 $as_echo "$as_me: failed program was
:" >&5
16006 sed 's/^/| /' conftest.$ac_ext >&5
16008 ac_header_preproc=no
16011 rm -f conftest.err conftest.$ac_ext
16012 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
16013 $as_echo "$ac_header_preproc" >&6; }
16015 # So? What about this header?
16016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16018 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
16019 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
16020 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
16021 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
16022 ac_header_preproc=yes
16025 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
16026 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
16027 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
16028 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
16029 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
16030 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
16031 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
16032 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
16033 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
16034 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
16035 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
16036 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
16038 ## -------------------------------------------------- ##
16039 ## Report this to courier-users@lists.sourceforge.net ##
16040 ## -------------------------------------------------- ##
16042 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
16045 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
16046 $as_echo_n "checking
for $ac_header...
" >&6; }
16047 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
16048 $as_echo_n "(cached
) " >&6
16050 eval "$as_ac_Header=\
$ac_header_preproc"
16052 ac_res=`eval 'as_val=${'$as_ac_Header'}
16053 $as_echo "$as_val"'`
16054 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
16055 $as_echo "$ac_res" >&6; }
16058 as_val=`eval 'as_val=${'$as_ac_Header'}
16059 $as_echo "$as_val"'`
16060 if test "x
$as_val" = x""yes; then
16061 cat >>confdefs.h <<_ACEOF
16062 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
16070 for ac_header in netinet/in.h
16072 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
16073 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
16074 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
16075 $as_echo_n "checking
for $ac_header...
" >&6; }
16076 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
16077 $as_echo_n "(cached
) " >&6
16079 ac_res=`eval 'as_val=${'$as_ac_Header'}
16080 $as_echo "$as_val"'`
16081 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
16082 $as_echo "$ac_res" >&6; }
16084 # Is the header compilable?
16085 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
16086 $as_echo_n "checking
$ac_header usability...
" >&6; }
16087 cat >conftest.$ac_ext <<_ACEOF
16090 cat confdefs.h >>conftest.$ac_ext
16091 cat >>conftest.$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16093 $ac_includes_default
16094 #include <$ac_header>
16096 rm -f conftest.$ac_objext
16097 if { (ac_try="$ac_compile"
16098 case "(($ac_try" in
16099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16102 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16103 $as_echo "$ac_try_echo") >&5
16104 (eval "$ac_compile") 2>conftest.er1
16106 grep -v '^ *+' conftest.er1 >conftest.err
16108 cat conftest.err >&5
16109 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16110 (exit $ac_status); } && {
16111 test -z "$ac_c_werror_flag" ||
16112 test ! -s conftest.err
16113 } && test -s conftest.$ac_objext; then
16114 ac_header_compiler=yes
16116 $as_echo "$as_me: failed program was
:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16119 ac_header_compiler=no
16122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16123 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
16124 $as_echo "$ac_header_compiler" >&6; }
16126 # Is the header present?
16127 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
16128 $as_echo_n "checking
$ac_header presence...
" >&6; }
16129 cat >conftest.$ac_ext <<_ACEOF
16132 cat confdefs.h >>conftest.$ac_ext
16133 cat >>conftest.$ac_ext <<_ACEOF
16134 /* end confdefs.h. */
16135 #include <$ac_header>
16137 if { (ac_try="$ac_cpp conftest.
$ac_ext"
16138 case "(($ac_try" in
16139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16140 *) ac_try_echo=$ac_try;;
16142 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16143 $as_echo "$ac_try_echo") >&5
16144 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
16146 grep -v '^ *+' conftest.er1 >conftest.err
16148 cat conftest.err >&5
16149 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16150 (exit $ac_status); } >/dev/null && {
16151 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16152 test ! -s conftest.err
16154 ac_header_preproc=yes
16156 $as_echo "$as_me: failed program was
:" >&5
16157 sed 's/^/| /' conftest.$ac_ext >&5
16159 ac_header_preproc=no
16162 rm -f conftest.err conftest.$ac_ext
16163 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
16164 $as_echo "$ac_header_preproc" >&6; }
16166 # So? What about this header?
16167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16169 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
16170 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
16171 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
16172 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
16173 ac_header_preproc=yes
16176 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
16177 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
16178 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
16179 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
16180 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
16181 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
16182 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
16183 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
16184 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
16185 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
16186 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
16187 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
16189 ## -------------------------------------------------- ##
16190 ## Report this to courier-users@lists.sourceforge.net ##
16191 ## -------------------------------------------------- ##
16193 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
16196 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
16197 $as_echo_n "checking
for $ac_header...
" >&6; }
16198 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
16199 $as_echo_n "(cached
) " >&6
16201 eval "$as_ac_Header=\
$ac_header_preproc"
16203 ac_res=`eval 'as_val=${'$as_ac_Header'}
16204 $as_echo "$as_val"'`
16205 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
16206 $as_echo "$ac_res" >&6; }
16209 as_val=`eval 'as_val=${'$as_ac_Header'}
16210 $as_echo "$as_val"'`
16211 if test "x
$as_val" = x""yes; then
16212 cat >>confdefs.h <<_ACEOF
16213 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
16221 if test "$doauthldap" = "no
"
16226 LIBS="$NETLIBS $LIBS"
16229 { $as_echo "$as_me:$LINENO: checking whether
-lresolv is needed
for res_query
" >&5
16230 $as_echo_n "checking whether
-lresolv is needed
for res_query...
" >&6; }
16231 cat >conftest.$ac_ext <<_ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16238 #include <sys/types.h>
16239 #if HAVE_NETINET_IN_H
16240 #include <netinet/in.h>
16242 #include <resolv.h>
16244 void (*func)()= (void (*)())res_query;
16254 rm -f conftest.$ac_objext conftest$ac_exeext
16255 if { (ac_try="$ac_link"
16256 case "(($ac_try" in
16257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16258 *) ac_try_echo=$ac_try;;
16260 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16261 $as_echo "$ac_try_echo") >&5
16262 (eval "$ac_link") 2>conftest.er1
16264 grep -v '^ *+' conftest.er1 >conftest.err
16266 cat conftest.err >&5
16267 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16268 (exit $ac_status); } && {
16269 test -z "$ac_c_werror_flag" ||
16270 test ! -s conftest.err
16271 } && test -s conftest$ac_exeext && {
16272 test "$cross_compiling" = yes ||
16273 $as_test_x conftest$ac_exeext
16275 { $as_echo "$as_me:$LINENO: result
: no
" >&5
16276 $as_echo "no
" >&6; }
16278 $as_echo "$as_me: failed program was
:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16282 LIBS="-lresolv $LIBS"
16284 cat >conftest.$ac_ext <<_ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16291 #include <sys/types.h>
16292 #if HAVE_NETINET_IN_H
16293 #include <netinet/in.h>
16295 #include <resolv.h>
16297 void (*func)()= (void (*)())res_query;
16307 rm -f conftest.$ac_objext conftest$ac_exeext
16308 if { (ac_try="$ac_link"
16309 case "(($ac_try" in
16310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16313 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16314 $as_echo "$ac_try_echo") >&5
16315 (eval "$ac_link") 2>conftest.er1
16317 grep -v '^ *+' conftest.er1 >conftest.err
16319 cat conftest.err >&5
16320 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16321 (exit $ac_status); } && {
16322 test -z "$ac_c_werror_flag" ||
16323 test ! -s conftest.err
16324 } && test -s conftest$ac_exeext && {
16325 test "$cross_compiling" = yes ||
16326 $as_test_x conftest$ac_exeext
16329 LDAPLIBS="-lresolv $LDAPLIBS"
16331 { $as_echo "$as_me:$LINENO: result
: yes" >&5
16332 $as_echo "yes" >&6; }
16335 $as_echo "$as_me: failed program was
:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16338 { { $as_echo "$as_me:$LINENO: error
: Cannot
find function res_query
" >&5
16339 $as_echo "$as_me: error
: Cannot
find function res_query
" >&2;}
16340 { (exit 1); exit 1; }; }
16343 rm -rf conftest.dSYM
16344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16345 conftest$ac_exeext conftest.$ac_ext
16349 rm -rf conftest.dSYM
16350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16351 conftest$ac_exeext conftest.$ac_ext
16353 { $as_echo "$as_me:$LINENO: checking
for ber_scanf
in -llber" >&5
16354 $as_echo_n "checking
for ber_scanf
in -llber...
" >&6; }
16355 if test "${ac_cv_lib_lber_ber_scanf+set}" = set; then
16356 $as_echo_n "(cached
) " >&6
16358 ac_check_lib_save_LIBS=$LIBS
16359 LIBS="-llber $LIBS"
16360 cat >conftest.$ac_ext <<_ACEOF
16363 cat confdefs.h >>conftest.$ac_ext
16364 cat >>conftest.$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16377 return ber_scanf ();
16382 rm -f conftest.$ac_objext conftest$ac_exeext
16383 if { (ac_try="$ac_link"
16384 case "(($ac_try" in
16385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16386 *) ac_try_echo=$ac_try;;
16388 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16389 $as_echo "$ac_try_echo") >&5
16390 (eval "$ac_link") 2>conftest.er1
16392 grep -v '^ *+' conftest.er1 >conftest.err
16394 cat conftest.err >&5
16395 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16396 (exit $ac_status); } && {
16397 test -z "$ac_c_werror_flag" ||
16398 test ! -s conftest.err
16399 } && test -s conftest$ac_exeext && {
16400 test "$cross_compiling" = yes ||
16401 $as_test_x conftest$ac_exeext
16403 ac_cv_lib_lber_ber_scanf=yes
16405 $as_echo "$as_me: failed program was
:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16408 ac_cv_lib_lber_ber_scanf=no
16411 rm -rf conftest.dSYM
16412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LIBS=$ac_check_lib_save_LIBS
16416 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_lber_ber_scanf" >&5
16417 $as_echo "$ac_cv_lib_lber_ber_scanf" >&6; }
16418 if test "x
$ac_cv_lib_lber_ber_scanf" = x""yes; then
16419 LDAPLIBS="-llber $LDAPLIBS" LIBS="-llber $LIBS"
16422 { $as_echo "$as_me:$LINENO: checking
for ldap_open
in -lldap" >&5
16423 $as_echo_n "checking
for ldap_open
in -lldap...
" >&6; }
16424 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
16425 $as_echo_n "(cached
) " >&6
16427 ac_check_lib_save_LIBS=$LIBS
16428 LIBS="-lldap $LIBS"
16429 cat >conftest.$ac_ext <<_ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16436 /* Override any GCC internal prototype to avoid an error.
16437 Use char because int might match the return type of a GCC
16438 builtin and then its argument prototype would still apply. */
16446 return ldap_open ();
16451 rm -f conftest.$ac_objext conftest$ac_exeext
16452 if { (ac_try="$ac_link"
16453 case "(($ac_try" in
16454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16457 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16458 $as_echo "$ac_try_echo") >&5
16459 (eval "$ac_link") 2>conftest.er1
16461 grep -v '^ *+' conftest.er1 >conftest.err
16463 cat conftest.err >&5
16464 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16465 (exit $ac_status); } && {
16466 test -z "$ac_c_werror_flag" ||
16467 test ! -s conftest.err
16468 } && test -s conftest$ac_exeext && {
16469 test "$cross_compiling" = yes ||
16470 $as_test_x conftest$ac_exeext
16472 ac_cv_lib_ldap_ldap_open=yes
16474 $as_echo "$as_me: failed program was
:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16477 ac_cv_lib_ldap_ldap_open=no
16480 rm -rf conftest.dSYM
16481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16482 conftest$ac_exeext conftest.$ac_ext
16483 LIBS=$ac_check_lib_save_LIBS
16485 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_ldap_ldap_open" >&5
16486 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; }
16487 if test "x
$ac_cv_lib_ldap_ldap_open" = x""yes; then
16488 LDAPLIBS="-lldap $LDAPLIBS" ; LIBS="-lldap $LIBS"
16491 { $as_echo "$as_me:$LINENO: checking
for ldap_search_st
" >&5
16492 $as_echo_n "checking
for ldap_search_st...
" >&6; }
16493 if test "${ac_cv_func_ldap_search_st+set}" = set; then
16494 $as_echo_n "(cached
) " >&6
16496 cat >conftest.$ac_ext <<_ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 /* Define ldap_search_st to an innocuous variant, in case <limits.h> declares ldap_search_st.
16503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16504 #define ldap_search_st innocuous_ldap_search_st
16506 /* System header to define __stub macros and hopefully few prototypes,
16507 which can conflict with char ldap_search_st (); below.
16508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16509 <limits.h> exists even on freestanding compilers. */
16512 # include <limits.h>
16514 # include <assert.h>
16517 #undef ldap_search_st
16519 /* Override any GCC internal prototype to avoid an error.
16520 Use char because int might match the return type of a GCC
16521 builtin and then its argument prototype would still apply. */
16525 char ldap_search_st ();
16526 /* The GNU C library defines this for functions which it implements
16527 to always fail with ENOSYS. Some functions are actually named
16528 something starting with __ and the normal name is an alias. */
16529 #if defined __stub_ldap_search_st || defined __stub___ldap_search_st
16536 return ldap_search_st ();
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (ac_try="$ac_link"
16543 case "(($ac_try" in
16544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16545 *) ac_try_echo=$ac_try;;
16547 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16548 $as_echo "$ac_try_echo") >&5
16549 (eval "$ac_link") 2>conftest.er1
16551 grep -v '^ *+' conftest.er1 >conftest.err
16553 cat conftest.err >&5
16554 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16555 (exit $ac_status); } && {
16556 test -z "$ac_c_werror_flag" ||
16557 test ! -s conftest.err
16558 } && test -s conftest$ac_exeext && {
16559 test "$cross_compiling" = yes ||
16560 $as_test_x conftest$ac_exeext
16562 ac_cv_func_ldap_search_st=yes
16564 $as_echo "$as_me: failed program was
:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16567 ac_cv_func_ldap_search_st=no
16570 rm -rf conftest.dSYM
16571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16572 conftest$ac_exeext conftest.$ac_ext
16574 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_ldap_search_st" >&5
16575 $as_echo "$ac_cv_func_ldap_search_st" >&6; }
16576 if test "x
$ac_cv_func_ldap_search_st" = x""yes; then
16582 { $as_echo "$as_me:$LINENO: checking
for ldap_start_tls_s
" >&5
16583 $as_echo_n "checking
for ldap_start_tls_s...
" >&6; }
16584 if test "${ac_cv_func_ldap_start_tls_s+set}" = set; then
16585 $as_echo_n "(cached
) " >&6
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 /* Define ldap_start_tls_s to an innocuous variant, in case <limits.h> declares ldap_start_tls_s.
16594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16595 #define ldap_start_tls_s innocuous_ldap_start_tls_s
16597 /* System header to define __stub macros and hopefully few prototypes,
16598 which can conflict with char ldap_start_tls_s (); below.
16599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16600 <limits.h> exists even on freestanding compilers. */
16603 # include <limits.h>
16605 # include <assert.h>
16608 #undef ldap_start_tls_s
16610 /* Override any GCC internal prototype to avoid an error.
16611 Use char because int might match the return type of a GCC
16612 builtin and then its argument prototype would still apply. */
16616 char ldap_start_tls_s ();
16617 /* The GNU C library defines this for functions which it implements
16618 to always fail with ENOSYS. Some functions are actually named
16619 something starting with __ and the normal name is an alias. */
16620 #if defined __stub_ldap_start_tls_s || defined __stub___ldap_start_tls_s
16627 return ldap_start_tls_s ();
16632 rm -f conftest.$ac_objext conftest$ac_exeext
16633 if { (ac_try="$ac_link"
16634 case "(($ac_try" in
16635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16636 *) ac_try_echo=$ac_try;;
16638 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16639 $as_echo "$ac_try_echo") >&5
16640 (eval "$ac_link") 2>conftest.er1
16642 grep -v '^ *+' conftest.er1 >conftest.err
16644 cat conftest.err >&5
16645 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_c_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest$ac_exeext && {
16650 test "$cross_compiling" = yes ||
16651 $as_test_x conftest$ac_exeext
16653 ac_cv_func_ldap_start_tls_s=yes
16655 $as_echo "$as_me: failed program was
:" >&5
16656 sed 's/^/| /' conftest.$ac_ext >&5
16658 ac_cv_func_ldap_start_tls_s=no
16661 rm -rf conftest.dSYM
16662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16663 conftest$ac_exeext conftest.$ac_ext
16665 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_ldap_start_tls_s" >&5
16666 $as_echo "$ac_cv_func_ldap_start_tls_s" >&6; }
16667 if test "x
$ac_cv_func_ldap_start_tls_s" = x""yes; then
16673 { $as_echo "$as_me:$LINENO: checking
for ldap_result2error
" >&5
16674 $as_echo_n "checking
for ldap_result2error...
" >&6; }
16675 if test "${ac_cv_func_ldap_result2error+set}" = set; then
16676 $as_echo_n "(cached
) " >&6
16678 cat >conftest.$ac_ext <<_ACEOF
16681 cat confdefs.h >>conftest.$ac_ext
16682 cat >>conftest.$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16684 /* Define ldap_result2error to an innocuous variant, in case <limits.h> declares ldap_result2error.
16685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16686 #define ldap_result2error innocuous_ldap_result2error
16688 /* System header to define __stub macros and hopefully few prototypes,
16689 which can conflict with char ldap_result2error (); below.
16690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16691 <limits.h> exists even on freestanding compilers. */
16694 # include <limits.h>
16696 # include <assert.h>
16699 #undef ldap_result2error
16701 /* Override any GCC internal prototype to avoid an error.
16702 Use char because int might match the return type of a GCC
16703 builtin and then its argument prototype would still apply. */
16707 char ldap_result2error ();
16708 /* The GNU C library defines this for functions which it implements
16709 to always fail with ENOSYS. Some functions are actually named
16710 something starting with __ and the normal name is an alias. */
16711 #if defined __stub_ldap_result2error || defined __stub___ldap_result2error
16718 return ldap_result2error ();
16723 rm -f conftest.$ac_objext conftest$ac_exeext
16724 if { (ac_try="$ac_link"
16725 case "(($ac_try" in
16726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16727 *) ac_try_echo=$ac_try;;
16729 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16730 $as_echo "$ac_try_echo") >&5
16731 (eval "$ac_link") 2>conftest.er1
16733 grep -v '^ *+' conftest.er1 >conftest.err
16735 cat conftest.err >&5
16736 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16737 (exit $ac_status); } && {
16738 test -z "$ac_c_werror_flag" ||
16739 test ! -s conftest.err
16740 } && test -s conftest$ac_exeext && {
16741 test "$cross_compiling" = yes ||
16742 $as_test_x conftest$ac_exeext
16744 ac_cv_func_ldap_result2error=yes
16746 $as_echo "$as_me: failed program was
:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16749 ac_cv_func_ldap_result2error=no
16752 rm -rf conftest.dSYM
16753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16754 conftest$ac_exeext conftest.$ac_ext
16756 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_ldap_result2error" >&5
16757 $as_echo "$ac_cv_func_ldap_result2error" >&6; }
16758 if test "x
$ac_cv_func_ldap_result2error" = x""yes; then
16759 HAVE_LDAP_RESULT2ERROR=1
16761 HAVE_LDAP_RESULT2ERROR=0
16764 { $as_echo "$as_me:$LINENO: checking
for ldap_parse_result
" >&5
16765 $as_echo_n "checking
for ldap_parse_result...
" >&6; }
16766 if test "${ac_cv_func_ldap_parse_result+set}" = set; then
16767 $as_echo_n "(cached
) " >&6
16769 cat >conftest.$ac_ext <<_ACEOF
16772 cat confdefs.h >>conftest.$ac_ext
16773 cat >>conftest.$ac_ext <<_ACEOF
16774 /* end confdefs.h. */
16775 /* Define ldap_parse_result to an innocuous variant, in case <limits.h> declares ldap_parse_result.
16776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16777 #define ldap_parse_result innocuous_ldap_parse_result
16779 /* System header to define __stub macros and hopefully few prototypes,
16780 which can conflict with char ldap_parse_result (); below.
16781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16782 <limits.h> exists even on freestanding compilers. */
16785 # include <limits.h>
16787 # include <assert.h>
16790 #undef ldap_parse_result
16792 /* Override any GCC internal prototype to avoid an error.
16793 Use char because int might match the return type of a GCC
16794 builtin and then its argument prototype would still apply. */
16798 char ldap_parse_result ();
16799 /* The GNU C library defines this for functions which it implements
16800 to always fail with ENOSYS. Some functions are actually named
16801 something starting with __ and the normal name is an alias. */
16802 #if defined __stub_ldap_parse_result || defined __stub___ldap_parse_result
16809 return ldap_parse_result ();
16814 rm -f conftest.$ac_objext conftest$ac_exeext
16815 if { (ac_try="$ac_link"
16816 case "(($ac_try" in
16817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16818 *) ac_try_echo=$ac_try;;
16820 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16821 $as_echo "$ac_try_echo") >&5
16822 (eval "$ac_link") 2>conftest.er1
16824 grep -v '^ *+' conftest.er1 >conftest.err
16826 cat conftest.err >&5
16827 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16828 (exit $ac_status); } && {
16829 test -z "$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 } && test -s conftest$ac_exeext && {
16832 test "$cross_compiling" = yes ||
16833 $as_test_x conftest$ac_exeext
16835 ac_cv_func_ldap_parse_result=yes
16837 $as_echo "$as_me: failed program was
:" >&5
16838 sed 's/^/| /' conftest.$ac_ext >&5
16840 ac_cv_func_ldap_parse_result=no
16843 rm -rf conftest.dSYM
16844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16845 conftest$ac_exeext conftest.$ac_ext
16847 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_ldap_parse_result" >&5
16848 $as_echo "$ac_cv_func_ldap_parse_result" >&6; }
16849 if test "x
$ac_cv_func_ldap_parse_result" = x""yes; then
16850 HAVE_LDAP_PARSE_RESULT=1
16852 HAVE_LDAP_PARSE_RESULT=0
16859 # Check whether --with-authldaprc was given.
16860 if test "${with_authldaprc+set}" = set; then
16861 withval=$with_authldaprc; authldaprc="$withval"
16863 authldaprc="$pkgconfdir/authldaprc
"
16869 if test "$HAVE_LDAP" = 1
16871 LIBAUTHLDAP="libauthldap.la
"
16878 if test "$HAVE_LDAP" = 1; then
16880 HAVE_LDAP_FALSE='#'
16887 cat >>confdefs.h <<_ACEOF
16888 #define HAVE_LDAP_TLS $HAVE_LDAP_TLS
16892 cat >>confdefs.h <<_ACEOF
16893 #define HAVE_LDAP_RESULT2ERROR $HAVE_LDAP_RESULT2ERROR
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_LDAP_PARSE_RESULT $HAVE_LDAP_PARSE_RESULT
16905 # Check whether --with-authpwd was given.
16906 if test "${with_authpwd+set}" = set; then
16907 withval=$with_authpwd; doauthpwd="$withval"
16910 test "$HAVE_PAM" = 1 && doauthpwd="no
"
16911 test "$HAVE_LDAP" = 1 && doauthpwd="no
"
16917 if test "$doauthpwd" = "no
"
16922 for ac_func in endpwent
16924 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
16925 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
16926 $as_echo_n "checking
for $ac_func...
" >&6; }
16927 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
16928 $as_echo_n "(cached
) " >&6
16930 cat >conftest.$ac_ext <<_ACEOF
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16938 #define $ac_func innocuous_$ac_func
16940 /* System header to define __stub macros and hopefully few prototypes,
16941 which can conflict with char $ac_func (); below.
16942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16943 <limits.h> exists even on freestanding compilers. */
16946 # include <limits.h>
16948 # include <assert.h>
16953 /* Override any GCC internal prototype to avoid an error.
16954 Use char because int might match the return type of a GCC
16955 builtin and then its argument prototype would still apply. */
16960 /* The GNU C library defines this for functions which it implements
16961 to always fail with ENOSYS. Some functions are actually named
16962 something starting with __ and the normal name is an alias. */
16963 #if defined __stub_$ac_func || defined __stub___$ac_func
16970 return $ac_func ();
16975 rm -f conftest.$ac_objext conftest$ac_exeext
16976 if { (ac_try="$ac_link"
16977 case "(($ac_try" in
16978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16981 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16982 $as_echo "$ac_try_echo") >&5
16983 (eval "$ac_link") 2>conftest.er1
16985 grep -v '^ *+' conftest.er1 >conftest.err
16987 cat conftest.err >&5
16988 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16989 (exit $ac_status); } && {
16990 test -z "$ac_c_werror_flag" ||
16991 test ! -s conftest.err
16992 } && test -s conftest$ac_exeext && {
16993 test "$cross_compiling" = yes ||
16994 $as_test_x conftest$ac_exeext
16996 eval "$as_ac_var=yes"
16998 $as_echo "$as_me: failed program was
:" >&5
16999 sed 's/^/| /' conftest.$ac_ext >&5
17001 eval "$as_ac_var=no
"
17004 rm -rf conftest.dSYM
17005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17006 conftest$ac_exeext conftest.$ac_ext
17008 ac_res=`eval 'as_val=${'$as_ac_var'}
17009 $as_echo "$as_val"'`
17010 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
17011 $as_echo "$ac_res" >&6; }
17012 as_val=`eval 'as_val=${'$as_ac_var'}
17013 $as_echo "$as_val"'`
17014 if test "x
$as_val" = x""yes; then
17015 cat >>confdefs.h <<_ACEOF
17016 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
17027 # Check whether --with-authshadow was given.
17028 if test "${with_authshadow+set}" = set; then
17029 withval=$with_authshadow; doauthshadow="$withval"
17032 test "$HAVE_PAM" = 1 && doauthshadow="no
"
17033 test "$HAVE_LDAP" = 1 && doauthshadow="no
"
17038 for ac_header in shadow.h
17040 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
17041 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17042 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
17043 $as_echo_n "checking
for $ac_header...
" >&6; }
17044 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17045 $as_echo_n "(cached
) " >&6
17047 ac_res=`eval 'as_val=${'$as_ac_Header'}
17048 $as_echo "$as_val"'`
17049 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
17050 $as_echo "$ac_res" >&6; }
17052 # Is the header compilable?
17053 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
17054 $as_echo_n "checking
$ac_header usability...
" >&6; }
17055 cat >conftest.$ac_ext <<_ACEOF
17058 cat confdefs.h >>conftest.$ac_ext
17059 cat >>conftest.$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 $ac_includes_default
17062 #include <$ac_header>
17064 rm -f conftest.$ac_objext
17065 if { (ac_try="$ac_compile"
17066 case "(($ac_try" in
17067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17068 *) ac_try_echo=$ac_try;;
17070 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17071 $as_echo "$ac_try_echo") >&5
17072 (eval "$ac_compile") 2>conftest.er1
17074 grep -v '^ *+' conftest.er1 >conftest.err
17076 cat conftest.err >&5
17077 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17078 (exit $ac_status); } && {
17079 test -z "$ac_c_werror_flag" ||
17080 test ! -s conftest.err
17081 } && test -s conftest.$ac_objext; then
17082 ac_header_compiler=yes
17084 $as_echo "$as_me: failed program was
:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17087 ac_header_compiler=no
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
17092 $as_echo "$ac_header_compiler" >&6; }
17094 # Is the header present?
17095 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
17096 $as_echo_n "checking
$ac_header presence...
" >&6; }
17097 cat >conftest.$ac_ext <<_ACEOF
17100 cat confdefs.h >>conftest.$ac_ext
17101 cat >>conftest.$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17103 #include <$ac_header>
17105 if { (ac_try="$ac_cpp conftest.
$ac_ext"
17106 case "(($ac_try" in
17107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17108 *) ac_try_echo=$ac_try;;
17110 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17111 $as_echo "$ac_try_echo") >&5
17112 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
17114 grep -v '^ *+' conftest.er1 >conftest.err
17116 cat conftest.err >&5
17117 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17118 (exit $ac_status); } >/dev/null && {
17119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17120 test ! -s conftest.err
17122 ac_header_preproc=yes
17124 $as_echo "$as_me: failed program was
:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 ac_header_preproc=no
17130 rm -f conftest.err conftest.$ac_ext
17131 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
17132 $as_echo "$ac_header_preproc" >&6; }
17134 # So? What about this header?
17135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17137 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
17138 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
17139 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
17140 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
17141 ac_header_preproc=yes
17144 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
17145 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
17146 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
17147 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
17148 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
17149 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
17150 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
17151 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
17152 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
17153 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
17154 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
17155 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
17157 ## -------------------------------------------------- ##
17158 ## Report this to courier-users@lists.sourceforge.net ##
17159 ## -------------------------------------------------- ##
17161 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
17164 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
17165 $as_echo_n "checking
for $ac_header...
" >&6; }
17166 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
17167 $as_echo_n "(cached
) " >&6
17169 eval "$as_ac_Header=\
$ac_header_preproc"
17171 ac_res=`eval 'as_val=${'$as_ac_Header'}
17172 $as_echo "$as_val"'`
17173 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
17174 $as_echo "$ac_res" >&6; }
17177 as_val=`eval 'as_val=${'$as_ac_Header'}
17178 $as_echo "$as_val"'`
17179 if test "x
$as_val" = x""yes; then
17180 cat >>confdefs.h <<_ACEOF
17181 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
17190 { $as_echo "$as_me:$LINENO: checking
for getspent
in -lshadow" >&5
17191 $as_echo_n "checking
for getspent
in -lshadow...
" >&6; }
17192 if test "${ac_cv_lib_shadow_getspent+set}" = set; then
17193 $as_echo_n "(cached
) " >&6
17195 ac_check_lib_save_LIBS=$LIBS
17196 LIBS="-lshadow $LIBS"
17197 cat >conftest.$ac_ext <<_ACEOF
17200 cat confdefs.h >>conftest.$ac_ext
17201 cat >>conftest.$ac_ext <<_ACEOF
17202 /* end confdefs.h. */
17204 /* Override any GCC internal prototype to avoid an error.
17205 Use char because int might match the return type of a GCC
17206 builtin and then its argument prototype would still apply. */
17214 return getspent ();
17219 rm -f conftest.$ac_objext conftest$ac_exeext
17220 if { (ac_try="$ac_link"
17221 case "(($ac_try" in
17222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17223 *) ac_try_echo=$ac_try;;
17225 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17226 $as_echo "$ac_try_echo") >&5
17227 (eval "$ac_link") 2>conftest.er1
17229 grep -v '^ *+' conftest.er1 >conftest.err
17231 cat conftest.err >&5
17232 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17233 (exit $ac_status); } && {
17234 test -z "$ac_c_werror_flag" ||
17235 test ! -s conftest.err
17236 } && test -s conftest$ac_exeext && {
17237 test "$cross_compiling" = yes ||
17238 $as_test_x conftest$ac_exeext
17240 ac_cv_lib_shadow_getspent=yes
17242 $as_echo "$as_me: failed program was
:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17245 ac_cv_lib_shadow_getspent=no
17248 rm -rf conftest.dSYM
17249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17250 conftest$ac_exeext conftest.$ac_ext
17251 LIBS=$ac_check_lib_save_LIBS
17253 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_shadow_getspent" >&5
17254 $as_echo "$ac_cv_lib_shadow_getspent" >&6; }
17255 if test "x
$ac_cv_lib_shadow_getspent" = x""yes; then
17256 SHADOWLIBS="-lshadow" ; LIBS="-lshadow $LIBS"
17261 for ac_func in endspent getspent
17263 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
17264 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
17265 $as_echo_n "checking
for $ac_func...
" >&6; }
17266 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
17267 $as_echo_n "(cached
) " >&6
17269 cat >conftest.$ac_ext <<_ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17277 #define $ac_func innocuous_$ac_func
17279 /* System header to define __stub macros and hopefully few prototypes,
17280 which can conflict with char $ac_func (); below.
17281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17282 <limits.h> exists even on freestanding compilers. */
17285 # include <limits.h>
17287 # include <assert.h>
17292 /* Override any GCC internal prototype to avoid an error.
17293 Use char because int might match the return type of a GCC
17294 builtin and then its argument prototype would still apply. */
17299 /* The GNU C library defines this for functions which it implements
17300 to always fail with ENOSYS. Some functions are actually named
17301 something starting with __ and the normal name is an alias. */
17302 #if defined __stub_$ac_func || defined __stub___$ac_func
17309 return $ac_func ();
17314 rm -f conftest.$ac_objext conftest$ac_exeext
17315 if { (ac_try="$ac_link"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17320 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17321 $as_echo "$ac_try_echo") >&5
17322 (eval "$ac_link") 2>conftest.er1
17324 grep -v '^ *+' conftest.er1 >conftest.err
17326 cat conftest.err >&5
17327 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17328 (exit $ac_status); } && {
17329 test -z "$ac_c_werror_flag" ||
17330 test ! -s conftest.err
17331 } && test -s conftest$ac_exeext && {
17332 test "$cross_compiling" = yes ||
17333 $as_test_x conftest$ac_exeext
17335 eval "$as_ac_var=yes"
17337 $as_echo "$as_me: failed program was
:" >&5
17338 sed 's/^/| /' conftest.$ac_ext >&5
17340 eval "$as_ac_var=no
"
17343 rm -rf conftest.dSYM
17344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17345 conftest$ac_exeext conftest.$ac_ext
17347 ac_res=`eval 'as_val=${'$as_ac_var'}
17348 $as_echo "$as_val"'`
17349 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
17350 $as_echo "$ac_res" >&6; }
17351 as_val=`eval 'as_val=${'$as_ac_var'}
17352 $as_echo "$as_val"'`
17353 if test "x
$as_val" = x""yes; then
17354 cat >>confdefs.h <<_ACEOF
17355 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
17363 if test "$doauthshadow" = "no
"
17370 { $as_echo "$as_me:$LINENO: checking
for getspent
in -lshadow" >&5
17371 $as_echo_n "checking
for getspent
in -lshadow...
" >&6; }
17372 if test "${ac_cv_lib_shadow_getspent+set}" = set; then
17373 $as_echo_n "(cached
) " >&6
17375 ac_check_lib_save_LIBS=$LIBS
17376 LIBS="-lshadow $LIBS"
17377 cat >conftest.$ac_ext <<_ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17384 /* Override any GCC internal prototype to avoid an error.
17385 Use char because int might match the return type of a GCC
17386 builtin and then its argument prototype would still apply. */
17394 return getspent ();
17399 rm -f conftest.$ac_objext conftest$ac_exeext
17400 if { (ac_try="$ac_link"
17401 case "(($ac_try" in
17402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17403 *) ac_try_echo=$ac_try;;
17405 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17406 $as_echo "$ac_try_echo") >&5
17407 (eval "$ac_link") 2>conftest.er1
17409 grep -v '^ *+' conftest.er1 >conftest.err
17411 cat conftest.err >&5
17412 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17413 (exit $ac_status); } && {
17414 test -z "$ac_c_werror_flag" ||
17415 test ! -s conftest.err
17416 } && test -s conftest$ac_exeext && {
17417 test "$cross_compiling" = yes ||
17418 $as_test_x conftest$ac_exeext
17420 ac_cv_lib_shadow_getspent=yes
17422 $as_echo "$as_me: failed program was
:" >&5
17423 sed 's/^/| /' conftest.$ac_ext >&5
17425 ac_cv_lib_shadow_getspent=no
17428 rm -rf conftest.dSYM
17429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17430 conftest$ac_exeext conftest.$ac_ext
17431 LIBS=$ac_check_lib_save_LIBS
17433 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_shadow_getspent" >&5
17434 $as_echo "$ac_cv_lib_shadow_getspent" >&6; }
17435 if test "x
$ac_cv_lib_shadow_getspent" = x""yes; then
17436 cat >>confdefs.h <<_ACEOF
17437 #define HAVE_LIBSHADOW 1
17440 LIBS="-lshadow $LIBS"
17444 { $as_echo "$as_me:$LINENO: checking
for getspent
" >&5
17445 $as_echo_n "checking
for getspent...
" >&6; }
17446 if test "${ac_cv_func_getspent+set}" = set; then
17447 $as_echo_n "(cached
) " >&6
17449 cat >conftest.$ac_ext <<_ACEOF
17452 cat confdefs.h >>conftest.$ac_ext
17453 cat >>conftest.$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17455 /* Define getspent to an innocuous variant, in case <limits.h> declares getspent.
17456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17457 #define getspent innocuous_getspent
17459 /* System header to define __stub macros and hopefully few prototypes,
17460 which can conflict with char getspent (); below.
17461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17462 <limits.h> exists even on freestanding compilers. */
17465 # include <limits.h>
17467 # include <assert.h>
17472 /* Override any GCC internal prototype to avoid an error.
17473 Use char because int might match the return type of a GCC
17474 builtin and then its argument prototype would still apply. */
17479 /* The GNU C library defines this for functions which it implements
17480 to always fail with ENOSYS. Some functions are actually named
17481 something starting with __ and the normal name is an alias. */
17482 #if defined __stub_getspent || defined __stub___getspent
17489 return getspent ();
17494 rm -f conftest.$ac_objext conftest$ac_exeext
17495 if { (ac_try="$ac_link"
17496 case "(($ac_try" in
17497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17498 *) ac_try_echo=$ac_try;;
17500 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17501 $as_echo "$ac_try_echo") >&5
17502 (eval "$ac_link") 2>conftest.er1
17504 grep -v '^ *+' conftest.er1 >conftest.err
17506 cat conftest.err >&5
17507 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17508 (exit $ac_status); } && {
17509 test -z "$ac_c_werror_flag" ||
17510 test ! -s conftest.err
17511 } && test -s conftest$ac_exeext && {
17512 test "$cross_compiling" = yes ||
17513 $as_test_x conftest$ac_exeext
17515 ac_cv_func_getspent=yes
17517 $as_echo "$as_me: failed program was
:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 ac_cv_func_getspent=no
17523 rm -rf conftest.dSYM
17524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17525 conftest$ac_exeext conftest.$ac_ext
17527 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_getspent" >&5
17528 $as_echo "$ac_cv_func_getspent" >&6; }
17529 if test "x
$ac_cv_func_getspent" = x""yes; then
17539 if test "$HAVE_SHADOW" = 1
17541 LIBAUTHSHADOW="libauthshadow.la
"
17547 if test "$HAVE_PWD" = 1
17549 LIBAUTHPWD="libauthpwd.la
"
17557 # Check whether --with-authpgsqlrc was given.
17558 if test "${with_authpgsqlrc+set}" = set; then
17559 withval=$with_authpgsqlrc; authpgsqlrc="$withval"
17561 authpgsqlrc="$pkgconfdir/authpgsqlrc
"
17567 # Check whether --with-authpgsql was given.
17568 if test "${with_authpgsql+set}" = set; then
17569 withval=$with_authpgsql; doauthpgsql="$withval"
17573 for ac_prog in pg_config
17575 # Extract the first word of "$ac_prog", so it can be a program name with args.
17576 set dummy $ac_prog; ac_word=$2
17577 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
17578 $as_echo_n "checking
for $ac_word...
" >&6; }
17579 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
17580 $as_echo_n "(cached
) " >&6
17584 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
17587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17588 for as_dir in $LPATH
17591 test -z "$as_dir" && as_dir=.
17592 for ac_exec_ext in '' $ac_executable_extensions; do
17593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17594 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17595 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
17605 PG_CONFIG=$ac_cv_path_PG_CONFIG
17606 if test -n "$PG_CONFIG"; then
17607 { $as_echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
17608 $as_echo "$PG_CONFIG" >&6; }
17610 { $as_echo "$as_me:$LINENO: result
: no
" >&5
17611 $as_echo "no
" >&6; }
17615 test -n "$PG_CONFIG" && break
17617 test -n "$PG_CONFIG" || PG_CONFIG="pg_config
"
17622 # Check whether --with-pgsql-libs was given.
17623 if test "${with_pgsql_libs+set}" = set; then
17624 withval=$with_pgsql_libs; PGSQL_LIBS="-L$withval $PGSQL_LIBS"
17626 if test -x $PG_CONFIG
17628 PGSQL_LIBS="-L`$PG_CONFIG --libdir` $PGSQL_LIBS"
17634 # Check whether --with-pgsql-includes was given.
17635 if test "${with_pgsql_includes+set}" = set; then
17636 withval=$with_pgsql_includes; PGSQL_CFLAGS="-I$withval"
17638 if test -x $PG_CONFIG
17640 PGSQL_CFLAGS="-I`$PG_CONFIG --includedir`"
17646 if test "$doauthpgsql" = ""
17648 LIBS="$PGSQL_LIBS $LIBS"
17649 { $as_echo "$as_me:$LINENO: checking
for PQsetdbLogin
" >&5
17650 $as_echo_n "checking
for PQsetdbLogin...
" >&6; }
17651 if test "${ac_cv_func_PQsetdbLogin+set}" = set; then
17652 $as_echo_n "(cached
) " >&6
17654 cat >conftest.$ac_ext <<_ACEOF
17657 cat confdefs.h >>conftest.$ac_ext
17658 cat >>conftest.$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 /* Define PQsetdbLogin to an innocuous variant, in case <limits.h> declares PQsetdbLogin.
17661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17662 #define PQsetdbLogin innocuous_PQsetdbLogin
17664 /* System header to define __stub macros and hopefully few prototypes,
17665 which can conflict with char PQsetdbLogin (); below.
17666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17667 <limits.h> exists even on freestanding compilers. */
17670 # include <limits.h>
17672 # include <assert.h>
17675 #undef PQsetdbLogin
17677 /* Override any GCC internal prototype to avoid an error.
17678 Use char because int might match the return type of a GCC
17679 builtin and then its argument prototype would still apply. */
17683 char PQsetdbLogin ();
17684 /* The GNU C library defines this for functions which it implements
17685 to always fail with ENOSYS. Some functions are actually named
17686 something starting with __ and the normal name is an alias. */
17687 #if defined __stub_PQsetdbLogin || defined __stub___PQsetdbLogin
17694 return PQsetdbLogin ();
17699 rm -f conftest.$ac_objext conftest$ac_exeext
17700 if { (ac_try="$ac_link"
17701 case "(($ac_try" in
17702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17703 *) ac_try_echo=$ac_try;;
17705 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17706 $as_echo "$ac_try_echo") >&5
17707 (eval "$ac_link") 2>conftest.er1
17709 grep -v '^ *+' conftest.er1 >conftest.err
17711 cat conftest.err >&5
17712 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_c_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest$ac_exeext && {
17717 test "$cross_compiling" = yes ||
17718 $as_test_x conftest$ac_exeext
17720 ac_cv_func_PQsetdbLogin=yes
17722 $as_echo "$as_me: failed program was
:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17725 ac_cv_func_PQsetdbLogin=no
17728 rm -rf conftest.dSYM
17729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17730 conftest$ac_exeext conftest.$ac_ext
17732 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_PQsetdbLogin" >&5
17733 $as_echo "$ac_cv_func_PQsetdbLogin" >&6; }
17734 if test "x
$ac_cv_func_PQsetdbLogin" = x""yes; then
17742 if test "$doauthpgsql" != "yes"
17748 LIBS="$PGSQL_LIBS $LIBS"
17749 { $as_echo "$as_me:$LINENO: checking
for PQsetdbLogin
" >&5
17750 $as_echo_n "checking
for PQsetdbLogin...
" >&6; }
17751 if test "${ac_cv_func_PQsetdbLogin+set}" = set; then
17752 $as_echo_n "(cached
) " >&6
17754 cat >conftest.$ac_ext <<_ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 /* Define PQsetdbLogin to an innocuous variant, in case <limits.h> declares PQsetdbLogin.
17761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17762 #define PQsetdbLogin innocuous_PQsetdbLogin
17764 /* System header to define __stub macros and hopefully few prototypes,
17765 which can conflict with char PQsetdbLogin (); below.
17766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17767 <limits.h> exists even on freestanding compilers. */
17770 # include <limits.h>
17772 # include <assert.h>
17775 #undef PQsetdbLogin
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17783 char PQsetdbLogin ();
17784 /* The GNU C library defines this for functions which it implements
17785 to always fail with ENOSYS. Some functions are actually named
17786 something starting with __ and the normal name is an alias. */
17787 #if defined __stub_PQsetdbLogin || defined __stub___PQsetdbLogin
17794 return PQsetdbLogin ();
17799 rm -f conftest.$ac_objext conftest$ac_exeext
17800 if { (ac_try="$ac_link"
17801 case "(($ac_try" in
17802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17805 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
17806 $as_echo "$ac_try_echo") >&5
17807 (eval "$ac_link") 2>conftest.er1
17809 grep -v '^ *+' conftest.er1 >conftest.err
17811 cat conftest.err >&5
17812 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17813 (exit $ac_status); } && {
17814 test -z "$ac_c_werror_flag" ||
17815 test ! -s conftest.err
17816 } && test -s conftest$ac_exeext && {
17817 test "$cross_compiling" = yes ||
17818 $as_test_x conftest$ac_exeext
17820 ac_cv_func_PQsetdbLogin=yes
17822 $as_echo "$as_me: failed program was
:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17825 ac_cv_func_PQsetdbLogin=no
17828 rm -rf conftest.dSYM
17829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17830 conftest$ac_exeext conftest.$ac_ext
17832 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_PQsetdbLogin" >&5
17833 $as_echo "$ac_cv_func_PQsetdbLogin" >&6; }
17834 if test "x
$ac_cv_func_PQsetdbLogin" = x""yes; then
17835 AUTHPGSQL="authpgsql
"
17838 { { $as_echo "$as_me:$LINENO: error
: --with-authpgsql specified but no libpq.so
" >&5
17839 $as_echo "$as_me: error
: --with-authpgsql specified but no libpq.so
" >&2;}
17840 { (exit 1); exit 1; }; }
17845 CFLAGS="$PGSQL_CFLAGS $CFLAGS"
17846 LIBAUTHPGSQL="libauthpgsql.la
"
17851 if test "$HAVE_AUTHPGSQL" = 1; then
17852 HAVE_AUTHPGSQL_TRUE=
17853 HAVE_AUTHPGSQL_FALSE='#'
17855 HAVE_AUTHPGSQL_TRUE='#'
17856 HAVE_AUTHPGSQL_FALSE=
17864 # Check whether --with-authmysqlrc was given.
17865 if test "${with_authmysqlrc+set}" = set; then
17866 withval=$with_authmysqlrc; authmysqlrc="$withval"
17868 authmysqlrc="$pkgconfdir/authmysqlrc
"
17874 # Check whether --with-authmysql was given.
17875 if test "${with_authmysql+set}" = set; then
17876 withval=$with_authmysql; doauthmysql="$withval"
17880 # Check whether --with-mysql-libs was given.
17881 if test "${with_mysql_libs+set}" = set; then
17882 withval=$with_mysql_libs; MYSQL_LIBS="-L$withval -lmysqlclient"
17887 # Check whether --with-mysql-includes was given.
17888 if test "${with_mysql_includes+set}" = set; then
17889 withval=$with_mysql_includes; MYSQL_CFLAGS="-I$withval"
17894 for ac_prog in mysql_config
17896 # Extract the first word of "$ac_prog", so it can be a program name with args.
17897 set dummy $ac_prog; ac_word=$2
17898 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
17899 $as_echo_n "checking
for $ac_word...
" >&6; }
17900 if test "${ac_cv_path_MYSQL_CONFIG+set}" = set; then
17901 $as_echo_n "(cached
) " >&6
17903 case $MYSQL_CONFIG in
17905 ac_cv_path_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test with a path.
17908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17909 for as_dir in $LPATH
17912 test -z "$as_dir" && as_dir=.
17913 for ac_exec_ext in '' $ac_executable_extensions; do
17914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17915 ac_cv_path_MYSQL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17916 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
17926 MYSQL_CONFIG=$ac_cv_path_MYSQL_CONFIG
17927 if test -n "$MYSQL_CONFIG"; then
17928 { $as_echo "$as_me:$LINENO: result
: $MYSQL_CONFIG" >&5
17929 $as_echo "$MYSQL_CONFIG" >&6; }
17931 { $as_echo "$as_me:$LINENO: result
: no
" >&5
17932 $as_echo "no
" >&6; }
17936 test -n "$MYSQL_CONFIG" && break
17938 test -n "$MYSQL_CONFIG" || MYSQL_CONFIG="mysql_config
"
17941 if test -x "$MYSQL_CONFIG"
17943 MYSQL_CFLAGS="`$MYSQL_CONFIG --cflags`"
17944 MYSQL_LIBS="`$MYSQL_CONFIG --libs`"
17946 eval "MYSQL_CFLAGS
=\"\
`echo $MYSQL_CFLAGS\`\""
17947 eval "MYSQL_LIBS
=\"\
`echo $MYSQL_LIBS\`\""
17950 if test "$doauthmysql" = ""
17952 LIBS="$MYSQL_LIBS $LIBS"
17953 { $as_echo "$as_me:$LINENO: checking
for mysql_connect
" >&5
17954 $as_echo_n "checking
for mysql_connect...
" >&6; }
17955 if test "${ac_cv_func_mysql_connect+set}" = set; then
17956 $as_echo_n "(cached
) " >&6
17958 cat >conftest.$ac_ext <<_ACEOF
17961 cat confdefs.h >>conftest.$ac_ext
17962 cat >>conftest.$ac_ext <<_ACEOF
17963 /* end confdefs.h. */
17964 /* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
17965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17966 #define mysql_connect innocuous_mysql_connect
17968 /* System header to define __stub macros and hopefully few prototypes,
17969 which can conflict with char mysql_connect (); below.
17970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17971 <limits.h> exists even on freestanding compilers. */
17974 # include <limits.h>
17976 # include <assert.h>
17979 #undef mysql_connect
17981 /* Override any GCC internal prototype to avoid an error.
17982 Use char because int might match the return type of a GCC
17983 builtin and then its argument prototype would still apply. */
17987 char mysql_connect ();
17988 /* The GNU C library defines this for functions which it implements
17989 to always fail with ENOSYS. Some functions are actually named
17990 something starting with __ and the normal name is an alias. */
17991 #if defined __stub_mysql_connect || defined __stub___mysql_connect
17998 return mysql_connect ();
18003 rm -f conftest.$ac_objext conftest$ac_exeext
18004 if { (ac_try="$ac_link"
18005 case "(($ac_try" in
18006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18007 *) ac_try_echo=$ac_try;;
18009 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18010 $as_echo "$ac_try_echo") >&5
18011 (eval "$ac_link") 2>conftest.er1
18013 grep -v '^ *+' conftest.er1 >conftest.err
18015 cat conftest.err >&5
18016 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18017 (exit $ac_status); } && {
18018 test -z "$ac_c_werror_flag" ||
18019 test ! -s conftest.err
18020 } && test -s conftest$ac_exeext && {
18021 test "$cross_compiling" = yes ||
18022 $as_test_x conftest$ac_exeext
18024 ac_cv_func_mysql_connect=yes
18026 $as_echo "$as_me: failed program was
:" >&5
18027 sed 's/^/| /' conftest.$ac_ext >&5
18029 ac_cv_func_mysql_connect=no
18032 rm -rf conftest.dSYM
18033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18034 conftest$ac_exeext conftest.$ac_ext
18036 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mysql_connect" >&5
18037 $as_echo "$ac_cv_func_mysql_connect" >&6; }
18038 if test "x
$ac_cv_func_mysql_connect" = x""yes; then
18043 { $as_echo "$as_me:$LINENO: checking
for mysql_real_connect
" >&5
18044 $as_echo_n "checking
for mysql_real_connect...
" >&6; }
18045 if test "${ac_cv_func_mysql_real_connect+set}" = set; then
18046 $as_echo_n "(cached
) " >&6
18048 cat >conftest.$ac_ext <<_ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 /* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
18055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18056 #define mysql_real_connect innocuous_mysql_real_connect
18058 /* System header to define __stub macros and hopefully few prototypes,
18059 which can conflict with char mysql_real_connect (); below.
18060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18061 <limits.h> exists even on freestanding compilers. */
18064 # include <limits.h>
18066 # include <assert.h>
18069 #undef mysql_real_connect
18071 /* Override any GCC internal prototype to avoid an error.
18072 Use char because int might match the return type of a GCC
18073 builtin and then its argument prototype would still apply. */
18077 char mysql_real_connect ();
18078 /* The GNU C library defines this for functions which it implements
18079 to always fail with ENOSYS. Some functions are actually named
18080 something starting with __ and the normal name is an alias. */
18081 #if defined __stub_mysql_real_connect || defined __stub___mysql_real_connect
18088 return mysql_real_connect ();
18093 rm -f conftest.$ac_objext conftest$ac_exeext
18094 if { (ac_try="$ac_link"
18095 case "(($ac_try" in
18096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18097 *) ac_try_echo=$ac_try;;
18099 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18100 $as_echo "$ac_try_echo") >&5
18101 (eval "$ac_link") 2>conftest.er1
18103 grep -v '^ *+' conftest.er1 >conftest.err
18105 cat conftest.err >&5
18106 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18107 (exit $ac_status); } && {
18108 test -z "$ac_c_werror_flag" ||
18109 test ! -s conftest.err
18110 } && test -s conftest$ac_exeext && {
18111 test "$cross_compiling" = yes ||
18112 $as_test_x conftest$ac_exeext
18114 ac_cv_func_mysql_real_connect=yes
18116 $as_echo "$as_me: failed program was
:" >&5
18117 sed 's/^/| /' conftest.$ac_ext >&5
18119 ac_cv_func_mysql_real_connect=no
18122 rm -rf conftest.dSYM
18123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18124 conftest$ac_exeext conftest.$ac_ext
18126 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mysql_real_connect" >&5
18127 $as_echo "$ac_cv_func_mysql_real_connect" >&6; }
18128 if test "x
$ac_cv_func_mysql_real_connect" = x""yes; then
18136 if test "$doauthmysql" != "yes"
18142 LIBS="$MYSQL_LIBS $LIBS"
18143 { $as_echo "$as_me:$LINENO: checking
for mysql_connect
" >&5
18144 $as_echo_n "checking
for mysql_connect...
" >&6; }
18145 if test "${ac_cv_func_mysql_connect+set}" = set; then
18146 $as_echo_n "(cached
) " >&6
18148 cat >conftest.$ac_ext <<_ACEOF
18151 cat confdefs.h >>conftest.$ac_ext
18152 cat >>conftest.$ac_ext <<_ACEOF
18153 /* end confdefs.h. */
18154 /* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
18155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18156 #define mysql_connect innocuous_mysql_connect
18158 /* System header to define __stub macros and hopefully few prototypes,
18159 which can conflict with char mysql_connect (); below.
18160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18161 <limits.h> exists even on freestanding compilers. */
18164 # include <limits.h>
18166 # include <assert.h>
18169 #undef mysql_connect
18171 /* Override any GCC internal prototype to avoid an error.
18172 Use char because int might match the return type of a GCC
18173 builtin and then its argument prototype would still apply. */
18177 char mysql_connect ();
18178 /* The GNU C library defines this for functions which it implements
18179 to always fail with ENOSYS. Some functions are actually named
18180 something starting with __ and the normal name is an alias. */
18181 #if defined __stub_mysql_connect || defined __stub___mysql_connect
18188 return mysql_connect ();
18193 rm -f conftest.$ac_objext conftest$ac_exeext
18194 if { (ac_try="$ac_link"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18199 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18200 $as_echo "$ac_try_echo") >&5
18201 (eval "$ac_link") 2>conftest.er1
18203 grep -v '^ *+' conftest.er1 >conftest.err
18205 cat conftest.err >&5
18206 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18207 (exit $ac_status); } && {
18208 test -z "$ac_c_werror_flag" ||
18209 test ! -s conftest.err
18210 } && test -s conftest$ac_exeext && {
18211 test "$cross_compiling" = yes ||
18212 $as_test_x conftest$ac_exeext
18214 ac_cv_func_mysql_connect=yes
18216 $as_echo "$as_me: failed program was
:" >&5
18217 sed 's/^/| /' conftest.$ac_ext >&5
18219 ac_cv_func_mysql_connect=no
18222 rm -rf conftest.dSYM
18223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18224 conftest$ac_exeext conftest.$ac_ext
18226 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mysql_connect" >&5
18227 $as_echo "$ac_cv_func_mysql_connect" >&6; }
18228 if test "x
$ac_cv_func_mysql_connect" = x""yes; then
18229 LIBAUTHMYSQL="libauthmysql.la
"
18233 { $as_echo "$as_me:$LINENO: checking
for mysql_real_connect
" >&5
18234 $as_echo_n "checking
for mysql_real_connect...
" >&6; }
18235 if test "${ac_cv_func_mysql_real_connect+set}" = set; then
18236 $as_echo_n "(cached
) " >&6
18238 cat >conftest.$ac_ext <<_ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 /* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
18245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18246 #define mysql_real_connect innocuous_mysql_real_connect
18248 /* System header to define __stub macros and hopefully few prototypes,
18249 which can conflict with char mysql_real_connect (); below.
18250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18251 <limits.h> exists even on freestanding compilers. */
18254 # include <limits.h>
18256 # include <assert.h>
18259 #undef mysql_real_connect
18261 /* Override any GCC internal prototype to avoid an error.
18262 Use char because int might match the return type of a GCC
18263 builtin and then its argument prototype would still apply. */
18267 char mysql_real_connect ();
18268 /* The GNU C library defines this for functions which it implements
18269 to always fail with ENOSYS. Some functions are actually named
18270 something starting with __ and the normal name is an alias. */
18271 #if defined __stub_mysql_real_connect || defined __stub___mysql_real_connect
18278 return mysql_real_connect ();
18283 rm -f conftest.$ac_objext conftest$ac_exeext
18284 if { (ac_try="$ac_link"
18285 case "(($ac_try" in
18286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18289 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18290 $as_echo "$ac_try_echo") >&5
18291 (eval "$ac_link") 2>conftest.er1
18293 grep -v '^ *+' conftest.er1 >conftest.err
18295 cat conftest.err >&5
18296 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18297 (exit $ac_status); } && {
18298 test -z "$ac_c_werror_flag" ||
18299 test ! -s conftest.err
18300 } && test -s conftest$ac_exeext && {
18301 test "$cross_compiling" = yes ||
18302 $as_test_x conftest$ac_exeext
18304 ac_cv_func_mysql_real_connect=yes
18306 $as_echo "$as_me: failed program was
:" >&5
18307 sed 's/^/| /' conftest.$ac_ext >&5
18309 ac_cv_func_mysql_real_connect=no
18312 rm -rf conftest.dSYM
18313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18314 conftest$ac_exeext conftest.$ac_ext
18316 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mysql_real_connect" >&5
18317 $as_echo "$ac_cv_func_mysql_real_connect" >&6; }
18318 if test "x
$ac_cv_func_mysql_real_connect" = x""yes; then
18319 LIBAUTHMYSQL="libauthmysql.la
"
18322 { { $as_echo "$as_me:$LINENO: error
: --with-authmysql specified but no mysqlclient.so
" >&5
18323 $as_echo "$as_me: error
: --with-authmysql specified but no mysqlclient.so
" >&2;}
18324 { (exit 1); exit 1; }; }
18334 CFLAGS="$MYSQL_CFLAGS $CFLAGS"
18338 if test "$HAVE_AUTHMYSQL" = 1; then
18339 HAVE_AUTHMYSQL_TRUE=
18340 HAVE_AUTHMYSQL_FALSE='#'
18342 HAVE_AUTHMYSQL_TRUE='#'
18343 HAVE_AUTHMYSQL_FALSE=
18353 # Check whether --with-authcustom was given.
18354 if test "${with_authcustom+set}" = set; then
18355 withval=$with_authcustom; doauthcustom="$withval"
18363 if test "$doauthcustom" = "yes"
18365 LIBAUTHCUSTOM="libauthcustom.la
"
18368 if test "$AUTHCUSTOM" != ""; then
18370 HAVE_CUSTOM_FALSE='#'
18372 HAVE_CUSTOM_TRUE='#'
18384 # Check whether --with-pipeprog was given.
18385 if test "${with_pipeprog+set}" = set; then
18386 withval=$with_pipeprog; authProg="$withval"
18388 authProg="$pkgconfdir/authProg
"
18394 # Check whether --with-authpipe was given.
18395 if test "${with_authpipe+set}" = set; then
18396 withval=$with_authpipe; doauthpipe="$withval"
18404 if test "$doauthpipe" = "yes"
18406 LIBAUTHPIPE="libauthpipe.la
"
18409 if test "$AUTHPIPE" != ""; then
18411 HAVE_PIPE_FALSE='#'
18421 { $as_echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18422 $as_echo_n "checking
for ANSI C header files...
" >&6; }
18423 if test "${ac_cv_header_stdc+set}" = set; then
18424 $as_echo_n "(cached
) " >&6
18426 cat >conftest.$ac_ext <<_ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18432 #include <stdlib.h>
18433 #include <stdarg.h>
18434 #include <string.h>
18445 rm -f conftest.$ac_objext
18446 if { (ac_try="$ac_compile"
18447 case "(($ac_try" in
18448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18449 *) ac_try_echo=$ac_try;;
18451 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18452 $as_echo "$ac_try_echo") >&5
18453 (eval "$ac_compile") 2>conftest.er1
18455 grep -v '^ *+' conftest.er1 >conftest.err
18457 cat conftest.err >&5
18458 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18459 (exit $ac_status); } && {
18460 test -z "$ac_c_werror_flag" ||
18461 test ! -s conftest.err
18462 } && test -s conftest.$ac_objext; then
18463 ac_cv_header_stdc=yes
18465 $as_echo "$as_me: failed program was
:" >&5
18466 sed 's/^/| /' conftest.$ac_ext >&5
18468 ac_cv_header_stdc=no
18471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 if test $ac_cv_header_stdc = yes; then
18474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18475 cat >conftest.$ac_ext <<_ACEOF
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18481 #include <string.h>
18484 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18485 $EGREP "memchr
" >/dev/null 2>&1; then
18488 ac_cv_header_stdc=no
18494 if test $ac_cv_header_stdc = yes; then
18495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18496 cat >conftest.$ac_ext <<_ACEOF
18499 cat confdefs.h >>conftest.$ac_ext
18500 cat >>conftest.$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 #include <stdlib.h>
18505 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18506 $EGREP "free
" >/dev/null 2>&1; then
18509 ac_cv_header_stdc=no
18515 if test $ac_cv_header_stdc = yes; then
18516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18517 if test "$cross_compiling" = yes; then
18520 cat >conftest.$ac_ext <<_ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18527 #include <stdlib.h>
18528 #if ((' ' & 0x0FF) == 0x020)
18529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18532 # define ISLOWER(c) \
18533 (('a' <= (c) && (c) <= 'i') \
18534 || ('j' <= (c) && (c) <= 'r') \
18535 || ('s' <= (c) && (c) <= 'z'))
18536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18544 for (i = 0; i < 256; i++)
18545 if (XOR (islower (i), ISLOWER (i))
18546 || toupper (i) != TOUPPER (i))
18551 rm -f conftest$ac_exeext
18552 if { (ac_try="$ac_link"
18553 case "(($ac_try" in
18554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18555 *) ac_try_echo=$ac_try;;
18557 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18558 $as_echo "$ac_try_echo") >&5
18559 (eval "$ac_link") 2>&5
18561 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18563 { (case "(($ac_try" in
18564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18565 *) ac_try_echo=$ac_try;;
18567 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18568 $as_echo "$ac_try_echo") >&5
18569 (eval "$ac_try") 2>&5
18571 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18572 (exit $ac_status); }; }; then
18575 $as_echo "$as_me: program exited with status
$ac_status" >&5
18576 $as_echo "$as_me: failed program was
:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18579 ( exit $ac_status )
18580 ac_cv_header_stdc=no
18582 rm -rf conftest.dSYM
18583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18589 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18590 $as_echo "$ac_cv_header_stdc" >&6; }
18591 if test $ac_cv_header_stdc = yes; then
18593 cat >>confdefs.h <<\_ACEOF
18594 #define STDC_HEADERS 1
18599 { $as_echo "$as_me:$LINENO: checking
for sys
/wait.h that is POSIX
.1 compatible
" >&5
18600 $as_echo_n "checking
for sys
/wait.h that is POSIX
.1 compatible...
" >&6; }
18601 if test "${ac_cv_header_sys_wait_h+set}" = set; then
18602 $as_echo_n "(cached
) " >&6
18604 cat >conftest.$ac_ext <<_ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 #include <sys/types.h>
18611 #include <sys/wait.h>
18612 #ifndef WEXITSTATUS
18613 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
18616 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
18624 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
18629 rm -f conftest.$ac_objext
18630 if { (ac_try="$ac_compile"
18631 case "(($ac_try" in
18632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18633 *) ac_try_echo=$ac_try;;
18635 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18636 $as_echo "$ac_try_echo") >&5
18637 (eval "$ac_compile") 2>conftest.er1
18639 grep -v '^ *+' conftest.er1 >conftest.err
18641 cat conftest.err >&5
18642 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18643 (exit $ac_status); } && {
18644 test -z "$ac_c_werror_flag" ||
18645 test ! -s conftest.err
18646 } && test -s conftest.$ac_objext; then
18647 ac_cv_header_sys_wait_h=yes
18649 $as_echo "$as_me: failed program was
:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 ac_cv_header_sys_wait_h=no
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_sys_wait_h" >&5
18658 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
18659 if test $ac_cv_header_sys_wait_h = yes; then
18661 cat >>confdefs.h <<\_ACEOF
18662 #define HAVE_SYS_WAIT_H 1
18675 for ac_header in sys/stat.h sys/time.h sys/wait.h sys/select.h unistd.h fcntl.h crypt.h termios.h
18677 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18678 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18679 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
18680 $as_echo_n "checking
for $ac_header...
" >&6; }
18681 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18682 $as_echo_n "(cached
) " >&6
18684 ac_res=`eval 'as_val=${'$as_ac_Header'}
18685 $as_echo "$as_val"'`
18686 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
18687 $as_echo "$ac_res" >&6; }
18689 # Is the header compilable?
18690 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
18691 $as_echo_n "checking
$ac_header usability...
" >&6; }
18692 cat >conftest.$ac_ext <<_ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18699 #include <$ac_header>
18701 rm -f conftest.$ac_objext
18702 if { (ac_try="$ac_compile"
18703 case "(($ac_try" in
18704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18705 *) ac_try_echo=$ac_try;;
18707 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18708 $as_echo "$ac_try_echo") >&5
18709 (eval "$ac_compile") 2>conftest.er1
18711 grep -v '^ *+' conftest.er1 >conftest.err
18713 cat conftest.err >&5
18714 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_c_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest.$ac_objext; then
18719 ac_header_compiler=yes
18721 $as_echo "$as_me: failed program was
:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 ac_header_compiler=no
18727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18728 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18729 $as_echo "$ac_header_compiler" >&6; }
18731 # Is the header present?
18732 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
18733 $as_echo_n "checking
$ac_header presence...
" >&6; }
18734 cat >conftest.$ac_ext <<_ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 #include <$ac_header>
18742 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18743 case "(($ac_try" in
18744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18747 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18748 $as_echo "$ac_try_echo") >&5
18749 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18751 grep -v '^ *+' conftest.er1 >conftest.err
18753 cat conftest.err >&5
18754 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18755 (exit $ac_status); } >/dev/null && {
18756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18759 ac_header_preproc=yes
18761 $as_echo "$as_me: failed program was
:" >&5
18762 sed 's/^/| /' conftest.$ac_ext >&5
18764 ac_header_preproc=no
18767 rm -f conftest.err conftest.$ac_ext
18768 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18769 $as_echo "$ac_header_preproc" >&6; }
18771 # So? What about this header?
18772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18774 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
18775 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18776 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
18777 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
18778 ac_header_preproc=yes
18781 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
18782 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
18783 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
18784 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
18785 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
18786 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
18787 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
18788 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
18789 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
18790 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
18791 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
18792 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
18794 ## -------------------------------------------------- ##
18795 ## Report this to courier-users@lists.sourceforge.net ##
18796 ## -------------------------------------------------- ##
18798 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
18801 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
18802 $as_echo_n "checking
for $ac_header...
" >&6; }
18803 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18804 $as_echo_n "(cached
) " >&6
18806 eval "$as_ac_Header=\
$ac_header_preproc"
18808 ac_res=`eval 'as_val=${'$as_ac_Header'}
18809 $as_echo "$as_val"'`
18810 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
18811 $as_echo "$ac_res" >&6; }
18814 as_val=`eval 'as_val=${'$as_ac_Header'}
18815 $as_echo "$as_val"'`
18816 if test "x
$as_val" = x""yes; then
18817 cat >>confdefs.h <<_ACEOF
18818 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18826 { $as_echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
18827 $as_echo_n "checking
for an ANSI C-conforming const...
" >&6; }
18828 if test "${ac_cv_c_const+set}" = set; then
18829 $as_echo_n "(cached
) " >&6
18831 cat >conftest.$ac_ext <<_ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18841 /* FIXME: Include the comments suggested by Paul. */
18842 #ifndef __cplusplus
18843 /* Ultrix mips cc rejects this. */
18844 typedef int charset[2];
18846 /* SunOS 4.1.1 cc rejects this. */
18847 char const *const *pcpcc;
18849 /* NEC SVR4.0.2 mips cc rejects this. */
18850 struct point {int x, y;};
18851 static struct point const zero = {0,0};
18852 /* AIX XL C 1.02.0.0 rejects this.
18853 It does not let you subtract one const X* pointer from another in
18854 an arm of an if-expression whose if-part is not a constant
18856 const char *g = "string
";
18857 pcpcc = &g + (g ? g-g : 0);
18858 /* HPUX 7.0 cc rejects these. */
18860 ppc = (char**) pcpcc;
18861 pcpcc = (char const *const *) ppc;
18862 { /* SCO 3.2v4 cc rejects this. */
18864 char const *s = 0 ? (char *) 0 : (char const *) 0;
18869 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18870 int x[] = {25, 17};
18871 const int *foo = &x[0];
18874 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18875 typedef const int *iptr;
18879 { /* AIX XL C 1.02.0.0 rejects this saying
18880 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18881 struct s { int j; const int *ap[3]; };
18882 struct s *b; b->j = 5;
18884 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18885 const int foo = 10;
18886 if (!foo) return 0;
18888 return !cs[0] && !zero.x;
18895 rm -f conftest.$ac_objext
18896 if { (ac_try="$ac_compile"
18897 case "(($ac_try" in
18898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18899 *) ac_try_echo=$ac_try;;
18901 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18902 $as_echo "$ac_try_echo") >&5
18903 (eval "$ac_compile") 2>conftest.er1
18905 grep -v '^ *+' conftest.er1 >conftest.err
18907 cat conftest.err >&5
18908 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18909 (exit $ac_status); } && {
18910 test -z "$ac_c_werror_flag" ||
18911 test ! -s conftest.err
18912 } && test -s conftest.$ac_objext; then
18915 $as_echo "$as_me: failed program was
:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
18924 $as_echo "$ac_cv_c_const" >&6; }
18925 if test $ac_cv_c_const = no; then
18927 cat >>confdefs.h <<\_ACEOF
18933 { $as_echo "$as_me:$LINENO: checking
for pid_t
" >&5
18934 $as_echo_n "checking
for pid_t...
" >&6; }
18935 if test "${ac_cv_type_pid_t+set}" = set; then
18936 $as_echo_n "(cached
) " >&6
18938 ac_cv_type_pid_t=no
18939 cat >conftest.$ac_ext <<_ACEOF
18942 cat confdefs.h >>conftest.$ac_ext
18943 cat >>conftest.$ac_ext <<_ACEOF
18944 /* end confdefs.h. */
18945 $ac_includes_default
18949 if (sizeof (pid_t))
18955 rm -f conftest.$ac_objext
18956 if { (ac_try="$ac_compile"
18957 case "(($ac_try" in
18958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18959 *) ac_try_echo=$ac_try;;
18961 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18962 $as_echo "$ac_try_echo") >&5
18963 (eval "$ac_compile") 2>conftest.er1
18965 grep -v '^ *+' conftest.er1 >conftest.err
18967 cat conftest.err >&5
18968 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18969 (exit $ac_status); } && {
18970 test -z "$ac_c_werror_flag" ||
18971 test ! -s conftest.err
18972 } && test -s conftest.$ac_objext; then
18973 cat >conftest.$ac_ext <<_ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 $ac_includes_default
18983 if (sizeof ((pid_t)))
18989 rm -f conftest.$ac_objext
18990 if { (ac_try="$ac_compile"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18995 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18996 $as_echo "$ac_try_echo") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18999 grep -v '^ *+' conftest.er1 >conftest.err
19001 cat conftest.err >&5
19002 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19009 $as_echo "$as_me: failed program was
:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 ac_cv_type_pid_t=yes
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 $as_echo "$as_me: failed program was
:" >&5
19018 sed 's/^/| /' conftest.$ac_ext >&5
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
19026 $as_echo "$ac_cv_type_pid_t" >&6; }
19027 if test "x
$ac_cv_type_pid_t" = x""yes; then
19031 cat >>confdefs.h <<_ACEOF
19037 { $as_echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
19038 $as_echo_n "checking
for uid_t
in sys
/types.h...
" >&6; }
19039 if test "${ac_cv_type_uid_t+set}" = set; then
19040 $as_echo_n "(cached
) " >&6
19042 cat >conftest.$ac_ext <<_ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <sys/types.h>
19051 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19052 $EGREP "uid_t
" >/dev/null 2>&1; then
19053 ac_cv_type_uid_t=yes
19055 ac_cv_type_uid_t=no
19060 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
19061 $as_echo "$ac_cv_type_uid_t" >&6; }
19062 if test $ac_cv_type_uid_t = no; then
19064 cat >>confdefs.h <<\_ACEOF
19069 cat >>confdefs.h <<\_ACEOF
19077 for ac_func in setsid setlogin
19079 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
19080 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
19081 $as_echo_n "checking
for $ac_func...
" >&6; }
19082 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
19083 $as_echo_n "(cached
) " >&6
19085 cat >conftest.$ac_ext <<_ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19093 #define $ac_func innocuous_$ac_func
19095 /* System header to define __stub macros and hopefully few prototypes,
19096 which can conflict with char $ac_func (); below.
19097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19098 <limits.h> exists even on freestanding compilers. */
19101 # include <limits.h>
19103 # include <assert.h>
19108 /* Override any GCC internal prototype to avoid an error.
19109 Use char because int might match the return type of a GCC
19110 builtin and then its argument prototype would still apply. */
19115 /* The GNU C library defines this for functions which it implements
19116 to always fail with ENOSYS. Some functions are actually named
19117 something starting with __ and the normal name is an alias. */
19118 #if defined __stub_$ac_func || defined __stub___$ac_func
19125 return $ac_func ();
19130 rm -f conftest.$ac_objext conftest$ac_exeext
19131 if { (ac_try="$ac_link"
19132 case "(($ac_try" in
19133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19136 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19137 $as_echo "$ac_try_echo") >&5
19138 (eval "$ac_link") 2>conftest.er1
19140 grep -v '^ *+' conftest.er1 >conftest.err
19142 cat conftest.err >&5
19143 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19144 (exit $ac_status); } && {
19145 test -z "$ac_c_werror_flag" ||
19146 test ! -s conftest.err
19147 } && test -s conftest$ac_exeext && {
19148 test "$cross_compiling" = yes ||
19149 $as_test_x conftest$ac_exeext
19151 eval "$as_ac_var=yes"
19153 $as_echo "$as_me: failed program was
:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19156 eval "$as_ac_var=no
"
19159 rm -rf conftest.dSYM
19160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19161 conftest$ac_exeext conftest.$ac_ext
19163 ac_res=`eval 'as_val=${'$as_ac_var'}
19164 $as_echo "$as_val"'`
19165 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
19166 $as_echo "$ac_res" >&6; }
19167 as_val=`eval 'as_val=${'$as_ac_var'}
19168 $as_echo "$as_val"'`
19169 if test "x
$as_val" = x""yes; then
19170 cat >>confdefs.h <<_ACEOF
19171 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
19177 { $as_echo "$as_me:$LINENO: checking
for crypt in -lcrypt" >&5
19178 $as_echo_n "checking
for crypt in -lcrypt...
" >&6; }
19179 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
19180 $as_echo_n "(cached
) " >&6
19182 ac_check_lib_save_LIBS=$LIBS
19183 LIBS="-lcrypt $LIBS"
19184 cat >conftest.$ac_ext <<_ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19191 /* Override any GCC internal prototype to avoid an error.
19192 Use char because int might match the return type of a GCC
19193 builtin and then its argument prototype would still apply. */
19206 rm -f conftest.$ac_objext conftest$ac_exeext
19207 if { (ac_try="$ac_link"
19208 case "(($ac_try" in
19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19210 *) ac_try_echo=$ac_try;;
19212 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19213 $as_echo "$ac_try_echo") >&5
19214 (eval "$ac_link") 2>conftest.er1
19216 grep -v '^ *+' conftest.er1 >conftest.err
19218 cat conftest.err >&5
19219 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19220 (exit $ac_status); } && {
19221 test -z "$ac_c_werror_flag" ||
19222 test ! -s conftest.err
19223 } && test -s conftest$ac_exeext && {
19224 test "$cross_compiling" = yes ||
19225 $as_test_x conftest$ac_exeext
19227 ac_cv_lib_crypt_crypt=yes
19229 $as_echo "$as_me: failed program was
:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19232 ac_cv_lib_crypt_crypt=no
19235 rm -rf conftest.dSYM
19236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19237 conftest$ac_exeext conftest.$ac_ext
19238 LIBS=$ac_check_lib_save_LIBS
19240 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_crypt_crypt" >&5
19241 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
19242 if test "x
$ac_cv_lib_crypt_crypt" = x""yes; then
19243 CRYPTLIBS="-lcrypt"
19247 LIBS="$CRYPTLIBS $LIBS"
19248 { $as_echo "$as_me:$LINENO: checking
for crypt" >&5
19249 $as_echo_n "checking
for crypt...
" >&6; }
19250 if test "${ac_cv_func_crypt+set}" = set; then
19251 $as_echo_n "(cached
) " >&6
19253 cat >conftest.$ac_ext <<_ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
19260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19261 #define crypt innocuous_crypt
19263 /* System header to define __stub macros and hopefully few prototypes,
19264 which can conflict with char crypt (); below.
19265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19266 <limits.h> exists even on freestanding compilers. */
19269 # include <limits.h>
19271 # include <assert.h>
19276 /* Override any GCC internal prototype to avoid an error.
19277 Use char because int might match the return type of a GCC
19278 builtin and then its argument prototype would still apply. */
19283 /* The GNU C library defines this for functions which it implements
19284 to always fail with ENOSYS. Some functions are actually named
19285 something starting with __ and the normal name is an alias. */
19286 #if defined __stub_crypt || defined __stub___crypt
19298 rm -f conftest.$ac_objext conftest$ac_exeext
19299 if { (ac_try="$ac_link"
19300 case "(($ac_try" in
19301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19302 *) ac_try_echo=$ac_try;;
19304 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19305 $as_echo "$ac_try_echo") >&5
19306 (eval "$ac_link") 2>conftest.er1
19308 grep -v '^ *+' conftest.er1 >conftest.err
19310 cat conftest.err >&5
19311 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19312 (exit $ac_status); } && {
19313 test -z "$ac_c_werror_flag" ||
19314 test ! -s conftest.err
19315 } && test -s conftest$ac_exeext && {
19316 test "$cross_compiling" = yes ||
19317 $as_test_x conftest$ac_exeext
19319 ac_cv_func_crypt=yes
19321 $as_echo "$as_me: failed program was
:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19324 ac_cv_func_crypt=no
19327 rm -rf conftest.dSYM
19328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19329 conftest$ac_exeext conftest.$ac_ext
19331 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_crypt" >&5
19332 $as_echo "$ac_cv_func_crypt" >&6; }
19333 if test "x
$ac_cv_func_crypt" = x""yes; then
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_CRYPT 1
19342 { $as_echo "$as_me:$LINENO: checking
for crypt() prototype
" >&5
19343 $as_echo_n "checking
for crypt() prototype...
" >&6; }
19344 if test "${userdb_cv_NEED_CRYPT_PROTOTYPE+set}" = set; then
19345 $as_echo_n "(cached
) " >&6
19347 cat >conftest.$ac_ext <<_ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19358 #include <unistd.h>
19360 int crypt(int, int);
19371 rm -f conftest.$ac_objext
19372 if { (ac_try="$ac_compile"
19373 case "(($ac_try" in
19374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19375 *) ac_try_echo=$ac_try;;
19377 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19378 $as_echo "$ac_try_echo") >&5
19379 (eval "$ac_compile") 2>conftest.er1
19381 grep -v '^ *+' conftest.er1 >conftest.err
19383 cat conftest.err >&5
19384 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19385 (exit $ac_status); } && {
19386 test -z "$ac_c_werror_flag" ||
19387 test ! -s conftest.err
19388 } && test -s conftest.$ac_objext; then
19389 userdb_cv_NEED_CRYPT_PROTOTYPE=1
19391 $as_echo "$as_me: failed program was
:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19394 userdb_cv_NEED_CRYPT_PROTOTYPE=0
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19401 { $as_echo "$as_me:$LINENO: result
: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
19402 $as_echo "$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
19405 cat >>confdefs.h <<_ACEOF
19406 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
19415 # Check whether --with-authdaemonrc was given.
19416 if test "${with_authdaemonrc+set}" = set; then
19417 withval=$with_authdaemonrc; authdaemonrc="$withval"
19419 authdaemonrc="$pkgconfdir/authdaemonrc
"
19425 # Check whether --with-authdaemonvar was given.
19426 if test "${with_authdaemonvar+set}" = set; then
19427 withval=$with_authdaemonvar; authdaemonvar="$withval"
19429 authdaemonvar="$localstatedir/spool
/authdaemon
"
19437 rm -f authdaemonrc.h authldaprc.h authmysqlrc.h authpgsqlrc.h vpopmail_config.h
19442 if test -x "$COURIERCONFIG"
19444 $COURIERCONFIG >conftest.out || exit 1
19445 sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1
19447 rm -f conftest.out conftest2.out
19449 cmailuser="$mailuser"
19450 cmailgroup="$mailgroup"
19451 result=" (from courier-config
)"
19454 if test -x "$bindir/courierauthconfig
"
19456 $bindir/courierauthconfig --configfiles >conftest.out || exit 1
19457 sed -n '/^mail/p' <conftest.out >conftest2.out || exit 1
19459 rm -f conftest.out conftest2.out
19461 cmailuser="$mailuser"
19462 cmailgroup="$mailgroup"
19463 result=" (from previous courierauthconfig
)"
19473 { $as_echo "$as_me:$LINENO: checking
for mail userid
" >&5
19474 $as_echo_n "checking
for mail userid...
" >&6; }
19477 # Check whether --with-mailuser was given.
19478 if test "${with_mailuser+set}" = set; then
19479 withval=$with_mailuser; mailuser="$withval"
19481 if test "$cmailuser" = ""
19483 if test "$cross_compiling" = yes; then
19484 { { $as_echo "$as_me:$LINENO: error
: Must use
--with-mailuser when cross compiling.
" >&5
19485 $as_echo "$as_me: error
: Must use
--with-mailuser when cross compiling.
" >&2;}
19486 { (exit 1); exit 1; }; }
19488 cat >conftest.$ac_ext <<_ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19497 #include <stdlib.h>
19499 static const char *ids $LB $RB={"courier
","daemon
","adm
","bin
","root
", 0};
19507 for (i=0; ids $LB i $RB; i++)
19508 if (getpwnam(ids $LB i $RB)) break;
19510 f=fopen("conftest.out
", "w
");
19511 if (f && ids $LB i $RB)
19513 fprintf(f, "%s
\n", ids $LB i $RB);
19523 rm -f conftest$ac_exeext
19524 if { (ac_try="$ac_link"
19525 case "(($ac_try" in
19526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19527 *) ac_try_echo=$ac_try;;
19529 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19530 $as_echo "$ac_try_echo") >&5
19531 (eval "$ac_link") 2>&5
19533 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19540 $as_echo "$ac_try_echo") >&5
19541 (eval "$ac_try") 2>&5
19543 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19544 (exit $ac_status); }; }; then
19545 mailuser=`cat conftest.out`
19547 $as_echo "$as_me: program exited with status
$ac_status" >&5
19548 $as_echo "$as_me: failed program was
:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19551 ( exit $ac_status )
19552 { { $as_echo "$as_me:$LINENO: error
: Cannot determine
mail user
" >&5
19553 $as_echo "$as_me: error
: Cannot determine
mail user
" >&2;}
19554 { (exit use --with-mailuser.); exit use --with-mailuser.; }; }
19556 rm -rf conftest.dSYM
19557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19562 mailuser="$cmailuser"
19564 ac_configure_args="$ac_configure_args --with-mailuser=$mailuser"
19568 { $as_echo "$as_me:$LINENO: result
: $mailuser $result" >&5
19569 $as_echo "$mailuser $result" >&6; }
19571 { $as_echo "$as_me:$LINENO: checking
for mail group id
" >&5
19572 $as_echo_n "checking
for mail group id...
" >&6; }
19575 # Check whether --with-mailgroup was given.
19576 if test "${with_mailgroup+set}" = set; then
19577 withval=$with_mailgroup; mailgroup="$withval"
19579 if test "$cmailgroup" = ""
19581 if test "$cross_compiling" = yes; then
19582 { { $as_echo "$as_me:$LINENO: error
: Must use
--with-mailgroup when cross compiling.
" >&5
19583 $as_echo "$as_me: error
: Must use
--with-mailgroup when cross compiling.
" >&2;}
19584 { (exit 1); exit 1; }; }
19586 cat >conftest.$ac_ext <<_ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19595 #include <stdlib.h>
19597 static const char *ids $LB $RB={"courier
", "daemon
","sys
","adm
", "root
", 0};
19604 for (i=0; ids $LB i $RB; i++)
19605 if (getgrnam(ids $LB i $RB)) break;
19607 f=fopen("conftest.out
", "w
");
19608 if (f && ids $LB i $RB)
19610 fprintf(f, "%s
\n", ids $LB i $RB);
19620 rm -f conftest$ac_exeext
19621 if { (ac_try="$ac_link"
19622 case "(($ac_try" in
19623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19624 *) ac_try_echo=$ac_try;;
19626 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19627 $as_echo "$ac_try_echo") >&5
19628 (eval "$ac_link") 2>&5
19630 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19632 { (case "(($ac_try" in
19633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19634 *) ac_try_echo=$ac_try;;
19636 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19637 $as_echo "$ac_try_echo") >&5
19638 (eval "$ac_try") 2>&5
19640 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19641 (exit $ac_status); }; }; then
19642 mailgroup=`cat conftest.out`
19644 $as_echo "$as_me: program exited with status
$ac_status" >&5
19645 $as_echo "$as_me: failed program was
:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ( exit $ac_status )
19649 { { $as_echo "$as_me:$LINENO: error
: Cannot determine
mail group
" >&5
19650 $as_echo "$as_me: error
: Cannot determine
mail group
" >&2;}
19651 { (exit use --with-mailgroup.); exit use --with-mailgroup.; }; }
19653 rm -rf conftest.dSYM
19654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19659 mailgroup="$cmailgroup"
19661 ac_configure_args="$ac_configure_args --with-mailgroup=$mailgroup"
19665 { $as_echo "$as_me:$LINENO: result
: $mailgroup $result" >&5
19666 $as_echo "$mailgroup $result" >&6; }
19672 # Check whether --with-stdheaderdir was given.
19673 if test "${with_stdheaderdir+set}" = set; then
19674 withval=$with_stdheaderdir;
19675 if test "$withval" = "no
"
19678 cat >>confdefs.h <<_ACEOF
19679 #define HAVE_NOSTDHEADERDIR 1
19687 { $as_echo "$as_me:$LINENO: checking
for socklen_t
" >&5
19688 $as_echo_n "checking
for socklen_t...
" >&6; }
19689 if test "${authlib_cv_hassocklen_t+set}" = set; then
19690 $as_echo_n "(cached
) " >&6
19692 cat >conftest.$ac_ext <<_ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19699 #include <sys/types.h>
19700 #include <sys/socket.h>
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19711 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19712 $as_echo "$ac_try_echo") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19715 grep -v '^ *+' conftest.er1 >conftest.err
19717 cat conftest.err >&5
19718 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_c_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.$ac_objext; then
19723 authlib_cv_hassocklen_t=yes
19725 $as_echo "$as_me: failed program was
:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5
19728 authlib_cv_hassocklen_t=no
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19734 { $as_echo "$as_me:$LINENO: result
: $authlib_cv_hassocklen_t" >&5
19735 $as_echo "$authlib_cv_hassocklen_t" >&6; }
19739 if test $authlib_cv_hassocklen_t = yes
19744 cat >>confdefs.h <<_ACEOF
19745 #define socklen_t int
19751 # Check whether --with-repository was given.
19752 if test "${with_repository+set}" = set; then
19753 withval=$with_repository; REPOSITORY="$withval"
19758 if test -d ${srcdir}/docbook; then
19760 HAVE_SGML_FALSE='#'
19766 subdirs="$subdirs bdbobj gdbmobj md5 sha1 libhmac numlib makedat userdb unicode rfc822 random128 liblock liblog
"
19769 ac_config_files="$ac_config_files Makefile authdaemond authdaemonrc authsystem.passwd README.authdebug.html dbobj.config dbobj.h authmigrate courier-authlib.spec courier-authlib.lpspec courier-authlib.sysvinit userdb-test-cram-md5.pl
"
19771 cat >confcache <<\_ACEOF
19772 # This file is a shell script that caches the results of configure
19773 # tests run on this system so they can be shared between configure
19774 # scripts and configure runs, see configure's option --config-cache.
19775 # It is not useful on other systems. If it contains results you don't
19776 # want to keep, you may remove or edit it.
19778 # config.status only pays attention to the cache file if you give it
19779 # the --recheck option to rerun configure.
19781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19783 # following values.
19787 # The following way of writing the cache mishandles newlines in values,
19788 # but we know of no workaround that is simple, portable, and efficient.
19789 # So, we kill variables containing newlines.
19790 # Ultrix sh set writes to stderr and can't be redirected directly,
19791 # and sets the high bit in the cache file unless we assign to the vars.
19793 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19794 eval ac_val=\$$ac_var
19798 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING
: cache variable
$ac_var contains a newline
" >&5
19799 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
19802 _ | IFS | as_nl) ;; #(
19803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19804 *) $as_unset $ac_var ;;
19810 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19811 *${as_nl}ac_space=\ *)
19812 # `set' does not quote correctly, so add quotes (double-quote
19813 # substitution turns \\\\ into \\, and sed turns \\ into \).
19816 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
19819 # `set' quotes correctly as required by POSIX, so do not add quotes.
19820 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
19829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19831 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19833 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19834 if test -w "$cache_file"; then
19835 test "x
$cache_file" != "x
/dev
/null
" &&
19836 { $as_echo "$as_me:$LINENO: updating cache
$cache_file" >&5
19837 $as_echo "$as_me: updating cache
$cache_file" >&6;}
19838 cat confcache >$cache_file
19840 { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
19841 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
19846 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
19847 # Let make expand exec_prefix.
19848 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
19850 DEFS=-DHAVE_CONFIG_H
19854 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
19855 # 1. Remove the extension, and $U if already installed.
19856 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19857 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19858 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19859 # will be set to the directory where LIBOBJS objects are built.
19860 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
19861 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
19863 LIBOBJS=$ac_libobjs
19865 LTLIBOBJS=$ac_ltlibobjs
19868 if test -n "$EXEEXT"; then
19870 am__EXEEXT_FALSE='#'
19872 am__EXEEXT_TRUE='#'
19876 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19877 { { $as_echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
19878 Usually this means the macro was only invoked conditionally.
" >&5
19879 $as_echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
19880 Usually this means the macro was only invoked conditionally.
" >&2;}
19881 { (exit 1); exit 1; }; }
19883 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19884 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
19885 Usually this means the macro was only invoked conditionally.
" >&5
19886 $as_echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
19887 Usually this means the macro was only invoked conditionally.
" >&2;}
19888 { (exit 1); exit 1; }; }
19890 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
19891 { { $as_echo "$as_me:$LINENO: error
: conditional
\"INSTALL_LTDL
\" was never defined.
19892 Usually this means the macro was only invoked conditionally.
" >&5
19893 $as_echo "$as_me: error
: conditional
\"INSTALL_LTDL
\" was never defined.
19894 Usually this means the macro was only invoked conditionally.
" >&2;}
19895 { (exit 1); exit 1; }; }
19897 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
19898 { { $as_echo "$as_me:$LINENO: error
: conditional
\"CONVENIENCE_LTDL
\" was never defined.
19899 Usually this means the macro was only invoked conditionally.
" >&5
19900 $as_echo "$as_me: error
: conditional
\"CONVENIENCE_LTDL
\" was never defined.
19901 Usually this means the macro was only invoked conditionally.
" >&2;}
19902 { (exit 1); exit 1; }; }
19904 LT_CONFIG_H=courier_auth_config.h
19908 if test -n "$_LT_LIBOBJS"; then
19909 # Remove the extension.
19910 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
19911 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
19912 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.
$ac_objext"
19913 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo
"
19916 ltdl_LIBOBJS=$_ltdl_libobjs
19918 ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
19921 if test -z "${HAVE_LDAP_TRUE}" && test -z "${HAVE_LDAP_FALSE}"; then
19922 { { $as_echo "$as_me:$LINENO: error
: conditional
\"HAVE_LDAP
\" was never defined.
19923 Usually this means the macro was only invoked conditionally.
" >&5
19924 $as_echo "$as_me: error
: conditional
\"HAVE_LDAP
\" was never defined.
19925 Usually this means the macro was only invoked conditionally.
" >&2;}
19926 { (exit 1); exit 1; }; }
19928 if test -z "${HAVE_AUTHPGSQL_TRUE}" && test -z "${HAVE_AUTHPGSQL_FALSE}"; then
19929 { { $as_echo "$as_me:$LINENO: error
: conditional
\"HAVE_AUTHPGSQL
\" was never defined.
19930 Usually this means the macro was only invoked conditionally.
" >&5
19931 $as_echo "$as_me: error
: conditional
\"HAVE_AUTHPGSQL
\" was never defined.
19932 Usually this means the macro was only invoked conditionally.
" >&2;}
19933 { (exit 1); exit 1; }; }
19935 if test -z "${HAVE_AUTHMYSQL_TRUE}" && test -z "${HAVE_AUTHMYSQL_FALSE}"; then
19936 { { $as_echo "$as_me:$LINENO: error
: conditional
\"HAVE_AUTHMYSQL
\" was never defined.
19937 Usually this means the macro was only invoked conditionally.
" >&5
19938 $as_echo "$as_me: error
: conditional
\"HAVE_AUTHMYSQL
\" was never defined.
19939 Usually this means the macro was only invoked conditionally.
" >&2;}
19940 { (exit 1); exit 1; }; }
19942 if test -z "${HAVE_CUSTOM_TRUE}" && test -z "${HAVE_CUSTOM_FALSE}"; then
19943 { { $as_echo "$as_me:$LINENO: error
: conditional
\"HAVE_CUSTOM
\" was never defined.
19944 Usually this means the macro was only invoked conditionally.
" >&5
19945 $as_echo "$as_me: error
: conditional
\"HAVE_CUSTOM
\" was never defined.
19946 Usually this means the macro was only invoked conditionally.
" >&2;}
19947 { (exit 1); exit 1; }; }
19949 if test -z "${HAVE_PIPE_TRUE}" && test -z "${HAVE_PIPE_FALSE}"; then
19950 { { $as_echo "$as_me:$LINENO: error
: conditional
\"HAVE_PIPE
\" was never defined.
19951 Usually this means the macro was only invoked conditionally.
" >&5
19952 $as_echo "$as_me: error
: conditional
\"HAVE_PIPE
\" was never defined.
19953 Usually this means the macro was only invoked conditionally.
" >&2;}
19954 { (exit 1); exit 1; }; }
19956 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
19957 { { $as_echo "$as_me:$LINENO: error
: conditional
\"HAVE_SGML
\" was never defined.
19958 Usually this means the macro was only invoked conditionally.
" >&5
19959 $as_echo "$as_me: error
: conditional
\"HAVE_SGML
\" was never defined.
19960 Usually this means the macro was only invoked conditionally.
" >&2;}
19961 { (exit 1); exit 1; }; }
19964 : ${CONFIG_STATUS=./config.status}
19966 ac_clean_files_save=$ac_clean_files
19967 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19968 { $as_echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
19969 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
19970 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19972 # Generated by $as_me.
19973 # Run this file to recreate the current configuration.
19974 # Compiler output produced by configure, useful for debugging
19975 # configure, is in config.log if it exists.
19978 ac_cs_recheck=false
19980 SHELL=\${CONFIG_SHELL-$SHELL}
19983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19984 ## --------------------- ##
19985 ## M4sh Initialization. ##
19986 ## --------------------- ##
19988 # Be more Bourne compatible
19989 DUALCASE=1; export DUALCASE # for MKS sh
19990 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19993 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19994 # is contrary to our usage. Disable this feature.
19995 alias -g '${1+"$@"}'='"$@
"'
19996 setopt NO_GLOB_SUBST
19998 case `(set -o) 2>/dev/null` in
19999 *posix*) set -o posix ;;
20008 # Avoid depending upon Character Ranges.
20009 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20012 as_cr_digits='0123456789'
20013 as_cr_alnum=$as_cr_Letters$as_cr_digits
20018 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20019 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20020 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20021 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20022 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
20023 as_echo='printf %s\n'
20024 as_echo_n='printf %s'
20026 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
20027 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20028 as_echo_n='/usr/ucb/echo -n'
20030 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
20031 as_echo_n_body='eval
20035 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
20036 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
20038 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
20040 export as_echo_n_body
20041 as_echo_n='sh -c $as_echo_n_body as_echo'
20043 export as_echo_body
20044 as_echo='sh -c $as_echo_body as_echo'
20047 # The user is always right.
20048 if test "${PATH_SEPARATOR+set}" != set; then
20050 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20051 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20056 # Support unset when possible.
20057 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20065 # We need space, tab and new line, in precisely that order. Quoting is
20066 # there to prevent editors from complaining about space-tab.
20067 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20068 # splitting by setting IFS to empty value.)
20071 # Find who we are. Look in the path if we contain no directory separator.
20073 *[\\/]* ) as_myself=$0 ;;
20074 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20075 for as_dir in $PATH
20078 test -z "$as_dir" && as_dir=.
20079 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20085 # We did not find ourselves, most probably we were run as `sh COMMAND'
20086 # in which case we are not to be found in the path.
20087 if test "x
$as_myself" = x; then
20090 if test ! -f "$as_myself"; then
20091 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
20092 { (exit 1); exit 1; }
20095 # Work around bugs in pre-3.0 UWIN ksh.
20096 for as_var in ENV MAIL MAILPATH
20097 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20109 # Required to use basename.
20110 if expr a : '\(a\)' >/dev/null 2>&1 &&
20111 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
20117 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
20118 as_basename=basename
20124 # Name of the executable.
20125 as_me=`$as_basename -- "$0" ||
20126 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20127 X"$0" : 'X\(//\)$' \| \
20128 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20130 sed '/^.*\/\([^/][^/]*\)\/*$/{
20149 as_lineno_1=$LINENO
20150 as_lineno_2=$LINENO
20151 test "x
$as_lineno_1" != "x
$as_lineno_2" &&
20152 test "x
`expr $as_lineno_1 + 1`" = "x
$as_lineno_2" || {
20154 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20155 # uniformly replaced by the line number. The first 'sed' inserts a
20156 # line-number line after each line using $LINENO; the second 'sed'
20157 # does the real work. The second script uses 'N' to pair each
20158 # line-number line with the line containing $LINENO, and appends
20159 # trailing '-' during substitution so that $LINENO is not a special
20160 # case at line end.
20161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20162 # scripts with optimization help from Paolo Bonzini. Blame Lee
20163 # E. McMahon (1931-1989) for sed's syntax. :-)
20175 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20178 ' >$as_me.lineno &&
20179 chmod +x "$as_me.lineno
" ||
20180 { $as_echo "$as_me: error
: cannot create
$as_me.lineno
; rerun with a POSIX shell
" >&2
20181 { (exit 1); exit 1; }; }
20183 # Don't try to exec as it changes $[0], causing all sort of problems
20184 # (the dirname of $[0] is not the place where we might find the
20185 # original and so on. Autoconf is especially sensitive to this).
20186 . ".
/$as_me.lineno
"
20187 # Exit status is that of the last command.
20192 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
20198 ECHO_C= ECHO_N= ECHO_T=
20199 case `echo -n x` in
20201 case `echo 'x\c'` in
20202 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20208 if expr a : '\(a\)' >/dev/null 2>&1 &&
20209 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
20215 rm -f conf$$ conf$$.exe conf$$.file
20216 if test -d conf$$.dir; then
20217 rm -f conf$$.dir/conf$$.file
20220 mkdir conf$$.dir 2>/dev/null
20222 if (echo >conf$$.file) 2>/dev/null; then
20223 if ln -s conf$$.file conf$$ 2>/dev/null; then
20225 # ... but there are two gotchas:
20226 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20227 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20228 # In both cases, we have to default to `cp -p'.
20229 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20231 elif ln conf$$.file conf$$ 2>/dev/null; then
20239 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20240 rmdir conf$$.dir 2>/dev/null
20242 if mkdir -p . 2>/dev/null; then
20245 test -d ./-p && rmdir ./-p
20249 if test -x / >/dev/null 2>&1; then
20250 as_test_x='test -x'
20252 if ls -dL / >/dev/null 2>&1; then
20259 if test -d "$1"; then
20265 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20266 ???[sx]*):;;*)false;;esac;fi
20270 as_executable_p=$as_test_x
20272 # Sed expression to map a string onto a valid CPP name.
20273 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20275 # Sed expression to map a string onto a valid variable name.
20276 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20281 # Save the log message, to keep $[0] and so on meaningful, and to
20282 # report actual input values of CONFIG_FILES etc. instead of their
20283 # values after options handling.
20285 This
file was extended by courier-authlib
$as_me 0.63.0, which was
20286 generated by GNU Autoconf
2.63. Invocation
command line was
20288 CONFIG_FILES
= $CONFIG_FILES
20289 CONFIG_HEADERS
= $CONFIG_HEADERS
20290 CONFIG_LINKS
= $CONFIG_LINKS
20291 CONFIG_COMMANDS
= $CONFIG_COMMANDS
20294 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
20299 case $ac_config_files in *"
20300 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20303 case $ac_config_headers in *"
20304 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20309 # Files that config.status was made for.
20310 config_files="$ac_config_files"
20311 config_headers="$ac_config_headers"
20312 config_commands="$ac_config_commands"
20316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20318 \
`$as_me' instantiates files from templates according to the
20319 current configuration.
20321 Usage: $0 [OPTION]... [FILE]...
20323 -h, --help print this help, then exit
20324 -V, --version print version number and configuration settings, then exit
20325 -q, --quiet, --silent
20326 do not print progress messages
20327 -d, --debug don't remove temporary files
20328 --recheck update $as_me by reconfiguring in the same conditions
20329 --file=FILE[:TEMPLATE]
20330 instantiate the configuration file FILE
20331 --header=FILE[:TEMPLATE]
20332 instantiate the configuration header FILE
20334 Configuration files:
20337 Configuration headers:
20340 Configuration commands:
20343 Report bugs to <bug-autoconf@gnu.org>."
20346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20348 courier-authlib config.status 0.63.0
20349 configured by $0, generated by GNU Autoconf 2.63,
20350 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20352 Copyright (C) 2008 Free Software Foundation, Inc.
20353 This config.status script is free software; the Free Software Foundation
20354 gives unlimited permission to copy, distribute and modify it."
20361 test -n "\$AWK" || AWK=awk
20364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20365 # The default lists apply if the user does not specify any file.
20371 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20372 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20383 # Handling of the options.
20384 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20386 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20387 $as_echo "$ac_cs_version"; exit ;;
20388 --debug | --debu | --deb | --de | --d | -d )
20390 --file | --fil | --fi | --f )
20393 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
20395 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
20396 ac_need_defaults=false;;
20397 --header | --heade | --head | --hea )
20400 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
20402 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
20403 ac_need_defaults=false;;
20405 # Conflict between --help and --header
20406 { $as_echo "$as_me: error: ambiguous option: $1
20407 Try \`$0 --help' for more information." >&2
20408 { (exit 1); exit 1; }; };;
20409 --help | --hel | -h )
20410 $as_echo "$ac_cs_usage"; exit ;;
20411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20412 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20415 # This is an error.
20416 -*) { $as_echo "$as_me: error: unrecognized option: $1
20417 Try \`$0 --help' for more information.
" >&2
20418 { (exit 1); exit 1; }; } ;;
20420 *) ac_config_targets="$ac_config_targets $1"
20421 ac_need_defaults=false ;;
20427 ac_configure_extra_args=
20429 if $ac_cs_silent; then
20431 ac_configure_extra_args="$ac_configure_extra_args --silent"
20435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20436 if \$ac_cs_recheck; then
20437 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20439 \$as_echo "running CONFIG_SHELL
=$SHELL \$
*" >&6
20440 CONFIG_SHELL='$SHELL'
20441 export CONFIG_SHELL
20446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20450 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20451 ## Running $as_me. ##
20457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20461 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20464 # The HP-UX ksh and POSIX shell print the target directory to stdout
20465 # if CDPATH is set.
20466 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20468 sed_quote_subst='$sed_quote_subst'
20469 double_quote_subst='$double_quote_subst'
20470 delay_variable_subst='$delay_variable_subst'
20471 macro_version='`$ECHO "X
$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20472 macro_revision='`$ECHO "X
$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20473 enable_shared='`$ECHO "X
$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20474 enable_static='`$ECHO "X
$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20475 pic_mode='`$ECHO "X
$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20476 enable_fast_install='`$ECHO "X
$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20477 host_alias='`$ECHO "X
$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20478 host='`$ECHO "X
$host" | $Xsed -e "$delay_single_quote_subst"`'
20479 host_os='`$ECHO "X
$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20480 build_alias='`$ECHO "X
$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20481 build='`$ECHO "X
$build" | $Xsed -e "$delay_single_quote_subst"`'
20482 build_os='`$ECHO "X
$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20483 SED='`$ECHO "X
$SED" | $Xsed -e "$delay_single_quote_subst"`'
20484 Xsed='`$ECHO "X
$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20485 GREP='`$ECHO "X
$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20486 EGREP='`$ECHO "X
$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20487 FGREP='`$ECHO "X
$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20488 LD='`$ECHO "X
$LD" | $Xsed -e "$delay_single_quote_subst"`'
20489 NM='`$ECHO "X
$NM" | $Xsed -e "$delay_single_quote_subst"`'
20490 LN_S='`$ECHO "X
$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20491 max_cmd_len='`$ECHO "X
$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20492 ac_objext='`$ECHO "X
$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20493 exeext='`$ECHO "X
$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20494 lt_unset='`$ECHO "X
$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20495 lt_SP2NL='`$ECHO "X
$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20496 lt_NL2SP='`$ECHO "X
$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20497 reload_flag='`$ECHO "X
$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20498 reload_cmds='`$ECHO "X
$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20499 OBJDUMP='`$ECHO "X
$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20500 deplibs_check_method='`$ECHO "X
$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20501 file_magic_cmd='`$ECHO "X
$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20502 AR='`$ECHO "X
$AR" | $Xsed -e "$delay_single_quote_subst"`'
20503 AR_FLAGS='`$ECHO "X
$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20504 STRIP='`$ECHO "X
$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20505 RANLIB='`$ECHO "X
$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20506 old_postinstall_cmds='`$ECHO "X
$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20507 old_postuninstall_cmds='`$ECHO "X
$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20508 old_archive_cmds='`$ECHO "X
$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20509 CC='`$ECHO "X
$CC" | $Xsed -e "$delay_single_quote_subst"`'
20510 CFLAGS='`$ECHO "X
$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20511 compiler='`$ECHO "X
$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20512 GCC='`$ECHO "X
$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20513 lt_cv_sys_global_symbol_pipe='`$ECHO "X
$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20514 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X
$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20515 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"`'
20516 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"`'
20517 objdir='`$ECHO "X
$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20518 SHELL='`$ECHO "X
$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20519 ECHO='`$ECHO "X
$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20520 MAGIC_CMD='`$ECHO "X
$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20521 lt_prog_compiler_no_builtin_flag='`$ECHO "X
$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20522 lt_prog_compiler_wl='`$ECHO "X
$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20523 lt_prog_compiler_pic='`$ECHO "X
$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20524 lt_prog_compiler_static='`$ECHO "X
$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20525 lt_cv_prog_compiler_c_o='`$ECHO "X
$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20526 need_locks='`$ECHO "X
$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20527 DSYMUTIL='`$ECHO "X
$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20528 NMEDIT='`$ECHO "X
$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20529 LIPO='`$ECHO "X
$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20530 OTOOL='`$ECHO "X
$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20531 OTOOL64='`$ECHO "X
$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20532 libext='`$ECHO "X
$libext" | $Xsed -e "$delay_single_quote_subst"`'
20533 shrext_cmds='`$ECHO "X
$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20534 extract_expsyms_cmds='`$ECHO "X
$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20535 archive_cmds_need_lc='`$ECHO "X
$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20536 enable_shared_with_static_runtimes='`$ECHO "X
$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20537 export_dynamic_flag_spec='`$ECHO "X
$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20538 whole_archive_flag_spec='`$ECHO "X
$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20539 compiler_needs_object='`$ECHO "X
$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20540 old_archive_from_new_cmds='`$ECHO "X
$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20541 old_archive_from_expsyms_cmds='`$ECHO "X
$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20542 archive_cmds='`$ECHO "X
$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20543 archive_expsym_cmds='`$ECHO "X
$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20544 module_cmds='`$ECHO "X
$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20545 module_expsym_cmds='`$ECHO "X
$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20546 with_gnu_ld='`$ECHO "X
$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20547 allow_undefined_flag='`$ECHO "X
$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20548 no_undefined_flag='`$ECHO "X
$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20549 hardcode_libdir_flag_spec='`$ECHO "X
$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20550 hardcode_libdir_flag_spec_ld='`$ECHO "X
$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20551 hardcode_libdir_separator='`$ECHO "X
$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20552 hardcode_direct='`$ECHO "X
$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20553 hardcode_direct_absolute='`$ECHO "X
$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20554 hardcode_minus_L='`$ECHO "X
$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20555 hardcode_shlibpath_var='`$ECHO "X
$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20556 hardcode_automatic='`$ECHO "X
$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20557 inherit_rpath='`$ECHO "X
$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20558 link_all_deplibs='`$ECHO "X
$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20559 fix_srcfile_path='`$ECHO "X
$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20560 always_export_symbols='`$ECHO "X
$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20561 export_symbols_cmds='`$ECHO "X
$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20562 exclude_expsyms='`$ECHO "X
$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20563 include_expsyms='`$ECHO "X
$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20564 prelink_cmds='`$ECHO "X
$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20565 file_list_spec='`$ECHO "X
$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20566 variables_saved_for_relink='`$ECHO "X
$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20567 need_lib_prefix='`$ECHO "X
$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20568 need_version='`$ECHO "X
$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20569 version_type='`$ECHO "X
$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20570 runpath_var='`$ECHO "X
$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20571 shlibpath_var='`$ECHO "X
$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20572 shlibpath_overrides_runpath='`$ECHO "X
$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20573 libname_spec='`$ECHO "X
$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20574 library_names_spec='`$ECHO "X
$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20575 soname_spec='`$ECHO "X
$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20576 postinstall_cmds='`$ECHO "X
$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20577 postuninstall_cmds='`$ECHO "X
$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20578 finish_cmds='`$ECHO "X
$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20579 finish_eval='`$ECHO "X
$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20580 hardcode_into_libs='`$ECHO "X
$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20581 sys_lib_search_path_spec='`$ECHO "X
$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20582 sys_lib_dlsearch_path_spec='`$ECHO "X
$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20583 hardcode_action='`$ECHO "X
$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20584 enable_dlopen='`$ECHO "X
$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20585 enable_dlopen_self='`$ECHO "X
$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20586 enable_dlopen_self_static='`$ECHO "X
$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20587 old_striplib='`$ECHO "X
$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20588 striplib='`$ECHO "X
$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20591 LTCFLAGS='$LTCFLAGS'
20592 compiler='$compiler_DEFAULT'
20594 # Quote evaled strings.
20606 deplibs_check_method \
20615 lt_cv_sys_global_symbol_pipe \
20616 lt_cv_sys_global_symbol_to_cdecl \
20617 lt_cv_sys_global_symbol_to_c_name_address \
20618 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20621 lt_prog_compiler_no_builtin_flag \
20622 lt_prog_compiler_wl \
20623 lt_prog_compiler_pic \
20624 lt_prog_compiler_static \
20625 lt_cv_prog_compiler_c_o \
20633 export_dynamic_flag_spec \
20634 whole_archive_flag_spec \
20635 compiler_needs_object \
20637 allow_undefined_flag \
20638 no_undefined_flag \
20639 hardcode_libdir_flag_spec \
20640 hardcode_libdir_flag_spec_ld \
20641 hardcode_libdir_separator \
20646 variables_saved_for_relink \
20648 library_names_spec \
20653 case \`eval \\\\\$ECHO "X
\\\\\$\
$var"\` in
20654 *[\\\\\\\`\\"\\\$
]*)
20655 eval "lt_\$var=\\\\\\"\\\
`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20658 eval "lt_\$var=\\\\\\"\\\$\
$var\\\\\\""
20663 # Double-quote double-evaled strings.
20664 for var
in reload_cmds \
20665 old_postinstall_cmds \
20666 old_postuninstall_cmds \
20668 extract_expsyms_cmds \
20669 old_archive_from_new_cmds \
20670 old_archive_from_expsyms_cmds \
20672 archive_expsym_cmds \
20674 module_expsym_cmds \
20675 export_symbols_cmds \
20678 postuninstall_cmds \
20680 sys_lib_search_path_spec \
20681 sys_lib_dlsearch_path_spec
; do
20682 case \
`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20683 *[\\\\\\\
`\\"\\\$]*)
20684 eval "lt_\$var=\\\\\\"\\\`\\\
$ECHO \\"X\\\$\$var\\" |
\\\
$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\
`\\\\\\""
20687 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20692 # Fix-up fallback echo if it was mangled by the above quoting rules.
20694 *'\\\$0 --fallback-echo"') lt_ECHO=\`\
$ECHO "X\$lt_ECHO" | \
$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\
`
20698 ac_aux_dir='$ac_aux_dir'
20699 xsi_shell='$xsi_shell'
20700 lt_shell_append='$lt_shell_append'
20702 # See if we are running on zsh, and set the options which allow our
20703 # commands through without removal of \ escapes INIT.
20704 if test -n "\${ZSH_VERSION+set}" ; then
20705 setopt NO_GLOB_SUBST
20711 TIMESTAMP='$TIMESTAMP'
20720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20722 # Handling of arguments.
20723 for ac_config_target in $ac_config_targets
20725 case $ac_config_target in
20726 "courier_auth_config.h") CONFIG_HEADERS="$CONFIG_HEADERS courier_auth_config.h" ;;
20727 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20728 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20729 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20730 "authdaemond") CONFIG_FILES="$CONFIG_FILES authdaemond" ;;
20731 "authdaemonrc") CONFIG_FILES="$CONFIG_FILES authdaemonrc" ;;
20732 "authsystem.passwd") CONFIG_FILES="$CONFIG_FILES authsystem.passwd" ;;
20733 "README.authdebug.html") CONFIG_FILES="$CONFIG_FILES README.authdebug.html" ;;
20734 "dbobj.config") CONFIG_FILES="$CONFIG_FILES dbobj.config" ;;
20735 "dbobj.h") CONFIG_FILES="$CONFIG_FILES dbobj.h" ;;
20736 "authmigrate") CONFIG_FILES="$CONFIG_FILES authmigrate" ;;
20737 "courier-authlib.spec") CONFIG_FILES="$CONFIG_FILES courier-authlib.spec" ;;
20738 "courier-authlib.lpspec") CONFIG_FILES="$CONFIG_FILES courier-authlib.lpspec" ;;
20739 "courier-authlib.sysvinit") CONFIG_FILES="$CONFIG_FILES courier-authlib.sysvinit" ;;
20740 "userdb-test-cram-md5.pl") CONFIG_FILES="$CONFIG_FILES userdb-test-cram-md5.pl" ;;
20742 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20743 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20744 { (exit 1); exit 1; }; };;
20749 # If the user did not use the arguments to specify the items to instantiate,
20750 # then the envvar interface is used. Set only those that are not.
20751 # We use the long form for the default assignment because of an extremely
20752 # bizarre bug on SunOS 4.1.3.
20753 if $ac_need_defaults; then
20754 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20755 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20756 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20759 # Have a temporary directory for convenience. Make it in the build tree
20760 # simply because there is no reason against having it here, and in addition,
20761 # creating and moving files from /tmp can sometimes cause problems.
20762 # Hook for its removal unless debugging.
20763 # Note that there is a small window in which the directory will not be cleaned:
20764 # after its creation but before its name has been assigned to `$tmp'.
20768 trap 'exit_status
=$?
20769 { test -z "$tmp" ||
test ! -d "$tmp" ||
rm -fr "$tmp"; } && exit $exit_status
20771 trap '{ (exit 1); exit 1; }' 1 2 13 15
20773 # Create a (secure) tmp directory for tmp files.
20776 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20777 test -n "$tmp" && test -d "$tmp"
20780 tmp=./conf$$-$RANDOM
20781 (umask 077 && mkdir "$tmp")
20784 $as_echo "$as_me: cannot create a temporary directory in ." >&2
20785 { (exit 1); exit 1; }
20788 # Set up the scripts for CONFIG_FILES section.
20789 # No need to generate them if there are no CONFIG_FILES.
20790 # This happens for instance with `./config.status config.h'.
20791 if test -n "$CONFIG_FILES"; then
20795 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20796 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20799 ac_cs_awk_cr
=$ac_cr
20802 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20807 echo "cat >conf$$subs.awk <<_ACEOF" &&
20808 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20810 } >conf$$subs.sh ||
20811 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
20812 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
20813 { (exit 1); exit 1; }; }
20814 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20816 for ac_last_try in false false false false false :; do
20817 . ./conf$$subs.sh ||
20818 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
20819 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
20820 { (exit 1); exit 1; }; }
20822 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20823 if test $ac_delim_n = $ac_delim_num; then
20825 elif $ac_last_try; then
20826 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
20827 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
20828 { (exit 1); exit 1; }; }
20830 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20833 rm -f conf$$subs.sh
20835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20836 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20840 s/^/S["/; s
/!.
*/"]=/
20850 s/\(.\{148\}\).*/\1/
20852 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20857 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20864 s/\(.\{148\}\).*/\1/
20866 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20870 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20875 ' <conf$$subs.awk | sed '
20880 ' >>$CONFIG_STATUS || ac_write_fail=1
20881 rm -f conf$$subs.awk
20882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20884 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20885 for (key in S) S_is_set[key] = 1
20891 nfields = split(line, field, "@
")
20893 len = length(field[1])
20894 for (i = 2; i < nfields; i++) {
20896 keylen = length(key)
20897 if (S_is_set[key]) {
20899 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20900 len += length(value) + length(field[++i])
20911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20912 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20913 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20916 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20917 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
20918 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
20919 { (exit 1); exit 1; }; }
20922 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20923 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
20924 # trailing colons and then remove the whole line if VPATH becomes empty
20925 # (actually we leave an empty line to preserve line numbers).
20926 if test "x
$srcdir" = x.; then
20927 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20928 s/:*\$(srcdir):*/:/
20929 s/:*\${srcdir}:*/:/
20931 s/^\([^=]*=[ ]*\):*/\1/
20937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20938 fi # test -n "$CONFIG_FILES"
20940 # Set up the scripts for CONFIG_HEADERS section.
20941 # No need to generate them if there are no CONFIG_HEADERS.
20942 # This happens for instance with `./config.status Makefile'.
20943 if test -n "$CONFIG_HEADERS"; then
20944 cat >"$tmp/defines.
awk" <<\_ACAWK ||
20948 # Transform confdefs.h into an awk script `defines.awk', embedded as
20949 # here-document in config.status, that substitutes the proper values into
20950 # config.h.in to produce config.h.
20952 # Create a delimiter string that does not exist in confdefs.h, to ease
20953 # handling of long lines.
20955 for ac_last_try in false false :; do
20956 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
20957 if test -z "$ac_t"; then
20959 elif $ac_last_try; then
20960 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
20961 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
20962 { (exit 1); exit 1; }; }
20964 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20968 # For the awk script, D is an array of macro values keyed by name,
20969 # likewise P contains macro parameters if any. Preserve backslash
20970 # newline sequences.
20972 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20974 s/.\{148\}/&'"$ac_delim"'/g
20977 s/^[ ]*#[ ]*define[ ][ ]*/ /
20984 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20986 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20990 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20991 D["\
1"]=" \
3\\\\\\n
"\\/p
20993 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20998 s/.\{148\}/&'"$ac_delim"'/g
21003 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21006 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21008 ' <confdefs.h | sed '
21009 s/'"$ac_delim"'/"\\\
21010 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21013 for (key in D) D_is_set[key] = 1
21016 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21018 split(line, arg, " ")
21019 if (arg[1] == "#") {
21023 defundef
= substr
(arg
[1], 2)
21026 split(mac1
, mac2
, "(") #)
21028 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21029 if (D_is_set
[macro
]) {
21030 # Preserve the white space surrounding the "#".
21031 print prefix
"define", macro P
[macro
] D
[macro
]
21034 # Replace #undef with comments. This is necessary, for example,
21035 # in the case of _POSIX_SOURCE, which is predefined and required
21036 # on some systems where configure will not decide to define it.
21037 if (defundef
== "undef") {
21038 print
"/*", prefix defundef
, macro
, "*/"
21046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21047 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
21048 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
21049 { (exit 1); exit 1; }; }
21050 fi # test -n "$CONFIG_HEADERS"
21053 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21058 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21060 case $ac_mode$ac_tag in
21062 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
21063 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21064 { (exit 1); exit 1; }; };;
21065 :[FH
]-) ac_tag
=-:-;;
21066 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21083 -) ac_f
="$tmp/stdin";;
21084 *) # Look for the file first in the build tree, then in the source tree
21085 # (if the path is not absolute). The absolute path cannot be DOS-style,
21086 # because $ac_f cannot contain `:'.
21090 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21092 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21093 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21094 { (exit 1); exit 1; }; };;
21096 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21097 ac_file_inputs
="$ac_file_inputs '$ac_f'"
21100 # Let's still pretend it is `configure' which instantiates (i.e., don't
21101 # use $as_me), people would be surprised to read:
21102 # /* config.h. Generated by config.status. */
21103 configure_input
='Generated from '`
21104 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21106 if test x
"$ac_file" != x-
; then
21107 configure_input
="$ac_file. $configure_input"
21108 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
21109 $as_echo "$as_me: creating $ac_file" >&6;}
21111 # Neutralize special characters interpreted by sed in replacement strings.
21112 case $configure_input in #(
21113 *\
&* |
*\|
* |
*\\* )
21114 ac_sed_conf_input
=`$as_echo "$configure_input" |
21115 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21116 *) ac_sed_conf_input
=$configure_input;;
21120 *:-:* |
*:-) cat >"$tmp/stdin" \
21121 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21122 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21123 { (exit 1); exit 1; }; } ;;
21128 ac_dir
=`$as_dirname -- "$ac_file" ||
21129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21130 X"$ac_file" : 'X\(//\)[^/]' \| \
21131 X"$ac_file" : 'X\(//\)$' \| \
21132 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21133 $as_echo X"$ac_file" |
21134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21138 /^X\(\/\/\)[^/].*/{
21153 -*) as_dir
=.
/$as_dir;;
21155 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21159 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21160 *) as_qdir
=$as_dir;;
21162 as_dirs
="'$as_qdir' $as_dirs"
21163 as_dir
=`$as_dirname -- "$as_dir" ||
21164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21165 X"$as_dir" : 'X\(//\)[^/]' \| \
21166 X"$as_dir" : 'X\(//\)$' \| \
21167 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21168 $as_echo X"$as_dir" |
21169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21173 /^X\(\/\/\)[^/].*/{
21186 test -d "$as_dir" && break
21188 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21189 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21190 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21191 { (exit 1); exit 1; }; }; }
21195 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21197 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21198 # A ".." for each directory in $ac_dir_suffix.
21199 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21200 case $ac_top_builddir_sub in
21201 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21202 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21205 ac_abs_top_builddir
=$ac_pwd
21206 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21207 # for backward compatibility:
21208 ac_top_builddir
=$ac_top_build_prefix
21211 .
) # We are building in place.
21213 ac_top_srcdir
=$ac_top_builddir_sub
21214 ac_abs_top_srcdir
=$ac_pwd ;;
21215 [\\/]* | ?
:[\\/]* ) # Absolute name.
21216 ac_srcdir
=$srcdir$ac_dir_suffix;
21217 ac_top_srcdir
=$srcdir
21218 ac_abs_top_srcdir
=$srcdir ;;
21219 *) # Relative name.
21220 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21221 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21222 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21224 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21234 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21235 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21237 ac_MKDIR_P
=$MKDIR_P
21239 [\\/$
]* | ?
:[\\/]* ) ;;
21240 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21245 # If the template does not know about datarootdir, expand it.
21246 # FIXME: This hack should be removed a few years after 2.60.
21247 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21260 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21261 *datarootdir
*) ac_datarootdir_seen
=yes;;
21262 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21263 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21264 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21267 ac_datarootdir_hack='
21268 s&@datadir@&$datadir&g
21269 s&@docdir@&$docdir&g
21270 s&@infodir@&$infodir&g
21271 s&@localedir@&$localedir&g
21272 s&@mandir@&$mandir&g
21273 s&\\\${datarootdir}&$datarootdir&g' ;;
21277 # Neutralize VPATH when `$srcdir' = `.'.
21278 # Shell code in configure.ac might set extrasub.
21279 # FIXME: do we really want to maintain this feature?
21280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21281 ac_sed_extra="$ac_vpsub
21284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21286 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21287 s|@configure_input@|
$ac_sed_conf_input|
;t t
21288 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21289 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21290 s
&@srcdir@
&$ac_srcdir&;t t
21291 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21292 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21293 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21294 s
&@builddir@
&$ac_builddir&;t t
21295 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21296 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21297 s
&@INSTALL@
&$ac_INSTALL&;t t
21298 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21299 $ac_datarootdir_hack
21301 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
21302 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
21303 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
21304 { (exit 1); exit 1; }; }
21306 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21307 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21308 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21309 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21310 which seems to be undefined. Please make sure it is defined." >&5
21311 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21312 which seems to be undefined. Please make sure it is defined." >&2;}
21316 -) cat "$tmp/out" && rm -f "$tmp/out";;
21317 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21319 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21320 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21321 { (exit 1); exit 1; }; }
21327 if test x"$ac_file" != x-; then
21329 $as_echo "/* $configure_input */" \
21330 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21331 } >"$tmp/config.h" \
21332 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21333 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21334 { (exit 1); exit 1; }; }
21335 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21336 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21337 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21340 mv "$tmp/config.h" "$ac_file" \
21341 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21342 $as_echo "$as_me: error: could not create $ac_file" >&2;}
21343 { (exit 1); exit 1; }; }
21346 $as_echo "/* $configure_input */" \
21347 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
21348 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
21349 $as_echo "$as_me: error: could not create -" >&2;}
21350 { (exit 1); exit 1; }; }
21352 # Compute "$ac_file"'s index
in $config_headers.
21355 for _am_header
in $config_headers :; do
21356 case $_am_header in
21357 $_am_arg |
$_am_arg:* )
21360 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21363 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21364 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21365 X"$_am_arg" : 'X\(//\)[^/]' \| \
21366 X"$_am_arg" : 'X\(//\)$' \| \
21367 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21368 $as_echo X"$_am_arg" |
21369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21373 /^X\(\/\/\)[^/].*/{
21385 s/.*/./; q'`/stamp-h
$_am_stamp_count
21388 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
21389 $as_echo "$as_me: executing $ac_file commands" >&6;}
21394 case $ac_file$ac_mode in
21395 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21396 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21397 # are listed without --file. Let's play safe and only enable the eval
21398 # if we detect the quoting.
21399 case $CONFIG_FILES in
21400 *\'*) eval set x
"$CONFIG_FILES" ;;
21401 *) set x
$CONFIG_FILES ;;
21406 # Strip MF so we end up with the name of the file.
21407 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21408 # Check whether this is an Automake generated Makefile or not.
21409 # We used to match only the files named `Makefile.in', but
21410 # some people rename them; so instead we look at the file content.
21411 # Grep'ing the first line is not enough: some people post-process
21412 # each Makefile.in and add a new line on top of each file to say so.
21413 # Grep'ing the whole file is not good either: AIX grep has a line
21414 # limit of 2048, but all sed's we know have understand at least 4000.
21415 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21416 dirpart
=`$as_dirname -- "$mf" ||
21417 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21418 X"$mf" : 'X\(//\)[^/]' \| \
21419 X"$mf" : 'X\(//\)$' \| \
21420 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21426 /^X\(\/\/\)[^/].*/{
21442 # Extract the definition of DEPDIR, am__include, and am__quote
21443 # from the Makefile without running `make'.
21444 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21445 test -z "$DEPDIR" && continue
21446 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21447 test -z "am__include" && continue
21448 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21449 # When using ansi2knr, U may be empty or an underscore; expand it
21450 U
=`sed -n 's/^U = //p' < "$mf"`
21451 # Find all dependency output files, they are included files with
21452 # $(DEPDIR) in their names. We invoke sed twice because it is the
21453 # simplest approach to changing $(DEPDIR) to its actual value in the
21455 for file in `sed -n "
21456 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21457 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21458 # Make sure the directory exists.
21459 test -f "$dirpart/$file" && continue
21460 fdir
=`$as_dirname -- "$file" ||
21461 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21462 X"$file" : 'X\(//\)[^/]' \| \
21463 X"$file" : 'X\(//\)$' \| \
21464 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21465 $as_echo X"$file" |
21466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21470 /^X\(\/\/\)[^/].*/{
21483 { as_dir
=$dirpart/$fdir
21485 -*) as_dir
=.
/$as_dir;;
21487 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21491 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21492 *) as_qdir
=$as_dir;;
21494 as_dirs
="'$as_qdir' $as_dirs"
21495 as_dir
=`$as_dirname -- "$as_dir" ||
21496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21497 X"$as_dir" : 'X\(//\)[^/]' \| \
21498 X"$as_dir" : 'X\(//\)$' \| \
21499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21500 $as_echo X"$as_dir" |
21501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21505 /^X\(\/\/\)[^/].*/{
21518 test -d "$as_dir" && break
21520 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21521 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21522 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21523 { (exit 1); exit 1; }; }; }
21524 # echo "creating $dirpart/$file"
21525 echo '# dummy' > "$dirpart/$file"
21532 # See if we are running on zsh, and set the options which allow our
21533 # commands through without removal of \ escapes.
21534 if test -n "${ZSH_VERSION+set}" ; then
21535 setopt NO_GLOB_SUBST
21538 cfgfile
="${ofile}T"
21539 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21542 cat <<_LT_EOF >> "$cfgfile"
21545 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21546 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21547 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21548 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21550 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21551 # 2006, 2007, 2008 Free Software Foundation, Inc.
21552 # Written by Gordon Matzigkeit, 1996
21554 # This file is part of GNU Libtool.
21556 # GNU Libtool is free software; you can redistribute it and/or
21557 # modify it under the terms of the GNU General Public License as
21558 # published by the Free Software Foundation; either version 2 of
21559 # the License, or (at your option) any later version.
21561 # As a special exception to the GNU General Public License,
21562 # if you distribute this file as part of a program or library that
21563 # is built using GNU Libtool, you may include this file under the
21564 # same distribution terms that you use for the rest of that program.
21566 # GNU Libtool is distributed in the hope that it will be useful,
21567 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21568 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21569 # GNU General Public License for more details.
21571 # You should have received a copy of the GNU General Public License
21572 # along with GNU Libtool; see the file COPYING. If not, a copy
21573 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21574 # obtained by writing to the Free Software Foundation, Inc.,
21575 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21578 # The names of the tagged configurations supported by this script.
21581 # ### BEGIN LIBTOOL CONFIG
21583 # Which release of libtool.m4 was used?
21584 macro_version=$macro_version
21585 macro_revision=$macro_revision
21587 # Whether or not to build shared libraries.
21588 build_libtool_libs=$enable_shared
21590 # Whether or not to build static libraries.
21591 build_old_libs=$enable_static
21593 # What type of objects to build.
21596 # Whether or not to optimize for fast installation.
21597 fast_install=$enable_fast_install
21600 host_alias=$host_alias
21604 # The build system.
21605 build_alias=$build_alias
21609 # A sed program that does not truncate output.
21612 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21613 Xsed="\$SED -e 1s/^X//"
21615 # A grep program that handles long lines.
21621 # A literal string matcher.
21624 # A BSD- or MS-compatible name lister.
21627 # Whether we need soft or hard links.
21630 # What is the maximum length of a command?
21631 max_cmd_len=$max_cmd_len
21633 # Object file suffix (normally "o").
21636 # Executable file suffix (normally "").
21639 # whether the shell understands "unset".
21642 # turn spaces into newlines.
21645 # turn newlines into spaces.
21648 # How to create reloadable object files.
21649 reload_flag=$lt_reload_flag
21650 reload_cmds=$lt_reload_cmds
21652 # An object symbol dumper.
21653 OBJDUMP=$lt_OBJDUMP
21655 # Method to check whether dependent libraries are shared objects.
21656 deplibs_check_method=$lt_deplibs_check_method
21658 # Command to use when deplibs_check_method == "file_magic".
21659 file_magic_cmd=$lt_file_magic_cmd
21663 AR_FLAGS=$lt_AR_FLAGS
21665 # A symbol stripping program.
21668 # Commands used to install an old-style archive.
21670 old_postinstall_cmds=$lt_old_postinstall_cmds
21671 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21676 # LTCC compiler flags.
21677 LTCFLAGS=$lt_CFLAGS
21679 # Take the output of nm and produce a listing of raw symbols and C names.
21680 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21682 # Transform the output of nm in a proper C declaration.
21683 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21685 # Transform the output of nm in a C name address pair.
21686 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21688 # Transform the output of nm in a C name address pair when lib prefix is needed.
21689 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21691 # The name of the directory that contains temporary libtool files.
21694 # Shell to use when invoking shell scripts.
21697 # An echo program that does not interpret backslashes.
21700 # Used to examine libraries when file_magic_cmd begins with "file".
21701 MAGIC_CMD=$MAGIC_CMD
21703 # Must we lock files when doing compilation?
21704 need_locks=$lt_need_locks
21706 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21707 DSYMUTIL=$lt_DSYMUTIL
21709 # Tool to change global to local symbols on Mac OS X.
21712 # Tool to manipulate fat objects and archives on Mac OS X.
21715 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21718 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21719 OTOOL64=$lt_OTOOL64
21721 # Old archive suffix (normally "a").
21724 # Shared library suffix (normally ".so").
21725 shrext_cmds=$lt_shrext_cmds
21727 # The commands to extract the exported symbol list from a shared archive.
21728 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21730 # Variables whose values should be saved in libtool wrapper scripts and
21731 # restored at link time.
21732 variables_saved_for_relink=$lt_variables_saved_for_relink
21734 # Do we need the "lib" prefix for modules?
21735 need_lib_prefix=$need_lib_prefix
21737 # Do we need a version for libraries?
21738 need_version=$need_version
21740 # Library versioning type.
21741 version_type=$version_type
21743 # Shared library runtime path variable.
21744 runpath_var=$runpath_var
21746 # Shared library path variable.
21747 shlibpath_var=$shlibpath_var
21749 # Is shlibpath searched before the hard-coded library search path?
21750 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21752 # Format of library name prefix.
21753 libname_spec=$lt_libname_spec
21755 # List of archive names. First name is the real one, the rest are links.
21756 # The last name is the one that the linker finds with -lNAME
21757 library_names_spec=$lt_library_names_spec
21759 # The coded name of the library, if different from the real name.
21760 soname_spec=$lt_soname_spec
21762 # Command to use after installation of a shared archive.
21763 postinstall_cmds=$lt_postinstall_cmds
21765 # Command to use after uninstallation of a shared archive.
21766 postuninstall_cmds=$lt_postuninstall_cmds
21768 # Commands used to finish a libtool library installation in a directory.
21769 finish_cmds=$lt_finish_cmds
21771 # As "finish_cmds", except a single script fragment to be evaled but
21773 finish_eval=$lt_finish_eval
21775 # Whether we should hardcode library paths into libraries.
21776 hardcode_into_libs=$hardcode_into_libs
21778 # Compile-time system search path for libraries.
21779 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21781 # Run-time system search path for libraries.
21782 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21784 # Whether dlopen is supported.
21785 dlopen_support=$enable_dlopen
21787 # Whether dlopen of programs is supported.
21788 dlopen_self=$enable_dlopen_self
21790 # Whether dlopen of statically linked programs is supported.
21791 dlopen_self_static=$enable_dlopen_self_static
21793 # Commands to strip libraries.
21794 old_striplib=$lt_old_striplib
21795 striplib=$lt_striplib
21798 # The linker used to build libraries.
21801 # Commands used to build an old-style archive.
21802 old_archive_cmds=$lt_old_archive_cmds
21804 # A language specific compiler.
21807 # Is the compiler the GNU compiler?
21810 # Compiler flag to turn off builtin functions.
21811 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21813 # How to pass a linker flag through the compiler.
21814 wl=$lt_lt_prog_compiler_wl
21816 # Additional compiler flags for building library objects.
21817 pic_flag=$lt_lt_prog_compiler_pic
21819 # Compiler flag to prevent dynamic linking.
21820 link_static_flag=$lt_lt_prog_compiler_static
21822 # Does compiler simultaneously support -c and -o options?
21823 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21825 # Whether or not to add -lc for building shared libraries.
21826 build_libtool_need_lc=$archive_cmds_need_lc
21828 # Whether or not to disallow shared libs when runtime libs are static.
21829 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21831 # Compiler flag to allow reflexive dlopens.
21832 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21834 # Compiler flag to generate shared objects directly from archives.
21835 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21837 # Whether the compiler copes with passing no objects directly.
21838 compiler_needs_object=$lt_compiler_needs_object
21840 # Create an old-style archive from a shared archive.
21841 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21843 # Create a temporary old-style archive to link instead of a shared archive.
21844 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21846 # Commands used to build a shared archive.
21847 archive_cmds=$lt_archive_cmds
21848 archive_expsym_cmds=$lt_archive_expsym_cmds
21850 # Commands used to build a loadable module if different from building
21851 # a shared archive.
21852 module_cmds=$lt_module_cmds
21853 module_expsym_cmds=$lt_module_expsym_cmds
21855 # Whether we are building with GNU ld or not.
21856 with_gnu_ld=$lt_with_gnu_ld
21858 # Flag that allows shared libraries with undefined symbols to be built.
21859 allow_undefined_flag=$lt_allow_undefined_flag
21861 # Flag that enforces no undefined symbols.
21862 no_undefined_flag=$lt_no_undefined_flag
21864 # Flag to hardcode \$libdir into a binary during linking.
21865 # This must work even if \$libdir does not exist
21866 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21868 # If ld is used when linking, flag to hardcode \$libdir into a binary
21869 # during linking. This must work even if \$libdir does not exist.
21870 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21872 # Whether we need a single "-rpath" flag with a separated argument.
21873 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21875 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21876 # DIR into the resulting binary.
21877 hardcode_direct=$hardcode_direct
21879 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21880 # DIR into the resulting binary and the resulting library dependency is
21881 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21882 # library is relocated.
21883 hardcode_direct_absolute=$hardcode_direct_absolute
21885 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21886 # into the resulting binary.
21887 hardcode_minus_L=$hardcode_minus_L
21889 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21890 # into the resulting binary.
21891 hardcode_shlibpath_var=$hardcode_shlibpath_var
21893 # Set to "yes" if building a shared library automatically hardcodes DIR
21894 # into the library and all subsequent libraries and executables linked
21896 hardcode_automatic=$hardcode_automatic
21898 # Set to yes if linker adds runtime paths of dependent libraries
21899 # to runtime path list.
21900 inherit_rpath=$inherit_rpath
21902 # Whether libtool must link a program against all its dependency libraries.
21903 link_all_deplibs=$link_all_deplibs
21905 # Fix the shell variable \$srcfile for the compiler.
21906 fix_srcfile_path=$lt_fix_srcfile_path
21908 # Set to "yes" if exported symbols are required.
21909 always_export_symbols=$always_export_symbols
21911 # The commands to list exported symbols.
21912 export_symbols_cmds=$lt_export_symbols_cmds
21914 # Symbols that should not be listed in the preloaded symbols.
21915 exclude_expsyms=$lt_exclude_expsyms
21917 # Symbols that must always be exported.
21918 include_expsyms=$lt_include_expsyms
21920 # Commands necessary for linking programs (against libraries) with templates.
21921 prelink_cmds=$lt_prelink_cmds
21923 # Specify filename containing input files.
21924 file_list_spec=$lt_file_list_spec
21926 # How to hardcode a shared library path into an executable.
21927 hardcode_action=$hardcode_action
21929 # ### END LIBTOOL CONFIG
21935 cat <<\_LT_EOF
>> "$cfgfile"
21936 # AIX sometimes has problems with the GCC collect2 program. For some
21937 # reason, if we set the COLLECT_NAMES environment variable, the problems
21938 # vanish in a puff of smoke.
21939 if test "X${COLLECT_NAMES+set}" != Xset
; then
21941 export COLLECT_NAMES
21948 ltmain
="$ac_aux_dir/ltmain.sh"
21951 # We use sed instead of cat because bash on DJGPP gets confused if
21952 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21953 # text mode, it properly converts lines to CR/LF. This bash problem
21954 # is reportedly fixed, but why not run on old versions too?
21955 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21956 ||
(rm -f "$cfgfile"; exit 1)
21960 cat << \_LT_EOF
>> "$cfgfile"
21962 # func_dirname file append nondir_replacement
21963 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21964 # otherwise set result to NONDIR_REPLACEMENT.
21968 */*) func_dirname_result
="${1%/*}${2}" ;;
21969 * ) func_dirname_result
="${3}" ;;
21973 # func_basename file
21976 func_basename_result
="${1##*/}"
21979 # func_dirname_and_basename file append nondir_replacement
21980 # perform func_basename and func_dirname in a single function
21982 # dirname: Compute the dirname of FILE. If nonempty,
21983 # add APPEND to the result, otherwise set result
21984 # to NONDIR_REPLACEMENT.
21985 # value returned in "$func_dirname_result"
21986 # basename: Compute filename of FILE.
21987 # value retuned in "$func_basename_result"
21988 # Implementation must be kept synchronized with func_dirname
21989 # and func_basename. For efficiency, we do not delegate to
21990 # those functions but instead duplicate the functionality here.
21991 func_dirname_and_basename
()
21994 */*) func_dirname_result
="${1%/*}${2}" ;;
21995 * ) func_dirname_result
="${3}" ;;
21997 func_basename_result
="${1##*/}"
22000 # func_stripname prefix suffix name
22001 # strip PREFIX and SUFFIX off of NAME.
22002 # PREFIX and SUFFIX must not contain globbing or regex special
22003 # characters, hashes, percent signs, but SUFFIX may contain a leading
22004 # dot (in which case that matches only a dot).
22007 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22008 # positional parameters, so assign one to ordinary parameter first.
22009 func_stripname_result
=${3}
22010 func_stripname_result
=${func_stripname_result#"${1}"}
22011 func_stripname_result
=${func_stripname_result%"${2}"}
22017 func_opt_split_opt
=${1%%=*}
22018 func_opt_split_arg
=${1#*=}
22025 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22026 *) func_lo2o_result
=${1} ;;
22030 # func_xform libobj-or-source
22033 func_xform_result
=${1%.*}.lo
22036 # func_arith arithmetic-term...
22039 func_arith_result
=$
(( $
* ))
22043 # STRING may not start with a hyphen.
22046 func_len_result
=${#1}
22051 *) # Bourne compatible functions.
22052 cat << \_LT_EOF
>> "$cfgfile"
22054 # func_dirname file append nondir_replacement
22055 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22056 # otherwise set result to NONDIR_REPLACEMENT.
22059 # Extract subdirectory from the argument.
22060 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22061 if test "X$func_dirname_result" = "X${1}"; then
22062 func_dirname_result
="${3}"
22064 func_dirname_result
="$func_dirname_result${2}"
22068 # func_basename file
22071 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22075 # func_stripname prefix suffix name
22076 # strip PREFIX and SUFFIX off of NAME.
22077 # PREFIX and SUFFIX must not contain globbing or regex special
22078 # characters, hashes, percent signs, but SUFFIX may contain a leading
22079 # dot (in which case that matches only a dot).
22080 # func_strip_suffix prefix name
22084 .
*) func_stripname_result
=`$ECHO "X${3}" \
22085 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22086 *) func_stripname_result
=`$ECHO "X${3}" \
22087 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22092 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22093 my_sed_long_arg
='1s/^-[^=]*=//'
22098 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22099 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22105 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22108 # func_xform libobj-or-source
22111 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22114 # func_arith arithmetic-term...
22117 func_arith_result
=`expr "$@"`
22121 # STRING may not start with a hyphen.
22124 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22130 case $lt_shell_append in
22132 cat << \_LT_EOF
>> "$cfgfile"
22134 # func_append var value
22135 # Append VALUE to the end of shell variable VAR.
22143 cat << \_LT_EOF
>> "$cfgfile"
22145 # func_append var value
22146 # Append VALUE to the end of shell variable VAR.
22157 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22158 ||
(rm -f "$cfgfile"; exit 1)
22160 mv -f "$cfgfile" "$ofile" ||
22161 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22170 { (exit 0); exit 0; }
22172 chmod +x
$CONFIG_STATUS
22173 ac_clean_files
=$ac_clean_files_save
22175 test $ac_write_fail = 0 ||
22176 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22177 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22178 { (exit 1); exit 1; }; }
22181 # configure is writing to config.log, and then calls config.status.
22182 # config.status does its own redirection, appending to config.log.
22183 # Unfortunately, on DOS this fails, as config.log is still kept open
22184 # by configure, so config.status won't be able to write to it; its
22185 # output is simply discarded. So we exec the FD to /dev/null,
22186 # effectively closing config.log, so it can be properly (re)opened and
22187 # appended to by config.status. When coming back to configure, we
22188 # need to make the FD available again.
22189 if test "$no_create" != yes; then
22191 ac_config_status_args
=
22192 test "$silent" = yes &&
22193 ac_config_status_args
="$ac_config_status_args --quiet"
22195 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22197 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22198 # would make configure fail if this is the last instruction.
22199 $ac_cs_success ||
{ (exit 1); exit 1; }
22203 # CONFIG_SUBDIRS section.
22205 if test "$no_recursion" != yes; then
22207 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22208 # so they do not pile up.
22209 ac_sub_configure_args
=
22211 eval "set x $ac_configure_args"
22215 if test -n "$ac_prev"; then
22220 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
22221 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
22222 ac_prev
=cache_file
;;
22223 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
22224 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
22227 --config-cache |
-C)
22229 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
22231 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
22233 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
22235 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
22237 --disable-option-checking)
22241 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22243 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
22247 # Always prepend --prefix to ensure using the same prefix
22248 # in subdir configurations.
22249 ac_arg
="--prefix=$prefix"
22251 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22253 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
22256 if test "$silent" = yes; then
22257 ac_sub_configure_args
="--silent $ac_sub_configure_args"
22260 # Always prepend --disable-option-checking to silence warnings, since
22261 # different subdirs can have different --enable and --with options.
22262 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
22265 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
22267 # Do not complain, so a configure script can configure whichever
22268 # parts of a large source tree are present.
22269 test -d "$srcdir/$ac_dir" ||
continue
22271 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22272 $as_echo "$as_me:$LINENO: $ac_msg" >&5
22273 $as_echo "$ac_msg" >&6
22276 -*) as_dir
=.
/$as_dir;;
22278 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22282 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22283 *) as_qdir
=$as_dir;;
22285 as_dirs
="'$as_qdir' $as_dirs"
22286 as_dir
=`$as_dirname -- "$as_dir" ||
22287 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22288 X"$as_dir" : 'X\(//\)[^/]' \| \
22289 X"$as_dir" : 'X\(//\)$' \| \
22290 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22291 $as_echo X"$as_dir" |
22292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22296 /^X\(\/\/\)[^/].*/{
22309 test -d "$as_dir" && break
22311 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22312 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22313 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22314 { (exit 1); exit 1; }; }; }
22318 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22320 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22321 # A ".." for each directory in $ac_dir_suffix.
22322 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22323 case $ac_top_builddir_sub in
22324 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22325 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22328 ac_abs_top_builddir
=$ac_pwd
22329 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22330 # for backward compatibility:
22331 ac_top_builddir
=$ac_top_build_prefix
22334 .
) # We are building in place.
22336 ac_top_srcdir
=$ac_top_builddir_sub
22337 ac_abs_top_srcdir
=$ac_pwd ;;
22338 [\\/]* | ?
:[\\/]* ) # Absolute name.
22339 ac_srcdir
=$srcdir$ac_dir_suffix;
22340 ac_top_srcdir
=$srcdir
22341 ac_abs_top_srcdir
=$srcdir ;;
22342 *) # Relative name.
22343 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22344 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22345 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22347 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22352 # Check for guested configure; otherwise get Cygnus style configure.
22353 if test -f "$ac_srcdir/configure.gnu"; then
22354 ac_sub_configure
=$ac_srcdir/configure.gnu
22355 elif test -f "$ac_srcdir/configure"; then
22356 ac_sub_configure
=$ac_srcdir/configure
22357 elif test -f "$ac_srcdir/configure.in"; then
22358 # This should be Cygnus configure.
22359 ac_sub_configure
=$ac_aux_dir/configure
22361 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
22362 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22366 # The recursion is here.
22367 if test -n "$ac_sub_configure"; then
22368 # Make the cache file name correct relative to the subdirectory.
22369 case $cache_file in
22370 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
22371 *) # Relative name.
22372 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
22375 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22376 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22377 # The eval makes quoting arguments work.
22378 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22379 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22380 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
22381 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
22382 { (exit 1); exit 1; }; }
22388 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22389 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22390 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}